Lines Matching refs:m_Lines

137 	sal_Char**  m_Lines;  member
333 if ( pProfile->m_Lines != 0 ) in osl_closeProfile()
337 if ( pProfile->m_Lines[index] != 0 ) in osl_closeProfile()
339 free(pProfile->m_Lines[index]); in osl_closeProfile()
342 free(pProfile->m_Lines); in osl_closeProfile()
486 ((pStr = strchr(pProfile->m_Lines[pSec->m_Entries[NoEntry].m_Line], in osl_readProfileString()
675 free(pProfile->m_Lines[i]); in osl_writeProfileString()
676 pProfile->m_Lines[i] = strdup(Line); in osl_writeProfileString()
677 setEntry(pProfile, pSec, NoEntry, i, pProfile->m_Lines[i], strlen(pszEntry)); in osl_writeProfileString()
784 if ((pSec->m_Line > 0) && (pProfile->m_Lines[pSec->m_Line - 1][0] == '\0')) in osl_removeProfileEntry()
844 strncpy(&pszBuffer[n], &pProfile->m_Lines[pSec->m_Entries[i].m_Line] in osl_getProfileSectionEntries()
1120 strncpy(&pszBuffer[n], &pProfile->m_Lines[pSec->m_Line][pSec->m_Offset], in osl_getProfileSections()
1584 if (pProfile->m_Lines == NULL) in addLine()
1587 pProfile->m_Lines = (sal_Char **)calloc(pProfile->m_MaxLines, sizeof(sal_Char *)); in addLine()
1595 …pProfile->m_Lines = (sal_Char **)realloc(pProfile->m_Lines, pProfile->m_MaxLines * sizeof(sal_Char… in addLine()
1599 pProfile->m_Lines[index]=0; in addLine()
1603 if (pProfile->m_Lines == NULL) in addLine()
1612 if ( pProfile->m_Lines != 0 && pProfile->m_Lines[pProfile->m_NoLines] != 0 ) in addLine()
1614 free(pProfile->m_Lines[pProfile->m_NoLines]); in addLine()
1616 pProfile->m_Lines[pProfile->m_NoLines++] = strdup(Line); in addLine()
1618 return (pProfile->m_Lines[pProfile->m_NoLines - 1]); in addLine()
1625 if (pProfile->m_Lines == NULL) in insertLine()
1628 pProfile->m_Lines = (sal_Char **)calloc(pProfile->m_MaxLines, sizeof(sal_Char *)); in insertLine()
1633 pProfile->m_Lines = (sal_Char **)realloc(pProfile->m_Lines, in insertLine()
1636 memset(&pProfile->m_Lines[pProfile->m_NoLines], in insertLine()
1641 if (pProfile->m_Lines == NULL) in insertLine()
1656 memmove(&pProfile->m_Lines[LineNo + 1], &pProfile->m_Lines[LineNo], in insertLine()
1676 pProfile->m_Lines[LineNo] = strdup(Line); in insertLine()
1678 return (pProfile->m_Lines[LineNo]); in insertLine()
1685 free(pProfile->m_Lines[LineNo]); in removeLine()
1686 pProfile->m_Lines[LineNo]=0; in removeLine()
1692 memmove(&pProfile->m_Lines[LineNo], &pProfile->m_Lines[LineNo + 1], in removeLine()
1695 memset(&pProfile->m_Lines[pProfile->m_NoLines - 1], in removeLine()
1714 pProfile->m_Lines[LineNo] = 0; in removeLine()
1729 pSection->m_Entries[NoEntry].m_Offset = Entry - pProfile->m_Lines[Line]; in setEntry()
1838 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Offset = Section - pProfile->m_Lines[Line]; in addSection()
1892 (strnicmp(Section, &pProfile->m_Lines[pSec->m_Line][pSec->m_Offset], pSec->m_Len) in findEntry()
1909 pStr = &pProfile->m_Lines[pSec->m_Entries[i].m_Line] in findEntry()
1946 pStr = (sal_Char *)stripBlanks(pProfile->m_Lines[i], NULL); in loadProfile()
1988 if (pProfile->m_Lines != NULL) in storeProfile()
2005 OSL_VERIFY(putLine(pTmpFile, pProfile->m_Lines[i])); in storeProfile()
2046 free(pProfile->m_Lines); in storeProfile()
2047 pProfile->m_Lines = NULL; in storeProfile()