/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_vector_shuffle.cpp | 93 // result of the shuffle. in IsApplicable() 150 protobufs::Transformation result; in ToMessage() local 151 *result.mutable_vector_shuffle() = message_; in ToMessage() 152 return result; in ToMessage() 183 // Add synonym facts relating the defined elements of the shuffle result to in AddDataSynonymFacts() 193 // This describes the element of the result vector associated with in AddDataSynonymFacts() 231 // result component. in AddDataSynonymFacts()
|
/third_party/spirv-tools/test/fuzz/ |
H A D | fuzz_test_util.cpp | 70 // We then return the result of the equality comparison, to be used by an in IsEqual() 116 std::string result; in ToString() local 117 t.Disassemble(binary, &result, kFuzzDisassembleOption); in ToString() 118 return result; in ToString()
|
H A D | fuzzer_replayer_test.cpp | 1631 uint32_t result; 1632 memcpy(&result, &value, sizeof(float)); 1633 return result;
|
/third_party/spirv-tools/test/ |
H A D | operand_pattern_test.cpp | 127 std::vector<spv_operand_type_t> result; in allOperandTypes() local 129 result.push_back(spv_operand_type_t(i)); in allOperandTypes() 131 return result; in allOperandTypes()
|
H A D | test_fixture.h | 39 // Shorthand for SPIR-V compilation result. 146 // The given words are then appended to the binary, and the result 175 SpirvVector result; in CompiledInstructions() local 180 result = Subvector(code, kFirstInstruction); in CompiledInstructions() 181 return result; in CompiledInstructions()
|
/third_party/spirv-tools/test/val/ |
H A D | val_constants_test.cpp | 76 const auto result = ValidateInstructions(env); in TEST_P() local 78 EXPECT_EQ(SPV_SUCCESS, result); in TEST_P() 81 EXPECT_EQ(SPV_ERROR_INVALID_ID, result); in TEST_P()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderRenderCase.hpp | 235 void render (tcu::Surface& result, int programID, const QuadGrid& quadGrid); 236 void computeVertexReference (tcu::Surface& result, const QuadGrid& quadGrid); 237 void computeFragmentReference(tcu::Surface& result, const QuadGrid& quadGrid);
|
/third_party/vk-gl-cts/framework/delibs/deimage/ |
H A D | deImage.c | 121 deImage* result = deImage_create(dstWidth, dstHeight, srcImage->format); in deImage_scale() local 153 deImage_setPixel(result, x, y, pix); in deImage_scale() 158 return result; in deImage_scale()
|
/third_party/vk-gl-cts/framework/qphelper/ |
H A D | qpTestLog.h | 58 QP_TEST_RESULT_PENDING, /*!< The test is still running. Not a valid end result */ 210 deBool qpTestLog_endCase (qpTestLog* log, qpTestResult result, const char* description); 215 deBool qpTestLog_terminateCase (qpTestLog* log, qpTestResult result); 255 const char* qpGetTestResultName (qpTestResult result);
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fShaderFragDataTests.cpp | 200 tcu::Surface result (viewportW, viewportH); in iterate() 204 glu::readPixels(renderCtx, 0, 0, result.getAccess()); in iterate() 207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green(), threshold); in iterate()
|
/vendor/hihope/rk3568/bluetooth/src/ |
H A D | userial_vendor.c | 271 int result; in userial_vendor_close() local 285 if ((result = close(vnd_userial.fd)) < 0) { in userial_vendor_close() 286 HILOGE("close(fd:%d) FAILED result:%d", vnd_userial.fd, result); in userial_vendor_close()
|
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_session_manager.cpp | 1111 napi_ref result = nullptr; in OnRegisterCallback() local 1112 napi_create_reference(env, value, 1, &result); in OnRegisterCallback() 1113 callbackRef.reset(reinterpret_cast<NativeReference*>(result)); in OnRegisterCallback() 1339 napi_value result = nullptr; in OnGetAllAbilityInfos() local 1342 env, CreateAsyncTaskWithLastParam(env, callback, std::move(execute), std::move(complete), &result)); in OnGetAllAbilityInfos() 1343 return result; in OnGetAllAbilityInfos() 1386 napi_value result = nullptr; in OnGetBatchAbilityInfos() local 1389 env, CreateAsyncTaskWithLastParam(env, callback, std::move(execute), std::move(complete), &result)); in OnGetBatchAbilityInfos() 1390 return result; in OnGetBatchAbilityInfos() 1848 napi_value result in OnIsSceneSessionValid() local 2111 napi_value result = nullptr; OnGetSessionSnapshotFilePath() local 2190 napi_value result = nullptr; OnGetAllWindowVisibilityInfos() local 2250 napi_value result = nullptr; OnPrepareTerminate() local 2952 napi_value result = nullptr; OnGetSessionSnapshotPixelMap() local 2985 napi_value result = nullptr; OnGetCustomDecorHeight() local 3022 napi_value result = nullptr; OnGetIsLayoutFullScreen() local 3218 napi_value result = nullptr; OnIsScbCoreEnabled() local 3270 napi_value result = nullptr; OnGetMaxInstanceCount() local 3293 napi_value result = nullptr; OnGetInstanceCount() local 3317 napi_value result = nullptr; OnGetLastInstanceKey() local 3370 napi_value result = nullptr; OnGetWindowPid() local [all...] |
/third_party/node/deps/v8/src/compiler/backend/arm64/ |
H A D | instruction-selector-arm64.cc | 400 // result other than the condition. 407 uint8_t result = 0; in GetBinopProperties() local 413 result = CanCommuteField::update(result, true); in GetBinopProperties() 414 result = MustCommuteCondField::update(result, true); in GetBinopProperties() 415 result = IsComparisonField::update(result, true); in GetBinopProperties() 419 result = IsAddSubField::update(result, tru in GetBinopProperties() 1646 InstructionOperand result = g.DefineAsRegister(node); EmitInt32MulWithOverflow() local 2905 Node* const result = NodeProperties::FindProjection(node, 0); VisitWordCompareZero() local [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | implicit_start_processor.cpp | 128 auto result = CheckImplicitCallPermission(request); in ImplicitStartAbility() local 129 if (ERR_OK != result) { in ImplicitStartAbility() 130 return result; in ImplicitStartAbility() 645 std::vector<std::string> result; in SplitStr() local 648 result.push_back(s); in SplitStr() 650 return result; in SplitStr() 675 int32_t result = ERR_OK; in ImplicitStartAbilityInner() local 683 result = abilityMgr->ImplicitStartAbility( in ImplicitStartAbilityInner() 689 result = abilityMgr->ImplicitStartAbility( in ImplicitStartAbilityInner() 694 result in ImplicitStartAbilityInner() [all...] |
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | common_func.cpp | 211 bool CommonFunc::ParseString(napi_env env, napi_value value, std::string &result) in ParseString() argument 222 result.reserve(size + 1); in ParseString() 223 result.resize(size); in ParseString() 224 if (napi_get_value_string_utf8(env, value, result.data(), (size + 1), &size) != napi_ok) { in ParseString() 307 std::string result; in GetStringFromNAPI() local 313 result.reserve(size + NAPI_RETURN_ONE); in GetStringFromNAPI() 314 result.resize(size); in GetStringFromNAPI() 315 if (napi_get_value_string_utf8(env, value, result.data(), (size + NAPI_RETURN_ONE), &size) != napi_ok) { in GetStringFromNAPI() 318 return result; in GetStringFromNAPI() 341 // create result cod in ParseStringArray() 342 napi_value result; ParseStringArray() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/font/ |
H A D | constants_converter.cpp | 905 Rect result; in ConvertSkRect() local 906 result.SetLeft(skRect.fLeft); in ConvertSkRect() 907 result.SetTop(skRect.fTop); in ConvertSkRect() 908 result.SetWidth(skRect.width()); in ConvertSkRect() 909 result.SetHeight(skRect.height()); in ConvertSkRect() 910 return result; in ConvertSkRect() 915 Rect result; in ConvertSkRect() local 916 result.SetLeft(skRect.GetLeft()); in ConvertSkRect() 917 result.SetTop(skRect.GetTop()); in ConvertSkRect() 918 result in ConvertSkRect() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_list.cpp | 601 auto result = func->Call(JSRef<JSObject>(), params.size(), params.data()); in ItemMoveCallback() 602 if (!result.IsEmpty() && result->IsBoolean()) { in ItemMoveCallback() 603 return result->ToBoolean(); in ItemMoveCallback() 780 auto result = func->Call(JSRef<JSObject>(), params.size(), params.data()); in ScrollBeginCallback() 781 if (result.IsEmpty()) { in ScrollBeginCallback() 785 if (!result->IsObject()) { in ScrollBeginCallback() 789 auto resObj = JSRef<JSObject>::Cast(result); in ScrollBeginCallback() 812 auto result = func->Call(JSRef<JSObject>(), params.size(), params.data()); in ScrollFrameBeginCallback() 813 if (result in ScrollFrameBeginCallback() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/ |
H A D | scroll_bar_pattern.cpp | 159 TouchTestResult& result, const RefPtr<FrameNode>& frameNode, const RefPtr<TargetComponent>& targetComponent, in SetBarCollectTouchTargetCallback() 168 coordinateOffset, getEventTargetImpl, result, frameNode, targetComponent, responseLinkResult); in SetBarCollectTouchTargetCallback() 171 coordinateOffset, getEventTargetImpl, result, frameNode, targetComponent, responseLinkResult); in SetBarCollectTouchTargetCallback() 181 TouchTestResult& result, const RefPtr<FrameNode>& frameNode, const RefPtr<TargetComponent>& targetComponent, in SetBarCollectClickAndLongPressTargetCallback() 186 coordinateOffset, getEventTargetImpl, result, frameNode, targetComponent, responseLinkResult); in SetBarCollectClickAndLongPressTargetCallback() 188 coordinateOffset, getEventTargetImpl, result, frameNode, targetComponent, responseLinkResult); in SetBarCollectClickAndLongPressTargetCallback() 798 const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, const RefPtr<FrameNode>& frameNode, in OnCollectTouchTarget() 809 result.emplace_front(panRecognizer_); in OnCollectTouchTarget() 815 const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, const RefPtr<FrameNode>& frameNode, in OnCollectClickTarget() 833 result in OnCollectClickTarget() 797 OnCollectTouchTarget(const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, const RefPtr<FrameNode>& frameNode, const RefPtr<TargetComponent>& targetComponent, ResponseLinkResult& responseLinkResult) OnCollectTouchTarget() argument 814 OnCollectClickTarget(const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, const RefPtr<FrameNode>& frameNode, const RefPtr<TargetComponent>& targetComponent, ResponseLinkResult& responseLinkResult) OnCollectClickTarget() argument 838 OnCollectLongPressTarget(const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, const RefPtr<FrameNode>& frameNode, const RefPtr<TargetComponent>& targetComponent, ResponseLinkResult& responseLinkResult) OnCollectLongPressTarget() argument [all...] |
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | ecs_animation.cpp | 70 BASE_NS::string result; in ResolvePathToAnimationRoot() local 86 if (result.empty()) { in ResolvePathToAnimationRoot() 87 result = current->GetName(); in ResolvePathToAnimationRoot() 89 result = current->GetName() + "/" + result; in ResolvePathToAnimationRoot() 99 return result; in ResolvePathToAnimationRoot() 820 BASE_NS::vector<CORE_NS::EntityReference> result; in GetAllRelatedEntities() local 829 result.push_back(ecs_->GetEntityManager().GetReferenceCounted(trackHandle->timestamps)); in GetAllRelatedEntities() 833 result.push_back(ecs_->GetEntityManager().GetReferenceCounted(trackHandle->data)); in GetAllRelatedEntities() 836 result in GetAllRelatedEntities() [all...] |
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/ |
H A D | capture_session.h | 391 const uint64_t timestamp, const std::shared_ptr<OHOS::Camera::CameraMetadata>& result) override; 722 * @param result metadata got from callback from service layer. 724 void ProcessAutoExposureUpdates(const std::shared_ptr<OHOS::Camera::CameraMetadata>& result); 791 * @param result metadata got from callback from service layer. 793 void ProcessAutoFocusUpdates(const std::shared_ptr<OHOS::Camera::CameraMetadata>& result); 1194 * @param result Metadata got from callback from service layer. 1196 void ProcessMacroStatusChange(const std::shared_ptr<OHOS::Camera::CameraMetadata>& result); 1202 * @param result Metadata got from callback from service layer. 1204 void ProcessMoonCaptureBoostStatusChange(const std::shared_ptr<OHOS::Camera::CameraMetadata>& result); 1210 * @param result Metadat [all...] |
/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A D | networkshare_tracker.cpp | 687 int32_t result = NETMANAGER_EXT_SUCCESS; in EnableNetSharingInternal() local 690 result = SetWifiNetworkSharing(enable); in EnableNetSharingInternal() 693 result = SetUsbNetworkSharing(enable); in EnableNetSharingInternal() 696 result = SetBluetoothNetworkSharing(enable); in EnableNetSharingInternal() 700 result = NETWORKSHARE_ERROR_UNKNOWN_TYPE; in EnableNetSharingInternal() 703 NETMGR_EXT_LOG_I("NetSharing EnableNetSharingInternal result is %{public}d.", result); in EnableNetSharingInternal() 704 if (result != NETMANAGER_EXT_SUCCESS) { in EnableNetSharingInternal() 711 return result; in EnableNetSharingInternal() 716 int32_t result in SetWifiNetworkSharing() local [all...] |
/foundation/distributedhardware/device_manager/test/unittest/ |
H A D | UTTest_dm_pin_holder.cpp | 85 void DmPinHolderCallbackTest::OnCreateResult(int32_t result) in OnCreateResult() argument 87 std::cout << "OnCreateResult " << result << std::endl; in OnCreateResult() 90 void DmPinHolderCallbackTest::OnDestroyResult(int32_t result) in OnDestroyResult() argument 92 std::cout << "OnDestroyResult " << result << std::endl; in OnDestroyResult() 109 void DmPinHolderCallbackTest::OnPinHolderEvent(DmPinHolderEvent event, int32_t result, const std::string &content) in OnPinHolderEvent() argument 112 std::cout << "result: " << result << std::endl; in OnPinHolderEvent() 668 int32_t result = 0; in HWTEST_F() local 669 pinHolder->OnSessionOpened(sessionId, sessionSide, result); in HWTEST_F() 679 int32_t result in HWTEST_F() local 752 int result = 1; HWTEST_F() local [all...] |
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/ |
H A D | file_access_helper.cpp | 404 HILOG_ERROR("OpenFile get result error, code:%{public}d", ret); in OpenFile() 433 HILOG_ERROR("CreateFile get result error, code:%{public}d", ret); in CreateFile() 462 HILOG_ERROR("Mkdir get result error, code:%{public}d", ret); in Mkdir() 491 HILOG_ERROR("Delete get result error, code:%{public}d", ret); in Delete() 527 HILOG_ERROR("Move get result error, code:%{public}d", ret); in Move() 554 static int TranslateResult(int errCode, Result &result) in TranslateResult() argument 579 result.errCode = OHOS::FileManagement::LibN::errCodeTable.at(errCode).first; in TranslateResult() 580 result.errMsg = OHOS::FileManagement::LibN::errCodeTable.at(errCode).second; in TranslateResult() 586 const std::string &errMsg, std::vector<Result> &result) in GetResult() 590 result in GetResult() 585 GetResult(const std::string &sourceUri, const std::string &destUri, int errCode, const std::string &errMsg, std::vector<Result> &result) GetResult() argument 603 Result result; CopyOperation() local [all...] |
/third_party/googletest/googletest/src/ |
H A D | gtest-death-test.cc | 191 bool result; in operator ()() local 192 if (GTEST_KILLED_BY_SIGNAL_OVERRIDE_(signum_, exit_status, &result)) { in operator ()() 193 return result; in operator ()() 429 // Called in the parent process only. Reads the result code of the death 460 // Called in the parent process only. Reads the result code of the death 731 const int death_test_index = info->result()->death_test_count(); in AssumeRole() 969 const int death_test_index = info->result()->death_test_count(); in AssumeRole() 1256 bool* result) GTEST_NO_INLINE_; 1262 // making comparison result unpredictable. 1265 static void StackLowerThanAddress(const void* ptr, bool* result) { in StackLowerThanAddress() argument 1275 bool result; StackGrowsDown() local [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cnmdptst.c | 424 const char* result[]={"1,50\\u00a0$", "1,50\\u00a0DM", "1,50\\u00a0F"}; in TestCurrency() local 447 u_unescape(result[i], res, (int32_t)strlen(result[i])+1); in TestCurrency() 450 log_err("FAIL: Expected %s Got: %s for locale: %s\n", result[i], aescstrdup(str, -1), locale[i]); in TestCurrency() 483 const char* result[]={ in TestCurrencyObject() local 532 res=(UChar*)malloc(sizeof(UChar) * (strlen(result[i])+1) ); in TestCurrencyObject() 533 u_unescape(result[i],res, (int32_t)(strlen(result[i])+1)); in TestCurrencyObject() 535 log_err("FAIL: Expected %s Got: %s for locale: %s\n", result[i],aescstrdup(str, -1),locale[i]); in TestCurrencyObject() 787 UChar result[ in TestCurrencyKeywords() local [all...] |