Lines Matching refs:m_Lines

140 	sal_Char**  m_Lines;  member
340 if ( pProfile->m_Lines != NULL ) in osl_closeProfile()
344 if ( pProfile->m_Lines[index] != NULL ) in osl_closeProfile()
346 free(pProfile->m_Lines[index]); in osl_closeProfile()
349 free(pProfile->m_Lines); in osl_closeProfile()
446 ((pStr = strchr(pProfile->m_Lines[pSec->m_Entries[NoEntry].m_Line], in osl_readProfileString()
630 free(pProfile->m_Lines[i]); in osl_writeProfileString()
631 pProfile->m_Lines[i] = strdup(Line); in osl_writeProfileString()
632 setEntry(pProfile, pSec, NoEntry, i, pProfile->m_Lines[i], strlen(pszEntry)); in osl_writeProfileString()
735 if ((pSec->m_Line > 0) && (pProfile->m_Lines[pSec->m_Line - 1][0] == '\0')) in osl_removeProfileEntry()
790 strncpy(&pszBuffer[n], &pProfile->m_Lines[pSec->m_Entries[i].m_Line] in osl_getProfileSectionEntries()
845 strncpy(&pszBuffer[n], &pProfile->m_Lines[pSec->m_Line][pSec->m_Offset], in osl_getProfileSections()
1460 if (pProfile->m_Lines == NULL) in addLine()
1463 pProfile->m_Lines = (sal_Char **)malloc(pProfile->m_MaxLines * sizeof(sal_Char *)); in addLine()
1468 pProfile->m_Lines = (sal_Char **)realloc(pProfile->m_Lines, in addLine()
1472 if (pProfile->m_Lines == NULL) in addLine()
1481 pProfile->m_Lines[pProfile->m_NoLines++] = strdup(Line); in addLine()
1483 return (pProfile->m_Lines[pProfile->m_NoLines - 1]); in addLine()
1490 if (pProfile->m_Lines == NULL) in insertLine()
1493 pProfile->m_Lines = (sal_Char **)malloc(pProfile->m_MaxLines * sizeof(sal_Char *)); in insertLine()
1498 pProfile->m_Lines = (sal_Char **)realloc(pProfile->m_Lines, in insertLine()
1502 if (pProfile->m_Lines == NULL) in insertLine()
1518 memmove(&pProfile->m_Lines[LineNo + 1], &pProfile->m_Lines[LineNo], in insertLine()
1537 pProfile->m_Lines[LineNo] = strdup(Line); in insertLine()
1539 return (pProfile->m_Lines[LineNo]); in insertLine()
1546 free(pProfile->m_Lines[LineNo]); in removeLine()
1552 memmove(&pProfile->m_Lines[LineNo], &pProfile->m_Lines[LineNo + 1], in removeLine()
1570 pProfile->m_Lines[LineNo] = NULL; in removeLine()
1585 pSection->m_Entries[NoEntry].m_Offset = Entry - pProfile->m_Lines[Line]; in setEntry()
1677 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Offset = Section - pProfile->m_Lines[Line]; in addSection()
1725 (strnicmp(Section, &pProfile->m_Lines[pSec->m_Line][pSec->m_Offset], pSec->m_Len) in findEntry()
1742 pStr = &pProfile->m_Lines[pSec->m_Entries[i].m_Line] in findEntry()
1779 pStr = (sal_Char *)stripBlanks(pProfile->m_Lines[i], NULL); in loadProfile()
1813 if (pProfile->m_Lines != NULL) in storeProfile()
1822 OSL_VERIFY(putLine(pFile, pProfile->m_Lines[i])); in storeProfile()
1832 free(pProfile->m_Lines); in storeProfile()
1833 pProfile->m_Lines = NULL; in storeProfile()