Lines Matching refs:NoEntry
166 sal_uInt32 NoEntry, sal_uInt32 Line,
170 static void removeEntry(osl_TProfileSection *pSection, sal_uInt32 NoEntry);
419 sal_uInt32 NoEntry; in osl_readProfileString() local
444 if (((pSec = findEntry(pProfile, pszSection, pszEntry, &NoEntry)) != NULL) && in osl_readProfileString()
445 (NoEntry < pSec->m_NoEntries) && in osl_readProfileString()
446 ((pStr = strchr(pProfile->m_Lines[pSec->m_Entries[NoEntry].m_Line], in osl_readProfileString()
556 sal_uInt32 NoEntry; in osl_writeProfileString() local
579 if ((pSec = findEntry(pProfile, pszSection, pszEntry, &NoEntry)) == NULL) in osl_writeProfileString()
600 NoEntry = pSec->m_NoEntries; in osl_writeProfileString()
608 if (NoEntry >= pSec->m_NoEntries) in osl_writeProfileString()
629 i = pSec->m_Entries[NoEntry].m_Line; in osl_writeProfileString()
632 setEntry(pProfile, pSec, NoEntry, i, pProfile->m_Lines[i], strlen(pszEntry)); in osl_writeProfileString()
701 sal_uInt32 NoEntry; in osl_removeProfileEntry() local
725 if (((pSec = findEntry(pProfile, pszSection, pszEntry, &NoEntry)) != NULL) && in osl_removeProfileEntry()
726 (NoEntry < pSec->m_NoEntries)) in osl_removeProfileEntry()
728 removeLine(pProfile, pSec->m_Entries[NoEntry].m_Line); in osl_removeProfileEntry()
729 removeEntry(pSec, NoEntry); in osl_removeProfileEntry()
759 sal_uInt32 NoEntry; in osl_getProfileSectionEntries() local
782 if ((pSec = findEntry(pProfile, pszSection, "", &NoEntry)) != NULL) in osl_getProfileSectionEntries()
1580 sal_uInt32 NoEntry, sal_uInt32 Line, in setEntry() argument
1584 pSection->m_Entries[NoEntry].m_Line = Line; in setEntry()
1585 pSection->m_Entries[NoEntry].m_Offset = Entry - pProfile->m_Lines[Line]; in setEntry()
1586 pSection->m_Entries[NoEntry].m_Len = Len; in setEntry()
1631 static void removeEntry(osl_TProfileSection *pSection, sal_uInt32 NoEntry) in removeEntry() argument
1633 if (NoEntry < pSection->m_NoEntries) in removeEntry()
1635 if (pSection->m_NoEntries - NoEntry > 1) in removeEntry()
1636 memmove(&pSection->m_Entries[NoEntry], in removeEntry()
1637 &pSection->m_Entries[NoEntry + 1], in removeEntry()
1638 (pSection->m_NoEntries - NoEntry - 1) * sizeof(osl_TProfileEntry)); in removeEntry()