Home
last modified time | relevance | path

Searched refs:res (Results 6476 - 6500 of 14097) sorted by relevance

1...<<251252253254255256257258259260>>...564

/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dswapchain_gles.cpp183 GpuImageDesc res = { variable
201 res.usageFlags = ImageUsageFlagBits::CORE_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT |
204 res.memoryPropertyFlags |= MemoryPropertyFlagBits::CORE_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT;
206 res.usageFlags = ImageUsageFlagBits::CORE_IMAGE_USAGE_COLOR_ATTACHMENT_BIT |
208 res.engineCreationFlags |= EngineImageCreationFlagBits::CORE_ENGINE_IMAGE_CREATION_RESET_STATE_ON_FRAME_BORDERS;
210 return res;
/foundation/multimedia/av_codec/services/engine/codec/audio/encoder/
H A Daudio_ffmpeg_encoder_plugin.cpp263 auto res = avcodec_open2(avCodecContext_.get(), avCodec_.get(), nullptr); in OpenContext() local
264 if (res != 0) { in OpenContext()
265 AVCODEC_LOGE("avcodec open error %{public}s", FFMpegConverter::AVStrError(res).c_str()); in OpenContext()
297 auto res = avcodec_open2(tmpContext.get(), avCodec_.get(), nullptr); in ReAllocateContext() local
298 if (res != 0) { in ReAllocateContext()
299 AVCODEC_LOGE("avcodec reopen error %{public}s", FFMpegConverter::AVStrError(res).c_str()); in ReAllocateContext()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Drender_service_client_modifier_demo.cpp76 float res = data + value.data; variable
77 return MyData(res);
81 float res = data - value.data; variable
82 return MyData(res);
86 float res = data * scale; variable
87 return MyData(res);
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/
H A Drs_ui_director_test.cpp339 int32_t res = director->GetCurrentRefreshRateMode(); in HWTEST_F() local
340 ASSERT_TRUE(res == -1); in HWTEST_F()
395 bool res = director->HasUIRunningAnimation(); in HWTEST_F() local
396 ASSERT_TRUE(res == false); in HWTEST_F()
466 bool res = RSNodeMap::MutableInstance().RegisterNode(nodePtr); in HWTEST_F() local
479 ASSERT_TRUE(res); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/modifier/
H A Drs_property_modifier_test.cpp74 auto res = colorModifier->CreateRenderModifier(); in HWTEST_F() local
75 EXPECT_NE(res, nullptr); in HWTEST_F()
90 RSModifierType res = colorStrategyModifier->GetModifierType(); in HWTEST_F() local
91 EXPECT_EQ(res, RSModifierType::ENV_FOREGROUND_COLOR_STRATEGY); in HWTEST_F()
138 auto res = clipModifier->CreateRenderModifier(); in HWTEST_F() local
139 EXPECT_NE(res, nullptr); in HWTEST_F()
/foundation/filemanagement/user_file_service/frameworks/js/napi/common/
H A Dfile_extension_info_napi.cpp46 napi_value res = nullptr; in FileInfoConstructor() local
49 napi_status status = napi_get_cb_info(env, info, &argc, args, &res, &data); in FileInfoConstructor()
55 return res; in FileInfoConstructor()
62 napi_value res = nullptr; in RootInfoConstructor() local
65 napi_status status = napi_get_cb_info(env, info, &argc, args, &res, &data); in RootInfoConstructor()
71 return res; in RootInfoConstructor()
/foundation/filemanagement/storage_service/services/storage_manager/volume/test/
H A Dvolume_manager_service_test.cpp166 int32_t res = vmService->GetVolumeById(volumeId, ve); in HWTEST_F() local
167 EXPECT_EQ(res, E_OK); in HWTEST_F()
195 int32_t res = vmService->GetVolumeById(volumeId, ve); in HWTEST_F() local
196 EXPECT_EQ(res, E_NON_EXIST); in HWTEST_F()
219 int32_t res = vmService->GetVolumeById(volumeId, ve); in HWTEST_F() local
220 EXPECT_EQ(res, E_NON_EXIST); in HWTEST_F()
/foundation/multimedia/image_effect/frameworks/native/utils/common/
H A Deffect_json_helper.cpp254 bool res = static_cast<bool>(cJSON_AddItemToObject(json_, key.c_str(), json)); in Put() local
255 EFFECT_JSON_FALSE_RETURN_WITH_WORK(res, DeleteJson(json, isAllowDelete)); in Put()
316 bool res = static_cast<bool>(cJSON_AddItemToArray(json_, json)); in Add() local
317 EFFECT_JSON_FALSE_RETURN_WITH_WORK(res, DeleteJson(json, isAllowDelete)); in Add()
386 bool res = in Replace() local
388 EFFECT_JSON_FALSE_RETURN_WITH_WORK(res, DeleteJson(json, jsonObject)); in Replace()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/stream/src/
H A Dfile_source_stream.cpp337 static bool DupFd(FILE *f, int &res) in DupFd() argument
339 res = fileno(f); in DupFd()
340 if (res < 0) { in DupFd()
344 res = dup(res); in DupFd()
345 if (res < 0) { in DupFd()
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/crop/
H A Dcrop_efilter.cpp53 ErrorCode res = CommonUtils::GetValue(CropEFilter::Parameter::KEY_REGION, values, area); in CalculateCropRegion() local
54 if (res != ErrorCode::SUCCESS || area == nullptr) { in CalculateCropRegion()
56 EFFECT_LOGW("CropEFilter::CalculateCropRegion get value fail! res=%{public}d. " in CalculateCropRegion()
57 "use default value, not execute crop!", res); in CalculateCropRegion()
208 ErrorCode res = CropToOutputBuffer(buffer, context, output); in Render() local
209 CHECK_AND_RETURN_RET_LOG(res == ErrorCode::SUCCESS, res, "filter(%{public}s) render fail", name_.c_str()); in Render()
/foundation/multimedia/player_framework/services/services/avmetadatahelper/ipc/
H A Davmetadatahelper_service_stub.cpp393 auto res = GetTimeByFrameIndex(index, time); in GetTimeByFrameIndex() local
394 CHECK_AND_RETURN_RET(res == MSERR_OK, res); in GetTimeByFrameIndex()
403 auto res = GetFrameIndexByTime(time, index); in GetFrameIndexByTime() local
404 CHECK_AND_RETURN_RET(res == MSERR_OK, res); in GetFrameIndexByTime()
/foundation/systemabilitymgr/safwk/test/services/safwk/unittest/
H A Dsystem_ability_test.cpp152 bool res = sysAby->RemoveSystemAbilityListener(LISTENER_ID); in HWTEST_F() local
153 EXPECT_EQ(res, true); in HWTEST_F()
166 bool res = SystemAbility::MakeAndRegisterAbility(new MockSaRealize(SAID, false)); in HWTEST_F() local
167 EXPECT_EQ(res, false); in HWTEST_F()
182 bool res = SystemAbility::MakeAndRegisterAbility(new MockSaRealize(SAID, false)); in HWTEST_F() local
183 EXPECT_EQ(res, true); in HWTEST_F()
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dinterface_manager.cpp436 int32_t res = AssembleArp(ipAddr, macAddr, ifName, req); in AddStaticArp() local
437 if (res != NETMANAGER_SUCCESS) { in AddStaticArp()
439 return res; in AddStaticArp()
457 int32_t res = AssembleArp(ipAddr, macAddr, ifName, req); in DelStaticArp() local
458 if (res != NETMANAGER_SUCCESS) { in DelStaticArp()
460 return res; in DelStaticArp()
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/
H A Djs_common_utils.cpp321 napi_value res = nullptr; in JsonStringify() local
323 status = napi_call_function(env, json, stringify, 1, argv, &res); in JsonStringify()
325 return std::make_tuple(napi_ok, res); in JsonStringify()
348 napi_value res = nullptr; in JsonParse() local
350 PRE_CHECK_RETURN_CORE(napi_call_function(env, json, parse, 1, argv, &res) == napi_ok, PRE_REVT_NOTHING, nullptr); in JsonParse()
351 return res; in JsonParse()
/foundation/distributeddatamgr/relational_store/frameworks/cj/src/
H A Drelational_store_utils.cpp28 char* res = static_cast<char*>(malloc(sizeof(char) * len)); in MallocCString() local
29 if (res == nullptr) { in MallocCString()
32 return std::char_traits<char>::copy(res, origin.c_str(), len); in MallocCString()
274 std::vector<NativeRdb::RdbStore::PRIKey> res = std::vector<NativeRdb::RdbStore::PRIKey>(); in CArrPRIKeyTypeToPRIKeyArray() local
276 res.push_back(RetPRIKeyTypeToVariant(cPrimaryKeys.head[i])); in CArrPRIKeyTypeToPRIKeyArray()
278 return res; in CArrPRIKeyTypeToPRIKeyArray()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dlistfile.cpp189 int32_t res = stat(stPath.c_str(), &info); in FilterFilesizeOver() local
190 if (res != 0) { in FilterFilesizeOver()
207 int32_t res = stat(stPath.c_str(), &info); in FilterLastModifyTime() local
208 if (res != 0) { in FilterLastModifyTime()
350 auto res = DoListFileVector2NV(env, string(path.get()), direntsRes, g_optionArgs.recursion); in Sync() local
352 return res; in Sync()
/foundation/window/window_manager/wmserver/src/
H A Davoid_area_controller.cpp146 bool res = UpdateAvoidAreaIfNeed(avoidArea, callingWindow, AvoidAreaType::TYPE_KEYBOARD); in AddOrRemoveKeyboard() local
147 if (res) { in AddOrRemoveKeyboard()
168 bool res = UpdateAvoidAreaIfNeed(GetAvoidAreaByType(appNode, type), appNode, type); in UpdateOverlayWindowIfNeed() local
169 if (type == AvoidAreaType::TYPE_KEYBOARD && res) { in UpdateOverlayWindowIfNeed()
183 bool res = UpdateAvoidAreaIfNeed(systemAvoidArea, node, static_cast<AvoidAreaType>(type)); in UpdateOverlayWindowIfNeed() local
184 if (res && type == static_cast<uint32_t>(AvoidAreaType::TYPE_KEYBOARD)) { in UpdateOverlayWindowIfNeed()
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_agent_test.cpp395 auto res = 0; in HWTEST_F() local
398 ASSERT_EQ(0, res); in HWTEST_F()
402 ASSERT_EQ(0, res); in HWTEST_F()
412 auto res = 0; in HWTEST_F() local
415 ASSERT_EQ(0, res); in HWTEST_F()
420 ASSERT_EQ(0, res); in HWTEST_F()
/kernel/linux/linux-5.10/drivers/acpi/
H A Dpptt.c83 * @local_level: passed res reflects this cache level
84 * @res: cache resource in the PPTT we want to walk
103 struct acpi_subtable_header *res, in acpi_pptt_walk_cache()
109 if (res->type != ACPI_PPTT_TYPE_CACHE) in acpi_pptt_walk_cache()
112 cache = (struct acpi_pptt_cache *) res; in acpi_pptt_walk_cache()
141 struct acpi_subtable_header *res; in acpi_find_cache_level() local
148 while ((res = acpi_get_pptt_resource(table_hdr, cpu_node, resource))) { in acpi_find_cache_level()
152 res, &ret, level, type); in acpi_find_cache_level()
101 acpi_pptt_walk_cache(struct acpi_table_header *table_hdr, unsigned int local_level, struct acpi_subtable_header *res, struct acpi_pptt_cache **found, unsigned int level, int type) acpi_pptt_walk_cache() argument
/kernel/linux/linux-5.10/drivers/firmware/psci/
H A Dpsci.c116 struct arm_smccc_res res; in __invoke_psci_fn_hvc() local
118 arm_smccc_hvc(function_id, arg0, arg1, arg2, 0, 0, 0, 0, &res); in __invoke_psci_fn_hvc()
119 return res.a0; in __invoke_psci_fn_hvc()
126 struct arm_smccc_res res; in __invoke_psci_fn_smc() local
128 arm_smccc_smc(function_id, arg0, arg1, arg2, 0, 0, 0, 0, &res); in __invoke_psci_fn_smc()
129 return res.a0; in __invoke_psci_fn_smc()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/
H A Docteon-usb.c501 struct resource *res; in dwc3_octeon_device_init() local
519 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in dwc3_octeon_device_init()
520 if (res == NULL) { in dwc3_octeon_device_init()
532 base = devm_ioremap_resource(&pdev->dev, res); in dwc3_octeon_device_init()
545 devm_release_mem_region(&pdev->dev, res->start, in dwc3_octeon_device_init()
546 resource_size(res)); in dwc3_octeon_device_init()
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Datomic.h109 unsigned long res; in atomic_cmpxchg_relaxed() local
119 : "=&r" (res), "=&r" (oldval), "+Qo" (ptr->counter) in atomic_cmpxchg_relaxed()
122 } while (res); in atomic_cmpxchg_relaxed()
407 unsigned long res; in atomic64_cmpxchg_relaxed() local
418 : "=&r" (res), "=&r" (oldval), "+Qo" (ptr->counter) in atomic64_cmpxchg_relaxed()
421 } while (res); in atomic64_cmpxchg_relaxed()
/kernel/linux/linux-5.10/arch/mips/txx9/generic/
H A Dsetup_tx4938.c336 struct resource res[] = { in tx4938_ata_init() local
369 res[0].start = ((ebccr >> 48) << 20) + 0x10000; in tx4938_ata_init()
370 res[0].end = res[0].start + 0x20000 - 1; in tx4938_ata_init()
373 platform_device_add_resources(pdev, res, ARRAY_SIZE(res)) || in tx4938_ata_init()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
H A Dfsl_msi.c402 struct resource res, msiir; in fsl_of_msi_probe() local
438 err = of_address_to_resource(dev->dev.of_node, 0, &res); in fsl_of_msi_probe()
445 msi->msi_regs = ioremap(res.start, resource_size(&res)); in fsl_of_msi_probe()
453 features->msiir_offset + (res.start & 0xfffff); in fsl_of_msi_probe()
461 (res.start & MSIIR_OFFSET_MASK); in fsl_of_msi_probe()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Datomic.h74 int res, t; \
81 : "=&r" (res), "=&r" (t), "+m" (v->counter) \
85 return res; \
366 s64 res, t; \
373 : "=&r" (res), "=&r" (t), "+m" (v->counter) \
377 return res; \

Completed in 27 milliseconds

1...<<251252253254255256257258259260>>...564