/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | TrieTest.java | 315 RangeValueIterator.Element result = new RangeValueIterator.Element(); in _testTrieRanges() 316 while (iter.next(result)) { in _testTrieRanges() 317 if (result.start != checkRanges[enumRanges -1].limit in _testTrieRanges() 318 || result.limit != checkRanges[enumRanges].limit in _testTrieRanges() 319 || (result.value ^ 0x5555) != checkRanges[enumRanges].value) { in _testTrieRanges() 321 + Integer.toHexString(result.start) + "..U+" in _testTrieRanges() 322 + Integer.toHexString(result.limit) + "].0x" in _testTrieRanges() 323 + Integer.toHexString(result.value ^ 0x5555) in _testTrieRanges()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | PluralFormatUnitTest.java | 72 String result = numberFmt.format(n); in TestConstructor() 75 result, plFmts[k].format(n)); in TestConstructor() 83 String result = numberFmt.format(n*n); in TestConstructor() 87 TestFmwk.assertEquals("PluralFormat's output is not as expected", result, pfResult); in TestConstructor() 144 errln("Not defining plural case other should result in an " + in TestApplyPatternAndFormat() 158 errln("Defining a message for an invalid keyword should result in " + in TestApplyPatternAndFormat() 344 String result = pf.format(i); in TestExtendedPluralFormat() 345 assertEquals("PluralFormat.format(value " + i + ")", targets[i], result); in TestExtendedPluralFormat() 347 result = mf.format(args); in TestExtendedPluralFormat() 348 assertEquals("MessageFormat.format(value " + i + ")", targets[i], result); in TestExtendedPluralFormat() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | ListFormatterTest.java | 233 FormattedList result = fmt.formatToValue(Arrays.asList(inputs)); in TestFormattedValue() 246 result, in TestFormattedValue() 292 String result = fmt1.format(Arrays.asList(inputs)); in TestCreateStyled() 293 assertEquals(message, expected, result); in TestCreateStyled() 295 result = fmt2.format(Arrays.asList(inputs)); in TestCreateStyled() 296 assertEquals(message, expected, result); in TestCreateStyled() 354 String result = fmt.format(inputs); in TestContextual() 355 assertEquals(message, expected, result); in TestContextual()
|
H A D | DataDrivenNumberFormatTestData.java | 501 StringBuilder result = new StringBuilder(); in toString() 502 result.append("{"); in toString() 512 result.append(", "); in toString() 515 result.append(fieldName); in toString() 516 result.append(": "); in toString() 517 result.append(optionalValue); in toString() 526 result.append("}"); in toString() 527 return result.toString(); in toString()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | BasicTimeZone.java | 204 * of this time zone object. The first element in the result array will 217 * element in the result array will be the <code>InitialTimeZoneRule</code> 370 * specified date. Thus, the result may be only valid for dates around the 408 // even raw offset is changed. This will result that the result in getSimpleTimeZoneRulesNear() 511 TimeZoneRule[] result = null; in getSimpleTimeZoneRulesNear() 513 result = new TimeZoneRule[1]; in getSimpleTimeZoneRulesNear() 514 result[0] = initialRule; in getSimpleTimeZoneRulesNear() 516 result = new TimeZoneRule[3]; in getSimpleTimeZoneRulesNear() 517 result[ in getSimpleTimeZoneRulesNear() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | cpdtrans.cpp | 443 void CompoundTransliterator::handleGetSourceSet(UnicodeSet& result) const { in handleGetSourceSet() 445 result.clear(); in handleGetSourceSet() 447 result.addAll(trans[i]->getSourceSet(set)); in handleGetSourceSet() 456 if (!result.isEmpty()) { in handleGetSourceSet() 465 UnicodeSet& CompoundTransliterator::getTargetSet(UnicodeSet& result) const { in getTargetSet() 467 result.clear(); in getTargetSet() 470 result.addAll(trans[i]->getTargetSet(set)); in getTargetSet() 472 return result; in getTargetSet()
|
H A D | double-conversion-string-to-double.cpp | 127 // mean of 2 adjacent doubles (that could have up to 769 digits) the result 341 // result. in RadixStringToIeee() 435 double result = Double(DiyFp(number, exponent)).value(); in RadixStringToIeee() 436 return sign ? -result : result; in RadixStringToIeee() 558 double result = RadixStringToIeee<4>(¤t, 571 return result; 728 double result; 731 result = RadixStringToIeee<3>(&start, 742 return result; [all...] |
H A D | number_modifiers.cpp | 206 SimpleModifier::formatAsPrefixSuffix(FormattedStringBuilder &result, int32_t startIndex, int32_t endIndex, in formatAsPrefixSuffix() argument 210 return result.splice(startIndex, endIndex, fCompiledPattern, 2, 2 + fPrefixLength, fField, status); in formatAsPrefixSuffix() 213 result.insert(startIndex, fCompiledPattern, 2, 2 + fPrefixLength, fField, status); in formatAsPrefixSuffix() 216 result.insert( in formatAsPrefixSuffix() 230 SimpleModifier::formatTwoArgPattern(const SimpleFormatter& compiled, FormattedStringBuilder& result, in formatTwoArgPattern() argument 241 int32_t length = 0; // chars added to result in formatTwoArgPattern() 250 result.insert(index + length, compiledPattern, offset, offset + prefixLength, field, status); in formatTwoArgPattern() 263 result.insert(index + length, compiledPattern, offset, offset + infixLength, field, status); in formatTwoArgPattern() 276 result.insert(index + length, compiledPattern, offset, offset + suffixLength, field, status); in formatTwoArgPattern()
|
/third_party/lzma/CPP/Windows/ |
H A D | Shell.cpp | 556 const bool result = BOOLToBool(::SHGetPathFromIDList(itemIDList, path.GetBuf(len)));
in GetPathFromIDList() local 558 return result;
in GetPathFromIDList() 569 bool result = BOOLToBool(::SHGetPathFromIDList(itemIDList, path.GetBuf(len)));
in GetPathFromIDList() local 578 bool result = BOOLToBool(shGetPathFromIDListW(itemIDList, path.GetBuf(len)));
in GetPathFromIDList() 581 if (!result)
in GetPathFromIDList() 598 result = BOOLToBool(func_SHGetPathFromIDListEx(itemIDList, path.GetBuf(len), len, 0));
in GetPathFromIDList() 599 if (result)
in GetPathFromIDList() 607 return result;
in GetPathFromIDList()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
H A D | ecma-literal-storage.c | 206 jmem_cpointer_t result; in ecma_find_or_create_literal_string() local 207 JMEM_CP_SET_NON_NULL_POINTER (result, string_p); in ecma_find_or_create_literal_string() 211 *empty_cpointer_p = result; in ecma_find_or_create_literal_string() 219 new_item_p->values[0] = result; in ecma_find_or_create_literal_string() 284 jmem_cpointer_t result; in ecma_find_or_create_literal_number() local 285 JMEM_CP_SET_NON_NULL_POINTER (result, num_p); in ecma_find_or_create_literal_number() 289 *empty_cpointer_p = result; in ecma_find_or_create_literal_number() 296 new_item_p->values[0] = result; in ecma_find_or_create_literal_number()
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
H A D | ecma-objects-general.c | 230 ecma_preferred_type_hint_t hint) /**< hint on preferred result type */ in ecma_op_general_object_default_value() 251 ecma_value_t result = ecma_op_function_call (call_func_p, in ecma_op_general_object_default_value() local 258 if (ECMA_IS_VALUE_ERROR (result) in ecma_op_general_object_default_value() 259 || !ecma_is_value_object (result)) in ecma_op_general_object_default_value() 261 return result; in ecma_op_general_object_default_value() 264 ecma_free_value (result); in ecma_op_general_object_default_value() 303 ecma_preferred_type_hint_t hint) /**< hint on preferred result type */ in ecma_op_general_object_ordinary_value() 480 ecma_value_t result = ECMA_VALUE_TRUE; in ecma_op_general_object_define_own_property() local 488 result = ecma_reject (property_desc_p->flags & ECMA_PROP_IS_THROW); in ecma_op_general_object_define_own_property() 492 return result; in ecma_op_general_object_define_own_property() [all...] |
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_formats.c | 592 VkResult result; in tu_GetPhysicalDeviceImageFormatProperties2() local 594 result = tu_get_image_format_properties(physical_device, in tu_GetPhysicalDeviceImageFormatProperties2() 596 if (result != VK_SUCCESS) in tu_GetPhysicalDeviceImageFormatProperties2() 597 return result; in tu_GetPhysicalDeviceImageFormatProperties2() 639 result = tu_get_external_image_format_properties( in tu_GetPhysicalDeviceImageFormatProperties2() 642 if (result != VK_SUCCESS) in tu_GetPhysicalDeviceImageFormatProperties2() 667 if (result == VK_ERROR_FORMAT_NOT_SUPPORTED) { in tu_GetPhysicalDeviceImageFormatProperties2() 678 return result; in tu_GetPhysicalDeviceImageFormatProperties2()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_dcc_retile.c | 112 VkResult result = VK_SUCCESS; in radv_device_init_meta_dcc_retile_state() local 132 result = radv_CreateDescriptorSetLayout(radv_device_to_handle(device), &ds_create_info, in radv_device_init_meta_dcc_retile_state() 135 if (result != VK_SUCCESS) in radv_device_init_meta_dcc_retile_state() 146 result = in radv_device_init_meta_dcc_retile_state() 149 if (result != VK_SUCCESS) in radv_device_init_meta_dcc_retile_state() 169 result = radv_CreateComputePipelines( in radv_device_init_meta_dcc_retile_state() 172 if (result != VK_SUCCESS) in radv_device_init_meta_dcc_retile_state() 177 return result; in radv_device_init_meta_dcc_retile_state()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_query.c | 239 uint64_t *result = (uint64_t*)vresult; in softpipe_get_query_result() local 269 *result = sq->so[sq->index].num_primitives_written; in softpipe_get_query_result() 272 *result = sq->so[sq->index].primitives_storage_needed; in softpipe_get_query_result() 279 *result = sq->end - sq->start; in softpipe_get_query_result() 318 union pipe_query_result result; in softpipe_check_render_cond() local 319 memset(&result, 0, sizeof(union pipe_query_result)); in softpipe_check_render_cond() 329 &result); in softpipe_check_render_cond() 331 return !is_result_nonzero(sp->render_cond_query, &result) == sp->render_cond_cond; in softpipe_check_render_cond()
|
/third_party/node/test/parallel/ |
H A D | test-whatwg-webstreams-transfer.js | 274 reader.read().then(common.mustCall((result) => { 275 assert(!result.done); 276 assert.strictEqual(result.value, theData.toUpperCase()); 278 reader.read().then(common.mustCall((result) => { 279 assert(result.done); 460 reader.read().then(tracker.calls((result) => { 461 assert(!result.done); 462 assert(result.value instanceof Uint8Array);
|
/third_party/node/deps/v8/tools/ |
H A D | stats-viewer.py | 183 Since the same code-level counter (for instance "X") can result in 322 result, = struct.unpack("I", word_str) 323 return result 349 result = "" 353 result += chr(current) 356 return result 407 result = "" 411 result += chr(current) 414 return result
|
/third_party/mesa3d/src/intel/nullhw-layer/ |
H A D | intel_nullhw.c | 239 VkResult result = fpCreateDevice(physicalDevice, &device_info, pAllocator, pDevice); in nullhw_CreateDevice() local 241 if (result != VK_SUCCESS) return result; in nullhw_CreateDevice() 254 return result; in nullhw_CreateDevice() 312 VkResult result = fpCreateInstance(pCreateInfo, pAllocator, pInstance); in nullhw_CreateInstance() local 313 if (result != VK_SUCCESS) return result; in nullhw_CreateInstance() 320 return result; in nullhw_CreateInstance()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | cpdtrans.cpp | 443 void CompoundTransliterator::handleGetSourceSet(UnicodeSet& result) const { in handleGetSourceSet() 445 result.clear(); in handleGetSourceSet() 447 result.addAll(trans[i]->getSourceSet(set)); in handleGetSourceSet() 456 if (!result.isEmpty()) { in handleGetSourceSet() 465 UnicodeSet& CompoundTransliterator::getTargetSet(UnicodeSet& result) const { in getTargetSet() 467 result.clear(); in getTargetSet() 470 result.addAll(trans[i]->getTargetSet(set)); in getTargetSet() 472 return result; in getTargetSet()
|
H A D | double-conversion-string-to-double.cpp | 127 // mean of 2 adjacent doubles (that could have up to 769 digits) the result 341 // result. in RadixStringToIeee() 435 double result = Double(DiyFp(number, exponent)).value(); in RadixStringToIeee() 436 return sign ? -result : result; in RadixStringToIeee() 558 double result = RadixStringToIeee<4>(¤t, 571 return result; 728 double result; 731 result = RadixStringToIeee<3>(&start, 742 return result; [all...] |
H A D | number_modifiers.cpp | 215 SimpleModifier::formatAsPrefixSuffix(FormattedStringBuilder &result, int32_t startIndex, int32_t endIndex, in formatAsPrefixSuffix() argument 219 return result.splice(startIndex, endIndex, fCompiledPattern, 2, 2 + fPrefixLength, fField, status); in formatAsPrefixSuffix() 222 result.insert(startIndex, fCompiledPattern, 2, 2 + fPrefixLength, fField, status); in formatAsPrefixSuffix() 225 result.insert( in formatAsPrefixSuffix() 239 SimpleModifier::formatTwoArgPattern(const SimpleFormatter& compiled, FormattedStringBuilder& result, in formatTwoArgPattern() argument 250 int32_t length = 0; // chars added to result in formatTwoArgPattern() 259 result.insert(index + length, compiledPattern, offset, offset + prefixLength, field, status); in formatTwoArgPattern() 272 result.insert(index + length, compiledPattern, offset, offset + infixLength, field, status); in formatTwoArgPattern() 285 result.insert(index + length, compiledPattern, offset, offset + suffixLength, field, status); in formatTwoArgPattern()
|
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/selectors/ |
H A D | container.js | 156 var index, result; 159 result = callback(this.at(index), index); 160 if (result === false) { 166 if (result === false) { 172 var result = callback(node, i); 173 if (result !== false && node.length) { 174 result = node.walk(callback); 176 if (result === false) {
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_pipeline.c | 195 VkResult result; in vn_GetPipelineCacheData() local 197 result = vn_call_vkGetPipelineCacheData(dev->instance, device, in vn_GetPipelineCacheData() 199 if (result != VK_SUCCESS) in vn_GetPipelineCacheData() 200 return vn_error(dev->instance, result); in vn_GetPipelineCacheData() 220 result = in vn_GetPipelineCacheData() 223 if (result < VK_SUCCESS) in vn_GetPipelineCacheData() 224 return vn_error(dev->instance, result); in vn_GetPipelineCacheData() 228 return result; in vn_GetPipelineCacheData()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_fs_linear_llvm.c | 145 LLVMValueRef result = NULL; in llvm_fragment_body() local 217 result = lp_build_blend_aos(gallivm, in llvm_fragment_body() 234 return result; in llvm_fragment_body() 471 LLVMValueRef buf, elem, result, pixel_ptr; in llvmpipe_fs_variant_linear_llvm() local 499 result = llvm_fragment_body(&bld, shader, variant, &sampler, in llvmpipe_fs_variant_linear_llvm() 502 result = LLVMBuildBitCast(builder, result, pixelt, ""); in llvmpipe_fs_variant_linear_llvm() 507 elem = LLVMBuildExtractElement(builder, result, in llvmpipe_fs_variant_linear_llvm()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | asyoutypeformatter.cc | 305 const string& AsYouTypeFormatter::InputDigit(char32 next_char, string* result) { in InputDigit() argument 306 DCHECK(result); in InputDigit() 309 result->assign(current_output_); in InputDigit() 310 return *result; in InputDigit() 315 string* result) { in InputDigitAndRememberPosition() 316 DCHECK(result); in InputDigitAndRememberPosition() 319 result->assign(current_output_); in InputDigitAndRememberPosition() 320 return *result; in InputDigitAndRememberPosition() 313 InputDigitAndRememberPosition( char32 next_char, string* result) InputDigitAndRememberPosition() argument
|
H A D | stringutil.cc | 35 string result; in operator +() local 36 absl::StrAppend(&result,s,n); in operator +() 37 return result; in operator +() 69 vector<string>* result) { in SplitStringUsing() 70 assert(result); in SplitStringUsing() 73 result->push_back(std::string(split_piece)); in SplitStringUsing() 191 string result; in StrCat() local 192 result.reserve(s1.Length() + s2.Length() + s3.Length() + s4.Length() + in StrCat() 68 SplitStringUsing(const string& s, char delimiter, vector<string>* result) SplitStringUsing() argument
|