/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
fifo_char.cc | 67 size_t read_len = std::min(len, size_ - offs); local 68 memcpy(ptr, &buffer_[offs], read_len); 70 ptr += read_len; 71 offs += read_len; 76 out += read_len; 77 len -= read_len; 84 size_t read_len = Peek(buf, len); local 85 if (read_len > 0) { 86 avail_ -= read_len; 87 tail_ = (tail_ + read_len) % size_ [all...] |
/system/core/toolbox/ |
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...] |
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));
|
/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;
|
sanitizer_symbolizer_libcdep.cc | 139 uptr read_len = 0; 141 uptr just_read = internal_read(input_fd_, buffer + read_len, 142 max_length - read_len); 149 read_len += just_read; 151 if (read_len >= 2 && buffer[read_len - 1] == '\n' && 152 buffer[read_len - 2] == '\n') {
|
/hardware/invensense/60xx/mlsdk/platform/include/ |
i2c.h | 91 char *read_buf, unsigned int read_len )); 99 char *read_buf, unsigned int read_len );
|
/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_org/net/socket/ |
tcp_listen_socket_unittest.cc | 158 size_t read_len = 0; local 159 while (read_len < long_len) { 164 if (long_string.compare(read_len, len, last_data)) { 165 ASSERT_EQ(long_string.compare(read_len, len, last_data), 0); 167 read_len += last_data.length(); 169 ASSERT_EQ(read_len, long_len);
|
/hardware/invensense/60xx/mlsdk/mllite/ |
accel.c | 143 if (mldl_cfg->accel->read_len > sizeof(raw_data))
|
mldl_cfg_mpu.c | 93 MPL_LOGD("slave_accel->read_len = %02x\n", 94 mldl_cfg->accel->read_len); 109 MPL_LOGD("slave_compass->read_len = %02x\n", 110 mldl_cfg->compass->read_len); 125 MPL_LOGD("slave_pressure->read_len = %02x\n", 126 mldl_cfg->pressure->read_len);
|
compass.c | 272 if (mldl_cfg->compass->read_len > sizeof(inv_obj.compass_raw_data)) {
|
/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...] |
/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/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/net/http/ |
partial_data.cc | 430 int read_len = std::min(data_len, cached_min_len_); local 431 if (!read_len) 436 rv = entry->ReadSparseData(current_range_start_, data, read_len, 443 data, read_len, callback);
|
/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;
|
/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_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);
|
/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);
|
/hardware/invensense/60xx/mlsdk/platform/include/linux/ |
mpu.h | 271 unsigned int read_len; member in struct:ext_slave_descr
|
/external/libsepol/src/ |
module.c | 348 uint32_t offset, nel, read_len; local 356 read_len = nel; 358 read_len = _read_helper_bufsize; 359 rc = next_entry(&buf[offset], file, read_len); 362 offset += read_len; 363 nel -= read_len;
|
/external/bluetooth/bluedroid/bta/jv/ |
bta_jv_api.c | [all...] |
/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...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
dhdu.c | 1553 uint read_len; local [all...] |