/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/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/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/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/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()
|
D | readline.c | 2058 ssize_t num_read = 0; in _rl_event_read_char() local 2069 num_read = read(el->el_infd, cp, (size_t)1); in _rl_event_read_char() 2071 num_read = 0; in _rl_event_read_char() 2077 num_read = read(el->el_infd, cp, 1); in _rl_event_read_char() 2082 num_read = read(el->el_infd, cp, 1); in _rl_event_read_char() 2086 if (num_read < 0 && errno == EAGAIN) in _rl_event_read_char() 2088 if (num_read == 0) in _rl_event_read_char() 2094 return (int)num_read; in _rl_event_read_char()
|
/external/pdfium/samples/ |
D | image_diff.cc | 76 size_t num_read = 0; in CreateFromFilename() local 77 while ((num_read = fread(buf, 1, buf_size, f)) > 0) { in CreateFromFilename() 78 compressed.insert(compressed.end(), buf, buf + num_read); in CreateFromFilename()
|
/external/libnfc-nci/src/nfa/include/ |
D | nfa_nv_ci.h | 40 UINT16 num_read; member
|
/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/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/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/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/boringssl/src/crypto/bio/ |
D | bio.c | 191 &bio->num_read); in BIO_read() 196 &bio->num_read); in BIO_gets() 377 return bio->num_read; in BIO_number_read()
|
D | pair.c | 280 bio->num_read += bytes_read; in BIO_zero_copy_get_read_buf_done()
|
/external/mdnsresponder/mDNSShared/ |
D | dnssd_clientstub.c | 208 ssize_t num_read = recv(sd, buf, len, 0); in read_all() local 211 …if ((num_read < 0) && (errno == EINTR)) { syslog(LOG_INFO, "dnssd_clientstub read_all: EINTR conti… in read_all() 212 if ((num_read == 0) || (num_read < 0) || (num_read > len)) in read_all() 235 (long)num_read, (long)len, in read_all() 236 (num_read < 0) ? dnssd_errno : 0, in read_all() 237 (num_read < 0) ? dnssd_strerror(dnssd_errno) : ""); in read_all() 240 return (num_read < 0 && dnssd_errno == dnssd_EWOULDBLOCK) ? read_all_wouldblock : read_all_fail; in read_all() 242 buf += num_read; in read_all() 243 len -= num_read; in read_all()
|
D | dnsextd.c | 379 ssize_t num_read; in my_recv() local 397 num_read = mDNSPlatformReadTCP( sock, ptr, remaining, closed ); in my_recv() 399 if (((num_read == 0) && *closed) || (num_read < 0) || (num_read > remaining)) return -1; in my_recv() 400 if (num_read == 0) return 0; in my_recv() 401 ptr += num_read; in my_recv() 402 remaining -= num_read; in my_recv()
|
/external/protobuf/src/google/protobuf/ |
D | wire_format_lite_inl.h | 277 int num_read = 0; in ReadRepeatedFixedSizePrimitive() local 278 while (num_read < elements_available && in ReadRepeatedFixedSizePrimitive() 283 ++num_read; in ReadRepeatedFixedSizePrimitive() 285 const int read_bytes = num_read * per_value_size; in ReadRepeatedFixedSizePrimitive()
|
/external/valgrind/coregrind/m_debuginfo/ |
D | d3basics.c | 349 UInt num_read = 0; in read_leb128() local 358 num_read ++; in read_leb128() 368 * length_return = num_read; in read_leb128()
|
/external/boringssl/src/include/openssl/ |
D | bio.h | 808 size_t num_read, num_write; member
|
/external/protobuf/gtest/fused-src/gtest/ |
D | gtest-all.cc | 6301 int num_read; in FailFromInternalError() local 6304 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError() 6305 buffer[num_read] = '\0'; in FailFromInternalError() 6308 } while (num_read == -1 && errno == EINTR); in FailFromInternalError() 6310 if (num_read == 0) { in FailFromInternalError()
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-all.cc | 6809 int num_read; in FailFromInternalError() local 6812 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError() 6813 buffer[num_read] = '\0'; in FailFromInternalError() 6816 } while (num_read == -1 && errno == EINTR); in FailFromInternalError() 6818 if (num_read == 0) { in FailFromInternalError()
|