Home
last modified time | relevance | path

Searched refs:ret (Results 2201 - 2225 of 9300) sorted by relevance

1...<<81828384858687888990>>...372

/third_party/ffmpeg/libavcodec/
H A Dmss1.c151 int ret; in mss1_decode_frame() local
153 if ((ret = init_get_bits8(&gb, avpkt->data, avpkt->size)) < 0) in mss1_decode_frame()
154 return ret; in mss1_decode_frame()
158 if ((ret = ff_reget_buffer(avctx, ctx->pic, 0)) < 0) in mss1_decode_frame()
159 return ret; in mss1_decode_frame()
183 if ((ret = av_frame_ref(rframe, ctx->pic)) < 0) in mss1_decode_frame()
184 return ret; in mss1_decode_frame()
195 int ret; in mss1_decode_init() local
203 ret = ff_mss12_decode_init(&c->ctx, 0, &c->sc, NULL); in mss1_decode_init()
204 if (ret < in mss1_decode_init()
[all...]
H A Dmjpegdec.c81 int i, ret; in init_default_huffman_tables() local
85 ret = ff_mjpeg_build_vlc(&s->vlcs[ht[i].class][ht[i].index], in init_default_huffman_tables()
88 if (ret < 0) in init_default_huffman_tables()
89 return ret; in init_default_huffman_tables()
125 int ret; in ff_mjpeg_decode_init() local
150 if ((ret = init_default_huffman_tables(s)) < 0) in ff_mjpeg_decode_init()
151 return ret; in ff_mjpeg_decode_init()
155 if ((ret = init_get_bits(&s->gb, avctx->extradata, avctx->extradata_size * 8)) < 0) in ff_mjpeg_decode_init()
156 return ret; in ff_mjpeg_decode_init()
160 if ((ret in ff_mjpeg_decode_init()
246 int ret = 0; ff_mjpeg_decode_dht() local
304 int len, nb_components, i, width, height, bits, ret, size_change; ff_mjpeg_decode_sof() local
1582 int ret; mjpeg_decode_scan_progressive_ac() local
1647 int index, id, ret; ff_mjpeg_decode_sos() local
2022 int ret, le, ifd_offset, bytes_read; mjpeg_decode_app() local
2354 int ret; smv_process_frame() local
2388 int ret; mjpeg_get_packet() local
2418 int ret = 0; ff_mjpeg_receive_frame() local
[all...]
H A Dh264_sei.c472 int ret = 0; in ff_h264_sei_decode() local
492 ret = init_get_bits8(&gb_payload, gb->buffer + get_bits_count(gb) / 8, size); in ff_h264_sei_decode()
493 if (ret < 0) in ff_h264_sei_decode()
494 return ret; in ff_h264_sei_decode()
498 ret = decode_picture_timing(&h->picture_timing, &gb_payload, logctx); in ff_h264_sei_decode()
501 ret = decode_registered_user_data(h, &gb_payload, logctx, size); in ff_h264_sei_decode()
504 ret = decode_unregistered_user_data(&h->unregistered, &gb_payload, logctx, size); in ff_h264_sei_decode()
507 ret = decode_recovery_point(&h->recovery_point, &gb_payload, logctx); in ff_h264_sei_decode()
510 ret = decode_buffering_period(&h->buffering_period, &gb_payload, ps, logctx); in ff_h264_sei_decode()
513 ret in ff_h264_sei_decode()
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_qp.c58 int ret; in config_input() local
64 ret = av_expr_parse(&e, s->qp_expr_str, var_names, NULL, NULL, NULL, NULL, 0, ctx); in config_input()
65 if (ret < 0) in config_input()
66 return ret; in config_input()
96 int ret; in filter_frame() local
124 ret = AVERROR(ENOMEM); in filter_frame()
132 ret = AVERROR(ENOMEM); in filter_frame()
150 ret = av_expr_parse_and_eval(&temp_val, s->qp_expr_str, in filter_frame()
153 if (ret < 0) in filter_frame()
170 ret in filter_frame()
[all...]
H A Daf_crossfeed.c54 int ret; in query_formats() local
56 if ((ret = ff_add_format (&formats, AV_SAMPLE_FMT_DBL )) < 0 || in query_formats()
57 (ret = ff_set_common_formats (ctx , formats )) < 0 || in query_formats()
58 (ret = ff_add_channel_layout (&layout , &(AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO)) < 0 || in query_formats()
59 (ret = ff_set_common_channel_layouts (ctx , layout )) < 0 || in query_formats()
60 (ret = ff_set_common_all_samplerates (ctx )) < 0) in query_formats()
61 return ret; in query_formats()
282 int ret; in activate() local
287 ret = ff_inlink_consume_samples(inlink, s->block_samples, s->block_samples, &in); in activate()
289 ret in activate()
323 int ret; process_command() local
[all...]
H A Davf_aphasemeter.c99 int ret; in query_formats() local
102 if ((ret = ff_formats_ref (formats, &inlink->outcfg.formats )) < 0 || in query_formats()
103 (ret = ff_formats_ref (formats, &outlink->incfg.formats )) < 0 || in query_formats()
104 (ret = ff_add_channel_layout (&layout, &(AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO )) < 0 || in query_formats()
105 (ret = ff_channel_layouts_ref (layout , &inlink->outcfg.channel_layouts)) < 0 || in query_formats()
106 (ret = ff_channel_layouts_ref (layout , &outlink->incfg.channel_layouts)) < 0) in query_formats()
107 return ret; in query_formats()
110 if ((ret = ff_formats_ref(formats, &inlink->outcfg.samplerates)) < 0 || in query_formats()
111 (ret = ff_formats_ref(formats, &outlink->incfg.samplerates)) < 0) in query_formats()
112 return ret; in query_formats()
353 int ret; init() local
[all...]
/third_party/ffmpeg/libavformat/
H A Dadtsenc.c56 int off, ret; in adts_decode_extradata() local
58 ret = init_get_bits8(&gb, buf, size); in adts_decode_extradata()
59 if (ret < 0) in adts_decode_extradata()
60 return ret; in adts_decode_extradata()
178 int ret; in adts_write_packet() local
183 ret = adts_decode_extradata(s, adts, side_data, side_data_size); in adts_write_packet()
184 if (ret < 0) in adts_write_packet()
185 return ret; in adts_write_packet()
186 ret = ff_alloc_extradata(par, side_data_size); in adts_write_packet()
187 if (ret < in adts_write_packet()
[all...]
H A Dvqf.c100 int size, ret; in vqf_read_header() local
228 if ((ret = ff_alloc_extradata(st->codecpar, 12)) < 0) in vqf_read_header()
229 return ret; in vqf_read_header()
240 int ret; in vqf_read_packet() local
243 if ((ret = av_new_packet(pkt, size + 2)) < 0) in vqf_read_packet()
244 return ret; in vqf_read_packet()
252 ret = avio_read(s->pb, pkt->data+2, size); in vqf_read_packet()
254 if (ret != size) { in vqf_read_packet()
269 int64_t ret; in vqf_read_seek() local
283 if ((ret in vqf_read_seek()
[all...]
H A Dwebpenc.c149 int ret; in webp_write_packet() local
153 ret = is_animated_webp_packet(pkt); in webp_write_packet()
154 if (ret < 0) in webp_write_packet()
155 return ret; in webp_write_packet()
156 w->using_webp_anim_encoder |= ret; in webp_write_packet()
162 int ret; in webp_write_packet() local
163 if ((ret = flush(s, 0, pkt->pts)) < 0) in webp_write_packet()
164 return ret; in webp_write_packet()
183 int ret; in webp_write_trailer() local
184 if ((ret in webp_write_trailer()
[all...]
/third_party/lame/frontend/
H A Dconsole.c89 int const ret = tgetent(term_buff, term_name); in apply_termcap_settings() local
90 if (1 == ret) { in apply_termcap_settings()
240 int ret; in console_printf() local
243 ret = frontend_console_print(format, args,ConsoleIoConsole); in console_printf()
246 return ret; in console_printf()
253 int ret; in error_printf() local
256 ret = frontend_console_print(format, args, ConsoleIoError); in error_printf()
259 return ret; in error_printf()
266 int ret; in report_printf() local
269 ret in report_printf()
[all...]
/third_party/mbedtls/library/
H A Derror.c790 void mbedtls_strerror(int ret, char *buf, size_t buflen) in mbedtls_strerror() argument
803 if (ret < 0) { in mbedtls_strerror()
804 ret = -ret; in mbedtls_strerror()
807 if (ret & 0xFF80) { in mbedtls_strerror()
808 use_ret = ret & 0xFF80; in mbedtls_strerror()
811 high_level_error_description = mbedtls_high_level_strerr(ret); in mbedtls_strerror()
828 use_ret = ret & ~0xFF80; in mbedtls_strerror()
851 low_level_error_description = mbedtls_low_level_strerr(ret); in mbedtls_strerror()
865 void mbedtls_strerror(int ret, cha argument
[all...]
/third_party/ltp/testcases/kernel/device-drivers/nls/
H A DnlsTest.c216 int ret; in test_nls_base() local
226 ret = register_nls(&nls); in test_nls_base()
227 printk(KERN_DEBUG "register_nls() returns %i\n", ret); in test_nls_base()
240 ret = utf8_mbtowc(&p, &s, n); in test_nls_base()
241 printk(KERN_DEBUG "utf8_mbtowc() returns %i\n", ret); in test_nls_base()
244 ret = utf8_mbstowcs(&p, &s, n); in test_nls_base()
245 printk(KERN_DEBUG "utf8_mbstowcs() returns %i\n", ret); in test_nls_base()
250 ret = utf8_wctomb(&s, p, n); in test_nls_base()
251 printk(KERN_DEBUG "utf8_wctomb() returns %i\n", ret); in test_nls_base()
254 ret in test_nls_base()
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv98_video_bsp.c47 int ret; in nv98_decoder_bsp() local
75 ret = nouveau_bo_new(dec->client->device, NOUVEAU_BO_VRAM, 0, bsp_size, NULL, &tmp_bo); in nv98_decoder_bsp()
76 if (ret) { in nv98_decoder_bsp()
78 bsp_bo ? (unsigned)bsp_bo->size : 0, bsp_size, ret); in nv98_decoder_bsp()
88 ret = nouveau_bo_new(dec->client->device, NOUVEAU_BO_VRAM, 0, bsp_bo->size * 4, NULL, &tmp_bo); in nv98_decoder_bsp()
89 if (ret) { in nv98_decoder_bsp()
91 inter_bo ? (unsigned)inter_bo->size : 0, (unsigned)bsp_bo->size * 4, ret); in nv98_decoder_bsp()
98 ret = nouveau_bo_map(bsp_bo, NOUVEAU_BO_WR, dec->client); in nv98_decoder_bsp()
99 if (ret) { in nv98_decoder_bsp()
100 debug_printf("map failed: %i %s\n", ret, strerro in nv98_decoder_bsp()
[all...]
/third_party/node/deps/v8/src/execution/
H A Dsimulator-base.h49 intptr_t ret = (sim->*call)(entry, args_arr.size(), args_arr.data()); in VariadicCall() local
50 return ConvertReturn<Return>(ret); in VariadicCall()
56 ConvertReturn(intptr_t ret) { in ConvertReturn() argument
58 return static_cast<T>(ret); in ConvertReturn()
64 ConvertReturn(intptr_t ret) { in ConvertReturn() argument
65 return reinterpret_cast<T>(ret); in ConvertReturn()
70 ConvertReturn(intptr_t ret) { in ConvertReturn() argument
71 return Object(ret); in ConvertReturn()
77 ConvertReturn(intptr_t ret) { in ConvertReturn() argument
79 result.int64_value = static_cast<int64_t>(ret); in ConvertReturn()
86 ConvertReturn( intptr_t ret) ConvertReturn() argument
[all...]
/third_party/mindspore/test/unittest/
H A Dnnrt_delegate_unit_test.cpp143 OH_AI_Status ret = OH_AI_ModelBuildFromFile(model, "/data/test/resource/tinynet.om.ms", in HWTEST() local
145 printf("==========build model return code:%d\n", ret); in HWTEST()
146 if (ret != OH_AI_STATUS_SUCCESS) { in HWTEST()
147 printf("==========build model failed, ret: %d\n", ret); in HWTEST()
168 ret = OH_AI_ModelPredict(model, inputs, &outputs, nullptr, nullptr); in HWTEST()
169 ASSERT_EQ(ret, OH_AI_STATUS_SUCCESS); in HWTEST()
188 OH_AI_Status ret = OH_AI_ModelBuildFromFile(model, "/data/test/resource/ml_face_isface.ms", in HWTEST() local
190 printf("==========build model return code:%d\n", ret); in HWTEST()
191 ASSERT_EQ(ret, OH_AI_STATUS_SUCCES in HWTEST()
[all...]
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Dtasn_utl.c51 int *sel, ret; in ossl_asn1_set_choice_selector() local
54 ret = *sel; in ossl_asn1_set_choice_selector()
56 return ret; in ossl_asn1_set_choice_selector()
73 int ret = -1; in ossl_asn1_do_lock() local
86 *lck = ret = 1; in ossl_asn1_do_lock()
94 if (!CRYPTO_UP_REF(lck, &ret, *lock)) in ossl_asn1_do_lock()
98 if (!CRYPTO_DOWN_REF(lck, &ret, *lock)) in ossl_asn1_do_lock()
100 REF_PRINT_EX(it->sname, ret, (void *)it); in ossl_asn1_do_lock()
101 REF_ASSERT_ISNT(ret < 0); in ossl_asn1_do_lock()
102 if (ret in ossl_asn1_do_lock()
[all...]
/third_party/node/deps/openssl/openssl/crypto/dsa/
H A Ddsa_pmeth.c81 int ret; in pkey_dsa_sign() local
94 ret = DSA_sign(0, tbs, tbslen, sig, &sltmp, dsa); in pkey_dsa_sign()
96 if (ret <= 0) in pkey_dsa_sign()
97 return ret; in pkey_dsa_sign()
106 int ret; in pkey_dsa_verify() local
118 ret = DSA_verify(0, tbs, tbslen, sig, siglen, dsa); in pkey_dsa_verify()
120 return ret; in pkey_dsa_verify()
215 int ret, res; in pkey_dsa_paramgen() local
232 ret = ossl_ffc_params_FIPS186_4_generate(NULL, &dsa->params, in pkey_dsa_paramgen()
236 if (ret > in pkey_dsa_paramgen()
[all...]
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dv3_lib.c55 const X509V3_EXT_METHOD *t = &tmp, *const *ret; in X509V3_EXT_get_nid() local
61 ret = OBJ_bsearch_ext(&t, standard_exts, STANDARD_EXTENSION_COUNT); in X509V3_EXT_get_nid()
62 if (ret) in X509V3_EXT_get_nid()
63 return *ret; in X509V3_EXT_get_nid()
223 STACK_OF(X509_EXTENSION) *ret = NULL; in STACK_OF()
283 ret = *x; in STACK_OF()
285 && (ret = sk_X509_EXTENSION_new_null()) == NULL) in STACK_OF()
287 if (!sk_X509_EXTENSION_push(ret, ext)) in STACK_OF()
290 *x = ret; in STACK_OF()
295 if (ret ! in STACK_OF()
[all...]
/third_party/openssl/test/
H A Dsslcorrupttest.c28 int ret; in tls_corrupt_read() local
31 ret = BIO_read(next, out, outl); in tls_corrupt_read()
34 return ret; in tls_corrupt_read()
39 int ret; in tls_corrupt_write() local
48 ret = BIO_write(next, copy, inl); in tls_corrupt_write()
51 ret = BIO_write(next, in, inl); in tls_corrupt_write()
55 return ret; in tls_corrupt_write()
60 long ret; in tls_corrupt_ctrl() local
68 ret = 0L; in tls_corrupt_ctrl()
71 ret in tls_corrupt_ctrl()
[all...]
/third_party/openssl/crypto/dsa/
H A Ddsa_pmeth.c81 int ret; in pkey_dsa_sign() local
94 ret = DSA_sign(0, tbs, tbslen, sig, &sltmp, dsa); in pkey_dsa_sign()
96 if (ret <= 0) in pkey_dsa_sign()
97 return ret; in pkey_dsa_sign()
106 int ret; in pkey_dsa_verify() local
118 ret = DSA_verify(0, tbs, tbslen, sig, siglen, dsa); in pkey_dsa_verify()
120 return ret; in pkey_dsa_verify()
215 int ret, res; in pkey_dsa_paramgen() local
232 ret = ossl_ffc_params_FIPS186_4_generate(NULL, &dsa->params, in pkey_dsa_paramgen()
236 if (ret > in pkey_dsa_paramgen()
[all...]
/third_party/openssl/crypto/asn1/
H A Dtasn_utl.c51 int *sel, ret; in ossl_asn1_set_choice_selector() local
54 ret = *sel; in ossl_asn1_set_choice_selector()
56 return ret; in ossl_asn1_set_choice_selector()
73 int ret = -1; in ossl_asn1_do_lock() local
86 *lck = ret = 1; in ossl_asn1_do_lock()
94 if (!CRYPTO_UP_REF(lck, &ret, *lock)) in ossl_asn1_do_lock()
98 if (!CRYPTO_DOWN_REF(lck, &ret, *lock)) in ossl_asn1_do_lock()
100 REF_PRINT_EX(it->sname, ret, (void *)it); in ossl_asn1_do_lock()
101 REF_ASSERT_ISNT(ret < 0); in ossl_asn1_do_lock()
102 if (ret in ossl_asn1_do_lock()
[all...]
/third_party/openssl/crypto/x509/
H A Dv3_lib.c55 const X509V3_EXT_METHOD *t = &tmp, *const *ret; in X509V3_EXT_get_nid() local
61 ret = OBJ_bsearch_ext(&t, standard_exts, STANDARD_EXTENSION_COUNT); in X509V3_EXT_get_nid()
62 if (ret) in X509V3_EXT_get_nid()
63 return *ret; in X509V3_EXT_get_nid()
223 STACK_OF(X509_EXTENSION) *ret = NULL; in STACK_OF()
283 ret = *x; in STACK_OF()
285 && (ret = sk_X509_EXTENSION_new_null()) == NULL) in STACK_OF()
287 if (!sk_X509_EXTENSION_push(ret, ext)) in STACK_OF()
290 *x = ret; in STACK_OF()
295 if (ret ! in STACK_OF()
[all...]
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dspdy_fileserver.c110 int ret = fread(buffer,1,max,fd); in response_callback() local
116 return ret; in response_callback()
171 int ret = -666; in standard_request_handler() local
180 || 0 != (ret = fseek(fd, 0L, SEEK_END)) in standard_request_handler()
182 || 0 != (ret = fseek(fd, 0L, SEEK_SET))) in standard_request_handler()
184 printf("Error on opening %s\n%p %i %zd\n",fname, fd, ret, filesize); in standard_request_handler()
273 int ret; in main() local
313 ret = SPDY_get_timeout(daemon, &timeoutlong); in main()
314 if(SPDY_NO == ret || timeoutlong > 1000) in main()
330 ret in main()
[all...]
/third_party/pulseaudio/src/utils/
H A Dpasuspender.c55 static void quit(int ret) { in quit() argument
57 mainloop_api->quit(mainloop_api, ret); in quit()
242 int c, ret = 1; in main() local
263 ret = 0; in main()
273 ret = 0; in main()
291 ret = 0; in main()
320 if (pa_mainloop_run(m, &ret) < 0) { in main()
325 if (ret == 0 && fork_failed) in main()
326 ret = 1; in main()
342 return ret in main()
[all...]
/third_party/selinux/libselinux/utils/
H A Davcstat.c80 int ret; in set_window_rows() local
83 ret = ioctl(fileno(stdout), TIOCGWINSZ, &ws); in set_window_rows()
84 if (ret < 0 || ws.ws_row < 3) in set_window_rows()
156 ssize_t ret, parsed = 0; in main() local
159 ret = read(fd, buf, DEF_BUF_SIZE-1); in main()
160 if (ret < 0) in main()
163 if (ret == 0) in main()
185 ret = sscanf(line, "%llu %llu %llu %llu %llu %llu", in main()
191 if (ret != 6) in main()
229 ret in main()
[all...]

Completed in 15 milliseconds

1...<<81828384858687888990>>...372