Lines Matching refs:m_Sections

131 	osl_TProfileSection* m_Sections;  member
350 if ( pProfile->m_Sections != NULL ) in osl_closeProfile()
355 if ( pProfile->m_Sections[idx].m_Entries != NULL ) in osl_closeProfile()
357 free(pProfile->m_Sections[idx].m_Entries); in osl_closeProfile()
358 pProfile->m_Sections[idx].m_Entries=NULL; in osl_closeProfile()
361 free(pProfile->m_Sections); in osl_closeProfile()
362 pProfile->m_Sections=NULL; in osl_closeProfile()
724 pSec = &pProfile->m_Sections[pProfile->m_NoSections - 1]; in osl_writeProfileString()
1077 pSec = &pProfile->m_Sections[i]; in osl_getProfileSections()
1095 n += pProfile->m_Sections[i].m_Len + 1; in osl_getProfileSections()
1605 pSec = &pProfile->m_Sections[i]; in insertLine()
1644 pSec = &pProfile->m_Sections[i]; in removeLine()
1741 if (pProfile->m_Sections == NULL) in addSection()
1744 …pProfile->m_Sections = (osl_TProfileSection *)calloc(pProfile->m_MaxSections, sizeof(osl_TProfileS… in addSection()
1752 pProfile->m_Sections = (osl_TProfileSection *)realloc(pProfile->m_Sections, in addSection()
1756 pProfile->m_Sections[idx].m_Entries=NULL; in addSection()
1760 if (pProfile->m_Sections == NULL) in addSection()
1770 if ( pProfile->m_Sections[(pProfile->m_NoSections) - 1].m_Entries != NULL ) 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()
1775 pProfile->m_Sections[pProfile->m_NoSections - 1].m_NoEntries = 0; in addSection()
1776 pProfile->m_Sections[pProfile->m_NoSections - 1].m_MaxEntries = 0; in addSection()
1778 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Line = Line; in addSection()
1779 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Offset = Section - pProfile->m_Lines[Line]; in addSection()
1780 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Len = Len; in addSection()
1789 if ((Section = pSection - pProfile->m_Sections) < pProfile->m_NoSections) in removeSection()
1795 memmove(&pProfile->m_Sections[Section], &pProfile->m_Sections[Section + 1], in removeSection()
1798 memset(&pProfile->m_Sections[pProfile->m_NoSections - 1], in removeSection()
1801 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Entries = NULL; in removeSection()
1830 pSec = &pProfile->m_Sections[n]; in findEntry()
1916 if (! addEntry(pProfile, &pProfile->m_Sections[pProfile->m_NoSections - 1], in loadProfile()
2007 removeSection(pProfile, &pProfile->m_Sections[pProfile->m_NoSections - 1]); in storeProfile()
2009 free(pProfile->m_Sections); in storeProfile()
2010 pProfile->m_Sections = NULL; in storeProfile()