Home
last modified time | relevance | path

Searched refs:resultLen (Results 1 – 25 of 45) sorted by relevance

12

/third_party/skia/third_party/externals/icu/source/io/
Dsprintf.cpp55 int32_t resultLen) in u_sprintf_pad_and_justify() argument
59 int32_t lengthOfResult = resultLen; in u_sprintf_pad_and_justify()
61 resultLen = ufmt_min(resultLen, output->available); in u_sprintf_pad_and_justify()
64 if(info->fWidth != -1 && resultLen < info->fWidth) { in u_sprintf_pad_and_justify()
65 int32_t paddingLeft = info->fWidth - resultLen; in u_sprintf_pad_and_justify()
68 if (paddingLeft + resultLen > output->available) { in u_sprintf_pad_and_justify()
69 paddingLeft = output->available - resultLen; in u_sprintf_pad_and_justify()
79 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify()
80 u_memset(&output->str[outputPos + resultLen], info->fPadChar, paddingLeft); in u_sprintf_pad_and_justify()
87 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify()
[all …]
Duprintf.cpp81 int32_t resultLen) in u_printf_pad_and_justify() argument
87 if(info->fWidth != -1 && resultLen < info->fWidth) { in u_printf_pad_and_justify()
90 written = u_file_write(result, resultLen, output); in u_printf_pad_and_justify()
91 for(i = 0; i < info->fWidth - resultLen; ++i) { in u_printf_pad_and_justify()
98 for(i = 0; i < info->fWidth - resultLen; ++i) { in u_printf_pad_and_justify()
101 written += u_file_write(result, resultLen, output); in u_printf_pad_and_justify()
106 written = u_file_write(result, resultLen, output); in u_printf_pad_and_justify()
Duprntf_p.cpp291 int32_t resultLen; in u_printf_double_handler() local
332 resultLen = unum_formatDouble(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_double_handler()
335 resultLen = 0; in u_printf_double_handler()
349 return handler->pad_and_justify(context, info, result, resultLen); in u_printf_double_handler()
366 int32_t resultLen; in u_printf_integer_handler() local
399 resultLen = unum_formatInt64(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_integer_handler()
402 resultLen = 0; in u_printf_integer_handler()
416 return handler->pad_and_justify(context, info, result, resultLen); in u_printf_integer_handler()
501 int32_t resultLen; in u_printf_uinteger_handler() local
529 resultLen = unum_formatInt64(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_uinteger_handler()
[all …]
/third_party/icu/icu4c/source/io/
Dsprintf.cpp55 int32_t resultLen) in u_sprintf_pad_and_justify() argument
59 int32_t lengthOfResult = resultLen; in u_sprintf_pad_and_justify()
61 resultLen = ufmt_min(resultLen, output->available); in u_sprintf_pad_and_justify()
64 if(info->fWidth != -1 && resultLen < info->fWidth) { in u_sprintf_pad_and_justify()
65 int32_t paddingLeft = info->fWidth - resultLen; in u_sprintf_pad_and_justify()
68 if (paddingLeft + resultLen > output->available) { in u_sprintf_pad_and_justify()
69 paddingLeft = output->available - resultLen; in u_sprintf_pad_and_justify()
79 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify()
80 u_memset(&output->str[outputPos + resultLen], info->fPadChar, paddingLeft); in u_sprintf_pad_and_justify()
87 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify()
[all …]
Duprintf.cpp81 int32_t resultLen) in u_printf_pad_and_justify() argument
87 if(info->fWidth != -1 && resultLen < info->fWidth) { in u_printf_pad_and_justify()
90 written = u_file_write(result, resultLen, output); in u_printf_pad_and_justify()
91 for(i = 0; i < info->fWidth - resultLen; ++i) { in u_printf_pad_and_justify()
98 for(i = 0; i < info->fWidth - resultLen; ++i) { in u_printf_pad_and_justify()
101 written += u_file_write(result, resultLen, output); in u_printf_pad_and_justify()
106 written = u_file_write(result, resultLen, output); in u_printf_pad_and_justify()
Duprntf_p.cpp291 int32_t resultLen; in u_printf_double_handler() local
332 resultLen = unum_formatDouble(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_double_handler()
335 resultLen = 0; in u_printf_double_handler()
349 return handler->pad_and_justify(context, info, result, resultLen); in u_printf_double_handler()
366 int32_t resultLen; in u_printf_integer_handler() local
399 resultLen = unum_formatInt64(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_integer_handler()
402 resultLen = 0; in u_printf_integer_handler()
416 return handler->pad_and_justify(context, info, result, resultLen); in u_printf_integer_handler()
501 int32_t resultLen; in u_printf_uinteger_handler() local
529 resultLen = unum_formatInt64(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_uinteger_handler()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/io/
Dsprintf.cpp55 int32_t resultLen) in u_sprintf_pad_and_justify() argument
59 int32_t lengthOfResult = resultLen; in u_sprintf_pad_and_justify()
61 resultLen = ufmt_min(resultLen, output->available); in u_sprintf_pad_and_justify()
64 if(info->fWidth != -1 && resultLen < info->fWidth) { in u_sprintf_pad_and_justify()
65 int32_t paddingLeft = info->fWidth - resultLen; in u_sprintf_pad_and_justify()
68 if (paddingLeft + resultLen > output->available) { in u_sprintf_pad_and_justify()
69 paddingLeft = output->available - resultLen; in u_sprintf_pad_and_justify()
79 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify()
80 u_memset(&output->str[outputPos + resultLen], info->fPadChar, paddingLeft); in u_sprintf_pad_and_justify()
87 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify()
[all …]
Duprintf.cpp81 int32_t resultLen) in u_printf_pad_and_justify() argument
87 if(info->fWidth != -1 && resultLen < info->fWidth) { in u_printf_pad_and_justify()
90 written = u_file_write(result, resultLen, output); in u_printf_pad_and_justify()
91 for(i = 0; i < info->fWidth - resultLen; ++i) { in u_printf_pad_and_justify()
98 for(i = 0; i < info->fWidth - resultLen; ++i) { in u_printf_pad_and_justify()
101 written += u_file_write(result, resultLen, output); in u_printf_pad_and_justify()
106 written = u_file_write(result, resultLen, output); in u_printf_pad_and_justify()
Duprntf_p.cpp291 int32_t resultLen; in u_printf_double_handler() local
332 resultLen = unum_formatDouble(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_double_handler()
335 resultLen = 0; in u_printf_double_handler()
349 return handler->pad_and_justify(context, info, result, resultLen); in u_printf_double_handler()
366 int32_t resultLen; in u_printf_integer_handler() local
399 resultLen = unum_formatInt64(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_integer_handler()
402 resultLen = 0; in u_printf_integer_handler()
416 return handler->pad_and_justify(context, info, result, resultLen); in u_printf_integer_handler()
501 int32_t resultLen; in u_printf_uinteger_handler() local
529 resultLen = unum_formatInt64(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_uinteger_handler()
[all …]
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Dtoolutil.cpp133 int32_t resultLen = 0; in findDirname() local
145 resultLen = 0; in findDirname()
148 resultLen = static_cast<int32_t>(basename - path); in findDirname()
149 if(resultLen<1) { in findDirname()
150 resultLen = 1; /* '/' or '/a' -> '/' */ in findDirname()
154 if((resultLen+1) <= bufLen) { in findDirname()
155 uprv_strncpy(buffer, resultPtr, resultLen); in findDirname()
156 buffer[resultLen]=0; in findDirname()
/third_party/icu/icu4c/source/tools/toolutil/
Dtoolutil.cpp133 int32_t resultLen = 0; in findDirname() local
145 resultLen = 0; in findDirname()
148 resultLen = static_cast<int32_t>(basename - path); in findDirname()
149 if(resultLen<1) { in findDirname()
150 resultLen = 1; /* '/' or '/a' -> '/' */ in findDirname()
154 if((resultLen+1) <= bufLen) { in findDirname()
155 uprv_strncpy(buffer, resultPtr, resultLen); in findDirname()
156 buffer[resultLen]=0; in findDirname()
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/
Dtoolutil.cpp131 int32_t resultLen = 0; in findDirname() local
143 resultLen = 0; in findDirname()
146 resultLen = basename - path; in findDirname()
147 if(resultLen<1) { in findDirname()
148 resultLen = 1; /* '/' or '/a' -> '/' */ in findDirname()
152 if((resultLen+1) <= bufLen) { in findDirname()
153 uprv_strncpy(buffer, resultPtr, resultLen); in findDirname()
154 buffer[resultLen]=0; in findDirname()
/third_party/node/deps/icu-small/source/tools/toolutil/
Dtoolutil.cpp126 int32_t resultLen = 0; in findDirname() local
138 resultLen = 0; in findDirname()
141 resultLen = static_cast<int32_t>(basename - path); in findDirname()
142 if(resultLen<1) { in findDirname()
143 resultLen = 1; /* '/' or '/a' -> '/' */ in findDirname()
147 if((resultLen+1) <= bufLen) { in findDirname()
148 uprv_strncpy(buffer, resultPtr, resultLen); in findDirname()
149 buffer[resultLen]=0; in findDirname()
/third_party/node/deps/icu-small/source/i18n/
Dnumber_grouping.cpp22 int32_t resultLen = 0; in getMinGroupingForLocale() local
26 &resultLen, in getMinGroupingForLocale()
29 if (U_FAILURE(localStatus) || resultLen != 1) { in getMinGroupingForLocale()
Ducal.cpp801 int32_t resultLen = 0; in ucal_getWindowsTimeZoneID() local
806 resultLen = resultWinID.length(); in ucal_getWindowsTimeZoneID()
810 return resultLen; in ucal_getWindowsTimeZoneID()
819 int32_t resultLen = 0; in ucal_getTimeZoneIDForWindowsID() local
824 resultLen = resultID.length(); in ucal_getTimeZoneIDForWindowsID()
828 return resultLen; in ucal_getTimeZoneIDForWindowsID()
/third_party/icu/icu4c/source/i18n/
Dnumber_grouping.cpp22 int32_t resultLen = 0; in getMinGroupingForLocale() local
26 &resultLen, in getMinGroupingForLocale()
29 if (U_FAILURE(localStatus) || resultLen != 1) { in getMinGroupingForLocale()
Ducal.cpp801 int32_t resultLen = 0; in ucal_getWindowsTimeZoneID() local
806 resultLen = resultWinID.length(); in ucal_getWindowsTimeZoneID()
810 return resultLen; in ucal_getWindowsTimeZoneID()
819 int32_t resultLen = 0; in ucal_getTimeZoneIDForWindowsID() local
824 resultLen = resultID.length(); in ucal_getTimeZoneIDForWindowsID()
828 return resultLen; in ucal_getTimeZoneIDForWindowsID()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_grouping.cpp22 int32_t resultLen = 0; in getMinGroupingForLocale() local
26 &resultLen, in getMinGroupingForLocale()
29 if (U_FAILURE(localStatus) || resultLen != 1) { in getMinGroupingForLocale()
Ducal.cpp801 int32_t resultLen = 0; in ucal_getWindowsTimeZoneID() local
806 resultLen = resultWinID.length(); in ucal_getWindowsTimeZoneID()
810 return resultLen; in ucal_getWindowsTimeZoneID()
819 int32_t resultLen = 0; in ucal_getTimeZoneIDForWindowsID() local
824 resultLen = resultID.length(); in ucal_getTimeZoneIDForWindowsID()
828 return resultLen; in ucal_getTimeZoneIDForWindowsID()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_grouping.cpp22 int32_t resultLen = 0; in getMinGroupingForLocale() local
26 &resultLen, in getMinGroupingForLocale()
29 if (U_FAILURE(localStatus) || resultLen != 1) { in getMinGroupingForLocale()
Ducal.cpp777 int32_t resultLen = 0; in ucal_getWindowsTimeZoneID() local
782 resultLen = resultWinID.length(); in ucal_getWindowsTimeZoneID()
786 return resultLen; in ucal_getWindowsTimeZoneID()
795 int32_t resultLen = 0; in ucal_getTimeZoneIDForWindowsID() local
800 resultLen = resultID.length(); in ucal_getTimeZoneIDForWindowsID()
804 return resultLen; in ucal_getTimeZoneIDForWindowsID()
/third_party/icu/icu4c/source/test/cintltst/
Dcrestst.c134 int32_t resultLen; in TestAliasConflict() local
142 result = ures_getStringByKey(he, "ExemplarCharacters", &resultLen, &status); in TestAliasConflict()
184 int32_t resultLen; in TestConstruction1() local
215 result1= ures_getStringByKey(test1, "string_in_Root_te_te_IN", &resultLen, &err); in TestConstruction1()
216 result2= ures_getStringByKey(test2, "string_in_Root_te_te_IN", &resultLen, &err); in TestConstruction1()
287 int32_t resultLen; in testTag() local
398 ures_getStringByKey(theBundle, tag, &resultLen, &status); in testTag()
402 string=ures_getStringByKey(theBundle, tag, &resultLen, &status); in testTag()
452 int32_t resultLen; in TestFallback() local
466 junk = ures_getStringByKey(fr_FR, "LocaleID", &resultLen, &status); in TestFallback()
[all …]
Dcloctst.c631 int32_t resultLen = 0; in UCharsToEscapedAscii() local
641 for(i=0;i<limit && resultLen<buflen;++i) { in UCharsToEscapedAscii()
650 if(resultLen>escapeLimit1) { in UCharsToEscapedAscii()
653 resultChars[resultLen++]='\\'; in UCharsToEscapedAscii()
654 resultChars[resultLen++]=ESCAPE_MAP[j].escapedChar; in UCharsToEscapedAscii()
658 u_austrncpy(resultChars + resultLen, &uc, 1); in UCharsToEscapedAscii()
659 resultLen++; in UCharsToEscapedAscii()
663 if(resultLen>escapeLimit2) { in UCharsToEscapedAscii()
668 resultChars[resultLen++]='\\'; in UCharsToEscapedAscii()
669 resultChars[resultLen++]='u'; in UCharsToEscapedAscii()
[all …]
Dcreststn.c372 int32_t resultLen; in TestAliasConflict() local
383 result = ures_getStringByKey(he, "ExemplarCharacters", &resultLen, &status); in TestAliasConflict()
1186 int32_t resultLen; in TestErrorConditions() local
1264 …if(ures_getStringByKey(NULL, "string_only_in_te", &resultLen, &status) != NULL && status != U_ILLE… in TestErrorConditions()
2133 int32_t resultLen; in TestFallback() local
2147 junk = tres_getString(fr_FR, -1, "LocaleID", &resultLen, &status); in TestFallback()
2149 junk = tres_getString(fr_FR, -1, "LocaleString", &resultLen, &status); in TestFallback()
2151 junk = tres_getString(fr_FR, -1, "LocaleID", &resultLen, &status); in TestFallback()
2167 junk = tres_getString(fr_FR, -1, "ExemplarCharacters", &resultLen, &status); in TestFallback()
2192 version = tres_getString(resLocID, -1, NULL, &resultLen, &err); in TestFallback()
[all …]
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_query.c107 void *result, uint32 resultLen) in vmw_svga_winsys_query_get_result() argument
129 memcpy(result, state + 1, resultLen); in vmw_svga_winsys_query_get_result()

12