Lines Matching refs:n

76 #define _BUILD_STR_(n)	# n  argument
77 #define BUILD_STR(n) _BUILD_STR_(n) argument
726 int i, n; in osl_writeProfileIdent() local
733 for (n = 0; Strings[n] != NULL; n++); in osl_writeProfileIdent()
735 if ((i = Value - FirstId) >= n) in osl_writeProfileIdent()
812 sal_uInt32 i, n = 0; in osl_getProfileSectionEntries() local
842 if ((n + pSec->m_Entries[i].m_Len + 1) < MaxLen) in osl_getProfileSectionEntries()
844 strncpy(&pszBuffer[n], &pProfile->m_Lines[pSec->m_Entries[i].m_Line] in osl_getProfileSectionEntries()
846 n += pSec->m_Entries[i].m_Len; in osl_getProfileSectionEntries()
847 pszBuffer[n++] = '\0'; in osl_getProfileSectionEntries()
854 pszBuffer[n++] = '\0'; in osl_getProfileSectionEntries()
859 n += pSec->m_Entries[i].m_Len + 1; in osl_getProfileSectionEntries()
861 n += 1; in osl_getProfileSectionEntries()
865 n = 0; in osl_getProfileSectionEntries()
872 n = GetPrivateProfileString(pszSection, NULL, NULL, pszBuffer, MaxLen, aFileName); in osl_getProfileSectionEntries()
881 return (n); in osl_getProfileSectionEntries()
1103 sal_uInt32 i, n = 0; in osl_getProfileSections() local
1118 if ((n + pSec->m_Len + 1) < MaxLen) in osl_getProfileSections()
1120 strncpy(&pszBuffer[n], &pProfile->m_Lines[pSec->m_Line][pSec->m_Offset], in osl_getProfileSections()
1122 n += pSec->m_Len; in osl_getProfileSections()
1123 pszBuffer[n++] = '\0'; in osl_getProfileSections()
1129 pszBuffer[n++] = '\0'; in osl_getProfileSections()
1134 n += pProfile->m_Sections[i].m_Len + 1; in osl_getProfileSections()
1136 n += 1; in osl_getProfileSections()
1144 n = GetPrivateProfileSectionNames(pszBuffer, MaxLen, aFileName); in osl_getProfileSections()
1149 return (n); in osl_getProfileSections()
1653 sal_uInt32 i, n; in insertLine() local
1668 for (n = 0; n < pSec->m_NoEntries; n++) in insertLine()
1669 if (pSec->m_Entries[n].m_Line >= LineNo) in insertLine()
1670 pSec->m_Entries[n].m_Line++; in insertLine()
1689 sal_uInt32 i, n; in removeLine() local
1707 for (n = 0; n < pSec->m_NoEntries; n++) in removeLine()
1708 if (pSec->m_Entries[n].m_Line > LineNo) in removeLine()
1709 pSec->m_Entries[n].m_Line--; in removeLine()
1877 sal_uInt32 i, n; in findEntry() local
1885 n = Sect; in findEntry()
1889 n %= pProfile->m_NoSections; in findEntry()
1890 pSec = &pProfile->m_Sections[n]; in findEntry()
1895 n++; in findEntry()
1898 Sect = n; in findEntry()
2425 sal_uInt32 n, nArgs = osl_getCommandArgCount(); in lookupProfile() local
2427 for (n = 0; n < nArgs; n++) in lookupProfile()
2431 if ((osl_getCommandArg( n, &strCommandArg ) == osl_Process_E_None) && in lookupProfile()
2459 int n; in lookupProfile() local
2461 …if ((n = WideCharToMultiByte(CP_ACP,0, ::osl::mingw_reinterpret_cast<LPCWSTR>(aPath), -1, aTmpPath… in lookupProfile()
2463 strcpy(aTmpPath + n, SVERSION_USER); in lookupProfile()
2662 int n; in lookupProfile() local
2664 if ((n = WideCharToMultiByte( in lookupProfile()
2669 strcpy(aTmpPath + n, SVERSION_USER); in lookupProfile()