Home
last modified time | relevance | path

Searched refs:retval (Results 1 - 25 of 455) sorted by relevance

12345678910>>...19

/third_party/mesa3d/include/android_stub/log/
H A Dlog_event_list.h120 int retval = android_log_destroy(&ctx); in close() local
121 if (retval < 0) ret = retval; in close()
122 return retval; in close()
136 int retval = android_log_write_list_begin(ctx); in begin() local
137 if (retval < 0) ret = retval; in begin()
141 int retval = android_log_write_list_end(ctx); in end() local
142 if (retval < 0) ret = retval; in end()
147 int retval = android_log_write_int32(ctx, value); operator <<() local
153 int retval = android_log_write_int32(ctx, static_cast<int32_t>(value)); operator <<() local
159 int retval = android_log_write_int32(ctx, value ? 1 : 0); operator <<() local
165 int retval = android_log_write_int64(ctx, value); operator <<() local
171 int retval = android_log_write_int64(ctx, static_cast<int64_t>(value)); operator <<() local
177 int retval = android_log_write_string8(ctx, value); operator <<() local
183 int retval = operator <<() local
190 int retval = android_log_write_float32(ctx, value); operator <<() local
198 int retval = android_log_write_list(ctx, id); write() local
218 int retval = android_log_write_int32(ctx, value); AppendInt() local
224 int retval = android_log_write_int64(ctx, value); AppendLong() local
230 int retval = android_log_write_string8(ctx, value); AppendString() local
236 int retval = android_log_write_string8_len(ctx, value, len); AppendString() local
242 int retval = AppendString() local
249 int retval = Append() local
256 int retval = android_log_write_float32(ctx, value); AppendFloat() local
268 int retval = android_log_write_string8_len(ctx, value, len); Append() local
[all...]
/third_party/skia/third_party/externals/freetype/src/type1/
H A Dt1driver.c192 FT_ULong retval = 0; /* always >= 1 if valid */ in t1_ps_get_font_value() local
202 retval = sizeof ( type1->font_type ); in t1_ps_get_font_value()
203 if ( value && value_len >= retval ) in t1_ps_get_font_value()
214 retval = sizeof ( val ); in t1_ps_get_font_value()
215 if ( value && value_len >= retval ) in t1_ps_get_font_value()
244 retval = sizeof ( val ); in t1_ps_get_font_value()
245 if ( value && value_len >= retval ) in t1_ps_get_font_value()
268 retval = sizeof ( type1->paint_type ); in t1_ps_get_font_value()
269 if ( value && value_len >= retval ) in t1_ps_get_font_value()
276 retval in t1_ps_get_font_value()
[all...]
/third_party/python/Tools/scripts/
H A Dumarshal.py234 retval: Any = tuple(self.r_object() for _ in range(n))
235 self.r_ref_insert(retval, idx, flag)
236 return retval
240 retval = tuple(self.r_object() for _ in range(n))
241 self.r_ref_insert(retval, idx, flag)
242 return retval
245 retval = R_REF([])
247 retval.append(self.r_object())
248 return retval
250 retval
[all...]
/third_party/libsnd/tests/
H A Dstdio_test.c89 int file_size, retval ; in stdio_test() local
94 if ((retval = system (buffer))) in stdio_test()
95 { retval = WIFEXITED (retval) ? WEXITSTATUS (retval) : 1 ; in stdio_test()
96 printf ("%s : %s", buffer, (strerror (retval))) ; in stdio_test()
107 if ((retval = system (buffer))) in stdio_test()
108 { retval = WIFEXITED (retval) ? WEXITSTATUS (retval) in stdio_test()
[all...]
/third_party/eudev/src/scsi_id/
H A Dscsi_serial.c330 int retval; in scsi_inquiry() local
364 retval = ioctl(fd, SG_IO, io_buf); in scsi_inquiry()
365 if (retval < 0) { in scsi_inquiry()
375 retval = sg_err_category4(udev, io_buf); in scsi_inquiry()
377 retval = sg_err_category3(udev, io_buf); in scsi_inquiry()
379 switch (retval) { in scsi_inquiry()
385 retval = 0; in scsi_inquiry()
390 retval = scsi_dump_v4(udev, dev_scsi, io_buf); in scsi_inquiry()
392 retval = scsi_dump(udev, dev_scsi, io_buf); in scsi_inquiry()
395 if (!retval) { in scsi_inquiry()
416 int retval; do_scsi_page0_inquiry() local
623 int retval; do_scsi_page83_inquiry() local
713 int retval; do_scsi_page83_prespc3_inquiry() local
775 int retval; do_scsi_page80_inquiry() local
867 int retval; scsi_get_serial() local
[all...]
H A Dscsi_id.c174 int retval = 0; in get_file_options() local
224 retval = log_oom(); in get_file_options()
233 retval = log_oom(); in get_file_options()
244 retval = log_oom(); in get_file_options()
255 retval = -1; in get_file_options()
276 if (retval == 0) { in get_file_options()
287 retval = log_oom(); in get_file_options()
302 retval = 1; in get_file_options()
305 if (retval != 0) in get_file_options()
307 return retval; in get_file_options()
420 int retval; per_dev_options() local
474 int retval; set_inq_values() local
504 int retval = 0; scsi_id() local
579 int retval = 0; main() local
[all...]
/third_party/python/Modules/_decimal/libmpdec/
H A Dbits.h108 mpd_size_t retval; in mpd_bsr() local
116 :"=r" (retval) in mpd_bsr()
121 return (int)retval; in mpd_bsr()
130 mpd_size_t retval; in mpd_bsf() local
138 :"=r" (retval) in mpd_bsf()
143 return (int)retval; in mpd_bsf()
155 unsigned long retval; in mpd_bsr() local
158 _BitScanReverse64(&retval, a); in mpd_bsr()
160 _BitScanReverse(&retval, a); in mpd_bsr()
163 return (int)retval; in mpd_bsr()
172 unsigned long retval; mpd_bsf() local
[all...]
/third_party/mesa3d/src/glx/
H A Dsingle2.c128 GLuint retval = GL_NO_ERROR; in __indirect_glGetError() local
133 retval = gc->error; in __indirect_glGetError()
135 return retval; in __indirect_glGetError()
141 retval = reply.error; in __indirect_glGetError()
144 return retval; in __indirect_glGetError()
157 GLboolean retval = GL_TRUE; in get_client_data() local
170 retval = __glXGetArrayEnable(state, cap, 0, data); in get_client_data()
174 retval = __glXGetArraySize(state, GL_VERTEX_ARRAY, 0, data); in get_client_data()
177 retval = __glXGetArraySize(state, GL_COLOR_ARRAY, 0, data); in get_client_data()
180 retval in get_client_data()
576 GLint retval = 0; __indirect_glRenderMode() local
760 GLboolean retval = 0; __indirect_glIsEnabled() local
848 GLboolean retval = (GLboolean) 0; __indirect_glAreTexturesResident() local
889 GLboolean retval = (GLboolean) 0; glAreTexturesResidentEXT() local
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/
H A D3-1.c48 int fd, retval; in main() local
80 retval = aio_error(&aiocb); in main()
81 } while (retval == EINPROGRESS); in main()
83 retval = aio_return(&aiocb); in main()
85 if (retval == -1) { in main()
87 printf(TNAME " Error at aio_return(): %d, %s\n", retval, in main()
106 retval = aio_error(&aiocb); in main()
107 } while (retval == EINPROGRESS); in main()
109 retval = aio_return(&aiocb); in main()
111 if (retval in main()
[all...]
H A D4-1.c47 int fd, retval; in main() local
78 retval = aio_error(&aiocb); in main()
79 } while (retval == EINPROGRESS); in main()
81 retval = aio_error(&aiocb); in main()
83 if (retval == 0) { in main()
90 retval = aio_return(&aiocb2); in main()
92 if (retval != -1 || aio_error(&aiocb) != EINVAL) { in main()
98 retval = aio_return(&aiocb); in main()
100 if (retval != BUF_SIZE) { in main()
102 printf(TNAME " Error at aio_return(): %d, %s\n", retval, in main()
[all...]
H A D3-2.c46 int fd, retval; in main() local
78 retval = aio_error(&aiocb); in main()
79 } while (retval == EINPROGRESS); in main()
81 retval = aio_return(&aiocb); in main()
83 if (retval == -1) { in main()
89 if (retval != BUF_SIZE) { in main()
91 printf(TNAME " Error at aio_return(): %d, %s\n", retval, in main()
96 retval = aio_return(&aiocb); in main()
98 if (retval != -1 && aio_error(&aiocb) != EINVAL) { in main()
102 EINVAL, retval, aio_erro in main()
[all...]
H A D2-1.c43 int fd, retval; in main() local
75 retval = aio_error(&aiocb); in main()
76 } while (retval == EINPROGRESS); in main()
78 retval = aio_return(&aiocb); in main()
80 if (0 < retval) { in main()
82 if (retval != BUF_SIZE) { in main()
85 "%d\n", retval); in main()
89 retval = aio_return(&aiocb); in main()
91 if (retval != -1) { in main()
94 "return -1; aio_return() returned %d\n", retval); in main()
[all...]
/third_party/gptfdisk/
H A Ddiskio-windows.cc173 int retval = 0; in DiskSync() local
187 retval = 1; in DiskSync()
194 return retval; in DiskSync()
199 int retval = 1; in Seek() local
204 retval = OpenForRead(); in Seek()
209 retval = SetFilePointerEx(fd, seekTo, NULL, FILE_BEGIN); in Seek()
210 if (retval == 0) { in Seek()
213 retval = 0; in Seek()
216 return retval; in Seek()
226 DWORD retval in Read() local
268 int blockSize = 512, i, numBlocks, retval = 0; Write() local
[all...]
/third_party/ltp/tools/genload/
H A Dstress.c90 int i, pid, children = 0, retval = 0; in main() local
290 retval += ret; in main()
299 ++retval; in main()
307 ++retval; in main()
322 if (retval) { in main()
328 exit(retval); in main()
469 int pid, retval = 0; in hogcpu() local
493 ++retval; in hogcpu()
517 retval += ret; in hogcpu()
534 ++retval; in hogcpu()
545 int pid, retval = 0; hogio() local
620 int pid, retval = 0; hogvm() local
742 int fd, pid, retval = 0; hoghdd() local
[all...]
H A Dgenload.c90 int i, pid, children = 0, retval = 0; in main() local
290 retval += ret; in main()
299 ++retval; in main()
307 ++retval; in main()
322 if (retval) { in main()
328 exit(retval); in main()
469 int pid, retval = 0; in hogcpu() local
493 ++retval; in hogcpu()
517 retval += ret; in hogcpu()
534 ++retval; in hogcpu()
545 int pid, retval = 0; hogio() local
620 int pid, retval = 0; hogvm() local
742 int fd, pid, retval = 0; hoghdd() local
[all...]
/third_party/elfutils/libelf/
H A Delf_clone.c43 Elf *retval = NULL; in elf_clone() local
56 retval = allocate_elf (elf->fildes, elf->map_address, elf->start_offset, in elf_clone()
59 if (retval != NULL) in elf_clone()
62 retval->flags = ELF_F_DIRTY; in elf_clone()
65 retval->state.elf.scnincr = 10; in elf_clone()
70 retval->state.elf.scns_last = &retval->state.elf32.scns; in elf_clone()
71 retval->state.elf32.scns.max = elf->state.elf32.scns.max; in elf_clone()
73 retval->class = elf->class; in elf_clone()
80 return retval; in elf_clone()
[all...]
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dbackward_references_enc.h48 PixOrCopy retval; in PixOrCopyCreateCopy() local
49 retval.mode = kCopy; in PixOrCopyCreateCopy()
50 retval.argb_or_distance = distance; in PixOrCopyCreateCopy()
51 retval.len = len; in PixOrCopyCreateCopy()
52 return retval; in PixOrCopyCreateCopy()
56 PixOrCopy retval; in PixOrCopyCreateCacheIdx() local
59 retval.mode = kCacheIdx; in PixOrCopyCreateCacheIdx()
60 retval.argb_or_distance = idx; in PixOrCopyCreateCacheIdx()
61 retval.len = 1; in PixOrCopyCreateCacheIdx()
62 return retval; in PixOrCopyCreateCacheIdx()
[all...]
/third_party/node/deps/brotli/c/enc/
H A Dbit_cost.h24 double retval = 0; in ShannonEntropy() local
33 retval -= (double)p * FastLog2(p); in ShannonEntropy()
37 retval -= (double)p * FastLog2(p); in ShannonEntropy()
39 if (sum) retval += (double)sum * FastLog2(sum); in ShannonEntropy()
41 return retval; in ShannonEntropy()
47 double retval = ShannonEntropy(population, size, &sum); in BitsEntropy() local
48 if (retval < sum) { in BitsEntropy()
50 retval = (double)sum; in BitsEntropy()
52 return retval; in BitsEntropy()
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dbit_cost.h24 double retval = 0; in ShannonEntropy() local
33 retval -= (double)p * FastLog2(p); in ShannonEntropy()
37 retval -= (double)p * FastLog2(p); in ShannonEntropy()
39 if (sum) retval += (double)sum * FastLog2(sum); in ShannonEntropy()
41 return retval; in ShannonEntropy()
47 double retval = ShannonEntropy(population, size, &sum); in BitsEntropy() local
48 if (retval < sum) { in BitsEntropy()
50 retval = (double)sum; in BitsEntropy()
52 return retval; in BitsEntropy()
/third_party/libsnd/src/
H A Dtest_file_io.c118 sf_count_t retval ; in file_read_write_test() local
138 if ((retval = psf_get_filelen (psf)) != sizeof (data_out)) in file_read_write_test()
139 { printf ("\n\nLine %d: file length after write is not correct (%" PRId64 " should be %zd).\n\n", __LINE__, retval, sizeof (data_out)) ; in file_read_write_test()
140 if (retval == 0) in file_read_write_test()
148 if ((retval = psf_get_filelen (psf)) != 2 * sizeof (data_out)) in file_read_write_test()
149 { printf ("\n\nLine %d: file length after write is not correct. (%" PRId64 " should be %zd)\n\n", __LINE__, retval, 2 * sizeof (data_out)) ; in file_read_write_test()
230 if ((retval = psf_get_filelen (psf)) != 3 * sizeof (data_out)) in file_read_write_test()
231 { printf ("\n\nLine %d: file length after write is not correct. (%" PRId64 " should be %zd)\n\n", __LINE__, retval, 3 * sizeof (data_out)) ; in file_read_write_test()
246 if ((retval = psf_get_filelen (psf)) != 3 * sizeof (data_out)) in file_read_write_test()
247 { printf ("\n\nLine %d: file length after write is not correct. (%" PRId64 " should be %zd)\n\n", __LINE__, retval, in file_read_write_test()
396 { sf_count_t retval ; test_write_or_die() local
414 { sf_count_t retval ; test_read_or_die() local
432 { sf_count_t retval ; test_seek_or_die() local
447 sf_count_t retval ; test_tell_or_die() local
[all...]
/third_party/backends/backend/
H A Dplustek-pp_ptdrv.c384 int retval; in ptdrvOpen() local
393 retval = MiscClaimPort(ps); in ptdrvOpen()
395 if( _OK != retval ) in ptdrvOpen()
396 return retval; in ptdrvOpen()
437 int retval, iobase; in ptdrvOpenDevice() local
477 retval = ptdrvOpen( ps, iobase ); in ptdrvOpenDevice()
479 if( _OK == retval ) in ptdrvOpenDevice()
480 retval = DetectScanner( ps, asic ); in ptdrvOpenDevice()
484 return retval; in ptdrvOpenDevice()
493 int retval; in ptdrvInit() local
639 int retval; ptdrvIoctl() local
957 int retval = _OK; ptdrvRead() local
[all...]
/third_party/ffmpeg/libavutil/
H A Dfixed_dsp.h178 int retval, bit_mask, guess, square, i; in fixed_sqrt() local
183 if (shift1 > 0) retval = ff_sqrt(x << shift1); in fixed_sqrt()
184 else retval = ff_sqrt(x >> -shift1); in fixed_sqrt()
187 retval = retval << shift2; in fixed_sqrt()
191 guess = retval + bit_mask; in fixed_sqrt()
195 retval += bit_mask; in fixed_sqrt()
200 else retval >>= (-shift2); in fixed_sqrt()
202 return retval; in fixed_sqrt()
/third_party/ltp/testcases/kernel/syscalls/modify_ldt/
H A Dmodify_ldt01.c97 int retval, func; in main() local
115 retval = modify_ldt(func, ptr, sizeof(ptr)); in main()
116 if (retval < 0) { in main()
127 "unexpected return value %d", retval); in main()
137 retval = modify_ldt(1, ptr, sizeof(ptr)); in main()
138 if (retval < 0) { in main()
149 "unexpected return value %d", retval); in main()
164 retval = modify_ldt(0, ptr + 0xFFF, sizeof(ptr)); in main()
165 if (retval < 0) { in main()
176 "unexpected return value %d", retval); in main()
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_screen.c45 unsigned retval = 0; in fd4_screen_is_format_supported() local
59 retval |= PIPE_BIND_VERTEX_BUFFER; in fd4_screen_is_format_supported()
65 retval |= PIPE_BIND_SAMPLER_VIEW; in fd4_screen_is_format_supported()
72 retval |= usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd4_screen_is_format_supported()
78 retval |= usage & PIPE_BIND_RENDER_TARGET; in fd4_screen_is_format_supported()
84 retval |= PIPE_BIND_DEPTH_STENCIL; in fd4_screen_is_format_supported()
89 retval |= PIPE_BIND_INDEX_BUFFER; in fd4_screen_is_format_supported()
92 if (retval != usage) { in fd4_screen_is_format_supported()
94 "usage=%x, retval=%x", in fd4_screen_is_format_supported()
95 util_format_name(format), target, sample_count, usage, retval); in fd4_screen_is_format_supported()
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_screen.c60 unsigned retval = 0; in fd5_screen_is_format_supported() local
74 retval |= PIPE_BIND_VERTEX_BUFFER; in fd5_screen_is_format_supported()
80 retval |= usage & (PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_SHADER_IMAGE); in fd5_screen_is_format_supported()
88 retval |= usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd5_screen_is_format_supported()
100 retval |= usage & PIPE_BIND_RENDER_TARGET; in fd5_screen_is_format_supported()
106 retval |= PIPE_BIND_DEPTH_STENCIL; in fd5_screen_is_format_supported()
111 retval |= PIPE_BIND_INDEX_BUFFER; in fd5_screen_is_format_supported()
114 if (retval != usage) { in fd5_screen_is_format_supported()
116 "usage=%x, retval=%x", in fd5_screen_is_format_supported()
117 util_format_name(format), target, sample_count, usage, retval); in fd5_screen_is_format_supported()
[all...]

Completed in 11 milliseconds

12345678910>>...19