/third_party/mesa3d/include/android_stub/log/ |
D | log_event_list.h | 120 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); variable 148 if (retval < 0) ret = retval; 153 int retval = android_log_write_int32(ctx, static_cast<int32_t>(value)); variable [all …]
|
/third_party/skia/third_party/externals/freetype/src/type1/ |
D | t1driver.c | 192 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 = ft_strlen( type1->font_name ) + 1; in t1_ps_get_font_value() [all …]
|
/third_party/libsnd/tests/ |
D | stdio_test.c | 89 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) : 1 ; in stdio_test() 109 printf ("%s : %s", buffer, (strerror (retval))) ; in stdio_test() 114 if ((retval = system (buffer))) in stdio_test() 115 { retval = WIFEXITED (retval) ? WEXITSTATUS (retval) : 1 ; in stdio_test() 116 printf ("%s : %s", buffer, (strerror (retval))) ; in stdio_test()
|
/third_party/mesa3d/src/glx/ |
D | single2.c | 128 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 = __glXGetArraySize(state, GL_SECONDARY_COLOR_ARRAY, 0, data); in get_client_data() [all …]
|
/third_party/python/Modules/_decimal/libmpdec/ |
D | bits.h | 108 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() [all …]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/htmldiff/ |
D | htmldiff.pl | 159 my $retval = ""; 260 $retval .= $_; 282 $retval .= $_; 286 $retval =~ s/$span[1]\n+$diffEnd[1]//g; 287 $retval =~ s/$span[2]\n+$diffEnd[2]//g; 288 $retval =~ s/$span[3]\n+$diffEnd[3]//g; 289 $retval =~ s/$span[4]\n+$diffEnd[4]//g; 290 $retval =~ s/$span[1]\n*$//g; 291 $retval =~ s/$span[2]\n*$//g; 292 $retval =~ s/$span[3]\n*$//g; [all …]
|
/third_party/gptfdisk/ |
D | diskio-windows.cc | 174 int retval = 0; in DiskSync() local 188 retval = 1; in DiskSync() 195 return retval; in DiskSync() 200 int retval = 1; in Seek() local 205 retval = OpenForRead(); in Seek() 210 retval = SetFilePointerEx(fd, seekTo, NULL, FILE_BEGIN); in Seek() 211 if (retval == 0) { in Seek() 214 retval = 0; in Seek() 217 return retval; in Seek() 227 DWORD retval = 0; in Read() local [all …]
|
/third_party/ltp/tools/genload/ |
D | genload.c | 90 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() [all …]
|
D | stress.c | 90 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() [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/ |
D | 3-1.c | 48 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 == -1) { in main() [all …]
|
D | 4-1.c | 47 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 …]
|
D | 2-1.c | 43 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()
|
D | 3-2.c | 46 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_error(&aiocb)); in main()
|
/third_party/e2fsprogs/ |
D | 0022-unix_io.c-fix-deadlock-problem-in-unix_write_blk64.patch | 49 errcode_t retval; 59 retval = (channel->read_error)(channel, block, count, buf, 60 size, actual, retval); 64 return retval; 84 retval = (channel->write_error)(channel, block, count, buf, 85 size, actual, retval); 89 return retval; 102 + errcode_t retval = 0; 104 + retval = raw_write_blk(channel, data, cache->block, 1, cache->buf, 1); 105 + if (retval) [all …]
|
/third_party/libsnd/src/ |
D | test_file_io.c | 118 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 … 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 … after write is not correct. (%" PRId64 " should be %zd)\n\n", __LINE__, retval, 2 * sizeof (data_… in file_read_write_test() 230 if ((retval = psf_get_filelen (psf)) != 3 * sizeof (data_out)) in file_read_write_test() 231 … after write is not correct. (%" PRId64 " should be %zd)\n\n", __LINE__, retval, 3 * sizeof (data_… in file_read_write_test() 246 if ((retval = psf_get_filelen (psf)) != 3 * sizeof (data_out)) in file_read_write_test() 247 … after write is not correct. (%" PRId64 " should be %zd)\n\n", __LINE__, retval, 3 * sizeof (data_… in file_read_write_test() [all …]
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | backward_references_enc.h | 48 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/elfutils/libelf/ |
D | elf_clone.c | 43 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()
|
/third_party/node/deps/brotli/c/enc/ |
D | bit_cost.h | 24 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/ |
D | bit_cost.h | 24 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/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_screen.c | 45 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() 95 util_format_name(format), target, sample_count, usage, retval); in fd4_screen_is_format_supported() 98 return retval == usage; in fd4_screen_is_format_supported()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_screen.c | 45 unsigned retval = 0; in fd3_screen_is_format_supported() local 59 retval |= PIPE_BIND_VERTEX_BUFFER; in fd3_screen_is_format_supported() 64 retval |= PIPE_BIND_SAMPLER_VIEW; in fd3_screen_is_format_supported() 71 retval |= usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd3_screen_is_format_supported() 74 retval |= usage & PIPE_BIND_BLENDABLE; in fd3_screen_is_format_supported() 80 retval |= PIPE_BIND_DEPTH_STENCIL; in fd3_screen_is_format_supported() 85 retval |= PIPE_BIND_INDEX_BUFFER; in fd3_screen_is_format_supported() 88 if (retval != usage) { in fd3_screen_is_format_supported() 91 util_format_name(format), target, sample_count, usage, retval); in fd3_screen_is_format_supported() 94 return retval == usage; in fd3_screen_is_format_supported()
|
/third_party/libsnd/Octave/ |
D | sndfile.cc | 39 octave_value_list retval ; variable 44 return retval ; 51 retval.append (version) ; 52 return retval ; 66 octave_value_list retval ; variable 73 return retval ; 82 return retval ; 115 retval.append (out.squeeze ()) ; 118 retval.append ((octave_uint32) sfinfo.samplerate) ; 123 retval.append (fmt) ; [all …]
|
/third_party/ffmpeg/libavutil/ |
D | fixed_dsp.h | 178 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/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_screen.c | 60 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() 117 util_format_name(format), target, sample_count, usage, retval); in fd5_screen_is_format_supported() 120 return retval == usage; in fd5_screen_is_format_supported()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_screen.c | 43 unsigned retval = 0; in fd2_screen_is_format_supported() local 57 retval |= PIPE_BIND_RENDER_TARGET; in fd2_screen_is_format_supported() 63 retval |= usage & PIPE_BIND_VERTEX_BUFFER; in fd2_screen_is_format_supported() 67 retval |= usage & PIPE_BIND_SAMPLER_VIEW; in fd2_screen_is_format_supported() 73 retval |= usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd2_screen_is_format_supported() 79 retval |= PIPE_BIND_DEPTH_STENCIL; in fd2_screen_is_format_supported() 84 retval |= PIPE_BIND_INDEX_BUFFER; in fd2_screen_is_format_supported() 87 if (retval != usage) { in fd2_screen_is_format_supported() 90 util_format_name(format), target, sample_count, usage, retval); in fd2_screen_is_format_supported() 93 return retval == usage; in fd2_screen_is_format_supported()
|