/external/tinycompress/ |
D | cplay.c | 208 int size, num_read, wrote; in play_samples() local 268 num_read = fread(buffer, 1, size * config.fragments, file); in play_samples() 269 if (num_read > 0) { in play_samples() 271 printf("%s: Doing first buffer write of %d\n", __func__, num_read); in play_samples() 272 wrote = compress_write(compress, buffer, num_read); in play_samples() 278 if (wrote != num_read) { in play_samples() 280 fprintf(stderr, "We wrote %d, DSP accepted %d\n", num_read, wrote); in play_samples() 293 num_read = fread(buffer, 1, size, file); in play_samples() 294 if (num_read > 0) { in play_samples() 295 wrote = compress_write(compress, buffer, num_read); in play_samples() [all …]
|
D | compress.c | 418 int num_read, total = 0, ret; in compress_read() local 459 num_read = read(compress->fd, cbuf, to_read); in compress_read() 461 if (num_read == -EBADFD) in compress_read() 463 if (num_read < 0) in compress_read() 466 size -= num_read; in compress_read() 467 cbuf += num_read; in compress_read() 468 total += num_read; in compress_read()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | json_escaping.cc | 186 uint32 *cp, int* num_left, int *num_read) { in ReadCodePoint() argument 190 *num_read = 1; in ReadCodePoint() 235 *num_read = 0; in ReadCodePoint() 240 ++(*num_read); in ReadCodePoint() 367 int num_read; in Escape() local 376 ok = ReadCodePoint(str, i, &cp, &num_left, &num_read); in Escape() 380 i += num_read; in Escape() 381 num_read = 0; in Escape() 385 if (num_read > 0) input->Skip(num_read); in Escape()
|
/external/google-breakpad/src/common/dwarf/ |
D | bytereader-inl.h | 95 size_t num_read = 0; in ReadUnsignedLEB128() local 101 num_read++; in ReadUnsignedLEB128() 109 *len = num_read; in ReadUnsignedLEB128() 121 size_t num_read = 0; in ReadSignedLEB128() local 126 num_read++; in ReadSignedLEB128() 133 *len = num_read; in ReadSignedLEB128()
|
/external/avb/libavb_user/ |
D | avb_user_verity.c | 47 size_t num_read; in load_top_level_vbmeta_header() local 68 &num_read); in load_top_level_vbmeta_header() 87 &num_read); in load_top_level_vbmeta_header() 110 &num_read); in load_top_level_vbmeta_header()
|
D | avb_user_verification.c | 47 size_t num_read; in load_top_level_vbmeta_header() local 68 &num_read); in load_top_level_vbmeta_header() 87 &num_read); in load_top_level_vbmeta_header() 110 &num_read); in load_top_level_vbmeta_header()
|
D | avb_ops_user.cpp | 120 ssize_t num_read; in read_from_partition() local 155 num_read = read(fd, buffer, num_bytes); in read_from_partition() 156 if (num_read == -1) { in read_from_partition() 162 *out_num_read = num_read; in read_from_partition()
|
/external/tinyalsa/ |
D | tinyplay.c | 219 int num_read; in play_sample() local 262 num_read = fread(buffer, 1, size, file); in play_sample() 263 if (num_read > 0) { in play_sample() 264 if (pcm_write(pcm, buffer, num_read)) { in play_sample() 269 } while (!close && num_read > 0); in play_sample()
|
/external/libchrome/base/ |
D | sys_info_posix.cc | 202 int num_read = sscanf(info.release, "%d.%d.%d", major_version, minor_version, in OperatingSystemVersionNumbers() local 204 if (num_read < 1) in OperatingSystemVersionNumbers() 206 if (num_read < 2) in OperatingSystemVersionNumbers() 208 if (num_read < 3) in OperatingSystemVersionNumbers()
|
/external/libedit/src/ |
D | read.c | 315 ssize_t num_read; in read_char() local 323 while ((num_read = read(el->el_infd, cbuf + cbp, (size_t)1)) == -1) { in read_char() 345 if (num_read == 0) { in read_char() 378 return (int)num_read; in read_char() 402 int num_read; in FUN() local 439 num_read = (*el->el_read.read_char)(el, cp); in FUN() 440 if (num_read < 0) in FUN() 449 return num_read; in FUN()
|
D | eln.c | 50 int num_read; in el_getc() local 55 num_read = el_wgetc (el, &wc); in el_getc() 59 if (num_read > 0) in el_getc() 61 return num_read; in el_getc()
|
/external/libchrome/base/debug/ |
D | debugger_posix.cc | 145 ssize_t num_read = HANDLE_EINTR(read(status_fd, buf, sizeof(buf))); 149 if (num_read <= 0) 152 StringPiece status(buf, num_read);
|
/external/libopus/src/ |
D | opus_demo.c | 256 size_t num_read; in main() local 661 num_read = fread(ch, 1, 4, fin); in main() 662 if (num_read!=4) in main() 670 num_read = fread(ch, 1, 4, fin); in main() 671 if (num_read!=4) in main() 674 num_read = fread(data[toggle], 1, len[toggle], fin); in main() 675 if (num_read!=(size_t)len[toggle]) in main() 679 len[toggle],(int)num_read); in main() 691 num_read = fread(fbytes, sizeof(short)*channels, frame_size-remaining, fin); in main() 692 curr_read = (int)num_read; in main()
|
/external/tensorflow/tensorflow/core/framework/ |
D | reader_base.cc | 137 std::vector<string>* values, int64* num_read, in ReadUpToLocked() argument 146 *num_read = 1; in ReadUpToLocked() 148 *num_read = 0; in ReadUpToLocked()
|
/external/avb/test/ |
D | fake_avb_ops.cc | 73 ssize_t num_read = read(fd, buffer, file_size); in preload_partition() local 74 if (num_read != file_size) { in preload_partition() 130 ssize_t num_read = read(fd, buffer, num_bytes); in read_from_partition() local 131 if (num_read < 0) { in read_from_partition() 144 *out_num_read = num_read; in read_from_partition()
|
/external/pdfium/testing/image_diff/ |
D | image_diff.cpp | 60 size_t num_read = 0; in CreateFromFilename() local 61 while ((num_read = fread(buf, 1, kBufSize, f)) > 0) { in CreateFromFilename() 62 compressed.insert(compressed.end(), buf, buf + num_read); in CreateFromFilename()
|
/external/protobuf/gtest/src/ |
D | gtest-death-test.cc | 262 int num_read; in FailFromInternalError() local 265 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError() 266 buffer[num_read] = '\0'; in FailFromInternalError() 269 } while (num_read == -1 && errno == EINTR); in FailFromInternalError() 271 if (num_read == 0) { in FailFromInternalError()
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-death-test.cc | 275 int num_read; in FailFromInternalError() local 278 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError() 279 buffer[num_read] = '\0'; in FailFromInternalError() 282 } while (num_read == -1 && errno == EINTR); in FailFromInternalError() 284 if (num_read == 0) { in FailFromInternalError()
|
/external/googletest/googletest/src/ |
D | gtest-death-test.cc | 326 int num_read; in FailFromInternalError() local 329 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError() 330 buffer[num_read] = '\0'; in FailFromInternalError() 333 } while (num_read == -1 && errno == EINTR); in FailFromInternalError() 335 if (num_read == 0) { in FailFromInternalError()
|
/external/v8/testing/gtest/src/ |
D | gtest-death-test.cc | 324 int num_read; in FailFromInternalError() local 327 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError() 328 buffer[num_read] = '\0'; in FailFromInternalError() 331 } while (num_read == -1 && errno == EINTR); in FailFromInternalError() 333 if (num_read == 0) { in FailFromInternalError()
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-death-test.cc | 326 int num_read; in FailFromInternalError() local 329 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError() 330 buffer[num_read] = '\0'; in FailFromInternalError() 333 } while (num_read == -1 && errno == EINTR); in FailFromInternalError() 335 if (num_read == 0) { in FailFromInternalError()
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
D | gtest-death-test.cc | 275 int num_read; in FailFromInternalError() local 278 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError() 279 buffer[num_read] = '\0'; in FailFromInternalError() 282 } while (num_read == -1 && errno == EINTR); in FailFromInternalError() 284 if (num_read == 0) { in FailFromInternalError()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-death-test.cc | 315 int num_read; in FailFromInternalError() local 318 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError() 319 buffer[num_read] = '\0'; in FailFromInternalError() 322 } while (num_read == -1 && errno == EINTR); in FailFromInternalError() 324 if (num_read == 0) { in FailFromInternalError()
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest-death-test.cc | 313 int num_read; in FailFromInternalError() local 316 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError() 317 buffer[num_read] = '\0'; in FailFromInternalError() 320 } while (num_read == -1 && errno == EINTR); in FailFromInternalError() 322 if (num_read == 0) { in FailFromInternalError()
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/ |
D | gtest-death-test.cc | 315 int num_read; in FailFromInternalError() local 318 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError() 319 buffer[num_read] = '\0'; in FailFromInternalError() 322 } while (num_read == -1 && errno == EINTR); in FailFromInternalError() 324 if (num_read == 0) { in FailFromInternalError()
|