/base/msdp/device_status/test/unittest/utils/src/ |
H A D | utility_test.cpp | 76 bool ret = Utility::IsInteger(target); in HWTEST_F() local 77 ASSERT_TRUE(ret); in HWTEST_F() 90 bool ret = Utility::IsInteger(target); in HWTEST_F() local 91 ASSERT_TRUE(ret); in HWTEST_F() 104 bool ret = Utility::IsInteger(target); in HWTEST_F() local 105 ASSERT_TRUE(ret); in HWTEST_F() 118 bool ret = Utility::IsInteger(target); in HWTEST_F() local 119 ASSERT_TRUE(ret); in HWTEST_F() 132 bool ret = Utility::IsInteger(target); in HWTEST_F() local 133 ASSERT_TRUE(ret); in HWTEST_F() 146 bool ret = Utility::IsInteger(target); HWTEST_F() local 160 bool ret = Utility::IsInteger(target); HWTEST_F() local 174 bool ret = Utility::IsInteger(target); HWTEST_F() local 188 bool ret = Utility::IsInteger(target); HWTEST_F() local 202 bool ret = Utility::IsInteger(target); HWTEST_F() local 216 bool ret = Utility::IsInteger(target); HWTEST_F() local 230 bool ret = Utility::IsInteger(target); HWTEST_F() local 244 bool ret = Utility::IsInteger(target); HWTEST_F() local 928 bool ret = Utility::StartWith(exampleStr, examplePrefix); HWTEST_F() local 943 bool ret = Utility::StartWith(exampleStr, examplePrefix); HWTEST_F() local 958 bool ret = Utility::StartWith(exampleStr, examplePrefix); HWTEST_F() local 973 bool ret = Utility::StartWith(exampleStr, examplePrefix); HWTEST_F() local 988 bool ret = Utility::StartWith(exampleStr, examplePrefix); HWTEST_F() local 1003 bool ret = Utility::StartWith(exampleStr, examplePrefix); HWTEST_F() local 1018 bool ret = Utility::StartWith(exampleStr, examplePrefix); HWTEST_F() local 1033 bool ret = Utility::StartWith(exampleStr, examplePrefix); HWTEST_F() local 1048 bool ret = Utility::StartWith(exampleStr, examplePrefix); HWTEST_F() local 1063 bool ret = Utility::StartWith(exampleStr, examplePrefix); HWTEST_F() local 1078 bool ret = Utility::StartWith(exampleStr, examplePrefix); HWTEST_F() local 1093 bool ret = Utility::StartWith(exampleStr, examplePrefix); HWTEST_F() local [all...] |
/foundation/resourceschedule/work_scheduler/services/test/src/ |
H A D | workschedulerservice_test.cpp | 139 int32_t ret;
in HWTEST_F() local 143 ret = workSchedulerService_->StartWork(workinfo);
in HWTEST_F() 144 EXPECT_EQ(ret, E_SERVICE_NOT_READY);
in HWTEST_F() 147 ret = workSchedulerService_->StartWork(workinfo);
in HWTEST_F() 148 EXPECT_EQ(ret, E_CHECK_WORKINFO_FAILED);
in HWTEST_F() 151 ret = workSchedulerService_->StartWork(workinfo);
in HWTEST_F() 152 EXPECT_EQ(ret, E_REPEAT_CYCLE_TIME_ERR);
in HWTEST_F() 155 ret = workSchedulerService_->StartWork(workinfo);
in HWTEST_F() 156 EXPECT_EQ(ret, 0);
in HWTEST_F() 157 ret in HWTEST_F() 169 int32_t ret; HWTEST_F() local 196 int32_t ret; HWTEST_F() local 223 int32_t ret; HWTEST_F() local 246 auto ret = workSchedulerService_->IsLastWorkTimeout(1, result); HWTEST_F() local 259 auto ret = workSchedulerService_->ObtainAllWorks(workInfos); HWTEST_F() local 273 auto ret = workSchedulerService_->GetWorkStatus(workId, workInfo); HWTEST_F() local 287 auto ret = workSchedulerService_->GetAllRunningWorks(workInfos); HWTEST_F() local 820 bool ret = workSchedulerService_->GetAppIndexAndBundleNameByUid(uid, appIndex, bundleName); HWTEST_F() local 867 bool ret = workSchedulerService_->CheckExtensionInfos(workInfo, uid); HWTEST_F() local 879 bool ret = workSchedulerService_->InitBgTaskSubscriber(); HWTEST_F() local 891 bool ret = workSchedulerService_->AllowDump(); HWTEST_F() local 926 bool ret = workSchedulerService_->CheckEffiResApplyInfo(1); HWTEST_F() local 969 bool ret = workSchedulerService_->IsDebugApp("bundleName"); HWTEST_F() local [all...] |
/foundation/deviceprofile/device_info_manager/old/services/core/src/ |
H A D | distributed_device_profile_stub.cpp | 227 int32_t ret = NotifyAclEventInner(code, data, reply, option); in OnRemoteRequest() local 228 return ret; in OnRemoteRequest() 234 int32_t ret = NotifyOldEventInner(code, data, reply, option); in OnRemoteRequest() local 235 return ret; in OnRemoteRequest() 256 int32_t ret = GetDeviceProfile(udid, serviceId, profile); in GetDeviceProfileInner() local 257 if (!(reply.WriteInt32(ret) && profile.Marshalling(reply))) { in GetDeviceProfileInner() 353 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().PutAccessControlProfile(accessControlProfile); in PutAccessControlProfileInner() local 354 if (!reply.WriteInt32(ret)) { in PutAccessControlProfileInner() 369 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().UpdateAccessControlProfile(accessControlProfile); in UpdateAccessControlProfileInner() local 370 if (!reply.WriteInt32(ret)) { in UpdateAccessControlProfileInner() 383 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().GetTrustDeviceProfile(deviceId, trustDeviceProfile); GetTrustDeviceProfileInner() local 399 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().GetAllTrustDeviceProfile(trustDeviceProfiles); GetAllTrustDeviceProfileInner() local 420 int32_t ret = GetAccessControlProfileInner() local 437 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().GetAllAccessControlProfile(accessControlProfiles); GetAllAccessControlProfileInner() local 454 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().DeleteAccessControlProfile(accessControlId); DeleteAccessControlProfileInner() local 470 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().PutServiceProfile(serviceProfile); PutServiceProfileInner() local 485 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().PutServiceProfileBatch(serviceProfiles); PutServiceProfileBatchInner() local 500 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().PutCharacteristicProfile(charProfile); PutCharacteristicProfileInner() local 515 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().PutCharacteristicProfileBatch(charProfiles); PutCharacteristicProfileBatchInner() local 528 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().GetDeviceProfile(deviceId, deviceProfile); GetDeviceProfileNewInner() local 547 int32_t ret = GetServiceProfileInner() local 569 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().GetCharacteristicProfile(deviceId, serviceName, GetCharacteristicProfileInner() local 588 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().DeleteServiceProfile(deviceId, serviceName); DeleteServiceProfileInner() local 604 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().DeleteCharacteristicProfile(deviceId, serviceName, DeleteCharacteristicProfileInner() local 620 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().SubscribeDeviceProfile(subscribeInfo); SubscribeDeviceProfileInner() local 636 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().UnSubscribeDeviceProfile(subscribeInfo); UnSubscribeDeviceProfileInner() local 652 int32_t ret = SyncDeviceProfileNewInner() local 669 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().SendSubscribeInfos(listenerMap); SendSubscribeInfosInner() local 686 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().SubscribeDeviceProfileInited(saId, SubscribeDeviceProfileInitedInner() local 699 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().UnSubscribeDeviceProfileInited(saId); UnSubscribeDeviceProfileInitedInner() local [all...] |
/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/multimedia_codec/decoder/ |
H A D | decode_data_process_common.cpp | 124 int32_t ret = ConfigureVideoDecoder(); in InitDecoder() local 125 if (ret != DCAMERA_OK) { in InitDecoder() 127 return ret; in InitDecoder() 130 ret = StartVideoDecoder(); in InitDecoder() 131 if (ret != DCAMERA_OK) { in InitDecoder() 137 return ret; in InitDecoder() 144 int32_t ret = InitDecoderMetadataFormat(); in ConfigureVideoDecoder() local 145 if (ret != DCAMERA_OK) { in ConfigureVideoDecoder() 146 DHLOGE("Init video decoder metadata format failed. ret %{public}d.", ret); in ConfigureVideoDecoder() 240 GSError ret = decodeConsumerSurface_->SetDefaultUsage(SurfaceBufferUsage::BUFFER_USAGE_MEM_MMZ_CACHE | SetDecoderOutputSurface() local 280 int32_t ret = videoDecoder_->Prepare(); StartVideoDecoder() local 301 int32_t ret = videoDecoder_->Flush(); StopVideoDecoder() local 327 int32_t ret = StopVideoDecoder(); ReleaseVideoDecoder() local 346 int32_t ret = decodeConsumerSurface_->UnregisterConsumerListener(); ReleaseDecoderSurface() local 488 int32_t ret = videoDecoder_->QueueInputBuffer(index, bufferInfo, FeedDecoderInputBuffer() local 562 GSError ret = surface->AcquireBuffer(surfaceBuffer, acquireFence, timeStamp, damage); GetDecoderOutputBuffer() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/nx/ |
H A D | nx-842-pseries.c | 286 int ret = 0; in nx842_pseries_compress() local 351 ret = vio_h_cop_sync(local_devdata->vdev, &op); in nx842_pseries_compress() 354 if (ret) { in nx842_pseries_compress() 355 dev_dbg(dev, "%s: vio_h_cop_sync error (ret=%d, hret=%ld)\n", in nx842_pseries_compress() 356 __func__, ret, op.hcall_err); in nx842_pseries_compress() 357 ret = -EIO; in nx842_pseries_compress() 362 ret = nx842_validate_result(dev, &csbcpb->csb); in nx842_pseries_compress() 363 if (ret) in nx842_pseries_compress() 370 if (ret) in nx842_pseries_compress() 378 return ret; in nx842_pseries_compress() 416 int ret = 0; nx842_pseries_decompress() local 585 int ret = 0; nx842_OF_upd_maxsglen() local 633 int ret = 0; nx842_OF_upd_maxsyncop() local 720 int ret = 0; nx842_OF_upd() local 980 int ret = 0; nx842_probe() local 1089 int ret; nx842_pseries_init() local [all...] |
/kernel/linux/linux-5.10/arch/s390/crypto/ |
H A D | prng.c | 137 int n, ret = 0; in generate_entropy() local 173 ret += n; in generate_entropy() 181 return ret; in generate_entropy() 370 int ret, datalen, seedlen; in prng_sha512_instantiate() local 390 ret = prng_sha512_selftest(); in prng_sha512_instantiate() 391 if (ret) in prng_sha512_instantiate() 411 ret = generate_entropy(seed, seedlen); in prng_sha512_instantiate() 412 if (ret != seedlen) in prng_sha512_instantiate() 438 return ret; in prng_sha512_instantiate() 451 int ret, seedle in prng_sha512_reseed() local 478 int ret; prng_sha512_generate() local 515 int chunk, n, ret = 0; prng_tdes_read() local 593 int n, ret = 0; prng_sha512_read() local 823 int ret; prng_init() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/zte/ |
H A D | clk-zx296718.c | 566 int i, ret; in top_clocks_init() local 578 ret = clk_hw_register(NULL, &zx296718_pll_clk[i].hw); in top_clocks_init() 579 if (ret) in top_clocks_init() 589 ret = clk_hw_register(NULL, &top_ffactor_clk[i].factor.hw); in top_clocks_init() 590 if (ret) in top_clocks_init() 601 ret = clk_hw_register(NULL, &top_mux_clk[i].mux.hw); in top_clocks_init() 602 if (ret) in top_clocks_init() 613 ret = clk_hw_register(NULL, &top_gate_clk[i].gate.hw); in top_clocks_init() 614 if (ret) in top_clocks_init() 625 ret in top_clocks_init() 752 int i, ret; lsp0_clocks_init() local 858 int i, ret; lsp1_clocks_init() local 973 int i, ret; audio_clocks_init() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
H A D | camss-video.c | 297 int ret; in video_get_subdev_format() local 306 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); in video_get_subdev_format() 307 if (ret) in video_get_subdev_format() 308 return ret; in video_get_subdev_format() 310 ret = video_find_format(fmt.format.code, in video_get_subdev_format() 313 if (ret < 0) in video_get_subdev_format() 314 return ret; in video_get_subdev_format() 319 &video->formats[ret], video->bpl_alignment); in video_get_subdev_format() 419 int ret; in video_check_format() local 422 ret in video_check_format() 443 int ret; video_start_streaming() local 744 int ret; video_s_fmt() local 812 int ret; video_open() local 897 int ret; msm_video_init_format() local 934 int ret; msm_video_register() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | sysfs.c | 64 int ret; in read_cc_table_bin() local 69 ret = ppd->total_cct_entry * sizeof(struct ib_cc_table_entry_shadow) in read_cc_table_bin() 72 if (pos > ret) in read_cc_table_bin() 75 if (count > ret - pos) in read_cc_table_bin() 76 count = ret - pos; in read_cc_table_bin() 113 int ret; in read_cc_setting_bin() local 118 ret = sizeof(struct opa_congestion_setting_attr_shadow); in read_cc_setting_bin() 120 if (pos > ret) in read_cc_setting_bin() 122 if (count > ret - pos) in read_cc_setting_bin() 123 count = ret in read_cc_setting_bin() 513 int ret; board_id_show() local 584 int ret; chip_reset_store() local 615 int ret; tempsense_show() local 661 int ret; hfi1_create_port_files() local 840 int i, j, ret; hfi1_verbs_register_sysfs() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_mqprio.c | 16 int ret; in cxgb4_mqprio_validate() local 38 ret = t4_get_link_params(pi, NULL, &speed, NULL); in cxgb4_mqprio_validate() 39 if (ret) { in cxgb4_mqprio_validate() 40 netdev_err(dev, "Failed to get link speed, ret: %d\n", ret); in cxgb4_mqprio_validate() 155 int ret, msix = 0; in cxgb4_mqprio_alloc_hw_resources() local 190 ret = msix; in cxgb4_mqprio_alloc_hw_resources() 208 ret = t4_sge_alloc_rxq(adap, &eorxq->rspq, false, in cxgb4_mqprio_alloc_hw_resources() 212 if (ret) in cxgb4_mqprio_alloc_hw_resources() 217 ret in cxgb4_mqprio_alloc_hw_resources() 334 int ret; cxgb4_mqprio_alloc_tc() local 386 int ret; cxgb4_mqprio_class_bind() local 435 int eotid, ret; cxgb4_mqprio_enable_offload() local 578 int ret; cxgb4_setup_tc_mqprio() local 657 int ret = 0; cxgb4_init_tc_mqprio() local [all...] |
/kernel/linux/linux-5.10/drivers/pinctrl/actions/ |
H A D | pinctrl-owl.c | 257 int ret = 0; in owl_pin_config_get() local 265 ret = owl_pad_pinconf_reg(info, param, ®, &bit, &width); in owl_pin_config_get() 266 if (ret) in owl_pin_config_get() 267 return ret; in owl_pin_config_get() 274 ret = pctrl->soc->padctl_val2arg(info, param, &arg); in owl_pin_config_get() 275 if (ret) in owl_pin_config_get() 276 return ret; in owl_pin_config_get() 280 return ret; in owl_pin_config_get() 293 int ret = 0, i; in owl_pin_config_set() local 301 ret in owl_pin_config_set() 430 int ret; owl_group_config_get() local 459 int ret, i; owl_group_config_set() local 870 int ret, i, j, offset; owl_gpio_init() local 922 int ret, i; owl_pinctrl_probe() local [all...] |
/kernel/linux/linux-5.10/sound/soc/intel/boards/ |
H A D | kbl_da7219_max98927.c | 70 int ret = 0; in platform_clock_control() local 79 ret = snd_soc_dai_set_sysclk(codec_dai, DA7219_CLKSRC_MCLK, 24576000, in platform_clock_control() 81 if (ret) { in platform_clock_control() 83 return ret; in platform_clock_control() 87 ret = snd_soc_dai_set_pll(codec_dai, 0, in platform_clock_control() 89 if (ret) in platform_clock_control() 90 dev_err(card->dev, "failed to stop PLL: %d\n", ret); in platform_clock_control() 92 ret = snd_soc_dai_set_pll(codec_dai, 0, DA7219_SYSCLK_PLL_SRM, in platform_clock_control() 94 if (ret) in platform_clock_control() 95 dev_err(card->dev, "failed to start PLL: %d\n", ret); in platform_clock_control() 180 int ret, j; kabylake_ssp0_hw_params() local 225 int j, ret; kabylake_ssp0_trigger() local 341 int ret; kabylake_da7219_codec_init() local 377 int ret; kabylake_dmic_init() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_mqprio.c | 16 int ret; in cxgb4_mqprio_validate() local 38 ret = t4_get_link_params(pi, NULL, &speed, NULL); in cxgb4_mqprio_validate() 39 if (ret) { in cxgb4_mqprio_validate() 40 netdev_err(dev, "Failed to get link speed, ret: %d\n", ret); in cxgb4_mqprio_validate() 155 int ret, msix = 0; in cxgb4_mqprio_alloc_hw_resources() local 190 ret = msix; in cxgb4_mqprio_alloc_hw_resources() 208 ret = t4_sge_alloc_rxq(adap, &eorxq->rspq, false, in cxgb4_mqprio_alloc_hw_resources() 212 if (ret) in cxgb4_mqprio_alloc_hw_resources() 217 ret in cxgb4_mqprio_alloc_hw_resources() 334 int ret; cxgb4_mqprio_alloc_tc() local 386 int ret; cxgb4_mqprio_class_bind() local 435 int eotid, ret; cxgb4_mqprio_enable_offload() local 578 int ret; cxgb4_setup_tc_mqprio() local 657 int ret = 0; cxgb4_init_tc_mqprio() local [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/actions/ |
H A D | pinctrl-owl.c | 257 int ret = 0; in owl_pin_config_get() local 265 ret = owl_pad_pinconf_reg(info, param, ®, &bit, &width); in owl_pin_config_get() 266 if (ret) in owl_pin_config_get() 267 return ret; in owl_pin_config_get() 274 ret = pctrl->soc->padctl_val2arg(info, param, &arg); in owl_pin_config_get() 275 if (ret) in owl_pin_config_get() 276 return ret; in owl_pin_config_get() 280 return ret; in owl_pin_config_get() 293 int ret = 0, i; in owl_pin_config_set() local 301 ret in owl_pin_config_set() 430 int ret; owl_group_config_get() local 459 int ret, i; owl_group_config_set() local 886 int ret, i, j, offset; owl_gpio_init() local 931 int ret, i; owl_pinctrl_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/perf/hisilicon/ |
H A D | hisi_pcie_pmu.c | 610 irqreturn_t ret = IRQ_NONE; in hisi_pcie_pmu_irq() local 628 ret = IRQ_HANDLED; in hisi_pcie_pmu_irq() 631 return ret; in hisi_pcie_pmu_irq() 636 int irq, ret; in hisi_pcie_pmu_irq_register() local 638 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_MSI); in hisi_pcie_pmu_irq_register() 639 if (ret < 0) { in hisi_pcie_pmu_irq_register() 640 pci_err(pdev, "Failed to enable MSI vectors: %d\n", ret); in hisi_pcie_pmu_irq_register() 641 return ret; in hisi_pcie_pmu_irq_register() 645 ret = request_irq(irq, hisi_pcie_pmu_irq, IRQF_NOBALANCING | IRQF_NO_THREAD, DRV_NAME, in hisi_pcie_pmu_irq_register() 647 if (ret) { in hisi_pcie_pmu_irq_register() 824 int ret; hisi_pcie_init_pmu() local 880 int ret; hisi_pcie_init_dev() local 902 int ret; hisi_pcie_pmu_probe() local 942 int ret; hisi_pcie_module_init() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | base.c | 167 int ret; in nvkm_cstate_prog() local 179 ret = nvkm_therm_cstate(therm, pstate->fanspeed, +1); in nvkm_cstate_prog() 180 if (ret && ret != -ENODEV) { in nvkm_cstate_prog() 181 nvkm_error(subdev, "failed to raise fan speed: %d\n", ret); in nvkm_cstate_prog() 182 return ret; in nvkm_cstate_prog() 187 ret = nvkm_volt_set_id(volt, cstate->voltage, in nvkm_cstate_prog() 189 if (ret && ret != -ENODEV) { in nvkm_cstate_prog() 190 nvkm_error(subdev, "failed to raise voltage: %d\n", ret); in nvkm_cstate_prog() 273 int ret, idx = 0; nvkm_pstate_prog() local 325 int ret = nvkm_pstate_prog(clk, pstate); nvkm_pstate_work() local 499 int ret = 1; nvkm_clk_nstate() local 523 int ret = nvkm_clk_ustate_update(clk, req); nvkm_clk_ustate() local 594 int ret; nvkm_clk_init() local 653 int ret, idx, arglen; nvkm_clk_ctor() local [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/boards/ |
H A D | kbl_da7219_max98927.c | 69 int ret = 0; in platform_clock_control() local 78 ret = snd_soc_dai_set_sysclk(codec_dai, DA7219_CLKSRC_MCLK, 24576000, in platform_clock_control() 80 if (ret) { in platform_clock_control() 82 return ret; in platform_clock_control() 86 ret = snd_soc_dai_set_pll(codec_dai, 0, in platform_clock_control() 88 if (ret) in platform_clock_control() 89 dev_err(card->dev, "failed to stop PLL: %d\n", ret); in platform_clock_control() 91 ret = snd_soc_dai_set_pll(codec_dai, 0, DA7219_SYSCLK_PLL_SRM, in platform_clock_control() 93 if (ret) in platform_clock_control() 94 dev_err(card->dev, "failed to start PLL: %d\n", ret); in platform_clock_control() 199 int ret, j; kabylake_ssp0_hw_params() local 244 int j, ret; kabylake_ssp0_trigger() local 360 int ret; kabylake_da7219_codec_init() local 398 int ret; kabylake_dmic_init() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | proresdec2.c | 143 int ret = 0; in decode_init() local 182 ret = ff_proresdsp_init(&ctx->prodsp, avctx); in decode_init() 183 if (ret < 0) { in decode_init() 185 return ret; in decode_init() 204 return ret; in decode_init() 233 int ret; in decode_frame_header() local 237 if ((ret = ff_set_dimensions(avctx, width, height)) < 0) in decode_frame_header() 238 return ret; in decode_frame_header() 277 int ret; in decode_frame_header() local 287 if ((ret in decode_frame_header() 553 int ret; decode_slice_luma() local 587 int ret; decode_slice_chroma() local 657 int ret; decode_slice_thread() local 787 int frame_hdr_size, pic_size, ret; decode_frame() local [all...] |
/third_party/mbedtls/3rdparty/p256-m/p256-m/ |
H A D | p256-m.c | 1015 int ret; in point_from_bytes() local 1017 ret = m256_from_bytes(x, p, &p256_p); in point_from_bytes() 1018 if (ret != 0) in point_from_bytes() 1019 return ret; in point_from_bytes() 1021 ret = m256_from_bytes(y, p + 32, &p256_p); in point_from_bytes() 1022 if (ret != 0) in point_from_bytes() 1023 return ret; in point_from_bytes() 1161 int ret; in p256_generate_random() local 1162 ret = psa_generate_random(output, output_size); in p256_generate_random() 1164 if (ret ! in p256_generate_random() 1183 int ret; scalar_gen_with_pub() local 1215 int ret = scalar_gen_with_pub(priv, s, x, y); p256_gen_keypair() local 1239 int ret; p256_ecdh_shared_secret() local 1334 int ret; p256_ecdsa_sign() local 1405 int ret; p256_ecdsa_verify() local 1478 int ret = point_from_bytes(x, y, pub); p256_validate_pubkey() local 1486 int ret = scalar_from_bytes(s, priv); p256_validate_privkey() local 1494 int ret; p256_public_from_private() local [all...] |
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_manager.c | 682 int32_t ret = SoftBusMutexLock(&g_proxyChannelList->lock); in TransProxyGetReqIdAndStatus() local 683 TRANS_CHECK_AND_RETURN_RET_LOGE(ret == SOFTBUS_OK, SOFTBUS_LOCK_ERR, TRANS_CTRL, "lock mutex fail!"); in TransProxyGetReqIdAndStatus() 765 int32_t ret = TransProxyUnPackHandshakeErrMsg(msg->data, errCode, msg->dateLen); in TransProxyHandshakeUnpackErrMsg() local 766 if (ret == SOFTBUS_OK) { in TransProxyHandshakeUnpackErrMsg() 797 return ret; in TransProxyHandshakeUnpackErrMsg() 807 int32_t ret = TransProxyUnpackHandshakeAckMsg(msg->data, info, msg->dateLen, fastDataSize); in TransProxyHandshakeUnpackRightMsg() local 808 if (ret != SOFTBUS_OK) { in TransProxyHandshakeUnpackRightMsg() 827 return ret; in TransProxyHandshakeUnpackRightMsg() 907 int32_t ret = LnnGetLocalStrInfo(key, chan->appInfo.myData.deviceId, sizeof(chan->appInfo.myData.deviceId)); in TransProxyGetLocalInfo() local 908 TRANS_CHECK_AND_RETURN_RET_LOGE(ret in TransProxyGetLocalInfo() 989 TransProxyReportAuditEvent(int32_t ret) TransProxyReportAuditEvent() argument 1010 int32_t ret = TransProxyUnpackHandshakeMsg(msg->data, chan, msg->dateLen); TransProxyFillChannelInfo() local 1068 int32_t ret = TransProxyGetAppInfoByChanId(msg->msgHead.myId, &appInfo); TransProxyProcessHandshakeAuthMsg() local 1146 int32_t ret = OnProxyChannelOpened(chan->channelId, &(chan->appInfo), PROXY_CHANNEL_SERVER); TransProxyProcessHandshake() local 1183 int32_t ret = TransProxyFillChannelInfo(msg, chan); TransProxyProcessHandshakeMsg() local 1230 int32_t ret = SoftBusMutexLock(&g_proxyChannelList->lock); TransGetRemoteDeviceIdByReqId() local 1255 int32_t ret = GetAuthConnInfoByConnId(msg->connId, &authConnInfo); TransProxyProcessReNegotiateMsg() local 1494 int32_t ret = GenerateRandomStr(chan->identity, sizeof(chan->identity)); TransProxyCreateChanInfo() local 1528 int32_t ret = TransProxyHandshake(channelInfo); TransProxyNegoSessionKeySucc() local 1584 int32_t ret = GetAuthConnInfoByConnId(channelInfo->connId, &authConnInfo); TransProxyOpenProxyChannelSuccess() local 1743 int ret = NotifyNearByOnMigrateEvents(peerNetworkId, WIFI_STA, true); TransWifiOnLineProc() local 1758 int ret = NotifyNearByOnMigrateEvents(peerNetworkId, WIFI_STA, false); TransWifiOffLineProc() local 1816 int32_t ret = TransProxySetCallBack(cb); TransProxyManagerInitInner() local 1829 int32_t ret = TransProxyManagerInitInner(cb); TransProxyManagerInit() local 1863 int32_t ret = TransProxyGetChanByChanId(chanId, chan); TransProxyGetNameByChanId() local 2058 int32_t ret = SoftBusGenerateStrHash((const unsigned char *)deviceId, strlen(deviceId), udidHash); TransProxyUdpateNewPeerUdidHash() local 2075 int32_t ret = TransProxyGetProxyChannelInfoByChannelId(channelId, &chan); TransProxyGetConnOptionByChanId() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | pcie.c | 384 int ret; in mwifiex_pcie_probe() local 411 ret = mwifiex_pcie_probe_of(&pdev->dev); in mwifiex_pcie_probe() 412 if (ret) in mwifiex_pcie_probe() 413 return ret; in mwifiex_pcie_probe() 435 int ret; in mwifiex_pcie_remove() local 447 ret = mwifiex_read_reg(adapter, reg->fw_status, &fw_status); in mwifiex_pcie_remove() 545 int ret; in mwifiex_pcie_reset_done() local 557 ret = mwifiex_reinit_sw(adapter); in mwifiex_pcie_reset_done() 558 if (ret) in mwifiex_pcie_reset_done() 559 dev_err(&pdev->dev, "reinit failed: %d\n", ret); in mwifiex_pcie_reset_done() 1064 int ret; mwifiex_pcie_create_rxbd_ring() local 1137 int ret; mwifiex_pcie_create_evtbd_ring() local 1434 int ret; mwifiex_pcie_send_data() local 1573 int ret = 0; mwifiex_pcie_process_recv_data() local 1796 int ret = 0; mwifiex_pcie_send_cmd() local 2122 int ret = 0; mwifiex_pcie_event_complete() local 2202 int ret = 0; mwifiex_extract_wifi_fw() local 2298 int ret; mwifiex_prog_fw_w_helper() local 2469 int ret = 0; mwifiex_check_fw_status() local 2523 int ret = 0; mwifiex_check_winner_status() local 2653 int ret; mwifiex_process_int_status() local 2806 int ret, tries; mwifiex_pcie_rdwr_firmware() local 2857 int ret; mwifiex_pcie_fw_dump() local 3036 int ret; mwifiex_pcie_alloc_buffers() local 3107 int ret; mwifiex_init_pcie() local 3182 int ret; mwifiex_cleanup_pcie() local 3220 int ret, i, j; mwifiex_pcie_request_irq() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_kms.c | 275 int ret; in vmw_du_get_cursor_mob() local 304 ret = vmw_bo_create_and_populate(dev_priv, size, in vmw_du_get_cursor_mob() 308 if (ret != 0) in vmw_du_get_cursor_mob() 309 return ret; in vmw_du_get_cursor_mob() 312 ret = ttm_bo_reserve(&vps->cursor.bo->tbo, false, false, NULL); in vmw_du_get_cursor_mob() 313 if (ret != 0) in vmw_du_get_cursor_mob() 316 ret = vmw_execbuf_fence_commands(NULL, dev_priv, &fence, NULL); in vmw_du_get_cursor_mob() 317 if (ret != 0) { in vmw_du_get_cursor_mob() 330 return ret; in vmw_du_get_cursor_mob() 378 int i, ret; in vmw_kms_cursor_snoop() local 581 int ret; vmw_du_cursor_plane_map_cm() local 622 int ret = 0; vmw_du_cursor_plane_unmap_cm() local 692 int ret = 0; vmw_du_cursor_plane_prepare_fb() local 844 int ret; vmw_du_primary_plane_atomic_check() local 883 int ret = 0; vmw_du_cursor_plane_atomic_check() local 1288 int ret; vmw_kms_new_framebuffer_surface() local 1431 int ret; vmw_create_bo_proxy() local 1497 int ret; vmw_kms_new_framebuffer_bo() local 1583 int ret; vmw_kms_new_framebuffer() local 1638 int ret; vmw_kms_fb_create() local 1775 int ret = drm_modeset_lock(&crtc->mutex, state->acquire_ctx); vmw_crtc_state_and_lock() local 1850 int ret = 0; vmw_kms_check_topology() local 1944 int i, ret; vmw_kms_atomic_check_modeset() local 1997 int ret; vmw_kms_present() local 2039 int ret; vmw_kms_init() local 2074 int ret = 0; vmw_kms_close() local 2094 int ret = 0; vmw_kms_cursor_bypass_ioctl() local 2173 int ret; vmw_du_update_layout() local 2511 int ret, i; vmw_kms_update_layout_ioctl() local 2728 int ret = 0; vmw_kms_helper_validation_finish() local 2843 int ret = PTR_ERR(dev_priv->suspend_state); vmw_kms_suspend() local 2867 int ret; vmw_kms_resume() local 2911 int ret; vmw_du_helper_plane_update() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | dashdec.c | 186 int ret = 0; in get_utc_date_time_insec() local 193 ret = sscanf(datetime, "%d-%d-%dT%d:%d:%fZ", &year, &month, &day, &hour, &minute, &second); in get_utc_date_time_insec() 195 if (ret != 6) { in get_utc_date_time_insec() 408 int ret; in open_url() local 446 ret = avio_open2(pb, url, AVIO_FLAG_READ, c->interrupt_callback, &tmp); in open_url() 447 if (ret >= 0) { in open_url() 465 return ret; in open_url() 835 int32_t ret = 0; in parse_manifest_representation() local 896 ret = resolve_content_path(s, url, &c->max_url_size, baseurl_nodes, 4); in parse_manifest_representation() 900 if (ret in parse_manifest_representation() 1121 int ret = 0; parse_manifest_adaptationset() local 1202 int ret = 0; parse_manifest() local 1485 int ret = 0, i; refresh_manifest() local 1668 int ret; read_from_url() local 1685 int ret = 0; open_input() local 1719 int ret; update_init_section() local 1771 int ret = 0; read_data() local 1857 int ret = 0, i; reopen_demux_for_component() local 1928 int ret = 0; open_demux_for_component() local 2028 int ret = 0; dash_read_header() local 2167 int ret = 0, i; dash_read_packet() local 2240 int ret = 0; dash_seek() local 2304 int ret = 0, i; dash_read_seek() local [all...] |
/third_party/backends/backend/ |
H A D | hp5590.c | 303 SANE_Status ret; in calc_image_params() local 315 ret = hp5590_calc_pixel_bits (scanner->dpi, scanner->depth, &_pixel_bits); in calc_image_params() 316 if (ret != SANE_STATUS_GOOD) in calc_image_params() 317 return ret; in calc_image_params() 368 SANE_Status ret; in attach_usb_device() local 376 ret = hp5590_model_def (hp_scanner_type, &hp5590_model); in attach_usb_device() 377 if (ret != SANE_STATUS_GOOD) in attach_usb_device() 378 return ret; in attach_usb_device() 399 ret = hp5590_read_part_number (dn, hp5590_model->proto_flags); in attach_usb_device() 400 if (ret ! in attach_usb_device() 477 SANE_Status ret; sane_init() local 892 SANE_Status ret = hp5590_read_buttons (scanner->dn, scanner->proto_flags, &status); read_button_pressed() local 914 SANE_Status ret = hp5590_read_lcd_and_led (scanner->dn, scanner->proto_flags, lcd_counter, color_led); read_lcd_and_led_values() local 933 SANE_Status ret = hp5590_is_data_available (scanner->dn, scanner->proto_flags); read_doc_in_adf_value() local 1069 SANE_Status ret = read_button_pressed(scanner, &button_pressed); sane_control_option() local 1113 SANE_Status ret = read_lcd_and_led_values(scanner, &lcd_counter, &color_led); sane_control_option() local 1130 SANE_Status ret = read_lcd_and_led_values(scanner, &lcd_counter, &color_led); sane_control_option() local 1139 SANE_Status ret = read_doc_in_adf_value(scanner, &doc_in_adf); sane_control_option() local 1417 SANE_Status ret; sane_get_parameters() local 1477 SANE_Status ret; sane_start() local 1700 SANE_Status ret; convert_gray_and_lineart() local 1884 SANE_Status ret; convert_to_rgb() local 2150 SANE_Status ret; sane_read_internal() local 2446 SANE_Status ret; sane_read() local 2542 SANE_Status ret; sane_cancel() local [all...] |
/base/useriam/face_auth/test/unittest/ |
H A D | face_auth_all_in_one_executor_hdi_unit_test.cpp | 92 auto ret = executorHdi->GetExecutorInfo(info); in HWTEST_F() local 96 EXPECT_TRUE(ret == IamResultCode::SUCCESS); in HWTEST_F() 114 auto ret = executorHdi->GetExecutorInfo(info); in HWTEST_F() local 115 EXPECT_TRUE(ret == pair.second); in HWTEST_F() 139 auto ret = executorHdi->GetExecutorInfo(info); in HWTEST_F() local 140 EXPECT_TRUE(ret == pair.second.second); in HWTEST_F() 141 if (ret == IamResultCode::SUCCESS) { in HWTEST_F() 171 auto ret = executorHdi->GetExecutorInfo(info); in HWTEST_F() local 172 EXPECT_TRUE(ret == pair.second.second); in HWTEST_F() 173 if (ret in HWTEST_F() 204 auto ret = executorHdi->GetExecutorInfo(info); HWTEST_F() local 216 auto ret = executorHdi->GetExecutorInfo(info); HWTEST_F() local 239 auto ret = HWTEST_F() local 248 auto ret = executorHdi->OnRegisterFinish(std::vector<uint64_t>(), std::vector<uint8_t>(), std::vector<uint8_t>()); HWTEST_F() local 265 auto ret = HWTEST_F() local 283 auto ret = executorHdi->Enroll(0, UserAuth::EnrollParam { 0, std::vector<uint8_t>() }, executeCallback); HWTEST_F() local 294 auto ret = executorHdi->Enroll(0, UserAuth::EnrollParam { 0, std::vector<uint8_t>() }, nullptr); HWTEST_F() local 303 auto ret = executorHdi->Enroll(0, UserAuth::EnrollParam { 0, std::vector<uint8_t>() }, executeCallback); HWTEST_F() local 320 auto ret = executorHdi->Authenticate(0, HWTEST_F() local 332 auto ret = executorHdi->Authenticate(0, HWTEST_F() local 342 auto ret = executorHdi->Authenticate(0, HWTEST_F() local 358 auto ret = executorHdi->Identify(0, UserAuth::IdentifyParam { 0, std::vector<uint8_t>() }, executeCallback); HWTEST_F() local 369 auto ret = executorHdi->Identify(0, UserAuth::IdentifyParam { 0, std::vector<uint8_t>() }, nullptr); HWTEST_F() local 378 auto ret = executorHdi->Identify(0, UserAuth::IdentifyParam { 0, std::vector<uint8_t>() }, executeCallback); HWTEST_F() local 391 auto ret = executorHdi->Delete(std::vector<uint64_t>()); HWTEST_F() local 399 auto ret = executorHdi->Delete(std::vector<uint64_t>()); HWTEST_F() local 412 auto ret = executorHdi->Cancel(0); HWTEST_F() local 420 auto ret = executorHdi->Cancel(0); HWTEST_F() local 429 auto ret = executorHdi->SendCommand(IamPropertyMode::PROPERTY_MODE_FREEZE, std::vector<uint8_t>(), executeCallback); HWTEST_F() local 440 auto ret = executorHdi->SendCommand(IamPropertyMode::PROPERTY_MODE_FREEZE, std::vector<uint8_t>(), nullptr); HWTEST_F() local 476 auto ret = executorHdi->SendCommand(pair.first, std::vector<uint8_t>(), executeCallback); HWTEST_F() local 493 auto ret = HWTEST_F() local 511 auto ret = HWTEST_F() local 524 auto ret = executorHdi->GetProperty(templateIdList, keys, property); HWTEST_F() local 537 auto ret = executorHdi->GetProperty(templateIdList, keys, property); HWTEST_F() local 558 auto ret = executorHdi->GetProperty(templateIdList, keys, property); HWTEST_F() local 568 auto ret = executorHdi->SetCachedTemplates(templateIdList); HWTEST_F() local 583 auto ret = executorHdi->SetCachedTemplates(templateIdList); HWTEST_F() local 612 auto ret = executorHdi->OnRegisterFinish(std::vector<uint64_t>(), std::vector<uint8_t>(), std::vector<uint8_t>()); HWTEST_F() local [all...] |