Lines Matching refs:pStr
489 sal_Char* pStr=NULL; in osl_readProfileString() local
534 ((pStr = strchr(pProfile->m_Lines[pSec->m_Entries[NoEntry].m_Line], in osl_readProfileString()
537 pStr++; in osl_readProfileString()
541 pStr=(sal_Char*)pszDefault; in osl_readProfileString()
544 if ( pStr != NULL ) in osl_readProfileString()
546 pStr = stripBlanks(pStr, NULL); in osl_readProfileString()
547 MaxLen = (MaxLen - 1 < strlen(pStr)) ? (MaxLen - 1) : strlen(pStr); in osl_readProfileString()
548 pStr = stripBlanks(pStr, &MaxLen); in osl_readProfileString()
549 strncpy(pszString, pStr, MaxLen); in osl_readProfileString()
560 if ( pStr == NULL ) in osl_readProfileString()
651 sal_Char* pStr; in osl_writeProfileString() local
708 if (((pStr = addLine(pProfile, Line)) == NULL) || in osl_writeProfileString()
709 (! addSection(pProfile, pProfile->m_NoLines - 1, &pStr[1], strlen(pszSection)))) 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()
1820 const sal_Char* pStr; in findEntry() local
1848 pStr = &pProfile->m_Lines[pSec->m_Entries[i].m_Line] in findEntry()
1851 (strncasecmp(Entry, pStr, pSec->m_Entries[i].m_Len) in findEntry()
1868 sal_Char* pStr; in loadProfile() local
1900 pStr = (sal_Char *)stripBlanks(pProfile->m_Lines[i], NULL); in loadProfile()
1902 if ((*pStr == '\0') || (*pStr == ';')) in loadProfile()
1905 if ((*pStr != '[') || ((pChar = strrchr(pStr, ']')) == NULL) || in loadProfile()
1906 ((pChar - pStr) <= 2)) in loadProfile()
1913 if ((pChar = strchr(pStr, '=')) == NULL) in loadProfile()
1914 pChar = pStr + strlen(pStr); in loadProfile()
1917 i, pStr, pChar - pStr)) in loadProfile()
1928 if (! addSection(pProfile, i, pStr + 1, pChar - pStr - 1)) in loadProfile()