/third_party/skia/modules/skottie/src/text/ |
H A D | SkottieShaper.cpp | 419 auto res = ShapeImpl(txt, desc, box, fontmgr, &res_size); in ShapeToFit() local 431 best_result = std::move(res); in ShapeToFit()
|
/third_party/rust/crates/nom/src/ |
H A D | error.rs | 659 pub fn print_error<O, E: Clone>(input: &[u8], res: VerboseError<&[u8]>) { 660 if let Some(v) = prepare_errors(input, res) {
|
H A D | internal.rs | 38 Ok(res) => Ok(res), in finish() 422 res => res, in parse() 424 res => res, in parse()
|
/third_party/rust/crates/rust-cexpr/src/ |
H A D | expr.rs | 103 let res: CResult<'_, &[u8]> = Err(crate::nom::Err::Incomplete(Needed::new($c.len()))); 104 res 118 let res: CResult<'_, &[u8]> = Err(nom::Err::Incomplete(Needed::new(1))); in identifier_token() 119 res in identifier_token()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/ |
H A D | dbus_new.h | 217 struct p2p_go_neg_results *res); 473 struct p2p_go_neg_results *res) in wpas_dbus_signal_p2p_go_neg_resp() 472 wpas_dbus_signal_p2p_go_neg_resp(struct wpa_supplicant *wpa_s, struct p2p_go_neg_results *res) wpas_dbus_signal_p2p_go_neg_resp() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/ |
H A D | dbus_new.h | 222 struct p2p_go_neg_results *res); 485 struct p2p_go_neg_results *res) in wpas_dbus_signal_p2p_go_neg_resp() 484 wpas_dbus_signal_p2p_go_neg_resp(struct wpa_supplicant *wpa_s, struct p2p_go_neg_results *res) wpas_dbus_signal_p2p_go_neg_resp() argument
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_test/ |
H A D | app_mgr_service_inner_test.cpp | 4099 auto res = appMgrServiceInner->RegisterAbilityForegroundStateObserver(nullptr); in HWTEST_F() local 4100 EXPECT_EQ(res, ERR_INVALID_VALUE); in HWTEST_F() 4112 auto res = appMgrServiceInner->UnregisterAbilityForegroundStateObserver(nullptr); in HWTEST_F() local 4113 EXPECT_EQ(res, ERR_INVALID_VALUE); in HWTEST_F() 4125 auto res = appMgrServiceInner->RegisterAppForegroundStateObserver(observer); in HWTEST_F() local 4126 EXPECT_EQ(ERR_INVALID_VALUE, res); in HWTEST_F() 4138 auto res = appMgrServiceInner->RegisterAppForegroundStateObserver(observer); in HWTEST_F() local 4139 EXPECT_EQ(ERR_INVALID_VALUE, res); in HWTEST_F() 4151 auto res = appMgrServiceInner->RegisterRenderStateObserver(observer); in HWTEST_F() local 4152 EXPECT_EQ(ERR_INVALID_VALUE, res); in HWTEST_F() 4166 auto res = appMgrServiceInner->RegisterRenderStateObserver(observer); HWTEST_F() local 4179 auto res = appMgrServiceInner->RegisterRenderStateObserver(observer); HWTEST_F() local 4193 auto res = appMgrServiceInner->RegisterRenderStateObserver(observer); HWTEST_F() local [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_photo_operations_test/src/ |
H A D | medialibrary_photo_operations_test.cpp | 238 auto res = fileAsset.GetMemberValue(column); in GetFileAssetValueToStr() local 241 int32_t resInt = get<int32_t>(res); in GetFileAssetValueToStr() 248 int64_t resLong = get<int64_t>(res); in GetFileAssetValueToStr() 255 string resStr = get<string>(res); in GetFileAssetValueToStr() 508 MEDIA_ERR_LOG("create photo failed, res=%{public}d", fileId); in SetDefaultPhotoApi9() 522 MEDIA_ERR_LOG("create photo failed, res=%{public}d", fileId); in SetDefaultPhotoApi10() 962 bool res = QueryAndVerifyPhotoAsset(PhotoColumn::MEDIA_NAME, name, verifyMap); in HWTEST_F() local 963 EXPECT_EQ(res, true); in HWTEST_F() 1075 bool res = QueryAndVerifyPhotoAsset(PhotoColumn::MEDIA_ID, to_string(ret), verifyMap); in HWTEST_F() local 1076 EXPECT_EQ(res, tru in HWTEST_F() 1115 bool res = QueryAndVerifyPhotoAsset(PhotoColumn::MEDIA_NAME, name, verifyMap); HWTEST_F() local 1192 bool res = QueryAndVerifyPhotoAsset(PhotoColumn::MEDIA_NAME, name, verifyMap1); HWTEST_F() local [all...] |
/third_party/skia/third_party/externals/wuffs/release/c/ |
H A D | wuffs-v0.2.c | 292 uint8_t res = (uint8_t)(x + y); in wuffs_base__u8__sat_add() local 293 res |= (uint8_t)(-(res < x)); in wuffs_base__u8__sat_add() 294 return res; in wuffs_base__u8__sat_add() 299 uint8_t res = (uint8_t)(x - y); in wuffs_base__u8__sat_sub() local 300 res &= (uint8_t)(-(res <= x)); in wuffs_base__u8__sat_sub() 301 return res; in wuffs_base__u8__sat_sub() 306 uint16_t res = (uint16_t)(x + y); in wuffs_base__u16__sat_add() local 307 res | in wuffs_base__u16__sat_add() 313 uint16_t res = (uint16_t)(x - y); wuffs_base__u16__sat_sub() local 320 uint32_t res = (uint32_t)(x + y); wuffs_base__u32__sat_add() local 327 uint32_t res = (uint32_t)(x - y); wuffs_base__u32__sat_sub() local 334 uint64_t res = (uint64_t)(x + y); wuffs_base__u64__sat_add() local 341 uint64_t res = (uint64_t)(x - y); wuffs_base__u64__sat_sub() local [all...] |
/third_party/json/tests/abi/include/nlohmann/ |
H A D | json_v3_10_5.hpp | 5317 auto res = sb->sbumpc(); 5319 if (JSON_HEDLEY_UNLIKELY(res == std::char_traits<char>::eof())) 5323 return res; 10413 auto res = get_ubjson_size_value(size); 10414 if (JSON_HEDLEY_UNLIKELY(!res)) 10416 return res; 10965 const auto res = m_lexer.get_number_float(); 10967 if (JSON_HEDLEY_UNLIKELY(!std::isfinite(res))) 10974 if (JSON_HEDLEY_UNLIKELY(!sax->number_float(res, m_lexer.get_string()))) 12347 json_pointer res [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/ |
H A D | pixel_map_test.cpp | 1798 int32_t res = pixelMap.GetRowStride(); in HWTEST_F() local 1799 ASSERT_EQ(res, stride); in HWTEST_F() 1870 bool res = pixelMap.IsPurgeable(); in HWTEST_F() local 1871 ASSERT_EQ(res, false); in HWTEST_F() 1890 std::shared_ptr<PurgeableMem::PurgeableMemBase> res = pixelMap.GetPurgeableMemPtr(); in HWTEST_F() local 1891 ASSERT_EQ(res, nullptr); in HWTEST_F() 1910 std::shared_ptr<PurgeableMem::PurgeableMemBase> res = pixelMap.GetPurgeableMemPtr(); in HWTEST_F() local 1911 ASSERT_EQ(res, nullptr); in HWTEST_F() 1912 pixelMap.SetPurgeableMemPtr(res); in HWTEST_F() 1934 bool res in HWTEST_F() local [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_pipeline.c | 2005 VkResult res = anv_compute_pipeline_create(device, pipeline_cache, in anv_CreateComputePipelines() local 2009 if (res == VK_SUCCESS) in anv_CreateComputePipelines() 2015 result = res; in anv_CreateComputePipelines() 2016 if (res != VK_PIPELINE_COMPILE_REQUIRED) in anv_CreateComputePipelines() 2208 VkResult res = anv_graphics_pipeline_create(device, in anv_CreateGraphicsPipelines() local 2213 if (res == VK_SUCCESS) in anv_CreateGraphicsPipelines() 2219 result = res; in anv_CreateGraphicsPipelines() 2220 if (res != VK_PIPELINE_COMPILE_REQUIRED) in anv_CreateGraphicsPipelines() 2961 VkResult res = anv_ray_tracing_pipeline_create(_device, pipeline_cache, in anv_CreateRayTracingPipelinesKHR() local 2965 if (res in anv_CreateRayTracingPipelinesKHR() [all...] |
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_qpack.c | 1585 nghttp3_qpack_lookup_result res = {(nghttp3_ssize)token_stable[token].absidx, in nghttp3_qpack_lookup_stable() local 1594 return res; in nghttp3_qpack_lookup_stable() 1604 res.index = (nghttp3_ssize)ent->absidx; in nghttp3_qpack_lookup_stable() 1605 res.name_value_match = 1; in nghttp3_qpack_lookup_stable() 1606 return res; in nghttp3_qpack_lookup_stable() 1609 return res; in nghttp3_qpack_lookup_stable() 1616 nghttp3_qpack_lookup_result res = {-1, 0, -1}; in nghttp3_qpack_encoder_lookup_dtable() local 1624 res.index = (nghttp3_ssize)match->absidx; in nghttp3_qpack_encoder_lookup_dtable() 1625 res.name_value_match = exact_match; in nghttp3_qpack_encoder_lookup_dtable() 1628 res in nghttp3_qpack_encoder_lookup_dtable() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/ |
H A D | rs_node_test.cpp | 4867 bool res = rsNode->IsImplicitAnimationOpen(); in HWTEST_F() local 4868 EXPECT_EQ(res, false); in HWTEST_F() 5138 bool res = rsNode->HasPropertyAnimation(id); in HWTEST_F() local 5139 EXPECT_EQ(res, false); in HWTEST_F() 6271 bool res = rsNode->AnimationCallback(animationId, event); in HWTEST_F() local 6272 EXPECT_EQ(res, false); in HWTEST_F() 6276 res = rsNode->AnimationCallback(animationId, event); in HWTEST_F() 6277 EXPECT_EQ(res, true); in HWTEST_F() 6280 res = rsNode->AnimationCallback(animationId, event); in HWTEST_F() 6281 EXPECT_EQ(res, tru in HWTEST_F() 6560 bool res = rsNode->GetIsCustomTextType(); HWTEST_F() local 6857 bool res = rsNode->IsUniRenderEnabled(); HWTEST_F() local 6871 bool res = rsNode->IsRenderServiceNode(); HWTEST_F() local 7120 bool res = rsNode->IsInstanceOf(RSUINodeType::CANVAS_NODE); HWTEST_F() local 7174 bool res = rsNode->IsGeometryDirty(); HWTEST_F() local 7187 bool res = rsNode->IsAppearanceDirty(); HWTEST_F() local [all...] |
/third_party/node/deps/undici/ |
H A D | undici.js | 1557 let res; 1560 res = resolve; 1563 return { promise, resolve: res, reject: rej }; 3681 const res = []; 3724 } else if (state === STATE_KEY && (char === "*" || char === "=") && res.length) { 3726 res[p] = [tmp, void 0]; 3743 if (res[p] === void 0) { 3744 res[p] = tmp; 3746 res[p][1] = tmp; 3766 if (res[ [all...] |
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/wfd_sink/ |
H A D | wfd_sink_session.cpp | 760 std::string res(response.Stringify()); in SendCommonResponse() 763 bool ret = rtspClient_->Send(res.data(), res.length()); in SendCommonResponse()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_group_pattern.cpp | 580 auto res = UpdateCachedIndexOmni(forwardCache, backwardCache); in UpdateCachedIndex() local 581 forwardCachedIndex_ = res.first; in UpdateCachedIndex() 582 backwardCachedIndex_ = res.second; in UpdateCachedIndex()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
H A D | hfp_ag_command_processor.cpp | 354 int res = sscanf_s(arg.c_str(), "%d,%d,%d,%d%n", &data[CMER_MODE_INDEX], &data[CMER_KEYP_INDEX], in CmerSetter() local 356 HILOGI("[HFP AG]CmerSetter:(%{public}d,%{public}d,%{public}d,%{public}d), res:%{public}d), offset:%{public}d", in CmerSetter() 357 data[CMER_MODE_INDEX], data[CMER_KEYP_INDEX], data[CMER_DISP_INDEX], data[CMER_IND_INDEX], res, offset); in CmerSetter() 358 if (res != CMER_ELEMENTS_NUMBER || offset == 0) { in CmerSetter()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/ |
H A D | bundle_overlay_data_manager.cpp | 580 auto res = ObtainOverlayModuleState(overlayInfo, userId);
in GetOverlayModuleInfoForTarget() local 581 if (res != ERR_OK) {
in GetOverlayModuleInfoForTarget() 583 return res;
in GetOverlayModuleInfoForTarget()
|
/foundation/multimedia/audio_framework/services/audio_policy/test/example/ |
H A D | audio_policy_test.cpp | 707 std::vector<shared_ptr<AudioRendererChangeInfo>> res; in HandleAudioRendererChangeInfo() local 708 audioStreamManager->GetCurrentRendererChangeInfos(res); in HandleAudioRendererChangeInfo() 709 PrintAudioRendererChangeInfos(res); in HandleAudioRendererChangeInfo()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | scene_holder.h | 444 BASE_NS::vector<SCENE_NS::IEcsAnimation::Ptr> res; in GetAnimations() local 446 res.push_back(animation.second); in GetAnimations() 448 return res; in GetAnimations()
|
/foundation/multimedia/audio_framework/frameworks/native/bluetoothclient/ |
H A D | audio_bluetooth_manager.cpp | 483 bool res = hfpInstance_->SetActiveDevice(device); in SetActiveHfpDevice() local 484 CHECK_AND_RETURN_RET_LOG(res == true, ERROR, "SetActiveHfpDevice failed, result: %{public}d", res); in SetActiveHfpDevice()
|
/foundation/multimedia/av_session/frameworks/native/ohavsession/test/unittest/ |
H A D | oh_av_session_test.cpp | 173 AVMetadata_Result res; in HWTEST() local 174 res = OH_AVMetadataBuilder_Create(&builder); in HWTEST() 175 EXPECT_EQ(res, AVMETADATA_SUCCESS); in HWTEST()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_image_source_napi.cpp | 263 bool res = false;
in hasNamedProperty() local 264 return (napi_has_named_property(env, object, name.c_str(), &res) == napi_ok) && res;
in hasNamedProperty()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libwebpplugin/src/ |
H A D | webp_encoder.cpp | 323 auto res = DoEncodeForICC(pixelMap); in DoEncode() local 324 if (res != SUCCESS) { in DoEncode() 326 return res; in DoEncode()
|