/third_party/eudev/src/libudev/ |
H A D | libudev-device.c | 1553 int ret = 0; in udev_device_set_sysattr_value() local 1568 ret = -ENXIO; in udev_device_set_sysattr_value() 1573 ret = -EINVAL; in udev_device_set_sysattr_value() 1579 ret = -EISDIR; in udev_device_set_sysattr_value() 1585 ret = -EACCES; in udev_device_set_sysattr_value() 1591 ret = -EINVAL; in udev_device_set_sysattr_value() 1599 ret = -errno; in udev_device_set_sysattr_value() 1605 ret = -errno; in udev_device_set_sysattr_value() 1609 ret = -EIO; in udev_device_set_sysattr_value() 1618 return ret; in udev_device_set_sysattr_value() 1673 int ret; udev_device_get_sysattr_list_entry() local 2061 struct udev_device *ret; udev_device_new_from_synthetic_event() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_minterpolate.c | 587 int ret; in var_size_bme() local 628 if (ret = var_size_bme(mi_ctx, sb, x_mb + (x << (n - 1)), y_mb + (y << (n - 1)), n - 1)) in var_size_bme() 629 return ret; in var_size_bme() 646 int d, ret; in cluster_mvs() local 721 if (ret = var_size_bme(mi_ctx, block, mb_x << mi_ctx->log2_mb_size, mb_y << mi_ctx->log2_mb_size, mi_ctx->log2_mb_size)) in cluster_mvs() 722 return ret; in cluster_mvs() 767 int i, ret; in inject_frame() local 808 if (ret = cluster_mvs(mi_ctx)) in inject_frame() 809 return ret; in inject_frame() 827 double ret in detect_scene_change() local 1157 int ret; filter_frame() local [all...] |
H A D | af_mcompand.c | 316 int ret, ch, i, k, new_nb_items, nb_bands; in config_output() local 407 ret = parse_points(tstr2, nb_points, radius, &s->bands[i].transfer_fn, ctx); in config_output() 408 if (ret < 0) { in config_output() 410 return ret; in config_output() 426 ret = crossover_setup(outlink, &s->bands[i].filter, s->bands[i].topfreq); in config_output() 427 if (ret < 0) in config_output() 428 return ret; in config_output() 611 int ret; in request_frame() local 613 ret = ff_request_frame(ctx->inputs[0]); in request_frame() 615 return ret; in request_frame() [all...] |
H A D | vf_colormap.c | 429 int ret; in process_frame() local 442 if ((ret = ff_framesync_get_frame(&s->fs, 0, &in, 1)) < 0 || in process_frame() 443 (ret = ff_framesync_get_frame(&s->fs, 1, &source, 0)) < 0 || in process_frame() 444 (ret = ff_framesync_get_frame(&s->fs, 2, &target, 0)) < 0) in process_frame() 445 return ret; in process_frame() 491 int ret; in config_output() local 499 if ((ret = ff_framesync_init(&s->fs, ctx, 3)) < 0) in config_output() 500 return ret; in config_output() 518 ret = ff_framesync_configure(&s->fs); in config_output() 521 return ret; in config_output() [all...] |
H A D | vf_ssim.c | 336 int ret, i; in do_ssim() local 338 ret = ff_framesync_dualinput_get(fs, &master, &ref); in do_ssim() 339 if (ret < 0) in do_ssim() 340 return ret; in do_ssim() 503 int ret; in config_output() local 505 ret = ff_framesync_init_dualinput(&s->fs, ctx); in config_output() 506 if (ret < 0) in config_output() 507 return ret; in config_output() 514 if ((ret = ff_framesync_configure(&s->fs)) < 0) in config_output() 515 return ret; in config_output() [all...] |
/third_party/alsa-lib/src/topology/ |
H A D | ctl.c | 983 int ret, i, num_channels; in tplg_add_mixer() local 1000 ret = init_ctl_hdr(tplg, elem, &mc->hdr, &mixer->hdr); in tplg_add_mixer() 1001 if (ret < 0) { in tplg_add_mixer() 1003 return ret; in tplg_add_mixer() 1030 ret = tplg_add_data(tplg, elem, priv, in tplg_add_mixer() 1032 if (ret < 0) in tplg_add_mixer() 1033 return ret; in tplg_add_mixer() 1047 int ret, i, num_items, num_channels; in tplg_add_enum() local 1063 ret = init_ctl_hdr(tplg, elem, &ec->hdr, &enum_ctl->hdr); in tplg_add_enum() 1064 if (ret < in tplg_add_enum() 1138 int ret; tplg_add_bytes() local [all...] |
/third_party/mesa3d/src/compiler/glsl/glcpp/ |
H A D | glcpp-parse.y | 2306 int ret; 2309 ret = glcpp_lex(yylval, yylloc, parser->scanner); 2324 if (ret == '(') { 2326 } else if (ret == ')') { 2330 } else if (ret == NEWLINE) { 2331 ret = SPACE; 2332 } else if (ret != SPACE) { 2337 if (ret == NEWLINE) 2340 else if (ret == DEFINE_TOKEN || ret [all...] |
/third_party/mesa3d/src/glx/ |
H A D | glxcmds.c | 1886 int ret; in glXGetVideoSyncSGI() local 1907 ret = psc->driScreen->getDrawableMSC(psc, pdraw, &ust, &msc, &sbc); in glXGetVideoSyncSGI() 1909 return (ret == True) ? 0 : GLX_BAD_CONTEXT; in glXGetVideoSyncSGI() 1924 int ret; in glXWaitVideoSyncSGI() local 1943 ret = psc->driScreen->waitForMSC(pdraw, 0, divisor, remainder, &ust, &msc, in glXWaitVideoSyncSGI() 1946 return (ret == True) ? 0 : GLX_BAD_CONTEXT; in glXWaitVideoSyncSGI() 2080 int ret; in glXGetSyncValuesOML() local 2092 ret = psc->driScreen->getDrawableMSC(psc, pdraw, ust, msc, sbc); in glXGetSyncValuesOML() 2093 return ret; in glXGetSyncValuesOML() 2244 int ret; in glXWaitForMscOML() local 2275 int ret; glXWaitForSbcOML() local 2741 int ret; MesaGLInteropGLXQueryDeviceInfo() local 2766 int ret; MesaGLInteropGLXExportObject() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcKHRDebugTests.cpp | 106 GLuint ret = gl->getDebugMessageLog(count /* count */, 0 /* bufSize */, 0 /* sources */, 0 /* types */, in cleanMessageLog() local 111 if (0 == ret) in cleanMessageLog() 1322 GLuint ret = m_gl->getDebugMessageLog(read_messages /* count */, bufSize /* bufSize */, sources /* sources */, in iterate() local 1327 if (1 != ret) in iterate() 1330 << "GetDebugMessageLog returned invalid number of messages: " << ret in iterate() 1588 GLuint ret = m_gl->getDebugMessageLog(half_count /* count */, buf_size /* bufSize */, &sources[0] /* sources */, in iterate() local 1593 if (ret != (GLuint)half_count) in iterate() 1596 << "GetDebugMessageLog returned unexpected number of messages: " << ret in iterate() 1654 ret = m_gl->getDebugMessageLog(rest_count /* count */, buf_size /* bufSize */, &sources[0] /* sources */, in iterate() 1659 if (ret ! in iterate() 1883 GLuint ret = m_gl->getDebugMessageLog(read_messages /* count */, bufSize /* bufSize */, sources /* sources */, inspectMessageLog() local 2157 GLuint ret = m_gl->getDebugMessageLog(read_messages /* count */, bufSize /* bufSize */, &source /* sources */, inspectMessageLog() local 2236 GLuint ret = m_gl->getDebugMessageLog(read_messages /* count */, bufSize /* bufSize */, &source /* sources */, verifyEmptyLog() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | ieee802_11.c | 187 wpa_printf(MSG_WARNING, "Failed to check if DFS is required; ret=%d", in hostapd_own_capab_info() 654 int ret; in auth_sae_retransmit_timer() local 666 ret = auth_sae_send_commit(hapd, sta, hapd->own_addr, 0); in auth_sae_retransmit_timer() 672 ret = auth_sae_send_confirm(hapd, sta, hapd->own_addr); in auth_sae_retransmit_timer() 678 ret = -1; in auth_sae_retransmit_timer() 682 if (ret != WLAN_STATUS_SUCCESS) in auth_sae_retransmit_timer() 683 wpa_printf(MSG_INFO, "SAE: Failed to retransmit: ret=%d", ret); in auth_sae_retransmit_timer() 767 int ret; in sae_sm_step() local 780 ret in sae_sm_step() 1278 int ret; auth_sae_init_committed() local 4613 int ret = 0; ieee802_11_mgmt() local 4900 int ret; handle_assoc_cb() local 5248 int ret; ieee802_11_rx_from_unknown() local [all...] |
/drivers/peripheral/camera/test/ut/buffer_manager/ |
H A D | buffer_manager_utest.cpp | 90 SurfaceError ret = consumer->ReleaseBuffer(buffer, -1); in HWTEST_F() 91 if (ret == SURFACE_ERROR_OK) { in HWTEST_F() 500 SurfaceError ret = producer_->RequestBuffer(sb, releaseFence_, requestConfig_); in StartExternalStream() 501 if (ret != SURFACE_ERROR_OK) { in StartExternalStream() 563 SurfaceError ret = producer_->RequestBuffer(sb, releaseFence_, requestConfig_); in EnqueueBufferNonBlock() local 564 if (ret != SURFACE_ERROR_OK) { in EnqueueBufferNonBlock() 629 int32_t ret = producer_->FlushBuffer(surfaceBuffer); in DequeueBuffer() local 630 if (ret != 0) { in DequeueBuffer() 634 SurfaceError ret = producer_->FlushBuffer(surfaceBuffer, -1, flushConfig_); in DequeueBuffer() local 635 if (ret ! in DequeueBuffer() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | libzvbi-teletextdec.c | 87 int ret = ff_ass_subtitle_header_default(avctx); in my_ass_subtitle_header() local 91 if (ret < 0) in my_ass_subtitle_header() 92 return ret; in my_ass_subtitle_header() 644 int ret = 0; in teletext_decode_frame() local 684 ret = ctx->handler_ret; in teletext_decode_frame() 687 if (ret < 0) in teletext_decode_frame() 688 return ret; in teletext_decode_frame() 705 ret = AVERROR(ENOMEM); in teletext_decode_frame() 718 if (ret >= 0) in teletext_decode_frame() 723 return ret; in teletext_decode_frame() [all...] |
H A D | ylc.c | 288 int ret, x, y, toffset, boffset; in decode_frame() local 307 if ((ret = ff_thread_get_buffer(avctx, p, 0)) < 0) in decode_frame() 308 return ret; in decode_frame() 321 if ((ret = init_get_bits8(&gb, s->buffer, boffset - toffset)) < 0) in decode_frame() 322 return ret; in decode_frame() 332 ret = build_vlc(avctx, &s->vlc[i], s->table); in decode_frame() 333 if (ret < 0) in decode_frame() 334 return ret; in decode_frame() 342 if ((ret = init_get_bits8(&gb, s->buffer, avpkt->size - boffset)) < 0) in decode_frame() 343 return ret; in decode_frame() [all...] |
H A D | truemotion1.c | 313 int i, ret; in truemotion1_decode_header() local 417 if ((ret = ff_set_dimensions(s->avctx, s->w, s->h)) < 0) in truemotion1_decode_header() 418 return ret; in truemotion1_decode_header() 876 int ret, buf_size = avpkt->size; in truemotion1_decode_frame() local 882 if ((ret = truemotion1_decode_header(s)) < 0) in truemotion1_decode_frame() 883 return ret; in truemotion1_decode_frame() 885 if ((ret = ff_reget_buffer(avctx, s->frame, 0)) < 0) in truemotion1_decode_frame() 886 return ret; in truemotion1_decode_frame() 894 if ((ret = av_frame_ref(rframe, s->frame)) < 0) in truemotion1_decode_frame() 895 return ret; in truemotion1_decode_frame() [all...] |
/third_party/f2fs-tools/tools/ |
H A D | f2fscrypt.c | 191 int ret = access(argv[x], W_OK); in validate_paths() local 192 if (ret) { in validate_paths() 198 ret = stat(argv[x], &st); in validate_paths() 199 if (ret < 0) in validate_paths() 333 int fd, ret, salt_len = 0; in parse_salt() local 352 ret = ioctl(fd, F2FS_IOC_GET_ENCRYPTION_PWSALT, &buf); in parse_salt() 354 if (ret < 0) { in parse_salt() 858 long keyid, ret; in do_new_session() local 870 ret = keyctl(KEYCTL_SESSION_TO_PARENT, NULL); in do_new_session() 871 if (ret < in do_new_session() [all...] |
/third_party/elfutils/libdw/ |
H A D | libdwP.h | 914 int width, Dwarf_Addr *ret) in __libdw_read_address_inc() 917 READ_AND_RELOCATE (__libdw_relocate_address, (*ret)); in __libdw_read_address_inc() 925 int width, Dwarf_Addr *ret) in __libdw_read_address() 927 READ_AND_RELOCATE (__libdw_relocate_address, (*ret)); in __libdw_read_address() 934 int width, Dwarf_Off *ret, int sec_ret, in __libdw_read_offset_inc() 938 READ_AND_RELOCATE (__libdw_relocate_offset, (*ret)); in __libdw_read_offset_inc() 940 return __libdw_offset_in_section (dbg, sec_ret, *ret, size); in __libdw_read_offset_inc() 946 int width, Dwarf_Off *ret, int sec_ret, in __libdw_read_offset() 949 READ_AND_RELOCATE (__libdw_relocate_offset, (*ret)); in __libdw_read_offset() 950 return __libdw_offset_in_section (dbg_ret, sec_ret, *ret, siz in __libdw_read_offset() 912 __libdw_read_address_inc(Dwarf *dbg, int sec_index, const unsigned char **addrp, int width, Dwarf_Addr *ret) __libdw_read_address_inc() argument 923 __libdw_read_address(Dwarf *dbg, int sec_index, const unsigned char *addr, int width, Dwarf_Addr *ret) __libdw_read_address() argument 932 __libdw_read_offset_inc(Dwarf *dbg, int sec_index, const unsigned char **addrp, int width, Dwarf_Off *ret, int sec_ret, size_t size) __libdw_read_offset_inc() argument 944 __libdw_read_offset(Dwarf *dbg, Dwarf *dbg_ret, int sec_index, const unsigned char *addr, int width, Dwarf_Off *ret, int sec_ret, size_t size) __libdw_read_offset() argument [all...] |
/third_party/ffmpeg/libavcodec/aarch64/ |
H A D | h264cmc_neon.S | 97 ret 134 ret 165 ret 192 ret 267 ret 304 ret 334 ret 356 ret 407 ret 422 ret [all...] |
/third_party/backends/backend/genesys/ |
H A D | image_pipeline.cpp | 781 bool ret = source_.get_next_row_data(out_data); in get_next_row_data() local 810 return ret; in get_next_row_data() 912 std::vector<std::uint8_t> ret; in get_all_data() local 913 ret.resize(row_bytes * height); in get_all_data() 916 get_next_row_data(ret.data() + row_bytes * i); in get_all_data() 918 return ret; in get_all_data() 925 Image ret; in get_image() local 926 ret.resize(get_output_width(), height, get_output_format()); in get_image() 929 get_next_row_data(ret.get_row_ptr(i)); in get_image() 931 return ret; in get_image() [all...] |
/third_party/node/src/crypto/ |
H A D | crypto_util.h | 376 v8::Maybe<bool> ret = ptr->ToResult(&args[0], &args[1]); variable 377 if (!ret.IsJust()) { 380 } else if (!ret.FromJust()) { 419 v8::Local<v8::Value> ret[2]; in Run() 422 v8::Maybe<bool> result = job->ToResult(&ret[0], &ret[1]); in Run() 425 v8::Array::New(env->isolate(), ret, arraysize(ret))); in Run() 593 ENGINE* ret = engine; in release() local 596 return ret; in release() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_compute.c | 41 int i, ret; in nv50_screen_compute_setup() local 66 ret = nouveau_object_new(chan, 0xbeef50c0, obj_class, NULL, 0, in nv50_screen_compute_setup() 68 if (ret) in nv50_screen_compute_setup() 69 return ret; in nv50_screen_compute_setup() 513 bool ret; in nv50_state_validate_cp() local 516 ret = nv50_state_validate(nv50, mask, validate_list_cp, in nv50_state_validate_cp() 522 return ret; in nv50_state_validate_cp() 568 bool ret; in nv50_launch_grid() local 570 ret = !nv50_state_validate_cp(nv50, ~0); in nv50_launch_grid() 571 if (ret) { in nv50_launch_grid() [all...] |
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_batch.c | 992 int ret = 0; in submit_batch() local 995 ret = -errno; in submit_batch() 1012 return ret; in submit_batch() 1061 int ret = submit_batch(batch); in _iris_batch_flush() local 1076 if (ret < 0) in _iris_batch_flush() 1106 if ((ret == -EIO || ret == -ENOMEM) && replace_kernel_ctx(batch)) { in _iris_batch_flush() 1112 ret = 0; in _iris_batch_flush() 1115 if (ret < 0) { in _iris_batch_flush() 1119 color ? "\e[1;41m" : "", strerror(-ret), colo in _iris_batch_flush() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_transfer.c | 385 int ret; in nvc0_miptree_transfer_map() local 389 ret = !nvc0_mt_sync(nvc0, mt, usage); in nvc0_miptree_transfer_map() 390 if (!ret) in nvc0_miptree_transfer_map() 391 ret = nouveau_bo_map(mt->base.bo, 0, NULL); in nvc0_miptree_transfer_map() 392 if (ret && in nvc0_miptree_transfer_map() 395 if (!ret) in nvc0_miptree_transfer_map() 440 ret = nouveau_bo_new(dev, NOUVEAU_BO_GART | NOUVEAU_BO_MAP, 0, in nvc0_miptree_transfer_map() 442 if (ret) { in nvc0_miptree_transfer_map() 483 ret = nouveau_bo_map(tx->rect[1].bo, flags, nvc0->base.client); in nvc0_miptree_transfer_map() 484 if (ret) { in nvc0_miptree_transfer_map() [all...] |
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | e_aria.c | 64 int ret; in aria_init_key() local 68 ret = ossl_aria_set_encrypt_key(key, in aria_init_key() 72 ret = ossl_aria_set_decrypt_key(key, in aria_init_key() 75 if (ret < 0) { in aria_init_key() 218 int ret; in aria_gcm_init_key() local 224 ret = ossl_aria_set_encrypt_key(key, in aria_gcm_init_key() 229 if (ret < 0) { in aria_gcm_init_key() 515 int ret; in aria_ccm_init_key() local 522 ret = ossl_aria_set_encrypt_key(key, in aria_ccm_init_key() 527 if (ret < in aria_ccm_init_key() [all...] |
/third_party/node/deps/openssl/openssl/crypto/rsa/ |
H A D | rsa_ameth.c | 175 int ret = 0; in rsa_priv_decode() local 179 ret = 1; in rsa_priv_decode() 182 return ret; in rsa_priv_decode() 305 int ret = 0, mod_len = 0, ex_primes; in pkey_rsa_print() local 384 ret = 1; in pkey_rsa_print() 386 return ret; in pkey_rsa_print() 930 int ret; in rsa_pkey_copy() local 938 ret = EVP_PKEY_assign(to, from->type, dupkey); in rsa_pkey_copy() 939 if (!ret) in rsa_pkey_copy() 941 return ret; in rsa_pkey_copy() [all...] |
/third_party/pcre2/pcre2/src/sljit/ |
H A D | sljitLir.h | 352 #define SLJIT_ARGS0(ret) \ 353 SLJIT_ARG_RETURN(SLJIT_ARG_TO_TYPE(ret)) 355 #define SLJIT_ARGS1(ret, arg1) \ 356 (SLJIT_ARGS0(ret) | SLJIT_ARG_VALUE(SLJIT_ARG_TO_TYPE(arg1), 1)) 358 #define SLJIT_ARGS2(ret, arg1, arg2) \ 359 (SLJIT_ARGS1(ret, arg1) | SLJIT_ARG_VALUE(SLJIT_ARG_TO_TYPE(arg2), 2)) 361 #define SLJIT_ARGS3(ret, arg1, arg2, arg3) \ 362 (SLJIT_ARGS2(ret, arg1, arg2) | SLJIT_ARG_VALUE(SLJIT_ARG_TO_TYPE(arg3), 3)) 364 #define SLJIT_ARGS4(ret, arg1, arg2, arg3, arg4) \ 365 (SLJIT_ARGS3(ret, arg [all...] |