Lines Matching refs:m_Entries
121 osl_TProfileEntry* m_Entries; member
349 if ( pProfile->m_Sections[index].m_Entries != 0 ) in osl_closeProfile()
351 free(pProfile->m_Sections[index].m_Entries); in osl_closeProfile()
486 ((pStr = strchr(pProfile->m_Lines[pSec->m_Entries[NoEntry].m_Line], in osl_readProfileString()
656 i = pSec->m_Entries[pSec->m_NoEntries - 1].m_Line + 1; in osl_writeProfileString()
674 i = pSec->m_Entries[NoEntry].m_Line; in osl_writeProfileString()
777 removeLine(pProfile, pSec->m_Entries[NoEntry].m_Line); in osl_removeProfileEntry()
842 if ((n + pSec->m_Entries[i].m_Len + 1) < MaxLen) in osl_getProfileSectionEntries()
844 strncpy(&pszBuffer[n], &pProfile->m_Lines[pSec->m_Entries[i].m_Line] in osl_getProfileSectionEntries()
845 [pSec->m_Entries[i].m_Offset], pSec->m_Entries[i].m_Len); in osl_getProfileSectionEntries()
846 n += pSec->m_Entries[i].m_Len; in osl_getProfileSectionEntries()
859 n += pSec->m_Entries[i].m_Len + 1; in osl_getProfileSectionEntries()
1669 if (pSec->m_Entries[n].m_Line >= LineNo) in insertLine()
1670 pSec->m_Entries[n].m_Line++; in insertLine()
1708 if (pSec->m_Entries[n].m_Line > LineNo) in removeLine()
1709 pSec->m_Entries[n].m_Line--; in removeLine()
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()
1742 if (pSection->m_Entries == NULL) in addEntry()
1745 pSection->m_Entries = (osl_TProfileEntry *)malloc( in addEntry()
1751 pSection->m_Entries = (osl_TProfileEntry *)realloc(pSection->m_Entries, in addEntry()
1755 if (pSection->m_Entries == NULL) in addEntry()
1781 memmove(&pSection->m_Entries[NoEntry], in removeEntry()
1782 &pSection->m_Entries[NoEntry + 1], in removeEntry()
1784 pSection->m_Entries[pSection->m_NoEntries - 1].m_Line=0; in removeEntry()
1785 pSection->m_Entries[pSection->m_NoEntries - 1].m_Offset=0; in removeEntry()
1786 pSection->m_Entries[pSection->m_NoEntries - 1].m_Len=0; in removeEntry()
1814 pProfile->m_Sections[index].m_Entries=0; in addSection()
1828 if ( pProfile->m_Sections[(pProfile->m_NoSections) - 1].m_Entries != 0 ) in addSection()
1830 free(pProfile->m_Sections[(pProfile->m_NoSections) - 1].m_Entries); in addSection()
1832 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Entries = NULL; in addSection()
1850 free (pSection->m_Entries); in removeSection()
1851 pSection->m_Entries=0; in removeSection()
1860 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Entries = 0; in removeSection()
1864 pSection->m_Entries = 0; in removeSection()
1909 pStr = &pProfile->m_Lines[pSec->m_Entries[i].m_Line] in findEntry()
1910 [pSec->m_Entries[i].m_Offset]; in findEntry()
1911 if ((Len == pSec->m_Entries[i].m_Len) && in findEntry()
1912 (strnicmp(Entry, pStr, pSec->m_Entries[i].m_Len) in findEntry()