Home
last modified time | relevance | path

Searched refs:ret (Results 21726 - 21750 of 46818) sorted by relevance

1...<<861862863864865866867868869870>>...1873

/third_party/ffmpeg/libavcodec/
H A Dav1_parse.h95 int64_t ret = 0; in leb128() local
100 ret |= (int64_t)(byte & 0x7f) << (i * 7); in leb128()
104 return ret; in leb128()
112 int ret, extension_flag, has_size_flag; in parse_obu_header() local
115 ret = init_get_bits8(&gb, buf, FFMIN(buf_size, MAX_OBU_HEADER_SIZE)); in parse_obu_header()
116 if (ret < 0) in parse_obu_header()
117 return ret; in parse_obu_header()
H A Daliaspixdec.c35 int width, height, ret, bits_pixel, pixel; in decode_frame() local
61 ret = ff_set_dimensions(avctx, width, height); in decode_frame()
62 if (ret < 0) in decode_frame()
63 return ret; in decode_frame()
68 ret = ff_get_buffer(avctx, f, 0); in decode_frame()
69 if (ret < 0) in decode_frame()
70 return ret; in decode_frame()
/third_party/ffmpeg/libavformat/
H A Dbit.c83 int i, j, ret; in read_packet() local
94 ret = avio_read(pb, (uint8_t*)buf, (8 * packet_size) * sizeof(uint16_t)); in read_packet()
95 if(ret<0) in read_packet()
96 return ret; in read_packet()
97 if(ret != 8 * packet_size * sizeof(uint16_t)) in read_packet()
100 if ((ret = av_new_packet(pkt, packet_size)) < 0) in read_packet()
101 return ret; in read_packet()
H A Dfifo_test.c41 int ret; /* return value of write_packet call*/ member
42 int recover_after; /* set ret to zero after this number of recovery attempts */
68 int ret = 0; in failing_write_packet() local
75 data->ret = 0; in failing_write_packet()
80 ret = data->ret; in failing_write_packet()
92 if (!ret) { in failing_write_packet()
97 return ret; in failing_write_packet()
H A Dmspdec.c86 int ret; in msp_read_packet() local
88 ret = av_get_packet(s->pb, pkt, cntx->packet_size); in msp_read_packet()
89 if (ret < 0) in msp_read_packet()
90 return ret; in msp_read_packet()
99 ret = av_append_packet(s->pb, pkt, size); in msp_read_packet()
100 if (ret < 0) in msp_read_packet()
101 return ret; in msp_read_packet()
/third_party/libunwind/libunwind/src/x86_64/
H A Dinit.h47 int ret; in common_init() local
67 ret = dwarf_get (&c->dwarf, c->dwarf.loc[RIP], &c->dwarf.ip); in common_init()
68 if (ret < 0) in common_init()
69 return ret; in common_init()
71 ret = dwarf_get (&c->dwarf, DWARF_REG_LOC (&c->dwarf, UNW_X86_64_RSP), in common_init()
73 if (ret < 0) in common_init()
74 return ret; in common_init()
/third_party/libunwind/libunwind/src/arm/
H A Dinit.h30 int ret, i; in common_init() local
51 ret = dwarf_get (&c->dwarf, c->dwarf.loc[UNW_ARM_R15], &c->dwarf.ip); in common_init()
52 if (ret < 0) in common_init()
53 return ret; in common_init()
56 ret = dwarf_get (&c->dwarf, DWARF_REG_LOC (&c->dwarf, UNW_ARM_R13), in common_init()
58 if (ret < 0) in common_init()
59 return ret; in common_init()
/third_party/libunwind/libunwind/src/ppc64/
H A Dinit.h33 int ret; in common_init_ppc64() local
61 ret = dwarf_get (&c->dwarf, c->dwarf.loc[UNW_PPC64_NIP], &c->dwarf.ip); in common_init_ppc64()
62 if (ret < 0) in common_init_ppc64()
63 return ret; in common_init_ppc64()
65 ret = dwarf_get (&c->dwarf, DWARF_REG_LOC (&c->dwarf, UNW_PPC64_R1), in common_init_ppc64()
67 if (ret < 0) in common_init_ppc64()
68 return ret; in common_init_ppc64()
/third_party/libunwind/libunwind/src/x86/
H A Dinit.h31 int ret, i; in common_init() local
48 ret = dwarf_get (&c->dwarf, c->dwarf.loc[EIP], &c->dwarf.ip); in common_init()
49 if (ret < 0) in common_init()
50 return ret; in common_init()
52 ret = dwarf_get (&c->dwarf, DWARF_REG_LOC (&c->dwarf, UNW_X86_ESP), in common_init()
54 if (ret < 0) in common_init()
55 return ret; in common_init()
/third_party/libunwind/libunwind/tests/
H A Dtest-async-sig.c73 int ret; in do_backtrace() local
94 ret = unw_get_proc_name (&cursor, name, sizeof (name), &off); in do_backtrace()
95 if (ret == 0 && (may_print && verbose)) in do_backtrace()
113 ret = unw_step (&cursor); in do_backtrace()
114 if (ret < 0) in do_backtrace()
118 ret, (long) ip); in do_backtrace()
126 while (ret > 0); in do_backtrace()
/third_party/libunwind/libunwind/src/sh/
H A Dinit.h30 int ret; in common_init() local
51 ret = dwarf_get (&c->dwarf, c->dwarf.loc[UNW_SH_PC], &c->dwarf.ip); in common_init()
52 if (ret < 0) in common_init()
53 return ret; in common_init()
55 ret = dwarf_get (&c->dwarf, c->dwarf.loc[UNW_TDEP_SP], &c->dwarf.cfa); in common_init()
56 if (ret < 0) in common_init()
57 return ret; in common_init()
/third_party/mbedtls/3rdparty/everest/library/
H A Dx25519.c64 int ret = 0; in mbedtls_x25519_make_params() local
68 if( ( ret = f_rng( p_rng, ctx->our_secret, MBEDTLS_X25519_KEY_SIZE_BYTES ) ) != 0 ) in mbedtls_x25519_make_params()
69 return ret; in mbedtls_x25519_make_params()
150 int ret = 0; in mbedtls_x25519_make_public() local
156 if( ( ret = f_rng( p_rng, ctx->our_secret, MBEDTLS_X25519_KEY_SIZE_BYTES ) ) != 0 ) in mbedtls_x25519_make_public()
157 return ret; in mbedtls_x25519_make_public()
171 return( ret ); in mbedtls_x25519_make_public()
/third_party/mbedtls/programs/x509/
H A Dload_roots.c54 int ret = 0; in read_certificates() local
60 ret = mbedtls_x509_crt_parse_file(&cas, *cur); in read_certificates()
61 if (ret != 0) { in read_certificates()
64 mbedtls_strerror(ret, error_message, sizeof(error_message)); in read_certificates()
66 *cur, (unsigned) -ret, error_message); in read_certificates()
69 *cur, (unsigned) -ret); in read_certificates()
77 return ret == 0; in read_certificates()
/third_party/ltp/lib/
H A Dtst_pid.c62 int ret; in get_session_uid() local
64 ret = sscanf(sudo_uid, "%u", &real_uid); in get_session_uid()
65 if (ret == 1) in get_session_uid()
75 int max_pids, ret; in read_session_pids_limit() local
79 ret = snprintf(path, sizeof(path), path_fmt, uid); in read_session_pids_limit()
80 if (ret < 0 || (size_t)ret >= sizeof(path)) in read_session_pids_limit()
/third_party/mesa3d/src/gallium/frontends/clover/api/
H A Dcontext.cpp69 cl_int ret; in clCreateContextFromType() local
73 ret = clGetPlatformIDs(1, &d_platform, &num_platforms); in clCreateContextFromType()
74 if (ret || !num_platforms) in clCreateContextFromType()
77 ret = clGetDeviceIDs(d_platform, type, 0, NULL, &num_devices); in clCreateContextFromType()
78 if (ret) in clCreateContextFromType()
81 ret = clGetDeviceIDs(d_platform, type, num_devices, devs.data(), 0); in clCreateContextFromType()
82 if (ret) in clCreateContextFromType()
/third_party/musl/libc-test/src/regression/
H A Dmalloc-multi-thread-performance.c67 int ret; in main() local
70 ret = pthread_attr_init(&attr); in main()
71 if (ret < 0) { in main()
79 ret = pthread_create(&tids[i], &attr, func, &t_result[i]); in main()
80 if (ret < 0) { in main()
88 ret = pthread_join(tids[i], NULL); in main()
89 if (ret < 0) { in main()
/third_party/musl/src/string/aarch64/
H A Dmemset.S39 ret
44 ret
49 3: ret
59 1: ret
68 ret
99 ret
112 ret
/third_party/libfuse/example/
H A Dcuse_client.c64 ssize_t ret; in do_rw() local
74 ret = ioctl(fd, FIOC_READ, &arg); in do_rw()
75 if (ret >= 0) in do_rw()
76 fwrite(arg.buf, 1, ret, stdout); in do_rw()
80 ret = ioctl(fd, FIOC_WRITE, &arg); in do_rw()
83 if (ret >= 0) { in do_rw()
90 return ret; in do_rw()
/third_party/ltp/testcases/kernel/syscalls/io_submit/
H A Dio_submit01.c121 int i, ret; in verify_io_submit() local
123 ret = io_submit(*t->ctx, t->nr, t->iocbs); in verify_io_submit()
125 if (ret == t->exp_errno) { in verify_io_submit()
129 for (i = 0; i < ret; i++) in verify_io_submit()
136 ret, ret < 0 ? tst_strerrno(-ret) : "SUCCESS", in verify_io_submit()
/third_party/ltp/testcases/kernel/syscalls/pwritev/
H A Dpwritev03.c92 int dev_fd, ret; in setup() local
95 SAFE_IOCTL(dev_fd, BLKSSZGET, &ret); in setup()
98 if (ret <= 0) in setup()
99 tst_brk(TBROK, "BLKSSZGET returned invalid block size %i", ret); in setup()
101 tst_res(TINFO, "Using block size %i", ret); in setup()
103 blksz = ret; in setup()
104 blk_off = ret; in setup()
/third_party/ltp/testcases/kernel/mem/thp/
H A Dthp04.c42 void *ret; in alloc_zero_page() local
46 ret = mmap(baseaddr, thp_size, PROT_READ, in alloc_zero_page()
49 if (ret == baseaddr) { in alloc_zero_page()
50 TEST(madvise(ret, thp_size, MADV_HUGEPAGE)); in alloc_zero_page()
62 return ret; in alloc_zero_page()
65 if (ret != MAP_FAILED) in alloc_zero_page()
66 SAFE_MUNMAP(ret, thp_size); in alloc_zero_page()
/third_party/ltp/testcases/kernel/syscalls/bpf/
H A Dbpf_prog03.c45 int ret; in load_prog() local
90 ret = TST_RETRY_FUNC(bpf(BPF_PROG_LOAD, attr, sizeof(*attr)), in load_prog()
93 if (ret < -1) in load_prog()
94 tst_brk(TBROK, "Invalid bpf() return value %d", ret); in load_prog()
96 if (ret >= 0) { in load_prog()
99 return ret; in load_prog()
106 return ret; in load_prog()
H A Dbpf_prog07.c60 int ret; in load_prog() local
94 ret = TST_RETRY_FUNC(bpf(BPF_PROG_LOAD, attr, sizeof(*attr)), in load_prog()
97 if (ret >= 0) in load_prog()
98 return ret; in load_prog()
100 if (ret != -1) in load_prog()
101 tst_brk(TBROK, "Invalid bpf() return value: %d", ret); in load_prog()
106 return ret; in load_prog()
/third_party/ltp/testcases/kernel/syscalls/preadv/
H A Dpreadv03.c93 int dev_fd, ret; in setup() local
96 SAFE_IOCTL(dev_fd, BLKSSZGET, &ret); in setup()
99 if (ret <= 0) in setup()
100 tst_brk(TBROK, "BLKSSZGET returned invalid block size %i", ret); in setup()
102 tst_res(TINFO, "Using block size %i", ret); in setup()
104 blksz = ret; in setup()
105 blk_off = ret; in setup()
/third_party/ltp/testcases/kernel/syscalls/statx/
H A Dstatx09.c82 int fd, attr, ret; in flag_setup() local
89 ret = ioctl(fd, FS_IOC_GETFLAGS, &attr); in flag_setup()
90 if (ret < 0) { in flag_setup()
106 ret = ioctl(fd, FS_IOC_ENABLE_VERITY, &enable); in flag_setup()
107 if (ret < 0) { in flag_setup()
115 ret = ioctl(fd, FS_IOC_GETFLAGS, &attr); in flag_setup()
116 if ((ret == 0) && !(attr & FS_VERITY_FL)) in flag_setup()

Completed in 25 milliseconds

1...<<861862863864865866867868869870>>...1873