/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | touch_event_test_ng.cpp | 171 TouchTestResult result; in HWTEST_F() local 175 COORDINATE_OFFSET, Touch_TOUCH_RESTRICT, eventHub->CreateGetEventTargetImpl(), result, responseLinkResult); in HWTEST_F() 178 EXPECT_EQ(result.size(), TOUCH_TEST_RESULT_SIZE_1); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/ |
H A D | page_pattern.cpp | 355 RefPtr<PageTransitionEffect> result; in FindPageTransitionEffect() local 359 result = effect; in FindPageTransitionEffect() 363 return result; in FindPageTransitionEffect()
|
/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | touch_event.h | 407 virtual void SetGestureEventResult(bool result) = 0; 415 const std::string& embedId, const TouchEventInfo& touchEventInfo, const RefPtr<GestureEventResult>& result) in NativeEmbeadTouchInfo() 416 : BaseEventInfo("NativeEmbeadTouchInfo"), embedId_(embedId), touchEvent_(touchEventInfo), result_(result) in NativeEmbeadTouchInfo() 414 NativeEmbeadTouchInfo( const std::string& embedId, const TouchEventInfo& touchEventInfo, const RefPtr<GestureEventResult>& result) NativeEmbeadTouchInfo() argument
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | timepicker_column_layout_algorithm.cpp | 234 auto result = 0.0_vp; in AdjustFontSizeScale() local 236 result = fontSizeValue / fontScale * adjustedScale; in AdjustFontSizeScale() 238 return result; in AdjustFontSizeScale()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_layout_algorithm.cpp | 318 auto result = 0.0_vp; in AdjustFontSizeScale() local 320 result = fontSizeValue / fontScale * adjustedScale; in AdjustFontSizeScale() 322 return result; in AdjustFontSizeScale()
|
/foundation/barrierfree/accessibility/services/aams/test/unittest/ |
H A D | accessible_ability_channel_test.cpp | 364 bool result = false; in HWTEST_F() local 371 result = true; in HWTEST_F() 376 EXPECT_TRUE(result); in HWTEST_F()
|
/foundation/barrierfree/accessibility/services/test/moduletest/aamstest/aams_accessibility_ability_channel_test/ |
H A D | aams_accessibility_ability_channel_test.cpp | 364 bool result = false; in HWTEST_F() local 371 result = true; in HWTEST_F() 376 EXPECT_TRUE(result); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/ |
H A D | napi_value.cpp | 190 napi_value result; in ToStringArray() local 192 status = napi_get_element(env_, val_, i, &result); in ToStringArray() 193 auto [succ, str, ignore] = NapiValue(env_, result).ToUTF8String(); in ToStringArray()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/ |
H A D | file_path.cpp | 397 bool result = false; in GetZipAllDirFiles() local 399 result = true; in GetZipAllDirFiles() 422 return result; in GetZipAllDirFiles()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundle_resource/ |
H A D | bundle_resource_proxy.cpp | 417 int32_t result = remote->SendRequest(static_cast<uint32_t>(code), data, reply, option); in SendRequest() local 418 if (result != NO_ERROR) { in SendRequest() 419 APP_LOGE("receive error %{public}d in transact cmd %{public}hhu", result, code); in SendRequest()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | camera_component.cpp | 317 bool result = false; in RegisterPrivateEventListener() local 322 result = true; in RegisterPrivateEventListener() 329 return result; in RegisterPrivateEventListener()
|
H A D | video_view.cpp | 528 jerry_value_t result = jerryx_set_property_str(args[0], "currenttime", value);
in CallJSFunctionWithOnePara() local 529 if (!jerry_value_is_error(result)) {
in CallJSFunctionWithOnePara() 532 ReleaseJerryValue(result, args[0], value, VA_ARG_END_FLAG);
in CallJSFunctionWithOnePara()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/pbap/ |
H A D | napi_bluetooth_pbap_pse.cpp | 174 napi_value result = nullptr;
in GetConnectionState() local 176 napi_create_int32(env, profileState, &result);
in GetConnectionState() 177 return result;
in GetConnectionState()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/sandbox_app/ |
H A D | bundle_sandbox_data_mgr.cpp | 116 ErrCode result = ERR_OK; in GetSandboxAppBundleInfo() local 117 if ((result = GetSandboxAppInfo(bundleName, appIndex, requestUserId, innerBundleInfo)) != ERR_OK) { in GetSandboxAppBundleInfo() 119 return result; in GetSandboxAppBundleInfo()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/ |
H A D | volume_data_maintainer.cpp | 505 ErrCode result = in RegisterCloned() 507 if (!isSettingsCloneHaveStarted_ && (value == SETTINGS_CLONING_STATUS) && (result == SUCCESS)) { in RegisterCloned() 512 if (isSettingsCloneHaveStarted_ && (value == SETTINGS_CLONED_STATUS) && (result == SUCCESS)) { in RegisterCloned()
|
/foundation/graphic/graphic_surface/surface/include/ |
H A D | buffer_queue.h | 138 void Dump(std::string &result); 215 void DumpCache(std::string &result); 216 void DumpMetadata(std::string &result, BufferElement element);
|
/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | i_audio_stream.cpp | 138 int32_t IAudioStream::GetByteSizePerFrame(const AudioStreamParams ¶ms, size_t &result) in GetByteSizePerFrame() argument 140 result = 0; in GetByteSizePerFrame() 166 result = bitWidthSize * static_cast<size_t>(params.channels); in GetByteSizePerFrame()
|
/foundation/graphic/graphic_2d/rosen/samples/composer/ |
H A D | hello_composer.cpp | 275 std::string result; in Draw() local 276 curOutput_->Dump(result); in Draw() 277 LOGI("Dump layer result after ReleaseBuffer : %{public}s", result.c_str()); in Draw()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/ |
H A D | image_loader_stb_image.cpp | 366 const int result = stbi_info_from_memory(imageFileBytes.data(), static_cast<int>(imageFileBytes.size()), in Load() local 379 if (result) { in Load() 391 if (!result || (((loadFlags & IImageLoaderManager::IMAGE_LOADER_METADATA_ONLY) == 0) && !imageBytes)) { in Load()
|
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | spirv_cross_helpers_gles.cpp | 275 const std::vector<SpecConstantInfo>& reflectionInfo, uint32_t spcid, uintptr_t offset, std::string& result)
in DefineForSpec() 311 result.append("#define SPIRV_CROSS_CONSTANT_ID_");
in DefineForSpec() 312 result.append(buf);
in DefineForSpec() 274 DefineForSpec( const std::vector<SpecConstantInfo>& reflectionInfo, uint32_t spcid, uintptr_t offset, std::string& result) DefineForSpec() argument
|
/foundation/graphic/graphic_2d/frameworks/surfaceimage/src/ |
H A D | surface_image.cpp | 273 bool result = true; in CheckImageCacheNeedClean() local 278 if (IsSurfaceBufferInCache(it->first, result) == SURFACE_ERROR_OK && !result) { in CheckImageCacheNeedClean()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/run_napi/ |
H A D | js_run.cpp | 102 napi_value result = nullptr;
in CreateRun() local 110 status = napi_new_instance(env, constructor, 0, nullptr, &result);
in CreateRun() 115 return result;
in CreateRun()
|
/foundation/multimedia/image_framework/plugins/manager/src/framework/ |
H A D | impl_class_mgr.cpp | 148 IMAGE_LOGD("search by priority result, className: %{public}s.", target->GetClassName().c_str()); in CreateObject() 259 // the result value is used later, the targetIter and targetAttr assignment structures cannot be merged, in SearchByPriority() 261 uint32_t result = ComparePriority(*attrData, *targetAttr, priorityType); in SearchByPriority() local 262 if (result == ERR_COMP_HIGHER) { in SearchByPriority() 269 if (result == ERR_COMP_EQUAL) { in SearchByPriority()
|
/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
H A D | napi_control_command.cpp | 64 std::vector<std::string> result; in ConvertCommands() local 68 result.push_back(stringCmd); in ConvertCommands() 71 return result; in ConvertCommands()
|
H A D | napi_cast_control_command.cpp | 61 std::vector<std::string> result; in ConvertCommands() local 65 result.push_back(stringCmd); in ConvertCommands() 68 return result; in ConvertCommands()
|