Lines Matching refs:nLen
181 int parseFontCheckForString( const sal_Unicode* pCopy, const char* str, sal_Int32& nLen,
183 int parseFontRemoveSuffix( const sal_Unicode* pCopy, const char* s, sal_Int32& nLen);
226 const size_t nLen(pCur - pRead); in lcl_unescapeLineFeeds() local
227 strncpy(pWrite, pRead, nLen); in lcl_unescapeLineFeeds()
228 pWrite += nLen; in lcl_unescapeLineFeeds()
244 const size_t nLen(nOrigLen - (pRead - pOrig)); in lcl_unescapeLineFeeds() local
245 strncpy(pWrite, pRead, nLen); in lcl_unescapeLineFeeds()
246 pWrite += nLen; in lcl_unescapeLineFeeds()
425 const sal_Int32 nLen(readInt32()); in readLineDash() local
427 uno::Sequence<double> aDashArray(nLen); in readLineDash()
429 for( sal_Int32 i=0; i<nLen; ++i ) in readLineDash()
471 int Parser::parseFontCheckForString( const sal_Unicode* pCopy, const char* s, sal_Int32& nLen, in parseFontCheckForString() argument
475 if (nLen < l) in parseFontCheckForString()
483 nLen -= l; in parseFontCheckForString()
488 int Parser::parseFontRemoveSuffix( const sal_Unicode* pCopy, const char* s, sal_Int32& nLen) in parseFontRemoveSuffix() argument
491 if (nLen < l) in parseFontRemoveSuffix()
494 if ( pCopy[nLen - l + i] != s[i] ) in parseFontRemoveSuffix()
496 nLen -= l; in parseFontRemoveSuffix()
505 sal_Int32 nLen = aResult.familyName.getLength(); in parseFontFamilyName() local
507 if( nLen > 8 && pCopy[6] == sal_Unicode('+') ) in parseFontFamilyName()
510 nLen -= 7; in parseFontFamilyName()
513 while( nLen ) in parseFontFamilyName()
515 if (parseFontRemoveSuffix( pCopy, "PSMT", nLen)) {} in parseFontFamilyName()
516 else if (parseFontRemoveSuffix( pCopy, "MT", nLen)) {} in parseFontFamilyName()
518 if (parseFontCheckForString( pCopy, "Italic", nLen, aResult, true, false)) {} in parseFontFamilyName()
519 else if (parseFontCheckForString( pCopy, "-Bold", nLen, aResult, false, true)) {} in parseFontFamilyName()
520 else if (parseFontCheckForString( pCopy, "Bold", nLen, aResult, false, true)) {} in parseFontFamilyName()
521 else if (parseFontCheckForString( pCopy, "-Roman", nLen, aResult, false, false)) {} in parseFontFamilyName()
522 else if (parseFontCheckForString( pCopy, "-LightOblique", nLen, aResult, true, false)) {} in parseFontFamilyName()
523 else if (parseFontCheckForString( pCopy, "-BoldOblique", nLen, aResult, true, true)) {} in parseFontFamilyName()
524 else if (parseFontCheckForString( pCopy, "-Light", nLen, aResult, false, false)) {} in parseFontFamilyName()
525 else if (parseFontCheckForString( pCopy, "-Reg", nLen, aResult, false, false)) {} in parseFontFamilyName()
531 nLen--; in parseFontFamilyName()