HomeSort by relevance Sort by last modified time
    Searched full:num_read (Results 1 - 25 of 50) sorted by null

1 2

  /external/chromium_org/base/
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)
sys_info_android.cc 31 int num_read = sscanf(os_version_str, "%d.%d.%d", major_version, local
34 if (num_read > 0) {
36 if (num_read < 2) *minor_version = 0;
37 if (num_read < 3) *bugfix_version = 0;
  /external/tinycompress/
cplay.c 208 int size, num_read, wrote; local
268 num_read = fread(buffer, 1, size * config.fragments, file);
269 if (num_read > 0) {
271 printf("%s: Doing first buffer write of %d\n", __func__, num_read);
272 wrote = compress_write(compress, buffer, num_read);
278 if (wrote != num_read) {
280 fprintf(stderr, "We wrote %d, DSP accepted %d\n", num_read, wrote);
293 num_read = fread(buffer, 1, size, file);
294 if (num_read > 0) {
295 wrote = compress_write(compress, buffer, num_read);
    [all...]
compress.c 418 int num_read, total = 0, ret; local
459 num_read = read(compress->fd, cbuf, to_read);
461 if (num_read == -EBADFD)
463 if (num_read < 0)
466 size -= num_read;
467 cbuf += num_read;
468 total += num_read;
  /external/ceres-solver/internal/ceres/
file.cc 66 int num_read = fread(&((*data)[0]), local
70 if (num_read != num_bytes) {
73 << "actual bytes: " << num_read;
  /external/tinyalsa/
tinyplay.c 219 int num_read; local
259 num_read = fread(buffer, 1, size, file);
260 if (num_read > 0) {
261 if (pcm_write(pcm, buffer, num_read)) {
266 } while (!close && num_read > 0);
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
test_memorizingfile.py 47 def check(self, memorizing_file, num_read, expected_list):
48 for unused in range(num_read):
  /external/chromium/base/debug/
debugger_posix.cc 113 ssize_t num_read = HANDLE_EINTR(read(status_fd, buf, sizeof(buf))); local
117 if (num_read <= 0)
120 StringPiece status(buf, num_read);
  /external/chromium_org/ppapi/native_client/src/trusted/plugin/
pnacl_coordinator.cc 473 int32_t num_read = local
476 if (num_read == 0) {
480 if (num_read < 0) {
482 "(error=%" NACL_PRId32 ")\n", num_read));
487 &PnaclCoordinator::DidCopyNexeToCachePartial, num_read, cur_offset);
488 cached_nexe_file_->write_file_io()->Write(cur_offset, buf, num_read, cb);
530 int32_t num_read = local
533 NACL_PRId32 ")\n", num_read));
535 if (num_read == 0) {
539 if (num_read < 0)
    [all...]
  /external/chromium_org/base/debug/
debugger_posix.cc 159 ssize_t num_read = HANDLE_EINTR(read(status_fd, buf, sizeof(buf))); local
163 if (num_read <= 0)
166 StringPiece status(buf, num_read);
  /external/libnfc-nci/src/nfa/include/
nfa_nv_ci.h 40 UINT16 num_read; member in struct:__anon22365
  /system/core/libutils/
Unicode.cpp 135 static inline int32_t utf32_at_internal(const char* cur, size_t *num_read)
139 *num_read = 1;
155 *num_read = num_to_read;
168 size_t num_read; local
169 int32_t ret = utf32_at_internal(src + index, &num_read);
171 *next_index = index + num_read;
482 size_t num_read; local
483 *cur_utf32++ = static_cast<char32_t>(utf32_at_internal(cur, &num_read));
484 cur += num_read;
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/
debug.ipp 268 ssize_t num_read = ::read( psinfo_fd, m_stat_line, sizeof(m_stat_line)-1 );
269 if( num_read == -1 )
272 m_stat_line[num_read] = 0;
287 num_read = ::readlink( fname_buff, m_binary_path_buff, sizeof(m_binary_path_buff)-1 );
289 if( num_read == -1 )
292 m_binary_path_buff[num_read] = 0;
293 m_binary_path.assign( m_binary_path_buff, num_read );
  /external/chromium_org/chrome/test/base/
chrome_test_suite.cc 77 int num_read = readlink(base::kProcSelfExe, buf, sizeof(buf) - 1); local
78 if (num_read == -1)
80 buf[num_read] = 0;
  /external/chromium/sdch/open-vcdiff/src/gtest/
gtest-death-test.cc 293 ssize_t num_read; local
296 while ((num_read = read(fd, buffer, 255)) > 0) {
297 buffer[num_read] = '\0';
300 } while (num_read == -1 && errno == EINTR);
303 if (num_read == 0) {
  /external/chromium_org/third_party/openssl/openssl/crypto/bio/
bio_lib.c 98 bio->num_read=0L;
214 if (i > 0) b->num_read+=(unsigned long)i;
592 if(bio) return bio->num_read;
  /external/chromium_org/tools/imagediff/
image_diff.cc 101 size_t num_read = 0; local
102 while ((num_read = fread(buf, 1, buf_size, f)) > 0) {
103 compressed.insert(compressed.end(), buf, buf + num_read);
  /external/openssl/crypto/bio/
bio_lib.c 98 bio->num_read=0L;
214 if (i > 0) b->num_read+=(unsigned long)i;
592 if(bio) return bio->num_read;
  /external/mdnsresponder/mDNSShared/
dnssd_clientstub.c 207 ssize_t num_read = recv(sd, buf, len, 0); local
210 if ((num_read < 0) && (errno == EINTR)) { syslog(LOG_INFO, "dnssd_clientstub read_all: EINTR continue"); continue; }
211 if ((num_read == 0) || (num_read < 0) || (num_read > len))
234 (long)num_read, (long)len,
235 (num_read < 0) ? dnssd_errno : 0,
236 (num_read < 0) ? dnssd_strerror(dnssd_errno) : "");
239 return (num_read < 0 && dnssd_errno == dnssd_EWOULDBLOCK) ? read_all_wouldblock : read_all_fail;
241 buf += num_read;
    [all...]
  /external/bluetooth/bluedroid/bta/include/
bta_fs_ci.h 49 UINT16 num_read; member in struct:__anon3109
  /external/chromium_org/third_party/protobuf/src/google/protobuf/
wire_format_lite_inl.h 271 int num_read = 0; local
272 while (num_read < elements_available &&
277 ++num_read;
279 const int read_bytes = num_read * per_value_size;
    [all...]
  /external/protobuf/src/google/protobuf/
wire_format_lite_inl.h 272 int num_read = 0; local
273 while (num_read < elements_available &&
278 ++num_read;
280 const int read_bytes = num_read * per_value_size;
  /external/bluetooth/bluedroid/bta/fs/
bta_fs_ci.c 94 p_evt->num_read = num_bytes_read;
  /external/bluetooth/bluedroid/btif/co/
bta_fs_co.c 456 INT32 num_read; local
459 if ((num_read = read (fd, p_buf, nbytes)) < 0)
466 else if (num_read < nbytes)
469 bta_fs_ci_read(fd, (UINT16)num_read, status, evt);
    [all...]
  /external/chromium/testing/gtest/src/
gtest-death-test.cc 275 int num_read; local
278 while ((num_read = posix::Read(fd, buffer, 255)) > 0) {
279 buffer[num_read] = '\0';
282 } while (num_read == -1 && errno == EINTR);
284 if (num_read == 0) {
    [all...]

Completed in 3558 milliseconds

1 2