/third_party/node/lib/internal/dns/ |
H A D | promises.js | 140 const result = { address: hostname, family: matchedFamily }; 141 resolve(all ? [result] : result); 273 function onresolve(err, result, ttls) { 280 result = ArrayPrototypeMap( 281 result, (address, index) => ({ address, ttl: ttls[index] })); 283 this.resolve(result); 285 stopPerf(this, kPerfHooksDnsLookupResolveContext, { detail: { result } });
|
/third_party/node/deps/v8/tools/ |
H A D | perf-compare.py | 10 %prog -t "ia32 results" Result,../result.json Master,/path-to/master.json -o results.html 11 %prog -t "x64 results" ../result.json master.json -o results.html 97 def __init__(self, units, count, result, sigma): 100 self.result_ = float(result) 129 def result(self): member in BenchmarkResult 364 self.Print(" <td>%3.1f</td>" % run.result()) 417 print ("Processing result set \"%s\", file: %s" % (run_name, filename)) 458 result = benchmark_object.getResult(run_name) 459 renderer.PrintResult(result) 462 main_result = result [all...] |
/third_party/node/deps/icu-small/source/common/unicode/ |
H A D | ucptrie.h | 383 * @param result (out) variable for the trie lookup result 386 #define UCPTRIE_FAST_U16_NEXT(trie, dataAccess, src, limit, c, result) UPRV_BLOCK_MACRO_BEGIN { \ 401 (result) = dataAccess(trie, __index); \ 414 * @param result (out) variable for the trie lookup result 417 #define UCPTRIE_FAST_U16_PREV(trie, dataAccess, start, src, c, result) UPRV_BLOCK_MACRO_BEGIN { \ 432 (result) = dataAccess(trie, __index); \ 448 * @param result (out) variable for the trie lookup result [all...] |
/third_party/node/deps/npm/lib/commands/ |
H A D | token.js | 141 const result = await pulseTillDone.withPromise( 144 delete result.key 145 delete result.updated 147 this.npm.output(JSON.stringify(result)) 149 Object.keys(result).forEach(k => this.npm.output(k + '\t' + result[k])) 152 for (const k of Object.keys(result)) { 153 table.push({ [this.npm.chalk.bold(k)]: String(result[k]) })
|
/third_party/node/deps/npm/node_modules/cli-table3/src/ |
H A D | layout-manager.js | 195 let result = []; 203 result[cell[x]] = Math.max(result[cell[x]] || 0, cell[desiredWidth] || 0, forcedMin); 210 result[index] = val; 219 let existingWidth = result[col]; 223 existingWidth += 1 + result[col + i]; 241 result[col + i] += dif; 249 Object.assign(vals, result, auto);
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | udat.h | 122 * to control the length of the result; from SHORT to MEDIUM to LONG to FULL. 123 * The exact result depends on the locale, but generally: 1045 * @param result A pointer to a buffer to receive the formatted number. 1046 * @param resultLength The maximum size of result. 1061 UChar* result, 1074 * @param result A pointer to a buffer to receive the formatted number. 1075 * @param capacity The maximum size of result. 1091 UChar* result, 1103 * @param result 1106 * The maximum size of result [all...] |
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_formats.c | 369 VkResult result; in panvk_GetPhysicalDeviceImageFormatProperties2() local 371 result = get_image_format_properties(physical_device, base_info, in panvk_GetPhysicalDeviceImageFormatProperties2() 374 if (result != VK_SUCCESS) in panvk_GetPhysicalDeviceImageFormatProperties2() 375 return result; in panvk_GetPhysicalDeviceImageFormatProperties2() 417 result = panvk_get_external_image_format_properties(physical_device, in panvk_GetPhysicalDeviceImageFormatProperties2() 421 if (result != VK_SUCCESS) in panvk_GetPhysicalDeviceImageFormatProperties2() 446 if (result == VK_ERROR_FORMAT_NOT_SUPPORTED) { in panvk_GetPhysicalDeviceImageFormatProperties2() 457 return result; in panvk_GetPhysicalDeviceImageFormatProperties2()
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_renderer.h | 252 VkResult result = vn_renderer_create_vtest(instance, alloc, renderer); in vn_renderer_create() local 253 if (result == VK_SUCCESS) in vn_renderer_create() 323 VkResult result = renderer->bo_ops.create_from_device_memory( in vn_renderer_bo_create_from_device_memory() local 325 if (result != VK_SUCCESS) in vn_renderer_bo_create_from_device_memory() 326 return result; in vn_renderer_bo_create_from_device_memory() 344 VkResult result = in vn_renderer_bo_create_from_dma_buf() local 346 if (result != VK_SUCCESS) in vn_renderer_bo_create_from_dma_buf() 347 return result; in vn_renderer_bo_create_from_dma_buf()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | datadrivennumberformattestsuite.cpp | 216 UBool result = false; in isPass() local 219 result = isFormatPass( in isPass() 227 result = isToPatternPass(tuple, appendErrorMessage, status); in isPass() 229 result = isParseCurrencyPass(tuple, appendErrorMessage, status); in isPass() 232 result = isParsePass(tuple, appendErrorMessage, status); in isPass() 234 result = isSelectPass(tuple, appendErrorMessage, status); in isPass() 239 if (!result) { in isPass() 249 return result; in isPass()
|
/third_party/node/deps/v8/src/base/ |
H A D | bits.h | 48 // result, so there's no need to mask value anymore, since there's no 65 T result = 0; 67 result = (result << 1) | (value & 1); 70 return result; 208 uint32_t result = RoundUpToPowerOfTwo32(value); 209 if (result > value) result >>= 1; 210 return result; 235 // |rhs| and stores the result int [all...] |
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-function.cc | 92 Handle<Object> result; in CreateDynamicFunction() local 94 isolate, result, in CreateDynamicFunction() 97 function = Handle<JSFunction>::cast(result); in CreateDynamicFunction() 134 Handle<Object> result; in BUILTIN() local 136 isolate, result, CreateDynamicFunction(isolate, args, "function")); in BUILTIN() 137 return *result; in BUILTIN() 209 Maybe<bool> result = in DoFunctionBind() local 213 if (result.IsNothing()) { in DoFunctionBind()
|
/third_party/node/deps/v8/src/objects/ |
H A D | js-list-format.cc | 131 // Now all properties are ready, so we can allocate the result object. in New() 155 Handle<JSObject> result = factory->NewJSObject(isolate->object_function()); in ResolvedOptions() local 164 JSObject::AddProperty(isolate, result, factory->locale_string(), locale, in ResolvedOptions() 166 JSObject::AddProperty(isolate, result, factory->type_string(), in ResolvedOptions() 168 JSObject::AddProperty(isolate, result, factory->style_string(), in ResolvedOptions() 171 return result; in ResolvedOptions() 204 std::vector<icu::UnicodeString> result; in ToUnicodeStringArray() local 210 result.push_back(Intl::ToICUUnicodeString(isolate, item_str)); in ToUnicodeStringArray() 212 return Just(result); in ToUnicodeStringArray()
|
/third_party/node/deps/v8/src/utils/ |
H A D | allocation.h | 43 T* result = new (std::nothrow) T[size]; in NewArray() local 44 if (result == nullptr) { in NewArray() 46 result = new (std::nothrow) T[size]; in NewArray() 47 if (result == nullptr) FatalProcessOutOfMemory(nullptr, "NewArray"); in NewArray() 49 return result; in NewArray() 55 T* result = reinterpret_cast<T*>(NewArray<uint8_t>(sizeof(T) * size)); in NewArray() local 56 for (size_t i = 0; i < size; ++i) result[i] = default_val; in NewArray() 57 return result; in NewArray()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_instr_alugroup.cpp | 357 uint32_t result = (m_readports_evaluator.m_nliterals + 1) >> 1; in slots() local 360 ++result; in slots() 363 ++result; in slots() 365 ++result; in slots() 368 return result; in slots() 392 AluInstr::SrcValues result; in get_kconsts() local 398 result.push_back(s); in get_kconsts() 401 return result; in get_kconsts()
|
/third_party/rust/crates/clap/tests/derive/ |
H A D | help.rs | 214 let result = Opts::try_parse_from(["test", "sub"]); in derive_generated_error_has_full_context() 216 result.is_err(), in derive_generated_error_has_full_context() 218 result.unwrap() in derive_generated_error_has_full_context() 228 assert_eq!(result.unwrap_err().to_string(), expected); in derive_generated_error_has_full_context() 438 let result = CliOptions::try_parse_from(["cmd", "--verbose-help"]); in custom_help_flag() 439 let err = result.unwrap_err(); in custom_help_flag() 454 let result = CliOptions::try_parse_from(["cmd", "--verbose-version"]); in custom_version_flag() 455 let err = result.unwrap_err(); in custom_version_flag()
|
/third_party/openssl/test/ |
H A D | x509_time_test.c | 41 * It's useful in a case of set-string mode but the expected result 259 int result; in test_x509_cmp_time() local 267 result = X509_cmp_time(&t, &x509_cmp_tests[idx].cmp_time); in test_x509_cmp_time() 268 if (!TEST_int_eq(result, x509_cmp_tests[idx].expected)) { in test_x509_cmp_time() 270 idx, x509_cmp_tests[idx].expected, result); in test_x509_cmp_time() 355 int result, rv = 0; in test_x509_time() local 366 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time() 367 /* time string parsing result is always checked against what's expected */ in test_x509_time() 368 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time() 370 idx, x509_format_tests[idx].expected, result); in test_x509_time() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/ |
H A D | esextcTextureBufferBufferParameters.cpp | 112 glw::GLint result = -1; in queryBufferParameteriv() local 115 gl.getBufferParameteriv(target, pname, &result); in queryBufferParameteriv() 118 if (result != expected_data) in queryBufferParameteriv() 123 << result << " which is not equal to expected value " << expected_data << "." in queryBufferParameteriv() 144 glw::GLint64 result = -1; in queryBufferParameteri64v() local 147 gl.getBufferParameteri64v(target, pname, &result); in queryBufferParameteri64v() 150 if (result != expected_data) in queryBufferParameteri64v() 155 << result << " which is not equal to expected value " << expected_data << "." in queryBufferParameteri64v() 196 * Sets the test result to QP_TEST_RESULT_FAIL if the test failed, QP_TEST_RESULT_PASS otherwise.
|
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | shader_compiler.cc | 189 std::vector<uint32_t>* result) const { in ParseHex() 203 result->push_back(tmp); in ParseHex() 216 std::vector<uint32_t>* result) const { in CompileGlsl() 253 std::copy(module.cbegin(), module.cend(), std::back_inserter(*result)); in CompileGlsl() 265 std::vector<uint32_t>* result) const { in CompileHlsl() 279 shader->GetFilePath(), virtual_files_, result); in CompileHlsl() 292 std::vector<uint32_t>* result) const { in CompileOpenCLC() 293 return clspvhelper::Compile(shader_info, pipeline, env, result); in CompileOpenCLC()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | DisplayVk.cpp | 41 angle::Result result = mRenderer->initialize(this, display, getWSIExtension(), getWSILayer()); in initialize() local 42 ANGLE_TRY(angle::ToEGL(result, this, EGL_NOT_INITIALIZED)); in initialize() 298 void DisplayVk::handleError(VkResult result, in handleError() argument 303 ASSERT(result != VK_SUCCESS); in handleError() 305 mSavedError.errorCode = result; in handleError() 310 if (result == VK_ERROR_DEVICE_LOST) in handleError() 312 WARN() << "Internal Vulkan error (" << result << "): " << VulkanResultString(result) in handleError()
|
/third_party/skia/src/codec/ |
H A D | SkSampledCodec.cpp | 138 SkCodec::Result result = this->codec()->startScanlineDecode(scaledInfo, in onGetAndroidPixels() local 140 if (SkCodec::kSuccess != result) { in onGetAndroidPixels() 141 return result; in onGetAndroidPixels() 263 SkCodec::Result result = this->codec()->startScanlineDecode(nativeInfo, in sampledDecode() local 265 if (SkCodec::kIncompleteInput == result || SkCodec::kErrorInInput == result) { in sampledDecode() 267 } else if (SkCodec::kSuccess != result) { in sampledDecode() 268 return result; in sampledDecode()
|
/third_party/skia/third_party/externals/libpng/contrib/examples/ |
H A D | simpleover.c | 30 * a Porter-Duff 'over' operation and the input PNG images may, as a result, 193 * then saves the result, converting it on the fly to PNG RGBA 8-bit format. in create_sprite() 394 int result = 1; /* success */ in simpleover_process() local 402 result = 0; /* fail */ in simpleover_process() 453 result = 1; /* still ok */ in simpleover_process() 512 result = 1; /* ok */ in simpleover_process() 526 return result; in simpleover_process() 531 int result = 1; /* default to fail */ in main() local 580 result = 0; in main() 646 return result; in main() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | ulocdata.cpp | 143 UChar *result, int32_t resultLength, UErrorCode *status){ in ulocdata_getDelimiter() 190 u_strncpy(result,delimiter, resultLength); in ulocdata_getDelimiter() 277 UChar *result, in ulocdata_getLocaleDisplayPattern() 318 u_strncpy(result, pattern, resultCapacity); in ulocdata_getLocaleDisplayPattern() 325 UChar *result, in ulocdata_getLocaleSeparator() 378 u_strncpy(result, separator, len); in ulocdata_getLocaleSeparator() 379 result[len] = 0; in ulocdata_getLocaleSeparator() 384 u_strncpy(result, separator, resultCapacity); in ulocdata_getLocaleSeparator() 142 ulocdata_getDelimiter(ULocaleData *uld, ULocaleDataDelimiterType type, UChar *result, int32_t resultLength, UErrorCode *status) ulocdata_getDelimiter() argument 276 ulocdata_getLocaleDisplayPattern(ULocaleData *uld, UChar *result, int32_t resultCapacity, UErrorCode *status) ulocdata_getLocaleDisplayPattern() argument 324 ulocdata_getLocaleSeparator(ULocaleData *uld, UChar *result, int32_t resultCapacity, UErrorCode *status) ulocdata_getLocaleSeparator() argument
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
H A D | udat.h | 122 * to control the length of the result; from SHORT to MEDIUM to LONG to FULL. 123 * The exact result depends on the locale, but generally: 1045 * @param result A pointer to a buffer to receive the formatted number. 1046 * @param resultLength The maximum size of result. 1061 UChar* result, 1074 * @param result A pointer to a buffer to receive the formatted number. 1075 * @param capacity The maximum size of result. 1091 UChar* result, 1103 * @param result 1106 * The maximum size of result [all...] |
/third_party/skia/src/pathops/ |
H A D | SkReduceOrder.cpp | 93 int result = check_linear(quad, minX, maxX, minY, maxY, fQuad); in reduce() local 94 if (result) { in reduce() 95 return result; in reduce() 234 int result = check_linear(cubic, minX, maxX, minY, maxY, fCubic); in reduce() local 235 if (result) { in reduce() 236 return result; in reduce() 239 && (result = check_quadratic(cubic, fCubic))) { in reduce() 240 return result; in reduce()
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLVarDeclarations.cpp | 27 String result = this->var().modifiers().description() + this->baseType().description() + " " + in description() local 30 result.appendf("[%d]", this->arraySize()); in description() 33 result += " = " + this->value()->description(); in description() 35 result += ";"; in description() 36 return result; in description() 228 auto result = std::make_unique<VarDeclaration>(var, baseType, arraySize, std::move(value)); in Make() local 229 var->setDeclaration(result.get()); in Make() 230 return std::move(result); in Make()
|