Lines Matching refs:Line

162 static const sal_Char* addLine(osl_TProfileImpl* pProfile, const sal_Char* Line);
163 static const sal_Char* insertLine(osl_TProfileImpl* pProfile, const sal_Char* Line, sal_uInt32 Line…
166 sal_uInt32 NoEntry, sal_uInt32 Line,
169 int Line, const sal_Char* Entry, sal_uInt32 Len);
171 static sal_Bool addSection(osl_TProfileImpl* pProfile, int Line, const sal_Char* Section, sal_uInt3…
490 sal_Char Line[32]; in osl_readProfileBool() local
496 if (osl_readProfileString(Profile, pszSection, pszEntry, Line, sizeof(Line), "")) in osl_readProfileBool()
498 if ((stricmp(Line, STR_INI_BOOLYES) == 0) || in osl_readProfileBool()
499 (stricmp(Line, STR_INI_BOOLON) == 0) || in osl_readProfileBool()
500 (stricmp(Line, STR_INI_BOOLONE) == 0)) in osl_readProfileBool()
503 if ((stricmp(Line, STR_INI_BOOLNO) == 0) || in osl_readProfileBool()
504 (stricmp(Line, STR_INI_BOOLOFF) == 0) || in osl_readProfileBool()
505 (stricmp(Line, STR_INI_BOOLZERO) == 0)) in osl_readProfileBool()
523 sal_Char Line[256]; in osl_readProfileIdent() local
529 if (osl_readProfileString(Profile, pszSection, pszEntry, Line, sizeof(Line), "")) in osl_readProfileIdent()
534 if (stricmp(Line, Strings[i]) == 0) in osl_readProfileIdent()
558 sal_Char Line[4096]; in osl_writeProfileString() local
581 Line[0] = '\0'; in osl_writeProfileString()
582 addLine(pProfile, Line); in osl_writeProfileString()
584 Line[0] = '['; in osl_writeProfileString()
585 strcpy(&Line[1], pszSection); in osl_writeProfileString()
586 Line[1 + strlen(pszSection)] = ']'; in osl_writeProfileString()
587 Line[2 + strlen(pszSection)] = '\0'; in osl_writeProfileString()
589 if (((pStr = addLine(pProfile, Line)) == NULL) || in osl_writeProfileString()
603 Line[0] = '\0'; in osl_writeProfileString()
604 strcpy(&Line[0], pszEntry); in osl_writeProfileString()
605 Line[0 + strlen(pszEntry)] = '='; in osl_writeProfileString()
606 strcpy(&Line[1 + strlen(pszEntry)], pszString); in osl_writeProfileString()
615 if (((pStr = insertLine(pProfile, Line, i)) == NULL) || in osl_writeProfileString()
631 pProfile->m_Lines[i] = strdup(Line); in osl_writeProfileString()
1456 static const sal_Char* addLine(osl_TProfileImpl* pProfile, const sal_Char* Line) in addLine() argument
1481 pProfile->m_Lines[pProfile->m_NoLines++] = strdup(Line); in addLine()
1486 static const sal_Char* insertLine(osl_TProfileImpl* pProfile, const sal_Char* Line, sal_uInt32 Line… in insertLine() argument
1537 pProfile->m_Lines[LineNo] = strdup(Line); in insertLine()
1580 sal_uInt32 NoEntry, sal_uInt32 Line, in setEntry() argument
1584 pSection->m_Entries[NoEntry].m_Line = Line; in setEntry()
1585 pSection->m_Entries[NoEntry].m_Offset = Entry - pProfile->m_Lines[Line]; in setEntry()
1592 int Line, const sal_Char* Entry, sal_uInt32 Len) in addEntry() argument
1622 setEntry(pProfile, pSection, pSection->m_NoEntries - 1, Line, in addEntry()
1645 static sal_Bool addSection(osl_TProfileImpl* pProfile, int Line, const sal_Char* Section, sal_uInt3… in addSection() argument
1676 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Line = Line; in addSection()
1677 pProfile->m_Sections[pProfile->m_NoSections - 1].m_Offset = Section - pProfile->m_Lines[Line]; in addSection()
1764 sal_Char Line[1024]; in loadProfile() local
1771 while (getLine(pFile, Line, sizeof(Line))) in loadProfile()
1773 if (! addLine(pProfile, Line)) in loadProfile()