Lines Matching refs:nLen
113 sal_Int32 nLen; in rtl_ustr_valueOfFloat() local
118 nLen = pResult->length; in rtl_ustr_valueOfFloat()
119 OSL_ASSERT(nLen < RTL_USTR_MAX_VALUEOFFLOAT); in rtl_ustr_valueOfFloat()
120 rtl_copyMemory(pStr, pResult->buffer, (nLen + 1) * sizeof(sal_Unicode)); in rtl_ustr_valueOfFloat()
122 return nLen; in rtl_ustr_valueOfFloat()
128 sal_Int32 nLen; in rtl_ustr_valueOfDouble() local
133 nLen = pResult->length; in rtl_ustr_valueOfDouble()
134 OSL_ASSERT(nLen < RTL_USTR_MAX_VALUEOFDOUBLE); in rtl_ustr_valueOfDouble()
135 rtl_copyMemory(pStr, pResult->buffer, (nLen + 1) * sizeof(sal_Unicode)); in rtl_ustr_valueOfDouble()
137 return nLen; in rtl_ustr_valueOfDouble()
416 sal_Int32 nLen; in rtl_uString_newFromAscii() local
423 nLen = pTempStr-pCharStr; in rtl_uString_newFromAscii()
426 nLen = 0; in rtl_uString_newFromAscii()
428 if ( !nLen ) in rtl_uString_newFromAscii()
437 *ppThis = IMPL_RTL_STRINGNAME( ImplAlloc )( nLen ); in rtl_uString_newFromAscii()
508 static int rtl_ImplGetFastUTF8UnicodeLen( const sal_Char* pStr, sal_Int32 nLen ) in rtl_ImplGetFastUTF8UnicodeLen() argument
515 pEndStr = pStr+nLen; in rtl_ImplGetFastUTF8UnicodeLen()
545 sal_Int32 nLen, in rtl_string2UString_status() argument
553 if ( !nLen ) in rtl_string2UString_status()
569 *ppThis = IMPL_RTL_STRINGNAME( ImplAlloc )( nLen ); in rtl_string2UString_status()
587 nLen--; in rtl_string2UString_status()
589 while ( nLen ); in rtl_string2UString_status()
609 nNewLen = rtl_ImplGetFastUTF8UnicodeLen( pStr, nLen ); in rtl_string2UString_status()
612 if ( nNewLen == (sal_Size)nLen ) in rtl_string2UString_status()
615 *ppThis = IMPL_RTL_STRINGNAME( ImplAlloc )( nLen ); in rtl_string2UString_status()
634 nLen--; in rtl_string2UString_status()
636 while ( nLen ); in rtl_string2UString_status()
644 nNewLen = nLen; in rtl_string2UString_status()
658 pStr, nLen, in rtl_string2UString_status()
680 pStr, nLen, in rtl_string2UString_status()
720 sal_Int32 nLen, in rtl_string2UString() argument
724 rtl_string2UString_status( ppThis, pStr, nLen, eTextEncoding, in rtl_string2UString()