/hardware/bsp/intel/peripheral/libmraa/src/i2c/ |
i2c.c | 205 int bytes_read = 0; local 207 bytes_read = dev->advance_func->i2c_read_replace(dev, data, length); 210 bytes_read = read(dev->fh, data, length); 212 if (bytes_read == length) {
|
/system/bt/osi/src/ |
eager_reader.c | 250 ssize_t bytes_read; local 251 OSI_NO_INTR(bytes_read = read(reader->inbound_fd, buffer->data, 253 if (bytes_read > 0) { 255 buffer->length = bytes_read; 260 eventfd_write(reader->bytes_available_fd, bytes_read); 262 if (bytes_read == 0)
|
/system/extras/tests/directiotest/ |
directiotest.c | 74 size_t bytes_read = 0; local 79 ret = read(fd, (char *)buf + bytes_read, count - bytes_read); 87 bytes_read += ret; 88 } while (bytes_read < count); 90 return bytes_read;
|
/system/update_engine/common/ |
subprocess.cc | 119 size_t bytes_read; local 121 bytes_read = 0; 124 record->stdout_fd, buf, arraysize(buf), &bytes_read, &eof); 125 record->stdout.append(buf, bytes_read); 133 } while (bytes_read);
|
/system/update_engine/payload_generator/ |
generate_delta_main.cc | 223 ssize_t bytes_read; local 224 CHECK(utils::PReadAll(fd, buf.data(), buf.size(), offset, &bytes_read)); 225 if (bytes_read == 0) 227 CHECK_EQ(performer.Write(buf.data(), bytes_read), bytes_read);
|
/art/runtime/base/unix_file/ |
fd_file.cc | 216 ssize_t bytes_read = TEMP_FAILURE_RETRY(read_func(fd, ptr, byte_count, offset)); local 217 if (bytes_read <= 0) { 222 byte_count -= bytes_read; // Reduce the number of remaining bytes. 223 ptr += bytes_read; // Move the buffer forward. 224 offset += static_cast<size_t>(bytes_read); // Move the offset forward.
|
/device/google/marlin/dataservices/rmnetctl/src/ |
librmnetctl.c | 111 ssize_t bytes_read = -1; local 174 bytes_read = recvfrom(hndl->netlink_fd, 180 if (bytes_read < 0) {
|
/device/huawei/angler/dataservices/rmnetctl/src/ |
librmnetctl.c | 108 ssize_t bytes_read = -1; local 171 bytes_read = recvfrom(hndl->netlink_fd, 177 if (bytes_read < 0) {
|
/device/lge/bullhead/dataservices/rmnetctl/src/ |
librmnetctl.c | 109 ssize_t bytes_read = -1; local 172 bytes_read = recvfrom(hndl->netlink_fd, 178 if (bytes_read < 0) {
|
/device/moto/shamu/dataservices/rmnetctl/src/ |
librmnetctl.c | 97 int bytes_read = -1, return_code = RMNETCTL_API_ERR_HNDL_INVALID; local 156 bytes_read = recvfrom(hndl->netlink_fd, 162 if (bytes_read < 0) {
|
/external/curl/docs/examples/ |
http2-upload.c | 168 size_t bytes_read; /* count up */ member in struct:input 176 i->bytes_read += retcode;
|
/external/curl/lib/ |
security.c | 231 size_t bytes_read; local 246 bytes_read = buffer_read(&conn->in_buffer, buffer, len); 247 len -= bytes_read; 248 total_read += bytes_read; 249 buffer += bytes_read; 255 if(bytes_read > 0) 257 return bytes_read; 259 bytes_read = buffer_read(&conn->in_buffer, buffer, len); 260 len -= bytes_read; 261 total_read += bytes_read; [all...] |
/external/e2fsprogs/lib/ext2fs/ |
ext2_io.h | 67 unsigned long long bytes_read; member in struct:struct_io_stats
|
/external/e2fsprogs/resize/ |
resize2fs.h | 95 unsigned long long bytes_read; member in struct:resource_track
|
/external/google-benchmark/src/ |
sysinfo.cc | 412 size_t bytes_read = fread(buff, 1, sizeof(buff), file); local 414 if (memprefix(buff, bytes_read, "performance") == nullptr) return true;
|
/external/google-breakpad/src/client/windows/crash_generation/ |
minidump_generator.cc | 364 SIZE_T bytes_read = 0; local 369 &bytes_read)) { 378 if (bytes_read != sizeof(client_assert_info)) {
|
/external/libchrome/base/files/ |
file_path_watcher_linux.cc | 237 ssize_t bytes_read = HANDLE_EINTR(read(inotify_fd, &buffer[0], local 240 if (bytes_read < 0) { 246 while (i < bytes_read) { 249 DCHECK(i + event_size <= static_cast<size_t>(bytes_read));
|
file_posix.cc | 209 int bytes_read = 0; local 212 rv = HANDLE_EINTR(pread(file_.get(), data + bytes_read, 213 size - bytes_read, offset + bytes_read)); 217 bytes_read += rv; 218 } while (bytes_read < size); 220 return bytes_read ? bytes_read : rv; 231 int bytes_read = 0; local 234 rv = HANDLE_EINTR(read(file_.get(), data + bytes_read, size - bytes_read)) [all...] |
/external/libexif/libexif/ |
exif-loader.c | 79 unsigned int bytes_read; member in struct:_ExifLoader 135 if (!eld || (len && !buf) || (eld->bytes_read >= eld->size)) 145 len = MIN (len, eld->size - eld->bytes_read); 146 memcpy (eld->buf + eld->bytes_read, buf, len); 147 eld->bytes_read += len; 149 return (eld->bytes_read >= eld->size) ? 0 : 1; 384 loader->bytes_read = 0; 396 !loader->bytes_read) 401 exif_data_load_data (ed, loader->buf, loader->bytes_read); 418 s = loader->bytes_read; [all...] |
/external/libmicrohttpd/src/microspdy/ |
session.c | 868 int bytes_read; local 942 bytes_read = session->fio_recv(session, 946 switch(bytes_read) 974 session->read_buffer_offset += bytes_read; [all...] |
/external/libunwind/src/ |
elfxx.c | 48 size_t bytes_read = 0; local 67 bytes_read += copy_bytes; 76 return bytes_read; 84 return nul_terminator - buffer + bytes_read; 89 bytes_read += sizeof(unw_word_t); 96 return bytes_read; 104 return nul_terminator - buffer + bytes_read; 108 bytes_read += left_over; 110 return bytes_read; 219 size_t bytes_read = elf_w (memory_read) local [all...] |
/external/sfntly/cpp/src/test/ |
font_data_test.cc | 158 int32_t bytes_read = rfd->ReadBytes(index, &(buffer[0]), 0, buffer.size()); local 159 EXPECT_GE(bytes_read, 0); 160 std::copy(buffer.begin(), buffer.begin() + bytes_read, b->begin() + index); 161 index += bytes_read; 172 int32_t bytes_read = local 174 EXPECT_GE(bytes_read, 0); 175 index += bytes_read; 205 int32_t bytes_read = rfd->ReadBytes(index, &(b[0]), index, sliding_size); local 207 index += bytes_read;
|
/external/v8/src/base/platform/ |
platform-aix.cc | 101 int bytes_read = -1; local 103 bytes_read++; 104 if (bytes_read >= MAP_LENGTH - 1) break; 105 rc = read(fd, buffer + bytes_read, 1); 107 } while (buffer[bytes_read] != '\n'); 108 buffer[bytes_read] = 0; 114 buffer[bytes_read] = 0;
|
platform-freebsd.cc | 85 ssize_t bytes_read = read(fd, addr_buffer + 2, 8); local 86 if (bytes_read < 8) break; 88 bytes_read = read(fd, addr_buffer + 2, 1); 89 if (bytes_read < 1) break; 91 bytes_read = read(fd, addr_buffer + 2, 8); 92 if (bytes_read < 8) break; 95 bytes_read = -1; 97 bytes_read++; 98 if (bytes_read >= MAP_LENGTH - 1) 100 bytes_read = read(fd, buffer + bytes_read, 1) [all...] |
/external/webrtc/webrtc/libjingle/xmpp/ |
xmppclient.cc | 349 size_t bytes_read; local 357 if (!socket_->Read(bytes, sizeof(bytes), &bytes_read)) { 362 if (bytes_read == 0) 366 client_->SignalLogInput(bytes, static_cast<int>(bytes_read)); 369 engine_->HandleInput(bytes, bytes_read);
|