/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | render_system.cpp | 1072 Math::Mat4X4 result(1.0f); in CalculateReflectionMatrix() 1074 result.data[0u] = (1.0f - 2.0f * plane[0u] * plane[0u]); in CalculateReflectionMatrix() 1075 result.data[4u] = (-2.0f * plane[0u] * plane[1u]); in CalculateReflectionMatrix() 1076 result.data[8u] = (-2.0f * plane[0u] * plane[2u]); in CalculateReflectionMatrix() 1077 result.data[12u] = (-2.0f * plane[3u] * plane[0u]); in CalculateReflectionMatrix() 1079 result.data[1u] = (-2.0f * plane[1u] * plane[0u]); in CalculateReflectionMatrix() 1080 result.data[5u] = (1.0f - 2.0f * plane[1u] * plane[1u]); in CalculateReflectionMatrix() 1081 result.data[9u] = (-2.0f * plane[1u] * plane[2u]); in CalculateReflectionMatrix() 1082 result.data[13u] = (-2.0f * plane[3u] * plane[1u]); in CalculateReflectionMatrix() 1084 result in CalculateReflectionMatrix() [all...] |
/test/xts/acts/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/entry/src/ohosTest/js/test/ |
H A D | SingleKvStoreKVPromiseJsTest.js | 2560 console.info(`SUB_DDM_DKV_SINGLEKVSTORE_GETSECURITYLEVEL_PROMISE_0100 getSecurityLevel success, result is ${data}, SecurityLevel is ${factory.SecurityLevel.S2}`); 2665 await kvStore.getResultSet('batch_test_string_key').then((result) => { 2667 resultSet = result; 2697 await kvStore.getResultSet('batch_test_string_key').then((result) => { 2699 resultSet = result; 2729 await kvStore.getResultSet().then((result) => { 2752 await kvStore.getResultSet('test_key_string', 123).then((result) => { 2754 resultSet = result; 2806 await kvStore.getResultSet(query).then((result) => { 2808 resultSet = result; [all...] |
/third_party/node/deps/v8/src/compiler/backend/ppc/ |
H A D | code-generator-ppc.cc | 438 /* Move the result in the double result register. */ \ 452 /* Move the result in the double result register. */ \ 459 DoubleRegister result = i.OutputDoubleRegister(); \ 465 __ asm_instrp(result, operand); \ 467 __ asm_instr(result, operand); \ 470 __ asm_instrx(result, operand); \ 478 Register result = i.OutputRegister(); \ 484 __ asm_instrp(result, operan 1666 DoubleRegister result = i.OutputDoubleRegister(); AssembleArchInstruction() local 1992 Simd128Register result = i.OutputSimd128Register(); AssembleArchInstruction() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/ |
H A D | vktSubgroupsTestsUtils.cpp | 1245 const std::string name = (stage == 0) ? "result" : "out_color"; in getFramebufferBufferDeclarations() 1247 const std::string result = in getFramebufferBufferDeclarations() local 1254 return result; in getFramebufferBufferDeclarations() 1291 << " result = float(tempRes);\n" in initStdFrameBufferPrograms() 1389 ? "layout(location = 0) out uint result;\n" in getBufferDeclarations() 1392 " uint result[];\n" in getBufferDeclarations() 1441 << " result[offset] = tempRes;\n" in initStdPrograms() 1474 << " result[offset] = tempRes;\n" in initStdPrograms() 1521 << " result[offset] = tempRes;\n" in initStdPrograms() 1542 " result[gl_VertexInde in initStdPrograms() 4628 vector<VkShaderStageFlagBits> result; enumerateRayTracingShaderStages() local 4756 Move<VkDescriptorPool> result; makeRayTracingDescriptorPool() local 4859 de::MovePtr<TopLevelAccelerationStructure> result = makeTopLevelAccelerationStructure(); createTopAccelerationStructure() local 4873 de::MovePtr<BottomLevelAccelerationStructure> result = makeBottomLevelAccelerationStructure(); createBottomAccelerationStructure() local [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | Reactor.cpp | 3786 RValue<Float> result = Float(Int(cast & UInt(0x7FFFFFFF))) + 3789 storeValue(result.value()); 3852 Float result; 3855 result.storeValue(Nucleus::createConstantFloat(inf)); 3857 return result; 4043 RValue<Float4> result = Float4(Int4(cast & UInt4(0x7FFFFFFF))) + 4046 storeValue(result.value()); 4080 Float4 result; 4084 result.storeValue(Nucleus::createConstantVector(constantVector, type())); 4086 return result; [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fShaderImageLoadStoreTests.cpp | 107 string result = "{ "; variable 109 result += (i > 0 ? ", " : "") + toString(arr[i]); 110 result += " }"; 111 return result; 429 //! An order-independent operation is one for which the end result doesn't depend on the order in which the operations are carried (i.e. is both commutative and associative). 440 //! Computes the result of an atomic operation where "a" is the data operated on and "b" is the parameter to the atomic function. 1072 tcu::TextureLevel result (textureFormat, imageSize, 1); in readBufferTextureWithMappingAndVerify() 1073 const PixelBufferAccess resultAccess = result.getAccess(); in readBufferTextureWithMappingAndVerify() 1104 //! An ImageLayerVerifier that simply compares the result slice to a slice in a reference image. 1594 ATOMIC_OPERATION_CASE_TYPE_END_RESULT = 0, //!< Atomic case checks the end result o 1752 } result; operator ()() local 2248 const int result = resultSlice.getPixelInt(x, y).x(); operator ()() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/ |
H A D | vktSubgroupsTestsUtils.cpp | 1245 const std::string name = (stage == 0) ? "result" : "out_color"; in getFramebufferBufferDeclarations() 1247 const std::string result = in getFramebufferBufferDeclarations() local 1254 return result; in getFramebufferBufferDeclarations() 1291 << " result = float(tempRes);\n" in initStdFrameBufferPrograms() 1389 ? "layout(location = 0) out uint result;\n" in getBufferDeclarations() 1392 " uint result[];\n" in getBufferDeclarations() 1441 << " result[offset] = tempRes;\n" in initStdPrograms() 1476 << " result[offset] = tempRes;\n" in initStdPrograms() 1524 << " result[offset] = tempRes;\n" in initStdPrograms() 1545 " result[gl_VertexInde in initStdPrograms() 4617 vector<VkShaderStageFlagBits> result; enumerateRayTracingShaderStages() local 4745 Move<VkDescriptorPool> result; makeRayTracingDescriptorPool() local 4848 de::MovePtr<TopLevelAccelerationStructure> result = makeTopLevelAccelerationStructure(); createTopAccelerationStructure() local 4862 de::MovePtr<BottomLevelAccelerationStructure> result = makeBottomLevelAccelerationStructure(); createBottomAccelerationStructure() local [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | stylo.hpp | 33363 const int result = aCompare(aContainer[middle]); 33365 if (result == 0) { 33370 if (result < 0) { [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | heap.cc | 2197 Handle<WeakArrayList> result = WeakArrayList::EnsureSpace( 2199 result->set_length(length); 2200 set_wasm_canonical_rtts(*result); 3256 void* result = allocate(byte_length); in AllocateExternalBackingStore() local 3257 if (result) return result; in AllocateExternalBackingStore() 3262 result = allocate(byte_length); in AllocateExternalBackingStore() 3263 if (result) return result; in AllocateExternalBackingStore() 3754 double result in ComputeMutatorUtilization() local 4104 bool result = false; PerformIdleTimeAction() local 4192 bool result = PerformIdleTimeAction(action, heap_state, deadline_in_ms); IdleNotification() local 6986 int result = 0; NumberOfNativeContexts() local 6997 std::vector<Handle<NativeContext>> result; FindAllNativeContexts() local 7008 std::vector<WeakArrayList> result; FindAllRetainedMaps() local [all...] |
/base/customization/enterprise_device_management/services/edm/src/ |
H A D | enterprise_device_mgr_ability.cpp | 343 std::string result; in Dump() local 344 result.append("Ohos enterprise device manager service: \n"); in Dump() 348 result.append("There is no admin enabled\n"); in Dump() 350 result.append("Enabled admin exist :\n"); in Dump() 352 result.append(enabledAdmin); in Dump() 353 result.append("\n"); in Dump() 356 int32_t ret = dprintf(fd, "%s", result.c_str()); in Dump()
|
/base/request/request/frameworks/js/napi/src/ |
H A D | js_initialize.cpp | 503 bool result = InterceptData("/", config.url, config.saveas);
in ParseSaveas() local 504 if (!result) {
in ParseSaveas() 507 return result;
in ParseSaveas() 557 std::map<std::string, std::string> result;
in ParseMap() local 561 return result;
in ParseMap() 566 result[*iter] = NapiUtils::Convert2String(env, jsValue, *iter);
in ParseMap() 568 return result;
in ParseMap()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/search/ |
H A D | search_testtwo_ng.cpp | 724 TouchTestResult result; in HWTEST_F() local 1445 int32_t result = pattern->HandleTextContentLines(); in HWTEST_F() local 1446 EXPECT_EQ(result, 0); in HWTEST_F() 1453 result = pattern->HandleTextContentLines(); in HWTEST_F() 1454 EXPECT_EQ(result, 0); in HWTEST_F() 1466 result = pattern->HandleTextContentLines(); in HWTEST_F() 1467 EXPECT_EQ(result, 0); in HWTEST_F()
|
/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | audio_process_in_client.cpp | 285 bool result = object->AddDeathRecipient(asDeathRecipient); in GetAudioServerProxy() local 286 if (!result) { in GetAudioServerProxy() 552 size_t result = 0; in GetFormatSize() local 584 result = bitWidthSize * channelSize; in GetFormatSize() 585 return result; in GetFormatSize() 1245 int32_t result = processProxy_->Start(); in CallExitStandBy() local 1248 AUDIO_INFO_LOG("Call start result:%{public}d status change: %{public}s", result, ret ? "success" : "fail"); in CallExitStandBy()
|
/third_party/cups-filters/filter/foomatic-rip/ |
H A D | options.c | 505 char *result; in get_valid_param_string() local 525 result = malloc(32); in get_valid_param_string() 526 snprintf(result, 32, "%d", i); in get_valid_param_string() 527 return result; in get_valid_param_string() 546 result = malloc(32); in get_valid_param_string() 547 snprintf(result, 32, "%f", f); in get_valid_param_string() 548 return result; in get_valid_param_string()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | number_skeletons.cpp | 136 UnicodeString result; in initNumberSkeletons() local 137 b.buildUnicodeString(USTRINGTRIE_BUILD_FAST, result, status); in initNumberSkeletons() 140 // Copy the result into the global constant pointer in initNumberSkeletons() 141 size_t numBytes = result.length() * sizeof(char16_t); in initNumberSkeletons() 143 uprv_memcpy(kSerializedStemTrie, result.getBuffer(), numBytes); in initNumberSkeletons() 1004 UStringTrieResult result = tempStemTrie.next( in parseExponentSignOption() local 1007 if (result != USTRINGTRIE_INTERMEDIATE_VALUE && result != USTRINGTRIE_FINAL_VALUE) { in parseExponentSignOption()
|
/third_party/json/include/nlohmann/detail/output/ |
H A D | binary_writer.hpp | 1111 const std::size_t embedded_document_size = std::accumulate(std::begin(value), std::end(value), static_cast<std::size_t>(0), [&array_index](std::size_t result, const typename BasicJsonType::array_t::value_type & el) in calc_bson_array_size() 1113 return result + calc_bson_element_size(std::to_string(array_index++), el); in calc_bson_array_size() 1262 [](size_t result, const typename BasicJsonType::object_t::value_type & el) in calc_bson_object_size() 1264 return result += calc_bson_element_size(el.first, el.second); in calc_bson_object_size() 1806 CharType result; variable 1807 std::memcpy(&result, &x, sizeof(x)); 1808 return result;
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-array-prototype.c | 1012 * sort to the end of the result, followed by non-existent property values. in ecma_builtin_array_prototype_object_sort_compare_helper() 1027 ecma_number_t result = ECMA_NUMBER_ZERO; in ecma_builtin_array_prototype_object_sort_compare_helper() local 1047 result = ECMA_NUMBER_MINUS_ONE; in ecma_builtin_array_prototype_object_sort_compare_helper() 1051 result = ECMA_NUMBER_ONE; in ecma_builtin_array_prototype_object_sort_compare_helper() 1055 result = ECMA_NUMBER_ZERO; in ecma_builtin_array_prototype_object_sort_compare_helper() 1091 result = ret_num; in ecma_builtin_array_prototype_object_sort_compare_helper() 1095 result = ecma_get_number_from_value (call_value); in ecma_builtin_array_prototype_object_sort_compare_helper() 1101 return ecma_make_number_value (result); in ecma_builtin_array_prototype_object_sort_compare_helper()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_nir_to_llvm.c | 219 LLVMValueRef result; in load_sample_position() local 229 result = ac_build_load_invariant(&ctx->ac, ptr, sample_id); in load_sample_position() 231 return result; in load_sample_position() 295 LLVMValueRef result; in radv_load_rsrc() local 301 result = LLVMBuildLoad(ctx->ac.builder, ptr, ""); in radv_load_rsrc() 302 LLVMSetMetadata(result, ctx->ac.invariant_load_md_kind, ctx->ac.empty_md); in radv_load_rsrc() 304 return result; in radv_load_rsrc()
|
/third_party/node/tools/inspector_protocol/encoding/ |
H A D | encoding.cc | 176 T result = 0; in ReadBytesMostSignificantByteFirst() local 178 result |= T(in[sizeof(T) - 1 - shift_bytes]) << (shift_bytes * 8); in ReadBytesMostSignificantByteFirst() 179 return result; in ReadBytesMostSignificantByteFirst() 1554 bool CharsToDouble(const uint16_t* chars, size_t length, double* result) { in CharsToDouble() argument 1563 return platform_->StrToD(buffer.c_str(), result); in CharsToDouble() 1566 bool CharsToDouble(const uint8_t* chars, size_t length, double* result) { in CharsToDouble() argument 1568 return platform_->StrToD(buffer.c_str(), result); in CharsToDouble()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | number_skeletons.cpp | 136 UnicodeString result; in initNumberSkeletons() local 137 b.buildUnicodeString(USTRINGTRIE_BUILD_FAST, result, status); in initNumberSkeletons() 140 // Copy the result into the global constant pointer in initNumberSkeletons() 141 size_t numBytes = result.length() * sizeof(char16_t); in initNumberSkeletons() 143 uprv_memcpy(kSerializedStemTrie, result.getBuffer(), numBytes); in initNumberSkeletons() 1004 UStringTrieResult result = tempStemTrie.next( in parseExponentSignOption() local 1007 if (result != USTRINGTRIE_INTERMEDIATE_VALUE && result != USTRINGTRIE_FINAL_VALUE) { in parseExponentSignOption()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | scheduler.cc | 798 // mutating any existing order so that the result is still valid. 1109 // The list should be in same order as the final result. in VerifySpecialRPO() 1216 // existing cache entry) or the result. Make a list of any empty bus stops in GetCommonDominator() 1220 // {result}, we want to cache [(B11, B12) -> result, (B21, B22) -> result], in GetCommonDominator() 1243 BasicBlock* result = b1; in GetCommonDominator() local 1257 mapping->insert({id2, result}); in GetCommonDominator() 1259 return result; in GetCommonDominator() 1783 BasicBlock* result in GetBlockForUse() local [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_resource.c | 427 * configuration result). 590 * configuration result). 984 bool result; in crocus_resource_get_param() local 1016 result = crocus_bo_flink(bo, &handle) == 0; in crocus_resource_get_param() 1017 if (result) in crocus_resource_get_param() 1019 return result; in crocus_resource_get_param() 1033 result = crocus_bo_export_dmabuf(bo, (int *) &handle) == 0; in crocus_resource_get_param() 1034 if (result) in crocus_resource_get_param() 1036 return result; in crocus_resource_get_param()
|
/third_party/python/Lib/http/ |
H A D | cookiejar.py | 394 result = [] 421 if pairs: result.append(pairs) 430 if pairs: result.append(pairs) 431 return result 485 result = [] 529 result.append(pairs) 531 return result
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineDepthTests.cpp | 1069 // Compare color result with reference image in verifyImage() 1077 de::MovePtr<tcu::TextureLevel> result = readColorAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_colorImage, m_colorFormat, m_renderSize); in verifyImage() local 1083 result->getAccess(), in verifyImage() 1094 // Compare depth result with reference image in verifyImage() 1101 de::MovePtr<tcu::TextureLevel> result = readDepthAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_depthImage, m_depthFormat, m_renderSize); in verifyImage() local 1128 if (tcu::getTextureChannelClass(result->getFormat().type) == tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT) in verifyImage() 1130 const tcu::IVec4 formatBits = tcu::getTextureFormatBitDepth(result->getFormat()); in verifyImage() 1133 else if (tcu::getTextureChannelClass(result->getFormat().type) == tcu::TEXTURECHANNELCLASS_FLOATING_POINT) in verifyImage() 1144 result->getAccess(), in verifyImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingCallableShadersTests.cpp | 205 std::vector<de::SharedPtr<BottomLevelAccelerationStructure> > result; in initBottomAccelerationStructures() local 218 result.push_back(de::SharedPtr<BottomLevelAccelerationStructure>(bottomLevelAccelerationStructure.release())); in initBottomAccelerationStructures() 220 return result; in initBottomAccelerationStructures() 230 de::MovePtr<TopLevelAccelerationStructure> result = makeTopLevelAccelerationStructure(); in initTopAccelerationStructure() local 231 result->setInstanceCount(1); in initTopAccelerationStructure() 232 result->addInstance(bottomLevelAccelerationStructures[0]); in initTopAccelerationStructure() 234 return result; in initTopAccelerationStructure() 367 // create result image in verifyImage() 405 // compare result and reference in verifyImage() 483 "layout(r32ui, set = 0, binding = 0) uniform uimage2D result;\ in initPrograms() [all...] |