HomeSort by relevance Sort by last modified time
    Searched defs:read_len (Results 1 - 18 of 18) sorted by null

  /system/core/toolbox/
hd.c 16 int read_len; local
67 read_len = sizeof(buf);
68 if(count > 0 && base + count - filepos < read_len)
69 read_len = base + count - filepos;
70 res = read(fd, &buf, read_len);
86 printf("Read error on %s, offset %d len %d, %s\n", argv[optind], filepos, read_len, strerror(errno));
notify.c 105 ssize_t read_len; local
116 read_len = read(ffd, buf, buflen);
117 if(read_len > 0) {
118 if(read_len < buflen && buf[read_len-1] != '\n') {
119 buf[read_len] = '\n';
120 read_len++;
122 if(read_len == buflen) {
123 buf[--read_len] = '\0';
124 buf[--read_len] = '\n'
    [all...]
  /device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
mm_camera_thread.c 113 ssize_t read_len; local
116 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt));
117 CDBG("%s: read_fd = %d, read_len = %d, expect_len = %d cmd = %d",
118 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd);
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_common.cc 101 uptr read_len = 0; local
113 read_len = 0;
115 while (read_len + PageSize <= size) {
116 uptr just_read = internal_read(fd, *buff + read_len, PageSize);
121 read_len += just_read;
127 return read_len;
  /device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
mm_camera_thread.c 207 ssize_t read_len; local
210 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt));
211 CDBG("%s: read_fd = %d, read_len = %d, expect_len = %d cmd = %d",
212 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd);
  /device/lge/mako/camera/mm-camera-interface/
mm_camera_poll_thread.c 153 ssize_t read_len; local
156 read_len = read(poll_cb->data.pfds[0], &cmd_evt, sizeof(cmd_evt));
157 CDBG("%s: read_fd = %d, read_len = %d, expect_len = %d",
158 __func__, poll_cb->data.pfds[0], (int)read_len, (int)sizeof(cmd_evt));
  /external/chromium/net/base/
listen_socket_unittest.cc 144 size_t read_len = 0; local
145 while (read_len < long_len) {
150 if (long_string.compare(read_len, len, last_data)) {
151 ASSERT_EQ(long_string.compare(read_len, len, last_data), 0);
153 read_len += last_data.length();
155 ASSERT_EQ(read_len, long_len);
  /external/chromium/net/http/
partial_data.cc 418 int read_len = std::min(data_len, cached_min_len_); local
419 if (!read_len)
424 rv = entry->ReadSparseData(current_range_start_, data, read_len,
431 data, read_len, callback);
  /external/chromium_org/jingle/glue/
fake_ssl_client_socket_unittest.cc 162 int read_len = arraysize(kReadTestData); local
163 int read_buf_len = 2 * read_len;
168 ExpectStatus(mode, read_len, read_status, &test_completion_callback);
  /external/chromium_org/net/http/
partial_data.cc 424 int read_len = std::min(data_len, cached_min_len_); local
425 if (!read_len)
430 rv = entry->ReadSparseData(current_range_start_, data, read_len,
437 data, read_len, callback);
  /external/chromium_org/net/socket/
tcp_listen_socket_unittest.cc 151 size_t read_len = 0; local
152 while (read_len < long_len) {
157 if (long_string.compare(read_len, len, last_data)) {
158 ASSERT_EQ(long_string.compare(read_len, len, last_data), 0);
160 read_len += last_data.length();
162 ASSERT_EQ(read_len, long_len);
  /hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
mm_camera_thread.c 208 ssize_t read_len; local
211 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt));
212 CDBG("%s: read_fd = %d, read_len = %d, expect_len = %d cmd = %d",
213 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd);
  /external/iputils/ninfod/
ni_ifaddrs.c 142 int read_len; local
152 read_len = recvmsg(sd, &msg, 0);
153 if ((read_len < 0 && errno == EINTR)
160 return read_len;
  /external/libsepol/src/
module.c 328 uint32_t offset, nel, read_len; local
336 read_len = nel;
338 read_len = _read_helper_bufsize;
339 rc = next_entry(&buf[offset], file, read_len);
342 offset += read_len;
343 nel -= read_len;
  /external/grub/stage2/
disk_io.c 194 int bios_err, read_start = track, read_len = sectors_per_vtrack; local
204 read_len = num_sect;
209 read_start, read_len, BUFFERSEG);
    [all...]
  /external/qemu/hw/
goldfish_nand.c 365 size_t read_len = dev->erase_size; local
372 if(read_len < dev->erase_size) {
374 read_len = dev->erase_size;
377 if(len < read_len)
378 read_len = len;
380 read_len = do_read(dev->fd, dev->data, read_len);
382 safe_memory_rw_debug(cpu_single_env, data, dev->data, read_len, 1);
383 data += read_len;
384 len -= read_len;
    [all...]
  /hardware/broadcom/wlan/bcmdhd/dhdutil/
dhdu.c 1553 uint read_len; local
    [all...]
  /hardware/invensense/60xx/mlsdk/platform/include/linux/
mpu.h 271 unsigned int read_len; member in struct:ext_slave_descr

Completed in 4942 milliseconds