/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/linux-kselftest/tools/testing/selftests/kvm/lib/ |
D | io.c | 122 ssize_t num_read = 0; in test_read() local 144 rc, num_read, num_left); in test_read() 150 num_read += rc; in test_read() 155 } while (num_read < count); in test_read() 157 return num_read; in test_read()
|
/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/tinyalsa/ |
D | tinyplay.c | 221 int num_read; in play_sample() local 265 num_read = fread(buffer, 1, read_sz, file); in play_sample() 266 if (num_read > 0) { in play_sample() 267 if (pcm_write(pcm, buffer, num_read)) { in play_sample() 271 data_sz -= num_read; in play_sample() 273 } while (!close && num_read > 0 && data_sz > 0); in play_sample()
|
/external/avb/libavb_user/ |
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_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_ops_user.cpp | 129 ssize_t num_read; in read_from_partition() local 164 num_read = read(fd, buffer, num_bytes); in read_from_partition() 165 if (num_read == -1) { in read_from_partition() 171 *out_num_read = num_read; in read_from_partition()
|
/external/dynamic_depth/internal/xmpmeta/ |
D | file.cc | 34 int num_read = in ReadFileToStringOrDie() local 36 if (num_read != num_bytes) { in ReadFileToStringOrDie() 39 << "actual bytes: " << num_read; in ReadFileToStringOrDie()
|
/external/libchrome/base/ |
D | sys_info_posix.cc | 209 int num_read = sscanf(info.release, "%d.%d.%d", major_version, minor_version, in OperatingSystemVersionNumbers() local 211 if (num_read < 1) in OperatingSystemVersionNumbers() 213 if (num_read < 2) in OperatingSystemVersionNumbers() 215 if (num_read < 3) in OperatingSystemVersionNumbers()
|
/external/libaom/libaom/aom_dsp/ |
D | grain_table.c | 45 int num_read = in grain_table_entry_read() local 49 if (num_read == 0 && feof(file)) return; in grain_table_entry_read() 50 if (num_read != 5) { in grain_table_entry_read() 52 "Unable to read entry header. Read %d != 5", num_read); in grain_table_entry_read() 56 num_read = fscanf(file, "p %d %d %d %d %d %d %d %d %d %d %d %d\n", in grain_table_entry_read() 62 if (num_read != 12) { in grain_table_entry_read() 65 num_read); in grain_table_entry_read()
|
/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 | 251 size_t num_read; in main() local 652 num_read = fread(ch, 1, 4, fin); in main() 653 if (num_read!=4) in main() 661 num_read = fread(ch, 1, 4, fin); in main() 662 if (num_read!=4) in main() 665 num_read = fread(data[toggle], 1, len[toggle], fin); in main() 666 if (num_read!=(size_t)len[toggle]) in main() 670 len[toggle],(int)num_read); in main() 682 num_read = fread(fbytes, sizeof(short)*channels, frame_size-remaining, fin); in main() 683 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 | 74 ssize_t num_read = read(fd, buffer, file_size); in preload_partition() local 75 if (num_read != file_size) { in preload_partition() 135 ssize_t num_read = read(fd, buffer, num_bytes); in read_from_partition() local 136 if (num_read < 0) { in read_from_partition() 149 *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/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/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/libaom/libaom/third_party/googletest/src/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/mesa3d/src/gtest/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/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/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/deqp-deps/SPIRV-Tools/source/comp/ |
D | bit_stream.h | 198 const size_t num_read = ReadBits(&bits, sizeof(T) * 8); in ReadUnencoded() local 199 if (num_read != sizeof(T) * 8) return false; in ReadUnencoded()
|
/external/swiftshader/third_party/SPIRV-Tools/source/comp/ |
D | bit_stream.h | 198 const size_t num_read = ReadBits(&bits, sizeof(T) * 8); in ReadUnencoded() local 199 if (num_read != sizeof(T) * 8) return false; in ReadUnencoded()
|
/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()
|