Lines Matching refs:pStr
110 sal_Int32 SAL_CALL rtl_ustr_valueOfFloat(sal_Unicode * pStr, float f) in rtl_ustr_valueOfFloat() argument
120 rtl_copyMemory(pStr, pResult->buffer, (nLen + 1) * sizeof(sal_Unicode)); in rtl_ustr_valueOfFloat()
125 sal_Int32 SAL_CALL rtl_ustr_valueOfDouble(sal_Unicode * pStr, double d) in rtl_ustr_valueOfDouble() argument
135 rtl_copyMemory(pStr, pResult->buffer, (nLen + 1) * sizeof(sal_Unicode)); in rtl_ustr_valueOfDouble()
140 float SAL_CALL rtl_ustr_toFloat(sal_Unicode const * pStr) in rtl_ustr_toFloat() argument
142 return (float) rtl_math_uStringToDouble(pStr, in rtl_ustr_toFloat()
143 pStr + rtl_ustr_getLength(pStr), in rtl_ustr_toFloat()
147 double SAL_CALL rtl_ustr_toDouble(sal_Unicode const * pStr) in rtl_ustr_toDouble() argument
149 return rtl_math_uStringToDouble(pStr, pStr + rtl_ustr_getLength(pStr), '.', in rtl_ustr_toDouble()
508 static int rtl_ImplGetFastUTF8UnicodeLen( const sal_Char* pStr, sal_Int32 nLen ) in rtl_ImplGetFastUTF8UnicodeLen() argument
515 pEndStr = pStr+nLen; in rtl_ImplGetFastUTF8UnicodeLen()
516 while ( pStr < pEndStr ) in rtl_ImplGetFastUTF8UnicodeLen()
518 c = (sal_uChar)*pStr; in rtl_ImplGetFastUTF8UnicodeLen()
521 pStr++; in rtl_ImplGetFastUTF8UnicodeLen()
523 pStr += 2; in rtl_ImplGetFastUTF8UnicodeLen()
525 pStr += 3; in rtl_ImplGetFastUTF8UnicodeLen()
527 pStr += 4; in rtl_ImplGetFastUTF8UnicodeLen()
529 pStr += 5; in rtl_ImplGetFastUTF8UnicodeLen()
531 pStr += 6; in rtl_ImplGetFastUTF8UnicodeLen()
533 pStr++; in rtl_ImplGetFastUTF8UnicodeLen()
544 const sal_Char* pStr, in rtl_string2UString_status() argument
581 OSL_ENSURE( ((unsigned char)*pStr) <= 127, in rtl_string2UString_status()
584 *pBuffer = *pStr; in rtl_string2UString_status()
586 pStr++; in rtl_string2UString_status()
609 nNewLen = rtl_ImplGetFastUTF8UnicodeLen( pStr, nLen ); in rtl_string2UString_status()
628 OSL_ENSURE( ((unsigned char)*pStr) <= 127, in rtl_string2UString_status()
631 *pBuffer = *pStr; in rtl_string2UString_status()
633 pStr++; in rtl_string2UString_status()
658 pStr, nLen, in rtl_string2UString_status()
680 pStr, nLen, in rtl_string2UString_status()
719 const sal_Char* pStr, in rtl_string2UString() argument
724 rtl_string2UString_status( ppThis, pStr, nLen, eTextEncoding, in rtl_string2UString()