Lines Matching refs:Line
156 static const sal_Char* addLine(osl_TProfileImpl* pProfile, const sal_Char* Line);
157 static const sal_Char* insertLine(osl_TProfileImpl* pProfile, const sal_Char* Line, sal_uInt32…
160 sal_uInt32 NoEntry, sal_uInt32 Line,
163 int Line, const sal_Char* Entry, sal_uInt32 Len);
165 static sal_Bool addSection(osl_TProfileImpl* pProfile, int Line, const sal_Char* Sectio…
536 sal_Char Line[32]; in osl_readProfileBool() local
542 if (osl_readProfileString(Profile, pszSection, pszEntry, Line, sizeof(Line), "")) in osl_readProfileBool()
544 if ((stricmp(Line, STR_INI_BOOLYES) == 0) || in osl_readProfileBool()
545 (stricmp(Line, STR_INI_BOOLON) == 0) || in osl_readProfileBool()
546 (stricmp(Line, STR_INI_BOOLONE) == 0)) in osl_readProfileBool()
549 if ((stricmp(Line, STR_INI_BOOLNO) == 0) || in osl_readProfileBool()
550 (stricmp(Line, STR_INI_BOOLOFF) == 0) || in osl_readProfileBool()
551 (stricmp(Line, STR_INI_BOOLZERO) == 0)) in osl_readProfileBool()
569 sal_Char Line[256]; in osl_readProfileIdent() local
575 if (osl_readProfileString(Profile, pszSection, pszEntry, Line, sizeof(Line), "")) in osl_readProfileIdent()
580 if (stricmp(Line, Strings[i]) == 0) in osl_readProfileIdent()
603 sal_Char Line[4096]; in osl_writeProfileString() local
626 Line[0] = '\0'; in osl_writeProfileString()
627 addLine(pProfile, Line); in osl_writeProfileString()
629 Line[0] = '['; in osl_writeProfileString()
630 strcpy(&Line[1], pszSection); in osl_writeProfileString()
631 Line[1 + strlen(pszSection)] = ']'; in osl_writeProfileString()
632 Line[2 + strlen(pszSection)] = '\0'; in osl_writeProfileString()
634 if (((pStr = addLine(pProfile, Line)) == NULL) || in osl_writeProfileString()
648 Line[0] = '\0'; in osl_writeProfileString()
649 strcpy(&Line[0], pszEntry); in osl_writeProfileString()
650 Line[0 + strlen(pszEntry)] = '='; in osl_writeProfileString()
651 strcpy(&Line[1 + strlen(pszEntry)], pszString); in osl_writeProfileString()
660 if (((pStr = insertLine(pProfile, Line, i)) == NULL) || in osl_writeProfileString()
676 pProfile->m_Lines[i] = strdup(Line); in osl_writeProfileString()
1580 static const sal_Char* addLine(osl_TProfileImpl* pProfile, const sal_Char* Line) in addLine() argument
1616 pProfile->m_Lines[pProfile->m_NoLines++] = strdup(Line); in addLine()
1621 static const sal_Char* insertLine(osl_TProfileImpl* pProfile, const sal_Char* Line, sal_uInt32 Line… in insertLine() argument
1676 pProfile->m_Lines[LineNo] = strdup(Line); in insertLine()
1724 sal_uInt32 NoEntry, sal_uInt32 Line, in setEntry() argument
1728 pSection->m_Entries[NoEntry].m_Line = Line; in setEntry()
1729 pSection->m_Entries[NoEntry].m_Offset = Entry - pProfile->m_Lines[Line]; in setEntry()
1736 int Line, const sal_Char* Entry, sal_uInt32 Len) in addEntry() argument
1766 setEntry(pProfile, pSection, pSection->m_NoEntries - 1, Line, in addEntry()
1795 static sal_Bool addSection(osl_TProfileImpl* pProfile, int Line, const sal_Char* Section, sal_uInt3… in addSection() argument
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()
1931 sal_Char Line[4096]; in loadProfile() local
1938 while (getLine(pFile, Line, sizeof(Line))) in loadProfile()
1940 if (! addLine(pProfile, Line)) in loadProfile()