Lines Matching refs:pStr

460 	const sal_Char* pStr = 0;  in osl_readProfileString()  local
486 ((pStr = strchr(pProfile->m_Lines[pSec->m_Entries[NoEntry].m_Line], in osl_readProfileString()
488 pStr++; in osl_readProfileString()
490 pStr = pszDefault; in osl_readProfileString()
492 if ( pStr != 0 ) in osl_readProfileString()
494 pStr = stripBlanks(pStr, NULL); in osl_readProfileString()
495 MaxLen = (MaxLen - 1 < strlen(pStr)) ? (MaxLen - 1) : strlen(pStr); in osl_readProfileString()
496 pStr = stripBlanks(pStr, &MaxLen); in osl_readProfileString()
497 strncpy(pszString, pStr, MaxLen); in osl_readProfileString()
511 if ( pStr == 0 ) in osl_readProfileString()
602 const sal_Char* pStr; in osl_writeProfileString() local
634 if (((pStr = addLine(pProfile, Line)) == NULL) || in osl_writeProfileString()
635 (! addSection(pProfile, pProfile->m_NoLines - 1, &pStr[1], strlen(pszSection)))) in osl_writeProfileString()
660 if (((pStr = insertLine(pProfile, Line, i)) == NULL) || in osl_writeProfileString()
661 (! addEntry(pProfile, pSec, i, pStr, strlen(pszEntry)))) in osl_writeProfileString()
1879 const sal_Char* pStr; in findEntry() local
1909 pStr = &pProfile->m_Lines[pSec->m_Entries[i].m_Line] in findEntry()
1912 (strnicmp(Entry, pStr, pSec->m_Entries[i].m_Len) in findEntry()
1929 sal_Char* pStr; in loadProfile() local
1946 pStr = (sal_Char *)stripBlanks(pProfile->m_Lines[i], NULL); in loadProfile()
1948 if ((*pStr == '\0') || (*pStr == ';')) in loadProfile()
1951 if ((*pStr != '[') || ((pChar = strrchr(pStr, ']')) == NULL) || in loadProfile()
1952 ((pChar - pStr) <= 2)) in loadProfile()
1959 if ((pChar = strchr(pStr, '=')) == NULL) in loadProfile()
1960 pChar = pStr + strlen(pStr); in loadProfile()
1963 i, pStr, pChar - pStr)) in loadProfile()
1970 if (! addSection(pProfile, i, pStr + 1, pChar - pStr - 1)) in loadProfile()
2298 sal_Char *pChr, *pStr; in lookupProfile() local
2554 pStr = aTmpPath + nPos; in lookupProfile()
2557 if (strnicmp(pStr + 1, SubDirs[i], strlen(SubDirs[i])) == 0) in lookupProfile()
2561 strcpy(pStr + 1,SVERSION_USER); in lookupProfile()
2564 *(pStr+1)='\0'; in lookupProfile()