Home
last modified time | relevance | path

Searched refs:ret (Results 7826 - 7850 of 11817) sorted by relevance

1...<<311312313314315316317318319320>>...473

/third_party/ffmpeg/libavfilter/
H A Dvsrc_life.c167 int ret, i, i0, j, h = 0, w, max_w = 0; in init_pattern_from_file() local
169 if ((ret = av_file_map(life->filename, &life->file_buf, &life->file_bufsize, in init_pattern_from_file()
171 return ret; in init_pattern_from_file()
224 int ret; in init() local
229 if ((ret = parse_rule(&life->born_rule, &life->stay_rule, life->rule_str, ctx)) < 0) in init()
230 return ret; in init()
258 if ((ret = init_pattern_from_file(ctx)) < 0) in init()
259 return ret; in init()
/third_party/ffmpeg/libavformat/
H A Dspdifenc.c362 int ret; in spdif_header_aac() local
364 ret = av_adts_header_parse(pkt->data, &samples, &frames); in spdif_header_aac()
365 if (ret < 0) { in spdif_header_aac()
367 return ret; in spdif_header_aac()
627 int ret, padding; in spdif_write_packet() local
635 ret = ctx->header_info(s, pkt); in spdif_write_packet()
636 if (ret < 0) in spdif_write_packet()
637 return ret; in spdif_write_packet()
H A Dwtvenc.c320 int ret; in write_stream_codec() local
327 ret = write_stream_codec_info(s, st); in write_stream_codec()
328 if (ret < 0) { in write_stream_codec()
357 int ret; in write_stream_data() local
365 ret = write_stream_codec_info(s, st); in write_stream_data()
366 if (ret < 0) { in write_stream_data()
381 int i, pad, ret; in write_header() local
416 ret = write_stream_codec(s, st); in write_header()
417 if (ret < 0) { in write_header()
429 ret in write_header()
470 int ret = ff_check_h264_startcode(s, st, pkt); write_packet() local
[all...]
/third_party/curl/lib/vtls/
H A Drustls.c89 int ret = 0; in read_cb() local
95 ret = EAGAIN; in read_cb()
97 ret = EINVAL; in read_cb()
100 return ret; in read_cb()
108 int ret = 0; in write_cb() local
114 ret = EAGAIN; in write_cb()
116 ret = EINVAL; in write_cb()
123 return ret; in write_cb()
/third_party/ffmpeg/tests/checkasm/
H A Dcheckasm.c669 int ret = bench_init_linux(); in bench_init() local
671 int ret = bench_init_kperf(); in bench_init()
673 int ret = bench_init_ffmpeg(); in bench_init()
675 if (ret < 0) in bench_init()
676 return ret; in bench_init()
694 int i, ret = 0; in main() local
736 ret = 1; in main()
746 return ret; in main()
/third_party/musl/libc-test/src/functionalext/fortify/
H A Dstring_ext.c308 char *ret = (char*)memchr(str, ch, strlen(str)); in test_memchr_0010() local
309 TEST(*ret == EQ_9); in test_memchr_0010()
355 char *ret = (char*)memrchr(str, ch, strlen(str)); in test_memrchr_0010() local
356 TEST(*ret == EQ_9); in test_memrchr_0010()
402 char *ret = strchr(str, ch); in test_strchr_0010() local
403 TEST(*ret == EQ_9); in test_strchr_0010()
450 char *ret = strrchr(str, ch); in test_strrchr_0010() local
451 TEST(*ret == EQ_9); in test_strrchr_0010()
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dm_sigver.c52 int ret, iter, reinit = 1; in do_sigver_init() local
266 ret = signature->digest_verify_init(locpctx->op.sig.algctx, in do_sigver_init()
273 ret = signature->digest_sign_init(locpctx->op.sig.algctx, in do_sigver_init()
281 if (ret > 0 || mdname != NULL) in do_sigver_init()
362 ret = 1; in do_sigver_init()
366 if (ret > 0) in do_sigver_init()
367 ret = evp_pkey_ctx_use_cached_data(locpctx); in do_sigver_init()
371 return ret > 0 ? 1 : 0; in do_sigver_init()
/third_party/openssl/crypto/evp/
H A Dm_sigver.c52 int ret, iter, reinit = 1; in do_sigver_init() local
266 ret = signature->digest_verify_init(locpctx->op.sig.algctx, in do_sigver_init()
273 ret = signature->digest_sign_init(locpctx->op.sig.algctx, in do_sigver_init()
281 if (ret > 0 || mdname != NULL) in do_sigver_init()
362 ret = 1; in do_sigver_init()
366 if (ret > 0) in do_sigver_init()
367 ret = evp_pkey_ctx_use_cached_data(locpctx); in do_sigver_init()
371 return ret > 0 ? 1 : 0; in do_sigver_init()
/third_party/python/Lib/test/
H A Dtest_yield_from.py384 ret = yield from g2()
385 trace.append("g2 returned %r" % (ret,))
387 ret = yield from g2(v)
388 trace.append("g2 returned %r" % (ret,))
988 nonlocal ret
989 ret = yield from MyIter()
990 ret = None
992 self.assertEqual(ret, 42)
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
H A Deap_eke_common.c215 int ret; in eap_eke_prf_hmac_sha1() local
228 ret = hmac_sha1_vector(key, key_len, 2, &addr[1], in eap_eke_prf_hmac_sha1()
231 ret = hmac_sha1_vector(key, key_len, 3, addr, vlen, in eap_eke_prf_hmac_sha1()
233 if (ret < 0) in eap_eke_prf_hmac_sha1()
256 int ret; in eap_eke_prf_hmac_sha256() local
269 ret = hmac_sha256_vector(key, key_len, 2, &addr[1], in eap_eke_prf_hmac_sha256()
272 ret = hmac_sha256_vector(key, key_len, 3, addr, vlen, in eap_eke_prf_hmac_sha256()
274 if (ret < 0) in eap_eke_prf_hmac_sha256()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dos_unix.c288 char *buf = NULL, *cwd, *ret; in os_rel2abs_path() local
320 ret = os_malloc(ret_len); in os_rel2abs_path()
321 if (ret) { in os_rel2abs_path()
322 os_memcpy(ret, cwd, cwd_len); in os_rel2abs_path()
323 ret[cwd_len] = '/'; in os_rel2abs_path()
324 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
325 ret[ret_len - 1] = '\0'; in os_rel2abs_path()
328 return ret; in os_rel2abs_path()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
H A Deap_eke_common.c215 int ret; in eap_eke_prf_hmac_sha1() local
228 ret = hmac_sha1_vector(key, key_len, 2, &addr[1], in eap_eke_prf_hmac_sha1()
231 ret = hmac_sha1_vector(key, key_len, 3, addr, vlen, in eap_eke_prf_hmac_sha1()
233 if (ret < 0) in eap_eke_prf_hmac_sha1()
256 int ret; in eap_eke_prf_hmac_sha256() local
269 ret = hmac_sha256_vector(key, key_len, 2, &addr[1], in eap_eke_prf_hmac_sha256()
272 ret = hmac_sha256_vector(key, key_len, 3, addr, vlen, in eap_eke_prf_hmac_sha256()
274 if (ret < 0) in eap_eke_prf_hmac_sha256()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dos_unix.c294 char *buf = NULL, *cwd, *ret; in os_rel2abs_path() local
326 ret = os_malloc(ret_len); in os_rel2abs_path()
327 if (ret) { in os_rel2abs_path()
328 os_memcpy(ret, cwd, cwd_len); in os_rel2abs_path()
329 ret[cwd_len] = '/'; in os_rel2abs_path()
330 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
331 ret[ret_len - 1] = '\0'; in os_rel2abs_path()
334 return ret; in os_rel2abs_path()
/third_party/selinux/checkpolicy/
H A Dpolicy_define.c152 int ret; in define_class() local
172 ret = declare_symbol(SYM_CLASSES, id, datum, &value, &value); in define_class()
173 switch (ret) { in define_class()
495 int ret; in define_common_perms() local
519 ret = hashtab_insert(policydbp->p_commons.table, in define_common_perms()
522 if (ret == SEPOL_EEXIST) { in define_common_perms()
526 if (ret == SEPOL_ENOMEM) { in define_common_perms()
550 ret = hashtab_insert(comdatum->permissions.table, in define_common_perms()
554 if (ret == SEPOL_EEXIST) { in define_common_perms()
559 if (ret in define_common_perms()
589 int ret; define_av_perms() local
706 int ret; define_sens() local
885 int ret; define_category() local
1226 int ret; add_aliases_to_type() local
1746 int ret; define_bool_tunable() local
2047 int add = 1, ret = 0; define_te_avtab_xperms_helper() local
2507 int add = 1, ret = 0; define_te_avtab_helper() local
2947 int ret; define_role_dom() local
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
H A Dhmac_encap_frame_ap.c67 hi_u32 ret = (hi_u32)memcpy_s(&puc_frame[8], WLAN_CHTXT_SIZE, puc_chtxt, WLAN_CHTXT_SIZE); /* 8 挑战字段起始地址 */ in hmac_mgmt_encap_chtxt() local
68 if (ret != EOK) { in hmac_mgmt_encap_chtxt()
69 oam_error_log1(0, OAM_SF_CFG, "hmac_mgmt_encap_chtxt:: challenge text memcpy fail, ret[%d].", ret); in hmac_mgmt_encap_chtxt()
79 ret = (hi_u32)memcpy_s(hmac_user->ch_text, WLAN_CHTXT_SIZE, puc_chtxt, WLAN_CHTXT_SIZE); in hmac_mgmt_encap_chtxt()
80 if (ret != EOK) { in hmac_mgmt_encap_chtxt()
81 oam_error_log1(0, OAM_SF_CFG, "hmac_mgmt_encap_chtxt:: save challenge text fail, ret[%d].", ret); in hmac_mgmt_encap_chtxt()
360 hi_u32 ret = hmac_user_add(mac_vap, mac_addr, addr_len, puc_user_index); in hmac_encap_auth_rsp_get_user_idx_seq() local
361 if (ret ! in hmac_encap_auth_rsp_get_user_idx_seq()
788 hi_u32 ret; hmac_update_auth_rsp_status_code() local
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/iommu/
H A Ddma-iommu.c254 int ret = 0; in iova_reserve_iommu_regions() local
257 ret = iova_reserve_pci_windows(to_pci_dev(dev), iovad); in iova_reserve_iommu_regions()
258 if (ret) { in iova_reserve_iommu_regions()
259 return ret; in iova_reserve_iommu_regions()
278 ret = cookie_init_hw_msi_region(cookie, region->start, region->start + region->length); in iova_reserve_iommu_regions()
280 if (ret) { in iova_reserve_iommu_regions()
286 return ret; in iova_reserve_iommu_regions()
1172 int ret; in iommu_dma_mmap() local
1176 if (dma_mmap_from_dev_coherent(dev, vma, cpu_addr, size, &ret)) { in iommu_dma_mmap()
1177 return ret; in iommu_dma_mmap()
1202 int ret; iommu_dma_get_sgtable() local
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_jm_rb.c930 int ret; in kbase_backend_slot_update() local
981 ret = kbase_jm_enter_protected_mode(kbdev, katom, idx, js); in kbase_backend_slot_update()
982 if (ret) { in kbase_backend_slot_update()
987 ret = kbase_jm_exit_protected_mode(kbdev, katom, idx, js); in kbase_backend_slot_update()
988 if (ret) { in kbase_backend_slot_update()
1432 bool ret = false; in kbase_backend_soft_hard_stop_slot() local
1495 ret = true; in kbase_backend_soft_hard_stop_slot()
1512 ret = true; in kbase_backend_soft_hard_stop_slot()
1517 ret = true; in kbase_backend_soft_hard_stop_slot()
1533 ret in kbase_backend_soft_hard_stop_slot()
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_jm_rb.c786 int ret; local
837 ret = kbase_jm_enter_protected_mode(kbdev, katom, idx, js);
838 if (ret) {
843 ret = kbase_jm_exit_protected_mode(kbdev, katom, idx, js);
844 if (ret) {
1281 bool ret = false; local
1344 ret = true;
1360 ret = true;
1365 ret = true;
1381 ret
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_jm_rb.c1035 int ret; in kbase_backend_slot_update() local
1089 ret = kbase_jm_enter_protected_mode(kbdev, in kbase_backend_slot_update()
1091 if (ret) in kbase_backend_slot_update()
1096 ret = kbase_jm_exit_protected_mode(kbdev, in kbase_backend_slot_update()
1098 if (ret) in kbase_backend_slot_update()
1624 bool ret = false; in kbase_backend_soft_hard_stop_slot() local
1695 ret = true; in kbase_backend_soft_hard_stop_slot()
1726 ret = true; in kbase_backend_soft_hard_stop_slot()
1733 ret = true; in kbase_backend_soft_hard_stop_slot()
1751 ret in kbase_backend_soft_hard_stop_slot()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dcook.c249 int j, ret; in init_cook_mlt() local
261 ret = ff_mdct_init(&q->mdct_ctx, av_log2(mlt_size) + 1, 1, 1.0 / 32768.0); in init_cook_mlt()
262 if (ret < 0) in init_cook_mlt()
263 return ret; in init_cook_mlt()
988 int i, ret; in cook_decode_frame() local
998 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) in cook_decode_frame()
999 return ret; in cook_decode_frame()
1026 if ((ret = decode_subpacket(q, &q->subpacket[i], buf + offset, samples)) < 0) in cook_decode_frame()
1027 return ret; in cook_decode_frame()
1081 int ret; in cook_decode_init() local
[all...]
H A Dsonic.c726 int ret; in sonic_encode_frame() local
730 if ((ret = ff_alloc_packet(avctx, avpkt, s->frame_size * 5 + 1000)) < 0) in sonic_encode_frame()
731 return ret; in sonic_encode_frame()
782 if ((ret = intlist_write(&c, state, s->predictor_k, s->num_taps, 0)) < 0) in sonic_encode_frame()
783 return ret; in sonic_encode_frame()
837 if ((ret = intlist_write(&c, state, s->coded_samples[ch], s->block_align, 1)) < 0) in sonic_encode_frame()
838 return ret; in sonic_encode_frame()
858 int ret; in sonic_decode_init() local
869 ret = init_get_bits8(&gb, avctx->extradata, avctx->extradata_size); in sonic_decode_init()
870 if (ret < in sonic_decode_init()
991 int i, quant, ch, j, ret; sonic_decode_frame() local
[all...]
/third_party/libcoap/src/
H A Dcoap_resource.c842 size_t ret = 0; local
845 ret += oscore_cbor_put_array(&info_buf, &info_len, 5);
846 ret += oscore_cbor_put_bytes(&info_buf,
852 ret += oscore_cbor_put_bytes(&info_buf,
857 ret += oscore_cbor_put_nil(&info_buf, &info_len);
862 ret += oscore_cbor_put_bytes(&info_buf,
867 ret += oscore_cbor_put_nil(&info_buf, &info_len);
870 ret += oscore_cbor_put_bytes(&info_buf,
875 ret += oscore_cbor_put_nil(&info_buf, &info_len);
878 ret
[all...]
/third_party/mesa3d/src/gallium/tests/trivial/
H A Dcompute.c74 ASSERTED int ret; in init_ctx() local
76 ret = pipe_loader_probe(&ctx->dev, 1); in init_ctx()
77 assert(ret); in init_ctx()
109 int fd, ret; in preprocess_prog() local
123 ret = pclose(p); in preprocess_prog()
124 assert(!ret); in preprocess_prog()
127 ret = fstat(fd, &st); in preprocess_prog()
128 assert(!ret); in preprocess_prog()
131 ret = read(fd, buf, st.st_size); in preprocess_prog()
132 assert(ret in preprocess_prog()
156 ASSERTED int ret; init_prog() local
[all...]
/third_party/mesa3d/src/intel/dev/
H A Dintel_device_info.c1412 int ret = intel_ioctl(fd, DRM_IOCTL_I915_GETPARAM, &gp); in getparam() local
1413 if (ret != 0) in getparam()
1428 int ret = intel_ioctl(fd, DRM_IOCTL_I915_GEM_CONTEXT_GETPARAM, &gp); in get_context_param() local
1429 if (ret != 0) in get_context_param()
1702 int ret = intel_ioctl(fd, DRM_IOCTL_I915_GEM_GET_APERTURE, &aperture); in intel_get_aperture_size() local
1703 if (ret == 0 && size) in intel_get_aperture_size()
1706 return ret; in intel_get_aperture_size()
1713 int ret; in has_bit6_swizzle() local
1736 ret = ioctl(fd, DRM_IOCTL_I915_GEM_SET_TILING, &set_tiling); in has_bit6_swizzle()
1737 } while (ret in has_bit6_swizzle()
1767 int ret; has_get_tiling() local
[all...]
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_queue.c55 int ret; in vk_queue_init() local
74 ret = mtx_init(&queue->submit.mutex, mtx_plain); in vk_queue_init()
75 if (ret == thrd_error) { in vk_queue_init()
80 ret = cnd_init(&queue->submit.push); in vk_queue_init()
81 if (ret == thrd_error) { in vk_queue_init()
86 ret = cnd_init(&queue->submit.pop); in vk_queue_init()
87 if (ret == thrd_error) { in vk_queue_init()
277 int ret = cnd_wait(&queue->submit.pop, &queue->submit.mutex); in vk_queue_drain() local
278 if (ret == thrd_error) { in vk_queue_drain()
466 int ret in vk_queue_submit_thread_func() local
521 int ret; vk_queue_start_submit_thread() local
[all...]

Completed in 37 milliseconds

1...<<311312313314315316317318319320>>...473