Lines Matching refs:Line

150 static sal_Char* addLine(osl_TProfileImpl* pProfile, const sal_Char* Line);
151 static sal_Char* insertLine(osl_TProfileImpl* pProfile, const sal_Char* Line, sal_uInt32 LineNo);
154 sal_uInt32 NoEntry, sal_uInt32 Line,
157 int Line, sal_Char* Entry, sal_uInt32 Len);
159 static sal_Bool addSection(osl_TProfileImpl* pProfile, int Line, const sal_Char* Section, sal_uInt3…
583 sal_Char Line[32]; in osl_readProfileBool() local
584 Line[0] = '\0'; in osl_readProfileBool()
590 if (osl_readProfileString(Profile, pszSection, pszEntry, Line, sizeof(Line), "")) in osl_readProfileBool()
592 if ((strcasecmp(Line, STR_INI_BOOLYES) == 0) || in osl_readProfileBool()
593 (strcasecmp(Line, STR_INI_BOOLON) == 0) || in osl_readProfileBool()
594 (strcasecmp(Line, STR_INI_BOOLONE) == 0)) in osl_readProfileBool()
597 if ((strcasecmp(Line, STR_INI_BOOLNO) == 0) || in osl_readProfileBool()
598 (strcasecmp(Line, STR_INI_BOOLOFF) == 0) || in osl_readProfileBool()
599 (strcasecmp(Line, STR_INI_BOOLZERO) == 0)) in osl_readProfileBool()
617 sal_Char Line[256]; in osl_readProfileIdent() local
618 Line[0] = '\0'; in osl_readProfileIdent()
624 if (osl_readProfileString(Profile, pszSection, pszEntry, Line, sizeof(Line), "")) in osl_readProfileIdent()
629 if (strcasecmp(Line, Strings[i]) == 0) in osl_readProfileIdent()
652 sal_Char* Line = NULL; in osl_writeProfileString() local
694 Line = (sal_Char*)malloc(strlen(pszEntry)+strlen(pszString)+48); in osl_writeProfileString()
700 Line[0] = '\0'; in osl_writeProfileString()
701 addLine(pProfile, Line); in osl_writeProfileString()
703 Line[0] = '['; in osl_writeProfileString()
704 strcpy(&Line[1], pszSection); in osl_writeProfileString()
705 Line[1 + strlen(pszSection)] = ']'; in osl_writeProfileString()
706 Line[2 + strlen(pszSection)] = '\0'; in osl_writeProfileString()
708 if (((pStr = addLine(pProfile, Line)) == NULL) || in osl_writeProfileString()
716 free(Line); in osl_writeProfileString()
728 Line[0] = '\0'; in osl_writeProfileString()
729 strcpy(&Line[0], pszEntry); in osl_writeProfileString()
730 Line[0 + strlen(pszEntry)] = '='; in osl_writeProfileString()
731 strcpy(&Line[1 + strlen(pszEntry)], pszString); in osl_writeProfileString()
740 if (((pStr = insertLine(pProfile, Line, i)) == NULL) || in osl_writeProfileString()
747 free(Line); in osl_writeProfileString()
761 pProfile->m_Lines[i] = strdup(Line); in osl_writeProfileString()
775 if ( Line!= NULL ) in osl_writeProfileString()
777 free(Line); in osl_writeProfileString()
1522 static sal_Char* addLine(osl_TProfileImpl* pProfile, const sal_Char* Line) in addLine() argument
1558 pProfile->m_Lines[pProfile->m_NoLines++] = strdup(Line); in addLine()
1563 static sal_Char* insertLine(osl_TProfileImpl* pProfile, const sal_Char* Line, sal_uInt32 LineNo) in insertLine() argument
1618 pProfile->m_Lines[LineNo] = strdup(Line); in insertLine()
1666 sal_uInt32 NoEntry, sal_uInt32 Line, in setEntry() argument
1670 pSection->m_Entries[NoEntry].m_Line = Line; in setEntry()
1671 pSection->m_Entries[NoEntry].m_Offset = Entry - pProfile->m_Lines[Line]; in setEntry()
1678 int Line, sal_Char* Entry, sal_uInt32 Len) in addEntry() argument
1708 setEntry(pProfile, pSection, pSection->m_NoEntries - 1, Line, in addEntry()
1737 static sal_Bool addSection(osl_TProfileImpl* pProfile, int Line, const sal_Char* Section, sal_uInt3… in addSection() argument
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()