Lines Matching refs:nLength
217 sal_Int32 nLength = rText.getLength() - 2; in toInt() local
218 while( (nLength--) > 0 ) in toInt()
354 rtl::OUString ElementConfig::format( SvStream& rStream, sal_Size& nLength ) const in format()
365 case ECT_BYTE: aRet += dump_byte( rStream, nLength ); break; in format()
366 case ECT_UINT: aRet += dump_uint( rStream, nLength ); break; in format()
367 case ECT_UNISTRING: aRet += dump_unistring( rStream, nLength ); break; in format()
368 case ETC_FLOAT: aRet += dump_float( rStream, nLength ); break; in format()
370 default: aRet += dump_hex( rStream, nLength ); break; in format()
376 rtl::OUString ElementConfig::dump_hex( SvStream& rStream, sal_Size& nLength ) in dump_hex() argument
383 while( nLength && (rStream.GetError() == 0) ) in dump_hex()
386 nLength--; in dump_hex()
399 if( (nRow == 16) || (nLength==0) ) in dump_hex()
418 rtl::OUString ElementConfig::dump_byte( SvStream& rStream, sal_Size& nLength ) in dump_byte() argument
421 if( nLength >= sizeof(sal_Char) ) in dump_byte()
429 nLength -= sizeof(sal_Char); in dump_byte()
435 rtl::OUString ElementConfig::dump_uint( SvStream& rStream, sal_Size& nLength ) in dump_uint() argument
438 if( nLength >= sizeof( sal_uInt32 ) ) in dump_uint()
446 nLength-= sizeof( sal_uInt32 ); in dump_uint()
452 rtl::OUString ElementConfig::dump_unistring( SvStream& rStream, sal_Size& nLength ) in dump_unistring() argument
455 SvxMSDffManager::MSDFFReadZString( rStream, aString, nLength, sal_True ); in dump_unistring()
456 nLength = 0; in dump_unistring()
460 rtl::OUString ElementConfig::dump_float( SvStream& rStream, sal_Size& nLength ) in dump_float() argument
463 if( nLength >= sizeof( float ) ) in dump_float()
471 nLength-= sizeof( float ); in dump_float()
479 rtl::OUString ElementConfigContainer::format( SvStream& rStream, sal_Size& nLength ) const in format()
488 while( (aIter != aEnd) && (nLength > 0) ) in format()
490 aRet += (*aIter++)->format( rStream, nLength ); in format()
491 if( (aIter != aEnd) || (nLength != 0) ) in format()
495 if( nLength ) in format()
496 aRet += ElementConfig::dump_hex( rStream, nLength ); in format()
507 case ECT_BYTE: aValue = dump_byte( rStream, nLength ); break; in format()
508 case ECT_UINT: aValue = dump_uint( rStream, nLength ); break; in format()
509 case ECT_UNISTRING: aValue = dump_unistring( rStream, nLength ); break; in format()
510 case ETC_FLOAT: aValue = dump_float( rStream, nLength ); break; in format()
512 default: aValue = dump_hex( rStream, nLength ); break; in format()
521 while( (aIter != aEnd) && (nLength > 0) ) in format()
545 rtl::OUString SwitchElementConfig::format( SvStream& rStream, sal_Size& nLength ) const in format()
551 case ECT_BYTE: aValue = dump_byte( rStream, nLength ); break; in format()
552 case ECT_UINT: aValue = dump_uint( rStream, nLength ); break; in format()
553 case ETC_FLOAT: aValue = dump_float( rStream, nLength ); break; in format()
554 case ECT_UNISTRING: aValue = dump_unistring( rStream, nLength ); break; in format()
561 while( (aIter != aEnd) && (nLength > 0) ) in format()
565 return pCase->format( rStream, nLength ); in format()
569 return ElementConfig::dump_hex( rStream, nLength ); in format()