/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/chromium_org/third_party/libsrtp/srtp/crypto/rng/ |
D | rand_source.c | 111 ssize_t num_read = read(dev_random_fdes, dst, len); in rand_source_get_octet_string() local 112 if (num_read <= 0 || num_read > len) in rand_source_get_octet_string() 114 len -= num_read; in rand_source_get_octet_string() 115 dst += num_read; in rand_source_get_octet_string()
|
/external/ceres-solver/internal/ceres/ |
D | file.cc | 66 int num_read = fread(&((*data)[0]), in ReadFileToStringOrDie() local 70 if (num_read != num_bytes) { in ReadFileToStringOrDie() 73 << "actual bytes: " << num_read; in ReadFileToStringOrDie()
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
D | video.py | 164 num_read = proc.stdout.readinto(frame_data) 165 if not num_read: 167 assert num_read == len(frame_data), 'Unexpected frame size: %d' % num_read
|
/external/tinyalsa/ |
D | tinyplay.c | 219 int num_read; in play_sample() local 259 num_read = fread(buffer, 1, size, file); in play_sample() 260 if (num_read > 0) { in play_sample() 261 if (pcm_write(pcm, buffer, num_read)) { in play_sample() 266 } while (!close && num_read > 0); in play_sample()
|
/external/chromium_org/chrome/test/base/ |
D | chrome_test_suite.cc | 57 int num_read = readlink(base::kProcSelfExe, buf, sizeof(buf) - 1); in IsCrosPythonProcess() local 58 if (num_read == -1) in IsCrosPythonProcess() 60 buf[num_read] = 0; in IsCrosPythonProcess()
|
/external/chromium_org/base/debug/ |
D | debugger_posix.cc | 141 ssize_t num_read = HANDLE_EINTR(read(status_fd, buf, sizeof(buf))); 145 if (num_read <= 0) 148 StringPiece status(buf, num_read);
|
/external/chromium_org/base/ |
D | sys_info_ios.mm | 53 int num_read = sscanf(system_version.c_str(), "%d.%d.%d", major_version, 55 if (num_read < 1) 57 if (num_read < 2) 59 if (num_read < 3)
|
D | sys_info_android.cc | 74 int num_read = sscanf(os_version_str, "%d.%d.%d", major_version, in ParseOSVersionNumbers() local 77 if (num_read > 0) { in ParseOSVersionNumbers() 79 if (num_read < 2) *minor_version = 0; in ParseOSVersionNumbers() 80 if (num_read < 3) *bugfix_version = 0; in ParseOSVersionNumbers()
|
/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/chromium_org/sandbox/linux/services/ |
D | yama.cc | 92 ssize_t num_read = HANDLE_EINTR(read(yama_scope.get(), &yama_scope_value, 1)); in GetStatus() local 93 PCHECK(1 == num_read); in GetStatus()
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
D | test_memorizingfile.py | 47 def check(self, memorizing_file, num_read, expected_list): argument 48 for unused in range(num_read):
|
/external/libnfc-nci/src/nfa/include/ |
D | nfa_nv_ci.h | 40 UINT16 num_read; member
|
/external/chromium_org/tools/imagediff/ |
D | image_diff.cc | 106 size_t num_read = 0; in CreateFromFilename() local 107 while ((num_read = fread(buf, 1, buf_size, f)) > 0) { in CreateFromFilename() 108 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/chromium_org/third_party/boringssl/src/crypto/bio/ |
D | bio.c | 193 &bio->num_read); in BIO_read() 198 &bio->num_read); in BIO_gets() 379 return bio->num_read; in BIO_number_read()
|
/external/bluetooth/bluedroid/btif/co/ |
D | bta_fs_co.c | 457 INT32 num_read; in bta_fs_co_read() local 461 if ((num_read = read (fd, p_buf, nbytes)) < 0) in bta_fs_co_read() 468 else if (num_read < nbytes) in bta_fs_co_read() 471 bta_fs_ci_read(fd, (UINT16)num_read, status, evt); in bta_fs_co_read()
|
/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/chromium_org/third_party/mesa/src/src/gtest/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/mesa3d/src/gtest/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/bluetooth/bluedroid/bta/include/ |
D | bta_fs_ci.h | 49 UINT16 num_read; member
|
/external/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/chromium_org/testing/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()
|