/third_party/icu/icu4c/source/io/ |
H A D | sprintf.cpp | 61 int32_t resultLen) in u_sprintf_pad_and_justify() 65 int32_t lengthOfResult = resultLen; in u_sprintf_pad_and_justify() 69 info->fWidth != -1 && resultLen < info->fWidth) { in u_sprintf_pad_and_justify() 73 resultLen = ufmt_min(resultLen, output->available); in u_sprintf_pad_and_justify() 76 if(info->fWidth != -1 && resultLen < info->fWidth) { in u_sprintf_pad_and_justify() 77 int32_t paddingLeft = info->fWidth - resultLen; in u_sprintf_pad_and_justify() 80 if (paddingLeft + resultLen > output->available) { in u_sprintf_pad_and_justify() 81 paddingLeft = output->available - resultLen; in u_sprintf_pad_and_justify() 85 /* paddingLeft = output->available - resultLen;*/ in u_sprintf_pad_and_justify() 58 u_sprintf_pad_and_justify(void *context, const u_printf_spec_info *info, const UChar *result, int32_t resultLen) u_sprintf_pad_and_justify() argument [all...] |
H A D | uprintf.cpp | 81 int32_t resultLen) in u_printf_pad_and_justify() 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() 78 u_printf_pad_and_justify(void *context, const u_printf_spec_info *info, const UChar *result, int32_t resultLen) u_printf_pad_and_justify() argument
|
H A D | uprntf_p.cpp | 291 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 in u_printf_uinteger_handler() 577 int32_t resultLen; u_printf_scientific_handler() local 694 int32_t resultLen; u_printf_percent_handler() local 897 int32_t resultLen; u_printf_spellout_handler() local [all...] |
H A D | uprintf.h | 64 int32_t resultLen);
|
/third_party/skia/third_party/externals/icu/source/io/ |
H A D | sprintf.cpp | 55 int32_t resultLen) in u_sprintf_pad_and_justify() 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() 73 /* paddingLeft = output->available - resultLen;*/ in u_sprintf_pad_and_justify() 79 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify() 52 u_sprintf_pad_and_justify(void *context, const u_printf_spec_info *info, const UChar *result, int32_t resultLen) u_sprintf_pad_and_justify() argument [all...] |
H A D | uprintf.cpp | 81 int32_t resultLen) in u_printf_pad_and_justify() 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() 78 u_printf_pad_and_justify(void *context, const u_printf_spec_info *info, const UChar *result, int32_t resultLen) u_printf_pad_and_justify() argument
|
H A D | uprntf_p.cpp | 291 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 in u_printf_uinteger_handler() 577 int32_t resultLen; u_printf_scientific_handler() local 694 int32_t resultLen; u_printf_percent_handler() local 897 int32_t resultLen; u_printf_spellout_handler() local [all...] |
H A D | uprintf.h | 64 int32_t resultLen);
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | toolutil.cpp | 126 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/icu/icu4c/source/tools/toolutil/ |
H A D | toolutil.cpp | 126 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/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | toolutil.cpp | 133 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/i18n/ |
H A D | number_grouping.cpp | 22 int32_t resultLen = 0; in getMinGroupingForLocale() local 26 &resultLen, in getMinGroupingForLocale() 28 // TODO: Is it safe to assume resultLen == 1? Would locales set minGrouping >= 10? in getMinGroupingForLocale() 29 if (U_FAILURE(localStatus) || resultLen != 1) { in getMinGroupingForLocale()
|
H A D | ucal.cpp | 801 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/node/deps/icu-small/source/i18n/ |
H A D | number_grouping.cpp | 22 int32_t resultLen = 0; in getMinGroupingForLocale() local 26 &resultLen, in getMinGroupingForLocale() 28 // TODO: Is it safe to assume resultLen == 1? Would locales set minGrouping >= 10? in getMinGroupingForLocale() 29 if (U_FAILURE(localStatus) || resultLen != 1) { in getMinGroupingForLocale()
|
H A D | ucal.cpp | 826 int32_t resultLen = 0; in ucal_getWindowsTimeZoneID() local 831 resultLen = resultWinID.length(); in ucal_getWindowsTimeZoneID() 835 return resultLen; in ucal_getWindowsTimeZoneID() 844 int32_t resultLen = 0; in ucal_getTimeZoneIDForWindowsID() local 849 resultLen = resultID.length(); in ucal_getTimeZoneIDForWindowsID() 853 return resultLen; in ucal_getTimeZoneIDForWindowsID()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | number_grouping.cpp | 22 int32_t resultLen = 0; in getMinGroupingForLocale() local 26 &resultLen, in getMinGroupingForLocale() 28 // TODO: Is it safe to assume resultLen == 1? Would locales set minGrouping >= 10? in getMinGroupingForLocale() 29 if (U_FAILURE(localStatus) || resultLen != 1) { in getMinGroupingForLocale()
|
H A D | ucal.cpp | 801 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/test/cintltst/ |
H A D | crestst.c | 137 int32_t resultLen; in TestAliasConflict() local 145 result = ures_getStringByKey(he, "ExemplarCharacters", &resultLen, &status); in TestAliasConflict() 187 int32_t resultLen; in TestConstruction1() local 218 result1= ures_getStringByKey(test1, "string_in_Root_te_te_IN", &resultLen, &err); in TestConstruction1() 219 result2= ures_getStringByKey(test2, "string_in_Root_te_te_IN", &resultLen, &err); in TestConstruction1() 290 int32_t resultLen; in testTag() local 401 ures_getStringByKey(theBundle, tag, &resultLen, &status); in testTag() 405 string=ures_getStringByKey(theBundle, tag, &resultLen, &status); in testTag() 455 int32_t resultLen; in TestFallback() local 469 junk = ures_getStringByKey(fr_FR, "LocaleID", &resultLen, in TestFallback() [all...] |
H A D | cloctst.c | 641 int32_t resultLen = 0; in UCharsToEscapedAscii() local 651 for(i=0;i<limit && resultLen<buflen;++i) { in UCharsToEscapedAscii() 660 if(resultLen>escapeLimit1) { in UCharsToEscapedAscii() 663 resultChars[resultLen++]='\\'; in UCharsToEscapedAscii() 664 resultChars[resultLen++]=ESCAPE_MAP[j].escapedChar; in UCharsToEscapedAscii() 668 u_austrncpy(resultChars + resultLen, &uc, 1); in UCharsToEscapedAscii() 669 resultLen++; in UCharsToEscapedAscii() 673 if(resultLen>escapeLimit2) { in UCharsToEscapedAscii() 678 resultChars[resultLen++]='\\'; in UCharsToEscapedAscii() 679 resultChars[resultLen in UCharsToEscapedAscii() 1934 int32_t resultLen = 0; TestKeywordVariants() local 2048 int32_t resultLen = 0; TestKeywordVariantParsing() local 2162 int32_t resultLen = 0; TestKeywordSet() local 2418 int32_t i, j, resultLen = 0, origResultLen; TestCanonicalization() local [all...] |
H A D | creststn.c | 372 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_ILLEGAL_ARGUMENT_ERROR){ 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, in TestFallback() 2346 int32_t uBufferLen = 0, resultLen = 0; TestResourceLevelAliasing() local [all...] |
H A D | udatpg_test.c | 268 int32_t formattedCapacity, resultLen,patternCapacity ; in TestBuilder() local 379 resultLen=udat_format(formatter, ucal_getNow(), formatted, formattedCapacity, in TestBuilder() 384 resultLen=udat_format(formatter, sampleDate, formatted, formattedCapacity, in TestBuilder() 386 if ( u_memcmp(sampleFormatted, formatted, resultLen) != 0 ) { in TestBuilder()
|
H A D | reapits.c | 345 int32_t resultLen; in TestRegexCAPI() local 349 resultPat = uregex_pattern(re, &resultLen, &status); in TestRegexCAPI() 354 TEST_ASSERT(resultLen == -1); in TestRegexCAPI() 362 resultPat = uregex_pattern(re, &resultLen, &status); in TestRegexCAPI() 368 TEST_ASSERT(resultLen == 3); in TestRegexCAPI() 1513 int32_t resultLen; in TestUTextAPI() local 1522 resultPat = uregex_pattern(re, &resultLen, &status); in TestUTextAPI() 1527 TEST_ASSERT(resultLen == -1); in TestUTextAPI() 1539 resultPat = uregex_pattern(re, &resultLen, &status); in TestUTextAPI() 1544 TEST_ASSERT(resultLen in TestUTextAPI() [all...] |
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_query.c | 107 void *result, uint32 resultLen) in vmw_svga_winsys_query_get_result() 129 memcpy(result, state + 1, resultLen); in vmw_svga_winsys_query_get_result() 103 vmw_svga_winsys_query_get_result(struct svga_winsys_screen *sws, struct svga_winsys_gb_query *query, unsigned offset, SVGA3dQueryState *queryState, void *result, uint32 resultLen) vmw_svga_winsys_query_get_result() argument
|
H A D | vmw_query.h | 59 void *result, uint32 resultLen);
|
/third_party/ffmpeg/libavformat/ |
H A D | id3v2.c | 346 int resultLen = -1; in iso8859_convert_utf8() local 353 resultLen = outputlen - outbuferlen; in iso8859_convert_utf8() 357 return resultLen; in iso8859_convert_utf8() 405 int resultLen = iso8859_convert_utf8(dst, strlen(dst), utf8, utf8len); in read_ttag() local 406 if (resultLen >= 0) { in read_ttag() 407 char *utf8Valid = av_malloc(resultLen + 1); in read_ttag() 408 av_strlcpy(utf8Valid, utf8, resultLen + 1); in read_ttag()
|