Lines Matching refs:NoEntry
154 sal_uInt32 NoEntry, sal_uInt32 Line,
158 static void removeEntry(osl_TProfileSection *pSection, sal_uInt32 NoEntry);
488 sal_uInt32 NoEntry; in osl_readProfileString() local
532 if (((pSec = findEntry(pProfile, pszSection, pszEntry, &NoEntry)) != NULL) && in osl_readProfileString()
533 (NoEntry < pSec->m_NoEntries) && in osl_readProfileString()
534 ((pStr = strchr(pProfile->m_Lines[pSec->m_Entries[NoEntry].m_Line], in osl_readProfileString()
650 sal_uInt32 NoEntry; in osl_writeProfileString() local
698 if ((pSec = findEntry(pProfile, pszSection, pszEntry, &NoEntry)) == NULL) in osl_writeProfileString()
725 NoEntry = pSec->m_NoEntries; in osl_writeProfileString()
733 if (NoEntry >= pSec->m_NoEntries) in osl_writeProfileString()
759 i = pSec->m_Entries[NoEntry].m_Line; in osl_writeProfileString()
762 setEntry(pProfile, pSec, NoEntry, i, pProfile->m_Lines[i], strlen(pszEntry)); in osl_writeProfileString()
840 sal_uInt32 NoEntry; in osl_removeProfileEntry() local
887 if (((pSec = findEntry(pProfile, pszSection, pszEntry, &NoEntry)) != NULL) && in osl_removeProfileEntry()
888 (NoEntry < pSec->m_NoEntries)) in osl_removeProfileEntry()
890 removeLine(pProfile, pSec->m_Entries[NoEntry].m_Line); in osl_removeProfileEntry()
891 removeEntry(pSec, NoEntry); in osl_removeProfileEntry()
926 sal_uInt32 NoEntry; in osl_getProfileSectionEntries() local
978 if ((pSec = findEntry(pProfile, pszSection, "", &NoEntry)) != NULL) in osl_getProfileSectionEntries()
1666 sal_uInt32 NoEntry, sal_uInt32 Line, in setEntry() argument
1670 pSection->m_Entries[NoEntry].m_Line = Line; in setEntry()
1671 pSection->m_Entries[NoEntry].m_Offset = Entry - pProfile->m_Lines[Line]; in setEntry()
1672 pSection->m_Entries[NoEntry].m_Len = Len; in setEntry()
1717 static void removeEntry(osl_TProfileSection *pSection, sal_uInt32 NoEntry) in removeEntry() argument
1719 if (NoEntry < pSection->m_NoEntries) in removeEntry()
1721 if (pSection->m_NoEntries - NoEntry > 1) in removeEntry()
1723 memmove(&pSection->m_Entries[NoEntry], in removeEntry()
1724 &pSection->m_Entries[NoEntry + 1], in removeEntry()
1725 (pSection->m_NoEntries - NoEntry - 1) * sizeof(osl_TProfileEntry)); in removeEntry()