/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cid/ |
cidparse.c | 89 FT_Long read_len = 256 + 10; /* same as signed FT_Stream->size */ local 106 read_len = FT_MIN( read_len, stream_len ); 107 if ( FT_STREAM_READ( p, read_len ) ) 110 if ( read_len < 256 ) 111 p[read_len] = '\0'; 113 limit = p + read_len - 10; 131 read_len = 256;
|
/system/core/toolbox/ |
hd.c | 16 int read_len; local 66 read_len = sizeof(buf); 67 if(count > 0 && base + count - filepos < read_len) 68 read_len = base + count - filepos; 69 res = read(fd, &buf, read_len); 85 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...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
fifo_char.cc | 65 size_t read_len = std::min(len, size_ - offs); local 66 memcpy(ptr, &buffer_[offs], read_len); 68 ptr += read_len; 69 offs += read_len; 74 out += read_len; 75 len -= read_len; 82 size_t read_len = Peek(buf, len); local 83 if (read_len > 0) { 84 avail_ -= read_len; 85 tail_ = (tail_ + read_len) % size_ [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);
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_thread.c | 112 ssize_t read_len; local 115 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt)); 116 CDBG("%s: read_fd = %d, read_len = %d, expect_len = %d cmd = %d", 117 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
RTPFile.cc | 215 size_t read_len = fread(&lengthBytes, 2, 1, _rtpFile); local 217 if ((read_len == 0) && feof(_rtpFile)) {
|
/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/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_thread.c | 210 ssize_t read_len; local 213 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt)); 214 CDBG("%s: read_fd = %d, read_len = %d, expect_len = %d cmd = %d", 215 __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));
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_thread.c | 210 ssize_t read_len; local 213 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt)); 214 CDBG("%s: read_fd = %d, read_len = %d, expect_len = %d cmd = %d", 215 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd);
|
/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 | 413 int read_len = std::min(data_len, cached_min_len_); local 414 if (!read_len) 419 rv = entry->ReadSparseData(current_range_start_, data, read_len, 426 data, read_len, callback);
|
/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);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_common.cc | 87 uptr read_len = 0; local 99 read_len = 0; 101 while (read_len + PageSize <= size) { 102 uptr just_read = internal_read(fd, *buff + read_len, PageSize); 107 read_len += just_read; 113 return read_len;
|
/external/chromium_org/net/server/ |
http_server_unittest.cc | 519 int read_len = std::min(static_cast<int>(pending_read_data_.size()), variable 521 memcpy(buf->data(), pending_read_data_.data(), read_len); 522 pending_read_data_.erase(0, read_len); 523 return read_len; 541 int read_len = std::min(data_len, read_buf_len_); local 542 memcpy(read_buf_->data(), data, read_len); 543 pending_read_data_.assign(data + read_len, data_len - read_len); 546 base::ResetAndReturn(&read_callback_).Run(read_len);
|
/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 | 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/chromium_org/third_party/webrtc/modules/media_file/source/ |
media_file_utility.cc | 1314 int16_t read_len = 0; local 1814 int32_t read_len; local 2279 int32_t read_len = 0; local [all...] |
/external/qemu/hw/android/goldfish/ |
nand.c | 390 size_t read_len = dev->erase_size; local 397 if(read_len < dev->erase_size) { 399 read_len = dev->erase_size; 402 if(len < read_len) 403 read_len = len; 405 read_len = do_read(dev->fd, dev->data, read_len); 407 safe_memory_rw_debug(current_cpu, data, dev->data, read_len, 1); 408 data += read_len; 409 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
|
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libwebm/ |
mkvmuxer.cpp | 105 const int64 read_len = (size > kBufSize) ? kBufSize : size; local 106 if (source->Read(offset, static_cast<long>(read_len), buf)) 108 dst->Write(buf, static_cast<uint32>(read_len)); 109 offset += read_len; 110 size -= read_len; [all...] |
/external/libvpx/libvpx/third_party/libwebm/ |
mkvmuxer.cpp | 108 const int64 read_len = (size > kBufSize) ? kBufSize : size; local 109 if (source->Read(offset, static_cast<long>(read_len), buf)) 111 dst->Write(buf, static_cast<uint32>(read_len)); 112 offset += read_len; 113 size -= read_len; [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/ |
mkvmuxer.cpp | 108 const int64 read_len = (size > kBufSize) ? kBufSize : size; local 109 if (source->Read(offset, static_cast<long>(read_len), buf)) 111 dst->Write(buf, static_cast<uint32>(read_len)); 112 offset += read_len; 113 size -= read_len; [all...] |