/third_party/skia/tests/ |
H A D | WritePixelsTest.cpp | 60 uint8_t* result = reinterpret_cast<uint8_t*>(&r32); in pack_color_type() local 63 result[0] = b; in pack_color_type() 64 result[1] = g; in pack_color_type() 65 result[2] = r; in pack_color_type() 66 result[3] = a; in pack_color_type() 70 result[0] = r; in pack_color_type() 71 result[1] = g; in pack_color_type() 72 result[2] = b; in pack_color_type() 73 result[3] = a; in pack_color_type()
|
/third_party/skia/tools/skqp/src/ |
H A D | skqp.cpp | 173 std::vector<SkQP::SkiaBackend> result; in get_backends() local 190 result.push_back(backend); in get_backends() 194 SkASSERT_RELEASE(result.size() > 0); in get_backends() 195 return result; in get_backends() 437 "<p>Left image: test result<br>\n" 492 for (const SkQP::UnitTestResult& result : fUnitTestResults) { in makeReport() 493 unitOut.writeText(GetUnitTestName(result.fUnitTest)); in makeReport() 494 if (result.fErrors.empty()) { in makeReport() 497 write(&unitOut, SkStringPrintf(" FAILED (%zu errors)\n", result.fErrors.size())); in makeReport() 498 for (const std::string& err : result in makeReport() [all...] |
/third_party/spirv-tools/source/fuzz/fact_manager/ |
H A D | data_synonym_and_id_equation_facts.cpp | 878 std::vector<const protobufs::DataDescriptor*> result; in GetSynonymsForDataDescriptor() local 885 result.push_back(dd); in GetSynonymsForDataDescriptor() 889 return result; in GetSynonymsForDataDescriptor() 894 std::vector<uint32_t> result; in GetIdsForWhichSynonymsAreKnown() local 901 result.push_back(data_descriptor->object()); in GetIdsForWhichSynonymsAreKnown() 904 return result; in GetIdsForWhichSynonymsAreKnown() 909 std::vector<const protobufs::DataDescriptor*> result; in GetAllKnownSynonyms() local 912 result.push_back(dd); in GetAllKnownSynonyms() 915 return result; in GetAllKnownSynonyms()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | usprep.cpp | 514 uint16_t result; in usprep_map() local 531 result=0; in usprep_map() 533 UTRIE_GET16(&profile->sprepTrie,ch,result); in usprep_map() 535 type = getValues(result, value, isIndex); in usprep_map() 604 2) Normalize -- Possibly normalize the result of step 1 using Unicode 719 uint16_t result; in usprep_prepare() local 720 UTRIE_GET16(&profile->sprepTrie,ch,result); in usprep_prepare() 724 UStringPrepType type = getValues(result, value, isIndex); in usprep_prepare() 727 ((result < _SPREP_TYPE_THRESHOLD) && (result in usprep_prepare() [all...] |
/third_party/skia/experimental/wasm-skp-debugger/ |
H A D | debugger_bindings.cpp | 285 JSObject result = emscripten::val::object(); in imageUseInfo() local 296 result.set(std::to_string(it->first), list); in imageUseInfo() 298 return result; in imageUseInfo() 304 JSArray result = emscripten::val::array(); in getLayerSummariesJs() local 306 result.call<void>("push", summary); in getLayerSummariesJs() 308 return result; in getLayerSummariesJs() 312 JSArray result = emscripten::val::array(); in getLayerKeys() local 317 result.call<void>("push", item); in getLayerKeys() 319 return result; in getLayerKeys()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
H A D | vktRasterizationTests.cpp | 202 virtual void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, VkPrimitiveTopology primitiveTopology); 203 void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec4>& coloDrata, VkPrimitiveTopology primitiveTopology); 204 void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& positionData, const std::vector<tcu::Vec4>& colorData, VkPrimitiveTopology primitiveTopology, 672 void BaseRenderingTestInstance::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, VkPrimitiveTopology primitiveTopology) in drawPrimitives() argument 677 drawPrimitives(result, vertexData, colorData, primitiveTopology); in drawPrimitives() 680 void BaseRenderingTestInstance::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& positionData, const std::vector<tcu::Vec4>& colorData, VkPrimitiveTopology primitiveTopology) in drawPrimitives() argument 682 drawPrimitives(result, positionData, colorData, primitiveTopology, *m_image, *m_resolvedImage, *m_frameBuffer, m_renderSize, *m_resultBuffer, *m_resultBufferMemory); in drawPrimitives() 684 void BaseRenderingTestInstance::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& positionData, const std::vector<tcu::Vec4>& colorData, VkPrimitiveTopology primitiveTopology, in drawPrimitives() argument 931 tcu::copy(result.getAccess(), tcu::ConstPixelBufferAccess(m_textureFormat, tcu::IVec3(renderSize, renderSize, 1), resultBufferMemory.getHostPtr())); in drawPrimitives() 1079 // result in iterate() 1474 bool result = true; compareAndVerify() local 2035 drawPoint(tcu::PixelBufferAccess& result, PointSceneSpec::ScenePoint& point) drawPoint() argument [all...] |
/third_party/curl/tests/libtest/ |
H A D | lib557.c | 71 char result[BUFSZ]; /* result string */ member 78 char result[BUFSZ]; /* result string */ member 85 char result[BUFSZ]; /* result string */ member 92 char result[BUFSZ]; /* result string */ member 99 char result[BUFSZ]; /* result strin member 106 char result[BUFSZ]; /* result string */ global() member 113 char result[BUFSZ]; /* result string */ global() member [all...] |
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-collections-gen.cc | 527 // The {result} variable will contain the entry index if the key was found, 532 TVariable<IntPtrT>* result, 538 // The {result} variable will contain the entry index if the key was found, 546 TVariable<IntPtrT>* result, Label* entry_found, Label* not_found); 549 // The {result} variable will contain the entry index if the key was found, 556 TVariable<IntPtrT>* result, 561 // The {result} variable will contain the entry index if the key was found, 566 TVariable<IntPtrT>* result, 576 // The {result} variable will contain the entry index if the key was found, 582 TVariable<IntPtrT>* result, [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_pm.c | 288 int result = 0; in kbase_pm_suspend() local 293 result = kbase_pm_driver_suspend(kbdev); in kbase_pm_suspend() 295 result = kbase_pm_driver_suspend(kbdev); in kbase_pm_suspend() 298 return result; in kbase_pm_suspend()
|
/foundation/ability/ability_runtime/test/unittest/connection_record_test/ |
H A D | connection_record_test.cpp | 177 auto result = connectionRecord_->DisconnectAbility(); in HWTEST_F() local 178 EXPECT_EQ(result, INVALID_CONNECTION_STATE); in HWTEST_F() 182 result = connectionRecord_->DisconnectAbility(); in HWTEST_F() 183 EXPECT_EQ(result, ERR_OK); in HWTEST_F()
|
/foundation/ability/dmsfwk_lite/source/ |
H A D | dmslite_famgr.c | 76 int32_t result = SAMGR_SendRequest((const Identity*)&(GetDmsLiteFeature()->identity), &request, NULL);
in StartRemoteAbilityInner() local 77 if (result != EC_SUCCESS) {
in StartRemoteAbilityInner() 80 HILOGD("[StartRemoteAbilityInner SendRequest errCode = %d]", result);
in StartRemoteAbilityInner() 82 return result;
in StartRemoteAbilityInner()
|
/foundation/ability/form_fwk/frameworks/js/napi/formHost/ |
H A D | napi_form_host.h | 36 int result = OHOS::ERR_OK; member 47 int result; member 57 int result; member 67 int result; member
|
/foundation/ability/ability_runtime/service_router_framework/services/srms/src/ |
H A D | service_router_mgr_stub.cpp | 129 int32_t result = StartUIExtensionAbility(sessionInfo, userId); in HandleStartUIExtensionAbility() local 130 if (!reply.WriteInt32(result)) { in HandleStartUIExtensionAbility() 131 TAG_LOGE(AAFwkTag::SER_ROUTER, "write result failed"); in HandleStartUIExtensionAbility() 154 int32_t result = ConnectUIExtensionAbility(*want, callback, sessionInfo, userId); in HandleConnectUIExtensionAbility() local 155 if (!reply.WriteInt32(result)) { in HandleConnectUIExtensionAbility() 156 TAG_LOGE(AAFwkTag::SER_ROUTER, "write result failed"); in HandleConnectUIExtensionAbility()
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | modal_system_app_freeze_uiextension.cpp | 103 auto result = IN_PROCESS_CALL(abilityManagerClient->ConnectAbility(systemUIWant, callback, INVALID_USERID)); in CreateModalUIExtension() local 104 if (result != ERR_OK) { in CreateModalUIExtension() 106 "fail, result = %{public}d", result); in CreateModalUIExtension() 111 "success, result = %{public}d", result); in CreateModalUIExtension()
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ability_runtime/ |
H A D | js_ui_ability.h | 94 int32_t OnContinueSyncCB(napi_value result, WantParams &wantParams, napi_value jsWantParams); 139 * @return result code defined in abilityConstants 145 * result is returned. This method is called only on Page abilities. You can start a new ability to perform some 146 * calculations and use setResult (int,ohos.aafwk.content.Want) to return the calculation result. Then the system 150 * @param resultCode Indicates the result code returned after the ability is started. You can define the result code 179 * @return the result of OnShare 315 bool CheckPromise(napi_value result); 316 bool CallPromise(napi_value result, AppExecFwk::AbilityTransactionCallbackInfo<> *callbackInfo); 317 bool CallPromise(napi_value result, AppExecFw [all...] |
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ui_extension_ability/ |
H A D | js_ui_extension.h | 161 * and the result is returned. 164 * @param resultCode Indicates the result code returned after the ability is started. You can define the result 183 bool CheckPromise(napi_value result); 184 bool CallPromise(napi_value result, AppExecFwk::AbilityTransactionCallbackInfo<> *callbackInfo); 199 const AppExecFwk::InsightIntentExecuteResult &result) override; 201 const AppExecFwk::InsightIntentExecuteResult &result, bool needForeground);
|
H A D | js_ui_extension_base.h | 145 * and the result is returned. 148 * @param resultCode Indicates the result code returned after the ability is started. You can define the result 175 bool CheckPromise(napi_value result); 176 bool CallPromise(napi_value result, AppExecFwk::AbilityTransactionCallbackInfo<> *callbackInfo); 187 const AppExecFwk::InsightIntentExecuteResult &result); 189 const AppExecFwk::InsightIntentExecuteResult &result, bool needForeground);
|
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | render_picker_base.h | 75 TouchTestResult& result) override; 123 void OnTouchTestHit(const Offset&, const TouchRestrict&, TouchTestResult& result) override 126 result.emplace_back(rawDetect_); 188 bool onChildTouchTest(const RefPtr<RenderNode>& child, const TouchRestrict& touchRestrict, TouchTestResult& result);
|
/foundation/ability/ability_runtime/frameworks/js/napi/js_mission_manager/ |
H A D | js_mission_listener.cpp | 77 bool result = false; in RemoveJsListenerObject() local 79 result = (jsListenerObjectMapSync_.erase(listenerId) == 1); in RemoveJsListenerObject() 81 result = (jsListenerObjectMap_.erase(listenerId) == 1); in RemoveJsListenerObject() 83 return result; in RemoveJsListenerObject()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | js_frontend.h | 211 void HandleSyncEvent(const EventMarker& eventMarker, bool& result) override; 213 void HandleSyncEvent(const EventMarker& eventMarker, const BaseEventInfo& info, bool& result) override; 215 void HandleSyncEvent(const EventMarker& eventMarker, const KeyEvent& info, bool& result) override; 217 void HandleSyncEvent(const EventMarker& eventMarker, const std::string& param, std::string& result) override;
|
/foundation/arkui/ace_engine/frameworks/core/components/checkable/ |
H A D | render_radio.cpp | 129 std::string result = std::string("\"change\",{\"checked\":") in UpdateGroupValue() local 138 result = json->ToString(); in UpdateGroupValue() 140 OnHandleChangedResult(result); in UpdateGroupValue() 142 changeEvent_(result); in UpdateGroupValue()
|
/foundation/arkui/ace_engine/frameworks/base/log/ |
H A D | dump_log.cpp | 118 // if current result size > max size, dump will output as file in OutPutBySize() 160 std::string result; in PrintEndDumpInfoNG() local 162 result.append("}"); in PrintEndDumpInfoNG() 165 Append(result); in PrintEndDumpInfoNG() 167 PrintJson(result); in PrintEndDumpInfoNG()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/animator/ |
H A D | cj_animator_ffi.cpp | 112 auto result = animator->AttachSchedulerOnContainer(); in FfiAnimatorPlay() local 113 if (!result) { in FfiAnimatorPlay() 192 auto result = animator->AttachSchedulerOnContainer(); in FfiAnimatorReverse() local 193 if (!result) { in FfiAnimatorReverse()
|
/foundation/arkui/ace_engine/test/unittest/core/common/asset/ |
H A D | asset_test.cpp | 71 std::string result = assetManager->GetAssetPath(ASSET_TEST, true); in HWTEST_F() local 72 EXPECT_EQ(result, ""); in HWTEST_F() 171 * @tc.expected: step2. The expected result is null. in HWTEST_F() 200 auto result = assetManager->GetAsset(""); in HWTEST_F() local 201 EXPECT_EQ(result, nullptr); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/plugin/mock/ |
H A D | mock_plugin_frontend.cpp | 152 void PluginEventHandler::HandleSyncEvent(const EventMarker& eventMarker, const KeyEvent& info, bool& result) {} in HandleSyncEvent() argument 160 void PluginEventHandler::HandleSyncEvent(const EventMarker& eventMarker, bool& result) {} in HandleSyncEvent() argument 164 void PluginEventHandler::HandleSyncEvent(const EventMarker& eventMarker, const BaseEventInfo& info, bool& result) {} in HandleSyncEvent() argument 166 void PluginEventHandler::HandleSyncEvent(const EventMarker& eventMarker, const std::string& param, std::string& result) in HandleSyncEvent() argument
|