Lines Matching refs:NoEntry
160 sal_uInt32 NoEntry, sal_uInt32 Line,
164 static void removeEntry(osl_TProfileSection *pSection, sal_uInt32 NoEntry);
459 sal_uInt32 NoEntry; in osl_readProfileString() local
484 if (((pSec = findEntry(pProfile, pszSection, pszEntry, &NoEntry)) != NULL) && in osl_readProfileString()
485 (NoEntry < pSec->m_NoEntries) && in osl_readProfileString()
486 ((pStr = strchr(pProfile->m_Lines[pSec->m_Entries[NoEntry].m_Line], in osl_readProfileString()
601 sal_uInt32 NoEntry; in osl_writeProfileString() local
624 if ((pSec = findEntry(pProfile, pszSection, pszEntry, &NoEntry)) == NULL) in osl_writeProfileString()
645 NoEntry = pSec->m_NoEntries; in osl_writeProfileString()
653 if (NoEntry >= pSec->m_NoEntries) in osl_writeProfileString()
674 i = pSec->m_Entries[NoEntry].m_Line; in osl_writeProfileString()
677 setEntry(pProfile, pSec, NoEntry, i, pProfile->m_Lines[i], strlen(pszEntry)); in osl_writeProfileString()
750 sal_uInt32 NoEntry; in osl_removeProfileEntry() local
774 if (((pSec = findEntry(pProfile, pszSection, pszEntry, &NoEntry)) != NULL) && in osl_removeProfileEntry()
775 (NoEntry < pSec->m_NoEntries)) in osl_removeProfileEntry()
777 removeLine(pProfile, pSec->m_Entries[NoEntry].m_Line); in osl_removeProfileEntry()
778 removeEntry(pSec, NoEntry); in osl_removeProfileEntry()
813 sal_uInt32 NoEntry; in osl_getProfileSectionEntries() local
836 if ((pSec = findEntry(pProfile, pszSection, "", &NoEntry)) != NULL) in osl_getProfileSectionEntries()
1724 sal_uInt32 NoEntry, sal_uInt32 Line, in setEntry() argument
1728 pSection->m_Entries[NoEntry].m_Line = Line; in setEntry()
1729 pSection->m_Entries[NoEntry].m_Offset = Entry - pProfile->m_Lines[Line]; in setEntry()
1730 pSection->m_Entries[NoEntry].m_Len = Len; in setEntry()
1775 static void removeEntry(osl_TProfileSection *pSection, sal_uInt32 NoEntry) in removeEntry() argument
1777 if (NoEntry < pSection->m_NoEntries) in removeEntry()
1779 if (pSection->m_NoEntries - NoEntry > 1) in removeEntry()
1781 memmove(&pSection->m_Entries[NoEntry], in removeEntry()
1782 &pSection->m_Entries[NoEntry + 1], in removeEntry()
1783 (pSection->m_NoEntries - NoEntry - 1) * sizeof(osl_TProfileEntry)); in removeEntry()