Lines Matching refs:pCopy
185 int parseFontCheckForString( const sal_Unicode* pCopy, const char* str, sal_Int32& nLen,
187 int parseFontRemoveSuffix( const sal_Unicode* pCopy, const char* s, sal_Int32& nLen);
475 int Parser::parseFontCheckForString( const sal_Unicode* pCopy, const char* s, sal_Int32& nLen, in parseFontCheckForString() argument
482 if (tolower(pCopy[i]) != s[i] in parseFontCheckForString()
483 && toupper(pCopy[i]) != s[i]) in parseFontCheckForString()
488 pCopy += l; in parseFontCheckForString()
492 int Parser::parseFontRemoveSuffix( const sal_Unicode* pCopy, const char* s, sal_Int32& nLen) in parseFontRemoveSuffix() argument
498 if ( pCopy[nLen - l + i] != s[i] ) in parseFontRemoveSuffix()
508 const sal_Unicode* pCopy = aResult.familyName.getStr(); in parseFontFamilyName() local
511 if( nLen > 8 && pCopy[6] == sal_Unicode('+') ) in parseFontFamilyName()
513 pCopy += 7; in parseFontFamilyName()
519 if (parseFontRemoveSuffix( pCopy, "PSMT", nLen)) {} in parseFontFamilyName()
520 else if (parseFontRemoveSuffix( pCopy, "MT", nLen)) {} in parseFontFamilyName()
522 if (parseFontCheckForString( pCopy, "Italic", nLen, aResult, true, false)) {} in parseFontFamilyName()
523 else if (parseFontCheckForString( pCopy, "-Bold", nLen, aResult, false, true)) {} in parseFontFamilyName()
524 else if (parseFontCheckForString( pCopy, "Bold", nLen, aResult, false, true)) {} in parseFontFamilyName()
525 else if (parseFontCheckForString( pCopy, "-Roman", nLen, aResult, false, false)) {} in parseFontFamilyName()
526 else if (parseFontCheckForString( pCopy, "-LightOblique", nLen, aResult, true, false)) {} in parseFontFamilyName()
527 else if (parseFontCheckForString( pCopy, "-BoldOblique", nLen, aResult, true, true)) {} in parseFontFamilyName()
528 else if (parseFontCheckForString( pCopy, "-Light", nLen, aResult, false, false)) {} in parseFontFamilyName()
529 else if (parseFontCheckForString( pCopy, "-Reg", nLen, aResult, false, false)) {} in parseFontFamilyName()
532 if( *pCopy != '-' ) in parseFontFamilyName()
533 aNewFamilyName.append( *pCopy ); in parseFontFamilyName()
534 pCopy++; in parseFontFamilyName()