Lines Matching refs:m_Entries
113 osl_TProfileEntry* m_Entries; member
355 if ( pProfile->m_Sections[idx].m_Entries != 0 ) in osl_closeProfile()
357 free(pProfile->m_Sections[idx].m_Entries); in osl_closeProfile()
358 pProfile->m_Sections[idx].m_Entries=0; in osl_closeProfile()
534 ((pStr = strchr(pProfile->m_Lines[pSec->m_Entries[NoEntry].m_Line], in osl_readProfileString()
736 i = pSec->m_Entries[pSec->m_NoEntries - 1].m_Line + 1; in osl_writeProfileString()
759 i = pSec->m_Entries[NoEntry].m_Line; in osl_writeProfileString()
890 removeLine(pProfile, pSec->m_Entries[NoEntry].m_Line); in osl_removeProfileEntry()
984 if ((n + pSec->m_Entries[i].m_Len + 1) < MaxLen) in osl_getProfileSectionEntries()
986 strncpy(&pszBuffer[n], &pProfile->m_Lines[pSec->m_Entries[i].m_Line] in osl_getProfileSectionEntries()
987 [pSec->m_Entries[i].m_Offset], pSec->m_Entries[i].m_Len); in osl_getProfileSectionEntries()
988 n += pSec->m_Entries[i].m_Len; in osl_getProfileSectionEntries()
1001 n += pSec->m_Entries[i].m_Len + 1; in osl_getProfileSectionEntries()
1611 if (pSec->m_Entries[n].m_Line >= LineNo) in insertLine()
1612 pSec->m_Entries[n].m_Line++; in insertLine()
1650 if (pSec->m_Entries[n].m_Line > LineNo) in removeLine()
1651 pSec->m_Entries[n].m_Line--; in removeLine()
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()
1684 if (pSection->m_Entries == NULL) in addEntry()
1687 pSection->m_Entries = (osl_TProfileEntry *)malloc( in addEntry()
1693 pSection->m_Entries = (osl_TProfileEntry *)realloc(pSection->m_Entries, in addEntry()
1697 if (pSection->m_Entries == NULL) in addEntry()
1723 memmove(&pSection->m_Entries[NoEntry], in removeEntry()
1724 &pSection->m_Entries[NoEntry + 1], in removeEntry()
1726 pSection->m_Entries[pSection->m_NoEntries - 1].m_Line=0; in removeEntry()
1727 pSection->m_Entries[pSection->m_NoEntries - 1].m_Offset=0; in removeEntry()
1728 pSection->m_Entries[pSection->m_NoEntries - 1].m_Len=0; in removeEntry()
1756 pProfile->m_Sections[idx].m_Entries=0; in addSection()
1770 if ( pProfile->m_Sections[(pProfile->m_NoSections) - 1].m_Entries != 0 ) in addSection()
1772 free(pProfile->m_Sections[(pProfile->m_NoSections) - 1].m_Entries); in addSection()
1774 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Entries = NULL; in addSection()
1791 free (pSection->m_Entries); in removeSection()
1792 pSection->m_Entries=0; in removeSection()
1801 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Entries = 0; in removeSection()
1805 pSection->m_Entries = 0; in removeSection()
1848 pStr = &pProfile->m_Lines[pSec->m_Entries[i].m_Line] in findEntry()
1849 [pSec->m_Entries[i].m_Offset]; in findEntry()
1850 if ((Len == pSec->m_Entries[i].m_Len) && in findEntry()
1851 (strncasecmp(Entry, pStr, pSec->m_Entries[i].m_Len) in findEntry()