Lines Matching refs:i

616     sal_uInt32	i;  in osl_readProfileIdent()  local
626 i = 0; in osl_readProfileIdent()
627 while (Strings[i] != NULL) in osl_readProfileIdent()
629 if (strcasecmp(Line, Strings[i]) == 0) in osl_readProfileIdent()
631 Default = i + FirstId; in osl_readProfileIdent()
634 i++; in osl_readProfileIdent()
648 sal_uInt32 i; in osl_writeProfileString() local
736 i = pSec->m_Entries[pSec->m_NoEntries - 1].m_Line + 1; in osl_writeProfileString()
738 i = pSec->m_Line + 1; in osl_writeProfileString()
740 if (((pStr = insertLine(pProfile, Line, i)) == NULL) || in osl_writeProfileString()
741 (! addEntry(pProfile, pSec, i, pStr, strlen(pszEntry)))) in osl_writeProfileString()
759 i = pSec->m_Entries[NoEntry].m_Line; in osl_writeProfileString()
760 free(pProfile->m_Lines[i]); in osl_writeProfileString()
761 pProfile->m_Lines[i] = strdup(Line); in osl_writeProfileString()
762 setEntry(pProfile, pSec, NoEntry, i, pProfile->m_Lines[i], strlen(pszEntry)); in osl_writeProfileString()
816 int i, n; in osl_writeProfileIdent() local
825 if ((i = Value - FirstId) >= n) in osl_writeProfileIdent()
828 bRet = osl_writeProfileString(Profile, pszSection, pszEntry, Strings[i]); in osl_writeProfileIdent()
925 sal_uInt32 i, n = 0; in osl_getProfileSectionEntries() local
982 for (i = 0; i < pSec->m_NoEntries; i++) in osl_getProfileSectionEntries()
984 if ((n + pSec->m_Entries[i].m_Len + 1) < MaxLen) in osl_getProfileSectionEntries()
986 strncpy(&pszBuffer[n], &pProfile->m_Lines[pSec->m_Entries[i].m_Line] in osl_getProfileSectionEntries()
987 [pSec->m_Entries[i].m_Offset], pSec->m_Entries[i].m_Len); in osl_getProfileSectionEntries()
988 n += pSec->m_Entries[i].m_Len; in osl_getProfileSectionEntries()
1000 for (i = 0; i < pSec->m_NoEntries; i++) in osl_getProfileSectionEntries()
1001 n += pSec->m_Entries[i].m_Len + 1; in osl_getProfileSectionEntries()
1027 sal_uInt32 i, n = 0; in osl_getProfileSections() local
1075 for (i = 0; i < pProfile->m_NoSections; i++) in osl_getProfileSections()
1077 pSec = &pProfile->m_Sections[i]; in osl_getProfileSections()
1094 for (i = 0; i < pProfile->m_NoSections; i++) in osl_getProfileSections()
1095 n += pProfile->m_Sections[i].m_Len + 1; in osl_getProfileSections()
1595 sal_uInt32 i, n; in insertLine() local
1603 for (i = 0; i < pProfile->m_NoSections; i++) in insertLine()
1605 pSec = &pProfile->m_Sections[i]; in insertLine()
1631 sal_uInt32 i, n; in removeLine() local
1642 for (i = 0; i < pProfile->m_NoSections; i++) in removeLine()
1644 pSec = &pProfile->m_Sections[i]; in removeLine()
1818 sal_uInt32 i, n; in findEntry() local
1827 for (i = 0; i < pProfile->m_NoSections; i++) in findEntry()
1840 if (i < pProfile->m_NoSections) in findEntry()
1846 for (i = 0; i < pSec->m_NoEntries; i++) in findEntry()
1848 pStr = &pProfile->m_Lines[pSec->m_Entries[i].m_Line] in findEntry()
1849 [pSec->m_Entries[i].m_Offset]; in findEntry()
1850 if ((Len == pSec->m_Entries[i].m_Len) && in findEntry()
1851 (strncasecmp(Entry, pStr, pSec->m_Entries[i].m_Len) in findEntry()
1854 *pNoEntry = i; in findEntry()
1867 sal_uInt32 i; in loadProfile() local
1898 for (i = 0; i < pProfile->m_NoLines; i++) in loadProfile()
1900 pStr = (sal_Char *)stripBlanks(pProfile->m_Lines[i], NULL); in loadProfile()
1917 i, pStr, pChar - pStr)) in loadProfile()
1928 if (! addSection(pProfile, i, pStr + 1, pChar - pStr - 1)) in loadProfile()
1950 sal_uInt32 i; in storeProfile() local
1961 for ( i = 0 ; i < pProfile->m_NoLines ; i++ ) in storeProfile()
1963 OSL_VERIFY(OslProfile_putLine(pTmpFile, pProfile->m_Lines[i])); in storeProfile()