/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
H A D | fast-dtoa.cc | 37 // exponent, where 'w' is the result of multiplying the input by a cached power 169 // Rounds the buffer upwards if the result is closer to v by possibly adding 509 // Returns true if it succeeds, otherwise the result cannot be trusted. 555 // The DiyFp::Times procedure rounds its result, and ten_mk is approximated 579 bool result = DigitGen(scaled_boundary_minus, scaled_w, scaled_boundary_plus, 582 return result; 614 // The DiyFp::Times procedure rounds its result, and ten_mk is approximated 628 bool result = DigitGenCounted(scaled_w, requested_digits, 631 return result; 644 bool result [all...] |
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/ |
H A D | LikelySubtagsBuilder.java | 227 Map<String, Map<String, Map<String, LSR>>> result = new TreeMap<>(); in makeTable() 240 set(result, language, script, region, ltp); in makeTable() 250 set(result, languageAlias, script, regionAlias, ltp); in makeTable() 255 set(result, "und", "Latn", "", new LSR("en", "Latn", "US", LSR.DONT_CARE_FLAGS)); in makeTable() 261 Map<String, Map<String, LSR>> undScriptMap = result.get("und"); in makeTable() 265 set(result, "und", lsr.script, lsr.region, lsr); in makeTable() 269 if (!result.containsKey("und")) { in makeTable() 272 for (Map.Entry<String, Map<String, Map<String, LSR>>> langEntry : result.entrySet()) { in makeTable() 286 return result; in makeTable()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | double-conversion-fast-dtoa.cpp | 51 // exponent, where 'w' is the result of multiplying the input by a cached power 183 // Rounds the buffer upwards if the result is closer to v by possibly adding 523 // Returns true if it succeeds, otherwise the result cannot be trusted. 569 // The DiyFp::Times procedure rounds its result, and ten_mk is approximated 593 bool result = DigitGen(scaled_boundary_minus, scaled_w, scaled_boundary_plus, 596 return result; 628 // The DiyFp::Times procedure rounds its result, and ten_mk is approximated 642 bool result = DigitGenCounted(scaled_w, requested_digits, 645 return result; 658 bool result [all...] |
H A D | ucoleitr.cpp | 334 int64_t result = UCOL_IGNORABLE; in nextProcessed() local 349 result = UCOL_PROCESSED_NULLORDER; in nextProcessed() 353 result = processCE((uint32_t)ce); in nextProcessed() 354 } while (result == UCOL_IGNORABLE); in nextProcessed() 364 return result; in nextProcessed() 387 int64_t result = UCOL_IGNORABLE; in previousProcessed() local 422 result = processCE(rcei->ce); in previousProcessed() 424 if (result != UCOL_IGNORABLE) { in previousProcessed() 425 pceBuffer.put(result, rcei->low, rcei->high, *status); in previousProcessed()
|
H A D | windtfmt.cpp | 59 UnicodeString *result = NULL; in getTimeDateFormat() local 87 result = new UnicodeString(TRUE, resStr, resStrLen); in getTimeDateFormat() 94 return result; in getTimeDateFormat() 315 int result=0; in formatDate() local 325 result = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, STACK_BUFFER_SIZE, NULL); in formatDate() 327 if (result == 0) { in formatDate() 348 int result; in formatTime() local 358 result = GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, NULL, buffer, STACK_BUFFER_SIZE); in formatTime() 360 if (result == 0) { in formatTime()
|
H A D | winnmfmt.cpp | 323 void Win32NumberFormat::parse(const UnicodeString& text, Formattable& result, ParsePosition& parsePosition) const in parse() argument 328 nf->parse(text, result, parsePosition); in parse() 348 int result; in format() local 352 /* Due to the arguments causing a result to be <= 23 characters (+2 for NULL and minus), in format() 355 result = _vsnwprintf(nBuffer, STACK_BUFFER_SIZE, fmt, args); in format() 359 U_ASSERT(result >=0); in format() 361 /*if (result < 0) { in format() 371 result = _vsnwprintf(nBuffer, newLength + 1, fmt, args); in format() 414 result = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SIZE); in format() 416 if (result in format() [all...] |
/third_party/node/lib/internal/test_runner/ |
H A D | utils.js | 367 let result = string; 368 if (pad) result = pad(result, width); 369 if (truncate) result = truncate(result, width); 371 if (coverage > 90) return `${coverageColors.high}${result}${color}`; 372 if (coverage > 50) return `${coverageColors.medium}${result}${color}`; 373 return `${coverageColors.low}${result}${color}`; 375 return result;
|
/third_party/node/deps/icu-small/source/common/ |
H A D | caniter.cpp | 148 //String result = buffer.toString(); // not needed in next() 267 void U_EXPORT2 CanonicalIterator::permute(UnicodeString &source, UBool skipZeros, Hashtable *result, UErrorCode &status) { in permute() argument 284 result->put(source, toPut, status); in permute() 334 result->put(*chStr, chStr, status); in permute() 338 //return result; in permute() 345 Hashtable result(status); in getEquivalents() 351 result.setValueDeleter(uprv_deleteUObject); in getEquivalents() 390 result.put(possible, new UnicodeString(possible), status); //add(possible); in getEquivalents() 405 //String[] finalResult = new String[result.size()]; in getEquivalents() 408 if((resultCount = result in getEquivalents() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | ucoleitr.cpp | 334 int64_t result = UCOL_IGNORABLE; in nextProcessed() local 349 result = UCOL_PROCESSED_NULLORDER; in nextProcessed() 353 result = processCE((uint32_t)ce); in nextProcessed() 354 } while (result == UCOL_IGNORABLE); in nextProcessed() 364 return result; in nextProcessed() 387 int64_t result = UCOL_IGNORABLE; in previousProcessed() local 422 result = processCE(rcei->ce); in previousProcessed() 424 if (result != UCOL_IGNORABLE) { in previousProcessed() 425 pceBuffer.put(result, rcei->low, rcei->high, *status); in previousProcessed()
|
H A D | windtfmt.cpp | 62 UnicodeString *result = nullptr; in getTimeDateFormat() local 90 result = new UnicodeString(true, resStr, resStrLen); in getTimeDateFormat() 97 return result; in getTimeDateFormat() 316 int result=0; in formatDate() local 326 result = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, nullptr, buffer, STACK_BUFFER_SIZE, nullptr); in formatDate() 328 if (result == 0) { in formatDate() 349 int result; in formatTime() local 359 result = GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, nullptr, buffer, STACK_BUFFER_SIZE); in formatTime() 361 if (result == 0) { in formatTime()
|
H A D | double-conversion-fast-dtoa.cpp | 51 // exponent, where 'w' is the result of multiplying the input by a cached power 183 // Rounds the buffer upwards if the result is closer to v by possibly adding 523 // Returns true if it succeeds, otherwise the result cannot be trusted. 569 // The DiyFp::Times procedure rounds its result, and ten_mk is approximated 593 bool result = DigitGen(scaled_boundary_minus, scaled_w, scaled_boundary_plus, 596 return result; 628 // The DiyFp::Times procedure rounds its result, and ten_mk is approximated 642 bool result = DigitGenCounted(scaled_w, requested_digits, 645 return result; 658 bool result [all...] |
H A D | winnmfmt.cpp | 324 void Win32NumberFormat::parse(const UnicodeString& text, Formattable& result, ParsePosition& parsePosition) const in parse() argument 329 nf->parse(text, result, parsePosition); in parse() 349 int result; in format() local 353 /* Due to the arguments causing a result to be <= 23 characters (+2 for nullptr and minus), in format() 356 result = _vsnwprintf(nBuffer, STACK_BUFFER_SIZE, fmt, args); in format() 360 U_ASSERT(result >=0); in format() 362 /*if (result < 0) { in format() 372 result = _vsnwprintf(nBuffer, newLength + 1, fmt, args); in format() 415 result = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SIZE); in format() 417 if (result in format() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tchcfmt.cpp | 182 it_errln("*** ChoiceFormat to Pattern result!"); in TestComplexExample() 240 it_errln("*** getLimits unexpected result!"); in TestComplexExample() 251 it_errln("*** getFormats unexpected result!"); in TestComplexExample() 353 it_errln("*** ChoiceFormat constructor( newPattern, status) or toPattern result!"); in TestComplexExample() 365 it_errln("*** ChoiceFormat adoptChoices result!"); in TestComplexExample() 374 if (res1 != "third") it_errln("*** ChoiceFormat format (double, ...) result!"); in TestComplexExample() 382 if (res1 != "third") it_errln("*** ChoiceFormat format (int64_t, ...) result!"); in TestComplexExample() 390 if (res1 != "third") it_errln("*** ChoiceFormat format (int32_t, ...) result!"); in TestComplexExample() 404 if (res1 != "third") it_errln("*** ChoiceFormat format (Formattable, ...) result!"); in TestComplexExample() 418 if (res1 != "third") it_errln("*** ChoiceFormat format (Formattable[], cnt, ...) result!"); in TestComplexExample() 421 Formattable result; TestComplexExample() local [all...] |
/third_party/libphonenumber/cpp/src/phonenumbers/utf/ |
H A D | unicodetext.cc | 68 // code point. The result should contain one space, not three. in ConvertToInterchangeValid() 183 string result; in DebugString() local 184 ss >> result; in DebugString() local 186 return result; in DebugString() 404 string result; in DebugString() local 405 ss >> result; in DebugString() local 407 return result; in DebugString() 517 string result; in DebugString() local 518 ss >> result; in DebugString() local 520 return result; in DebugString() [all...] |
/third_party/lwip/src/netif/ppp/ |
H A D | pppapi.c | 145 ppp_pcb* result; in pppapi_pppos_create() local 155 result = PPPAPI_VAR_REF(msg).msg.ppp; in pppapi_pppos_create() 157 return result; in pppapi_pppos_create() 188 ppp_pcb* result; in pppapi_pppoe_create() local 200 result = PPPAPI_VAR_REF(msg).msg.ppp; in pppapi_pppoe_create() 202 return result; in pppapi_pppoe_create() 240 ppp_pcb* result; in pppapi_pppol2tp_create() local 260 result = PPPAPI_VAR_REF(msg).msg.ppp; in pppapi_pppol2tp_create() 262 return result; in pppapi_pppol2tp_create()
|
/third_party/lz4/programs/ |
H A D | lz4cli.c | 212 DISPLAY( "3 : compress data stream from 'generator', send result to 'consumer'\n"); in usage_longhelp() 263 * Note : function result can overflow if digit string > MAX_UINT */ 266 unsigned result = 0; in readU32FromChar() local 268 result *= 10; in readU32FromChar() 269 result += (unsigned)(**stringPtr - '0'); in readU32FromChar() 273 result <<= 10; in readU32FromChar() 274 if (**stringPtr=='M') result <<= 10; in readU32FromChar() 279 return result; in readU32FromChar() 290 int const result = !strncmp(*stringPtr, longCommand, comSize); in longCommandWArg() local 291 if (result) *stringPt in longCommandWArg() [all...] |
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-typed-array.cc | 232 Maybe<bool> result = in BUILTIN() local 234 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN() 235 return *isolate->factory()->ToBoolean(result.FromJust()); in BUILTIN() 266 Maybe<int64_t> result = in BUILTIN() local 268 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN() 269 return *isolate->factory()->NewNumberFromInt64(result.FromJust()); in BUILTIN() 303 Maybe<int64_t> result = in BUILTIN() local 305 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN() 306 return *isolate->factory()->NewNumberFromInt64(result.FromJust()); in BUILTIN()
|
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-array.cc | 207 Maybe<bool> result = Object::IsArray(object); in RUNTIME_FUNCTION() local 208 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION() 209 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION() 302 Maybe<bool> result = in RUNTIME_FUNCTION() local 304 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION() 305 return *isolate->factory()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION() 312 // Let elementK be the result of ? Get(O, ! ToString(k)). in RUNTIME_FUNCTION() 399 Maybe<int64_t> result = elements->IndexOfValue(isolate, obj, search_element, in RUNTIME_FUNCTION() local 402 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION() 403 return *isolate->factory()->NewNumberFromInt64(result in RUNTIME_FUNCTION() [all...] |
/third_party/python/Tools/scripts/ |
H A D | pindent.py | 40 # they yield an identical result). Running first "pindent -c" and 394 result = complete_string(source, stepsize, tabsize, expandtabs) 395 if source == result: return 0 399 f.write(result) 408 result = delete_string(source, stepsize, tabsize, expandtabs) 409 if source == result: return 0 413 f.write(result) 422 result = reformat_string(source, stepsize, tabsize, expandtabs) 423 if source == result: return 0 427 f.write(result) [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | atomic.h | 307 int result; in pa_atomic_add() local 310 : "=r" (result), "=m" (a->value) in pa_atomic_add() 313 return result; in pa_atomic_add() 329 int result; in pa_atomic_cmpxchg() local 332 : "=a" (result), "=m" (a->value) in pa_atomic_cmpxchg() 335 return result == old_i; in pa_atomic_cmpxchg() 353 void *result; in pa_atomic_ptr_cmpxchg() local 356 : "=a" (result), "=m" (a->value) in pa_atomic_ptr_cmpxchg() 359 return result == old_p; in pa_atomic_ptr_cmpxchg()
|
/third_party/python/Lib/http/ |
H A D | cookies.py | 391 # Build up our result 393 result = [] 394 append = result.append 420 # Return the result 421 return _semispacejoin(result) 432 # result, the parsing rules here are less strict. 502 result = [] 505 result.append(value.output(attrs, header)) 506 return sep.join(result) 519 result [all...] |
/third_party/python/Lib/idlelib/ |
H A D | config_key.py | 63 self.result = '' 226 self.result = '' 233 self.result = keys 331 def result(self): member in GetKeysWindow 332 return self.frame.result 334 @result.setter 335 def result(self, value): member in GetKeysWindow 336 self.frame.result = value 344 self.result = ''
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/ |
H A D | vktFragmentShadingRateTests.cpp | 249 vk::VkResult result = vki.getPhysicalDeviceFragmentShadingRatesKHR(physicalDevice, &supportedFragmentShadingRateCount, DE_NULL); in testShadingRates() local 250 if ((result != vk::VK_SUCCESS) && (result != vk::VK_ERROR_OUT_OF_HOST_MEMORY)) in testShadingRates() 253 log << tcu::TestLog::Message << "vkGetPhysicalDeviceFragmentShadingRatesKHR returned invalid result" << tcu::TestLog::EndMessage; in testShadingRates() 266 result = vki.getPhysicalDeviceFragmentShadingRatesKHR(physicalDevice, &supportedFragmentShadingRateCount, fragmentShadingRateVect.data()); in testShadingRates() 267 if ((result != vk::VK_INCOMPLETE) && (result != vk::VK_ERROR_OUT_OF_HOST_MEMORY)) in testShadingRates() 270 log << tcu::TestLog::Message << "vkGetPhysicalDeviceFragmentShadingRatesKHR returned invalid result" << tcu::TestLog::EndMessage; in testShadingRates() 275 result = vki.getPhysicalDeviceFragmentShadingRatesKHR(physicalDevice, &supportedFragmentShadingRateCount, fragmentShadingRateVect.data()); in testShadingRates() 276 if ((result ! in testShadingRates() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sc/ |
H A D | vktObjectRefreshTests.cpp | 56 vk::VkResult result = vki.getPhysicalDeviceRefreshableObjectTypesKHR(physicalDevice, &countReported, DE_NULL); in queryRefreshableObjects() local 57 if (result != vk::VK_SUCCESS) in queryRefreshableObjects() 71 result = vki.getPhysicalDeviceRefreshableObjectTypesKHR(physicalDevice, &countRetrieved, refreshableObjects.data()); in queryRefreshableObjects() 74 if ((result != vk::VK_SUCCESS) && (result != vk::VK_INCOMPLETE)) in queryRefreshableObjects() 99 vk::VkResult result = vki.getPhysicalDeviceRefreshableObjectTypesKHR(physicalDevice, &countReported, DE_NULL); in refreshObjects() local 100 if ((result != vk::VK_SUCCESS) || (countReported == 0)) in refreshObjects() 104 result = vki.getPhysicalDeviceRefreshableObjectTypesKHR(physicalDevice, &countReported, refreshableObjectTypes.data()); in refreshObjects() 105 if (result != vk::VK_SUCCESS) in refreshObjects()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_rate/ |
H A D | vktFragmentShadingRateTests.cpp | 248 vk::VkResult result = vki.getPhysicalDeviceFragmentShadingRatesKHR(physicalDevice, &supportedFragmentShadingRateCount, DE_NULL); in testShadingRates() local 249 if ((result != vk::VK_SUCCESS) && (result != vk::VK_ERROR_OUT_OF_HOST_MEMORY)) in testShadingRates() 252 log << tcu::TestLog::Message << "vkGetPhysicalDeviceFragmentShadingRatesKHR returned invalid result" << tcu::TestLog::EndMessage; in testShadingRates() 265 result = vki.getPhysicalDeviceFragmentShadingRatesKHR(physicalDevice, &supportedFragmentShadingRateCount, fragmentShadingRateVect.data()); in testShadingRates() 266 if ((result != vk::VK_INCOMPLETE) && (result != vk::VK_ERROR_OUT_OF_HOST_MEMORY)) in testShadingRates() 269 log << tcu::TestLog::Message << "vkGetPhysicalDeviceFragmentShadingRatesKHR returned invalid result" << tcu::TestLog::EndMessage; in testShadingRates() 274 result = vki.getPhysicalDeviceFragmentShadingRatesKHR(physicalDevice, &supportedFragmentShadingRateCount, fragmentShadingRateVect.data()); in testShadingRates() 275 if ((result ! in testShadingRates() [all...] |