Lines Matching refs:m_Sections
139 osl_TProfileSection* m_Sections; member
344 if ( pProfile->m_Sections != 0 ) in osl_closeProfile()
349 if ( pProfile->m_Sections[index].m_Entries != 0 ) in osl_closeProfile()
351 free(pProfile->m_Sections[index].m_Entries); in osl_closeProfile()
354 free(pProfile->m_Sections); in osl_closeProfile()
644 pSec = &pProfile->m_Sections[pProfile->m_NoSections - 1]; in osl_writeProfileString()
1116 pSec = &pProfile->m_Sections[i]; in osl_getProfileSections()
1134 n += pProfile->m_Sections[i].m_Len + 1; in osl_getProfileSections()
1663 pSec = &pProfile->m_Sections[i]; in insertLine()
1702 pSec = &pProfile->m_Sections[i]; in removeLine()
1799 if (pProfile->m_Sections == NULL) in addSection()
1802 …pProfile->m_Sections = (osl_TProfileSection *)calloc(pProfile->m_MaxSections, sizeof(osl_TProfileS… in addSection()
1810 pProfile->m_Sections = (osl_TProfileSection *)realloc(pProfile->m_Sections, in addSection()
1814 pProfile->m_Sections[index].m_Entries=0; in addSection()
1818 if (pProfile->m_Sections == NULL) 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()
1833 pProfile->m_Sections[pProfile->m_NoSections - 1].m_NoEntries = 0; in addSection()
1834 pProfile->m_Sections[pProfile->m_NoSections - 1].m_MaxEntries = 0; in addSection()
1837 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Line = Line; in addSection()
1838 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Offset = Section - pProfile->m_Lines[Line]; in addSection()
1839 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Len = Len; in addSection()
1848 if ((Section = pSection - pProfile->m_Sections) < pProfile->m_NoSections) in removeSection()
1854 memmove(&pProfile->m_Sections[Section], &pProfile->m_Sections[Section + 1], in removeSection()
1857 memset(&pProfile->m_Sections[pProfile->m_NoSections - 1], in removeSection()
1860 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Entries = 0; in removeSection()
1890 pSec = &pProfile->m_Sections[n]; in findEntry()
1962 if (! addEntry(pProfile, &pProfile->m_Sections[pProfile->m_NoSections - 1], in loadProfile()
2051 removeSection(pProfile, &pProfile->m_Sections[pProfile->m_NoSections - 1]); in storeProfile()
2053 free(pProfile->m_Sections); in storeProfile()
2054 pProfile->m_Sections = NULL; in storeProfile()