Lines Matching refs:pStr

420 	const sal_Char* pStr = NULL;  in osl_readProfileString()  local
446 ((pStr = strchr(pProfile->m_Lines[pSec->m_Entries[NoEntry].m_Line], in osl_readProfileString()
448 pStr++; in osl_readProfileString()
450 pStr = pszDefault; in osl_readProfileString()
452 if ( pStr != NULL ) in osl_readProfileString()
454 pStr = stripBlanks(pStr, NULL); in osl_readProfileString()
455 MaxLen = (MaxLen - 1 < strlen(pStr)) ? (MaxLen - 1) : strlen(pStr); in osl_readProfileString()
456 pStr = stripBlanks(pStr, &MaxLen); in osl_readProfileString()
457 strncpy(pszString, pStr, MaxLen); in osl_readProfileString()
468 if ( pStr == NULL ) in osl_readProfileString()
557 const sal_Char* pStr; in osl_writeProfileString() local
589 if (((pStr = addLine(pProfile, Line)) == NULL) || in osl_writeProfileString()
590 (! addSection(pProfile, pProfile->m_NoLines - 1, &pStr[1], strlen(pszSection)))) in osl_writeProfileString()
615 if (((pStr = insertLine(pProfile, Line, i)) == NULL) || in osl_writeProfileString()
616 (! addEntry(pProfile, pSec, i, pStr, strlen(pszEntry)))) in osl_writeProfileString()
1712 const sal_Char* pStr; in findEntry() local
1742 pStr = &pProfile->m_Lines[pSec->m_Entries[i].m_Line] in findEntry()
1745 (strnicmp(Entry, pStr, pSec->m_Entries[i].m_Len) in findEntry()
1762 sal_Char* pStr; in loadProfile() local
1779 pStr = (sal_Char *)stripBlanks(pProfile->m_Lines[i], NULL); in loadProfile()
1781 if ((*pStr == '\0') || (*pStr == ';')) in loadProfile()
1784 if ((*pStr != '[') || ((pChar = strrchr(pStr, ']')) == NULL) || in loadProfile()
1785 ((pChar - pStr) <= 2)) in loadProfile()
1792 if ((pChar = strchr(pStr, '=')) == NULL) in loadProfile()
1793 pChar = pStr + strlen(pStr); in loadProfile()
1796 i, pStr, pChar - pStr)) in loadProfile()
1803 if (! addSection(pProfile, i, pStr + 1, pChar - pStr - 1)) in loadProfile()
1988 sal_Char *pChr, *pStr;
2147 pStr = strrchr(Path, '\\');
2162 if (((access(Path, 0) < 0) && (pStr != NULL)) || (strlen(pszPath) <= 0))
2169 if (strnicmp(pStr + 1, SubDirs[i], strlen(SubDirs[i])) == 0)
2173 strcpy(pStr + 1,SVERSION_USER);
2176 *(pStr+1)='\0';
2181 strcpy(pStr + 1, pszPath);