/third_party/node/deps/v8/src/diagnostics/ |
H A D | gdb-jit.cc | 964 std::unique_ptr<char[]> result(new char[1]); 965 result[0] = 0; 966 return result; 1417 // a user can see the result of the last line executed in the function, 2000 auto result = map->emplace(region, entry); 2001 DCHECK(result.second); // Insertion happened. 2002 USE(result); 2103 auto result = GetCodeMap()->emplace(region, nullptr); 2104 DCHECK(result.second); // Insertion happened. 2105 USE(result); [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | string-inl.h | 447 Handle<SeqOneByteString> result = in PrepareForInsertion() local 451 CopyChars(result->GetChars(no_gc), string_->GetChars(no_gc) + from_, in PrepareForInsertion() 453 internalized_string_ = result; in PrepareForInsertion() 455 Handle<SeqTwoByteString> result = in PrepareForInsertion() local 459 CopyChars(result->GetChars(no_gc), string_->GetChars(no_gc) + from_, in PrepareForInsertion() 461 internalized_string_ = result; in PrepareForInsertion() 872 const bool result = StringShape(*this, cage_base).IsShared(); in IsShared() local 873 DCHECK_IMPLIES(result, InSharedHeap()); in IsShared() 874 return result; in IsShared()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_gmem.c | 584 struct fd_batch_result *result = batch->autotune_result; in emit_common_init() local 586 if (!result) in emit_common_init() 593 OUT_RELOC(ring, results_ptr(at, result[result->idx].samples_start)); in emit_common_init() 603 struct fd_batch_result *result = batch->autotune_result; in emit_common_fini() local 605 if (!result) in emit_common_fini() 612 OUT_RELOC(ring, results_ptr(at, result[result->idx].samples_end)); in emit_common_fini() 620 OUT_RING(ring, result->fence); in emit_common_fini()
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_proactor_events.py | 55 self.assertIsNone(fut.result()) 402 result = f.result 405 return result() 406 f.result = monkey 806 self.assertTrue(fut.result.called) 839 fut.result.return_value = (mock.Mock(), mock.Mock()) 843 self.assertTrue(fut.result.called) 847 fut.result.side_effect = OSError()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktOpaqueTypeIndexingTests.cpp | 914 const float result = *((const float*)(const deUint8*)&outData[lookupNdx*outLookupStride + invocationNdx]); in iterate() local 917 if (de::abs(result-reference) > 0.005f) in iterate() 920 << reference << ", got " << result in iterate() 924 testResult = tcu::TestStatus::fail("Got invalid lookup result"); in iterate() 945 const tcu::Vec4 result (floatPtr[0], floatPtr[1], floatPtr[2], floatPtr[3]); in iterate() 947 isOk = boolAll(lessThanEqual(abs(reference-result), tcu::Vec4(threshold))); in iterate() 952 << reference << ", got " << result in iterate() 960 const tcu::UVec4 result (uintPtr[0], uintPtr[1], uintPtr[2], uintPtr[3]); in iterate() 962 isOk = boolAll(equal(reference, result)); in iterate() 967 << reference << ", got " << result in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationInternallySynchronizedObjectsTests.cpp | 569 TestStatus result = runThread(); in run() local 570 m_resultCollector.addResult(result.getCode(), result.getDescription()); in run() 666 TestStatus result = executeComputePipeline(m_context, *pipeline, m_pipelineLayout, m_descriptorSetLayout, m_queues, m_shadersExecutions[shaderNdx]); in runThread() local 676 resultCollector.addResult(result.getCode(), result.getDescription()); in runThread() 705 TestStatus result = executeGraphicPipeline(m_context, *pipeline, m_pipelineLayout, m_descriptorSetLayout, m_queues, m_renderPass, m_shadersExecutions[shaderNdx]); in runThread() local 715 resultCollector.addResult(result.getCode(), result.getDescription()); in runThread() 1133 << " int result[];\ in initPrograms() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cTextureStorageMultisampleFunctionalTests.cpp | 449 "out uint result;\n" in iterate() 454 " result = floatBitsToUint(textureLod(tex, uv, 0.0).x);\n" in iterate() 636 /* to_dst_id now contains the result data. in iterate() 854 "out uint result;\n" in iterate() 863 " result = row_index * 16u + column_index;\n" in iterate() 867 " result = row_index * 16u + column_index + 1u;\n" in iterate() 1032 /* Allocate a buffer to hold the result data and then download the result texture's in iterate() 1487 "out float result;\n" in iterate() 1494 " result in iterate() 1701 glw::GLfloat result = *mapped_bo; iterate() local 2314 glw::GLfloat result = *mapped_bo; iterate() local 3021 float result = 0.0f; iterate() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/ |
H A D | esextcGPUShader5TextureGatherOffset.cpp | 683 * Sets the test result to QP_TEST_RESULT_FAIL if the test failed, QP_TEST_RESULT_PASS otherwise. 696 /* Verification result */ in iterate() 697 bool result = false; in iterate() local 725 result = verifyResult(transform_feedback_data); in iterate() 732 if (true != result) in iterate() 1295 * @param result Pointer to data mapped from transform feedback buffer. Size of 1306 /* Verification result */ in verifyResult() 1307 bool result = true; in verifyResult() local 1356 /* Let child class check if result is ok */ in verifyResult() 1362 result in verifyResult() 2234 bool result = true; verifyResult() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcCompressedFormatTests.cpp | 484 ImageInfo result; in loadImage() local 485 result.width = data->second[imageIndex].width; in loadImage() 486 result.height = data->second[imageIndex].height; in loadImage() 488 result.data.resize(size); in loadImage() 490 resource->read(result.data.data(), size); in loadImage() 491 return result; in loadImage() 1526 Surface result(width, height); in drawTestImage() 1527 readPixels(m_context.getRenderContext(), 0, 0, result.getAccess()); in drawTestImage() 1528 return result; in drawTestImage() 1648 if (!fuzzyCompare(m_testCtx.getLog(), "compressed_vs_uncompressed", "Image comparison result", referenceImag in iterate() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
H A D | transformation_add_function_test.cpp | 29 protobufs::AccessChainClampingInfo result; in MakeAccessClampingInfo() local 30 result.set_access_chain_id(access_chain_id); in MakeAccessClampingInfo() 32 auto pair = result.add_compare_and_select_ids(); in MakeAccessClampingInfo() 36 return result; in MakeAccessClampingInfo() 42 std::vector<protobufs::Instruction> result; in GetInstructionsForFunction() local 51 function.ForEachInst([&result](opt::Instruction* inst) { in GetInstructionsForFunction() 56 result.push_back(MakeInstructionMessage(inst->opcode(), inst->type_id(), in GetInstructionsForFunction() 63 assert(!result.empty() && "The required function should have been found."); in GetInstructionsForFunction() 64 return result; in GetInstructionsForFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
H A D | transformation_add_function_test.cpp | 29 protobufs::AccessChainClampingInfo result; in MakeAccessClampingInfo() local 30 result.set_access_chain_id(access_chain_id); in MakeAccessClampingInfo() 32 auto pair = result.add_compare_and_select_ids(); in MakeAccessClampingInfo() 36 return result; in MakeAccessClampingInfo() 42 std::vector<protobufs::Instruction> result; in GetInstructionsForFunction() local 51 function.ForEachInst([&result](opt::Instruction* inst) { in GetInstructionsForFunction() 56 result.push_back(MakeInstructionMessage(inst->opcode(), inst->type_id(), in GetInstructionsForFunction() 63 assert(!result.empty() && "The required function should have been found."); in GetInstructionsForFunction() 64 return result; in GetInstructionsForFunction()
|
/third_party/python/Lib/test/ |
H A D | test_http_cookiejar.py | 100 result = time2isoz(test_t) 102 self.assertEqual(result, expected, 103 "%s => '%s' (%s)" % (test_t, result, expected)) 259 result = split_header_words([arg]) 264 result = "(error -- traceback follows)\n\n%s" % f.getvalue() 265 self.assertEqual(result, expect, """ 269 """ % (arg, expect, result)) 783 for arg, result in cases: 784 self.assertEqual(escape_path(arg), result)
|
/third_party/python/Python/ |
H A D | import.c | 898 a finder for this path item. Cache the result in 1448 PyObject *result; in PyImport_ImportModule() local 1453 result = PyImport_Import(pname); in PyImport_ImportModule() 1455 return result; in PyImport_ImportModule() 2159 PyObject *result = PyTuple_Pack(3, data ? data : Py_None, in _imp_find_frozen_impl() local 2164 return result; in _imp_find_frozen_impl() 2644 PyObject *result = PyObject_GetAttr(mod, attrname); in _PyImport_GetModuleAttr() local 2646 return result; in _PyImport_GetModuleAttr() 2661 PyObject *result = _PyImport_GetModuleAttr(pmodname, pattrname); in _PyImport_GetModuleAttrString() local 2664 return result; in _PyImport_GetModuleAttrString() [all...] |
/third_party/skia/gm/ |
H A D | wacky_yuv_formats.cpp | 492 SkBitmap result; in make_quarter_2_channel() local 494 result.allocPixels(SkImageInfo::Make(fullY.width()/2, in make_quarter_2_channel() 505 *result.getAddr16(x, y) = (v8 << 8) | u8; in make_quarter_2_channel() 507 *result.getAddr16(x, y) = (u8 << 8) | v8; in make_quarter_2_channel() 512 return result; in make_quarter_2_channel() 520 SkBitmap result; in make_16() local 522 result.allocPixels(SkImageInfo::Make(src.dimensions(), dstCT, kUnpremul_SkAlphaType)); in make_16() 527 uint16_t* dstPixel = (uint16_t*) result.getAddr(x, y); in make_16() 533 return result; in make_16()
|
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_add_function_test.cpp | 29 protobufs::AccessChainClampingInfo result; in MakeAccessClampingInfo() local 30 result.set_access_chain_id(access_chain_id); in MakeAccessClampingInfo() 32 auto pair = result.add_compare_and_select_ids(); in MakeAccessClampingInfo() 36 return result; in MakeAccessClampingInfo() 42 std::vector<protobufs::Instruction> result; in GetInstructionsForFunction() local 51 function.ForEachInst([&result](opt::Instruction* inst) { in GetInstructionsForFunction() 56 result.push_back(MakeInstructionMessage(inst->opcode(), inst->type_id(), in GetInstructionsForFunction() 63 assert(!result.empty() && "The required function should have been found."); in GetInstructionsForFunction() 64 return result; in GetInstructionsForFunction()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fDrawBuffersIndexedTests.cpp | 489 const tcu::TextureLevel& result) in verifyRenderbuffer() 497 const UVec4 threshold = getFloatULPThreshold(format, result.getFormat()); in verifyRenderbuffer() 499 if (!tcu::floatUlpThresholdCompare(log, name.c_str(), desc.c_str(), refRenderbuffer, result, threshold, tcu::COMPARE_LOG_RESULT)) in verifyRenderbuffer() 512 if (!tcu::intThresholdCompare(log, name.c_str(), desc.c_str(), refRenderbuffer, result, threshold, tcu::COMPARE_LOG_RESULT)) in verifyRenderbuffer() 523 const Vec4 threshold = getFixedPointFormatThreshold(format, result.getFormat()); in verifyRenderbuffer() 525 if (!tcu::floatThresholdCompare(log, name.c_str(), desc.c_str(), refRenderbuffer, result, threshold, tcu::COMPARE_LOG_RESULT)) in verifyRenderbuffer() 579 tcu::TextureLevel result (getReadPixelFormat(format), width, height); in verifyRenderbuffers() 582 glu::readPixels(renderContext, 0, 0, result.getAccess()); in verifyRenderbuffers() 585 verifyRenderbuffer(log, results, format, renderbufferNdx, refRenderbuffer, result); in verifyRenderbuffers() 484 verifyRenderbuffer(TestLog& log, tcu::ResultCollector& results, const tcu::TextureFormat& format, int renderbufferNdx, const tcu::TextureLevel& refRenderbuffer, const tcu::TextureLevel& result) verifyRenderbuffer() argument
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fOpaqueTypeIndexingTests.cpp | 403 const char* resultPrefix = "result"; in getShaderSpec() 607 const float result = *((const float*)(const deUint8*)&outData[lookupNdx*outLookupStride + invocationNdx]); in iterate() local 610 if (de::abs(result-reference) > 0.005f) in iterate() 613 << reference << ", got " << result in iterate() 617 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid lookup result"); in iterate() 638 const tcu::Vec4 result (floatPtr[0], floatPtr[1], floatPtr[2], floatPtr[3]); in iterate() 640 isOk = boolAll(lessThanEqual(abs(reference-result), tcu::Vec4(threshold))); in iterate() 645 << reference << ", got " << result in iterate() 653 const tcu::UVec4 result (uintPtr[0], uintPtr[1], uintPtr[2], uintPtr[3]); in iterate() 655 isOk = boolAll(equal(reference, result)); in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktOpaqueTypeIndexingTests.cpp | 916 const float result = *((const float*)(const deUint8*)&outData[lookupNdx*outLookupStride + invocationNdx]); in iterate() local 919 if (de::abs(result-reference) > 0.005f) in iterate() 922 << reference << ", got " << result in iterate() 926 testResult = tcu::TestStatus::fail("Got invalid lookup result"); in iterate() 947 const tcu::Vec4 result (floatPtr[0], floatPtr[1], floatPtr[2], floatPtr[3]); in iterate() 949 isOk = boolAll(lessThanEqual(abs(reference-result), tcu::Vec4(threshold))); in iterate() 954 << reference << ", got " << result in iterate() 962 const tcu::UVec4 result (uintPtr[0], uintPtr[1], uintPtr[2], uintPtr[3]); in iterate() 964 isOk = boolAll(equal(reference, result)); in iterate() 969 << reference << ", got " << result in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationInternallySynchronizedObjectsTests.cpp | 569 TestStatus result = runThread(); in run() local 570 m_resultCollector.addResult(result.getCode(), result.getDescription()); in run() 666 TestStatus result = executeComputePipeline(m_context, *pipeline, m_pipelineLayout, m_descriptorSetLayout, m_queues, m_shadersExecutions[shaderNdx]); in runThread() local 676 resultCollector.addResult(result.getCode(), result.getDescription()); in runThread() 705 TestStatus result = executeGraphicPipeline(m_context, *pipeline, m_pipelineLayout, m_descriptorSetLayout, m_queues, m_renderPass, m_shadersExecutions[shaderNdx]); in runThread() local 715 resultCollector.addResult(result.getCode(), result.getDescription()); in runThread() 1134 << " int result[];\ in initPrograms() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_teap.c | 497 ack->result = host_to_be16(TEAP_STATUS_SUCCESS); in eap_teap_tlv_pac_ack() 1203 if (tlv.result == TEAP_STATUS_FAILURE) { in eap_teap_process_decrypted() 1217 tlv.result == TEAP_STATUS_SUCCESS)) && in eap_teap_process_decrypted() 1266 tlv.result != TEAP_STATUS_SUCCESS) { in eap_teap_process_decrypted() 1282 if (tlv.result == TEAP_STATUS_SUCCESS && !failed) in eap_teap_process_decrypted() 1300 if (tlv.result == TEAP_STATUS_SUCCESS) { in eap_teap_process_decrypted() 1321 tlv.result == TEAP_STATUS_SUCCESS)) { in eap_teap_process_decrypted() 1343 } else if (tlv.result == TEAP_STATUS_SUCCESS) { in eap_teap_process_decrypted() 1348 if (resp && tlv.result == TEAP_STATUS_SUCCESS && !failed && in eap_teap_process_decrypted()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | sta_info.c | 1292 int result; in ap_sta_set_authorized() local 1368 result = os_snprintf((char *)hostapdApCbParm.content, WIFI_HOSTAPD_CB_CONTENT_LENGTH, AP_STA_CONNECTED "%s%s%s", in ap_sta_set_authorized() 1370 if (os_snprintf_error(WIFI_HOSTAPD_CB_CONTENT_LENGTH, result)) { in ap_sta_set_authorized() 1386 result = os_snprintf((char *)hostapdApCbParm.content, WIFI_HOSTAPD_CB_CONTENT_LENGTH, in ap_sta_set_authorized() 1388 if (os_snprintf_error(WIFI_HOSTAPD_CB_CONTENT_LENGTH, result)) { in ap_sta_set_authorized() 1439 result = os_snprintf((char *)hostapdApCbParm.content, WIFI_HOSTAPD_CB_CONTENT_LENGTH, in ap_sta_set_authorized() 1441 if (os_snprintf_error(WIFI_HOSTAPD_CB_CONTENT_LENGTH, result)) { in ap_sta_set_authorized() 1455 result = os_snprintf((char *)hostapdApCbParm.content, WIFI_HOSTAPD_CB_CONTENT_LENGTH, in ap_sta_set_authorized() 1457 if (os_snprintf_error(WIFI_HOSTAPD_CB_CONTENT_LENGTH, result)) { in ap_sta_set_authorized()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fTextureCompletenessTests.cpp | 85 static bool compareToConstantColor (TestLog& log, const char* imageSetName, const char* imageSetDesc, const tcu::Surface& result, tcu::CompareLogMode logMode, RGBA color) in compareToConstantColor() argument 89 for (int y = 0; y < result.getHeight(); y++) in compareToConstantColor() 91 for (int x = 0; x < result.getWidth(); x++) in compareToConstantColor() 93 if (result.getPixel(x, y).getRed() != color.getRed() || in compareToConstantColor() 94 result.getPixel(x, y).getGreen() != color.getGreen() || in compareToConstantColor() 95 result.getPixel(x, y).getBlue() != color.getBlue() || in compareToConstantColor() 96 result.getPixel(x, y).getAlpha() != color.getAlpha()) in compareToConstantColor() 109 << TestLog::Image("Result", "Result", result) in compareToConstantColor() 114 << TestLog::Image("Result", "Result", result) in compareToConstantColor() 170 bool isOk = compareToConstantColor(log, "Result", "Image comparison result", renderedFram in iterate() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_teap.c | 530 ack->result = host_to_be16(TEAP_STATUS_SUCCESS); in eap_teap_tlv_pac_ack() 1259 if (tlv.result == TEAP_STATUS_FAILURE) { in eap_teap_process_decrypted() 1282 tlv.result == TEAP_STATUS_SUCCESS && !tlv.crypto_binding) { in eap_teap_process_decrypted() 1358 tlv.result != TEAP_STATUS_SUCCESS) { in eap_teap_process_decrypted() 1374 if (tlv.result == TEAP_STATUS_SUCCESS && !failed) in eap_teap_process_decrypted() 1403 if (tlv.result == TEAP_STATUS_SUCCESS) { in eap_teap_process_decrypted() 1425 tlv.result == TEAP_STATUS_SUCCESS)) { in eap_teap_process_decrypted() 1447 } else if (tlv.result == TEAP_STATUS_SUCCESS) { in eap_teap_process_decrypted() 1459 if (resp && tlv.result == TEAP_STATUS_SUCCESS && !failed && in eap_teap_process_decrypted()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_pipeline.c | 80 /* Whether the final result in Z/S buffers is guaranteed to be 956 * well as the final stencil buffer result does not depend on the order in radv_order_invariant_stencil_state() 4598 VkResult result = VK_SUCCESS; in radv_create_shaders() local 4646 result = VK_SUCCESS; in radv_create_shaders() 4653 result = VK_PIPELINE_COMPILE_REQUIRED; in radv_create_shaders() 5010 return result; in radv_create_shaders() 6920 VkResult result; in radv_graphics_pipeline_init() local 6950 result = radv_create_shaders(&pipeline->base, pipeline_layout, device, cache, &key, pCreateInfo->pStages, in radv_graphics_pipeline_init() 6953 if (result != VK_SUCCESS) in radv_graphics_pipeline_init() 6954 return result; in radv_graphics_pipeline_init() 7056 VkResult result; radv_graphics_pipeline_create_nonlegacy() local 7145 VkResult result = VK_SUCCESS; radv_CreateGraphicsPipelines() local 7260 VkResult result; radv_compute_pipeline_create() local 7316 VkResult result = VK_SUCCESS; radv_CreateComputePipelines() local 7487 VkResult result = *pExecutableCount < total_count ? VK_INCOMPLETE : VK_SUCCESS; radv_GetPipelineExecutablePropertiesKHR() local 7512 VkResult result = VK_SUCCESS; radv_GetPipelineExecutableStatisticsKHR() local 7644 VkResult result = VK_SUCCESS; radv_GetPipelineExecutableInternalRepresentationsKHR() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | render_text_field.cpp | 74 void RemoveErrorTextFromValue(const std::string& value, const std::string& errorText, std::string& result) in RemoveErrorTextFromValue() argument 82 result += value[valuePtr]; in RemoveErrorTextFromValue() 93 result += value.substr(valuePtr); in RemoveErrorTextFromValue() 636 const Offset& coordinateOffset, const TouchRestrict& touchRestrict, TouchTestResult& result) in OnTouchTestHit() 642 scrollBar_->AddScrollBarController(coordinateOffset, result); in OnTouchTestHit() 661 result.emplace_back(clickRecognizer_); in OnTouchTestHit() 677 result.emplace_back(doubleClickRecognizer_); in OnTouchTestHit() 692 result.emplace_back(longPressRecognizer_); in OnTouchTestHit() 721 result.emplace_back(rawRecognizer_); in OnTouchTestHit() 1374 // Ignore the result becaus in StartTwinkling() 635 OnTouchTestHit( const Offset& coordinateOffset, const TouchRestrict& touchRestrict, TouchTestResult& result) OnTouchTestHit() argument 1594 std::wstring result; WstringSearch() local 1645 std::string result; FilterWithRegex() local [all...] |