/device/linaro/bootloader/arm-trusted-firmware/drivers/partition/ |
partition.c | 46 size_t bytes_read; local 58 PARTITION_BLOCK_SIZE, &bytes_read); 81 size_t bytes_read; local 89 sizeof(gpt_header_t), &bytes_read); 90 if ((result != 0) || (sizeof(gpt_header_t) != bytes_read)) { 108 size_t bytes_read; local 113 &bytes_read); 114 if (sizeof(gpt_entry_t) != bytes_read)
|
/device/linaro/hikey/bluetooth/ |
h4_protocol.cc | 60 size_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer, 1)); local 61 CHECK(bytes_read == 1);
|
/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/ |
hog.c | 165 ssize_t bytes_read = recv(connfd, &command, sizeof(command), 0); local 167 if (bytes_read < 0) { 170 } else if (bytes_read == 0) { 174 } else if (bytes_read != sizeof(command)) { 176 bytes_read, sizeof(command)); 202 bytes_read = recv(connfd, &balloon_size, sizeof(balloon_size), 0); 204 if (bytes_read < 0) { 207 } else if (bytes_read == 0) {
|
/external/bsdiff/ |
memory_file.cc | 15 bool MemoryFile::Read(void* buf, size_t count, size_t* bytes_read) { 19 *bytes_read = count;
|
sink_file.cc | 12 bool SinkFile::Read(void* buf, size_t count, size_t* bytes_read) {
|
buffer_file.h | 27 bool Read(void* buf, size_t count, size_t* bytes_read) override;
|
file.h | 23 bool Read(void* buf, size_t count, size_t* bytes_read) override;
|
memory_file.h | 24 bool Read(void* buf, size_t count, size_t* bytes_read) override;
|
sink_file.h | 28 bool Read(void* buf, size_t count, size_t* bytes_read) override;
|
/external/bsdiff/include/bsdiff/ |
file_interface.h | 25 // the passed |buf| buffer. On success, stores in |bytes_read| how many bytes 29 virtual bool Read(void* buf, size_t count, size_t* bytes_read) = 0;
|
/external/perfetto/src/ftrace_reader/ |
cpu_stats_parser_unittest.cc | 28 EXPECT_EQ(stats.bytes_read, 4);
|
/external/syslinux/com32/lib/sys/ |
fileread.c | 44 ssize_t bytes_read; local 46 bytes_read = pmapi_read_file(&fp->i.fd.handle, fp->i.buf, 48 if (!bytes_read) { 53 fp->i.nbytes = bytes_read;
|
/art/runtime/ |
zip_archive_test.cc | 57 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buf, kBufSize)); local 58 if (bytes_read == 0) { 61 computed_crc = crc32(computed_crc, buf, bytes_read);
|
/external/brotli/c/enc/ |
utf8_util.c | 75 size_t bytes_read = local 77 i += bytes_read; 78 if (symbol < 0x110000) size_utf8 += bytes_read;
|
/external/webrtc/webrtc/base/ |
bufferqueue.cc | 35 bool BufferQueue::ReadFront(void* buffer, size_t bytes, size_t* bytes_read) { 47 if (bytes_read) { 48 *bytes_read = bytes;
|
bufferqueue.h | 34 bool ReadFront(void* data, size_t bytes, size_t* bytes_read);
|
/external/libmojo/mojo/edk/test/ |
test_utils_win.cc | 40 size_t* bytes_read) { 53 *bytes_read = bytes_read_dword; 60 size_t* bytes_read) { 73 *bytes_read = 0; 78 *bytes_read = bytes_read_dword;
|
/external/tensorflow/tensorflow/core/lib/io/ |
inputbuffer.cc | 81 size_t bytes_read = 0; local 82 Status status = ReadNBytes(bytes_to_read, &(*result)[0], &bytes_read); 83 if (bytes_read < bytes_to_read) result->resize(bytes_read); 88 size_t* bytes_read) { 94 *bytes_read = 0; 95 while (*bytes_read < static_cast<size_t>(bytes_to_read)) { 105 std::min<int64>(limit_ - pos_, bytes_to_read - *bytes_read); 107 memcpy(result + *bytes_read, pos_, bytes_to_copy); 109 *bytes_read += bytes_to_copy [all...] |
/external/flac/libFLAC/ |
ogg_helper.c | 48 size_t bytes_read = bytes; local 49 switch(read_callback(encoder, buffer, &bytes_read, client_data)) { 51 bytes -= bytes_read; 52 buffer += bytes_read; 55 if(bytes_read == 0) { 59 bytes -= bytes_read; 60 buffer += bytes_read;
|
/external/google-breakpad/src/tools/windows/dump_syms/ |
dump_syms_unittest.cc | 136 DWORD bytes_read = 0;
local 137 while (::ReadFile(child_stdout_read, buffer, sizeof(buffer), &bytes_read,
138 NULL) && bytes_read > 0) {
139 stdout_string->append(buffer, bytes_read);
159 size_t bytes_read = ::fread(buffer, 1, sizeof(buffer), f);
local 160 if (bytes_read == 0)
162 content->append(buffer, bytes_read);
|
/external/syslinux/core/fs/ |
getfssec.c | 94 uint32_t bytes_read = 0; local 182 bytes_read += len; 187 bytes_read = min(bytes_read, bytes_left); 188 file->offset += bytes_read; 191 *have_more = bytes_read < bytes_left; 193 return bytes_read;
|
/device/google/marlin/dumpstate/ |
DumpstateDevice.cpp | 90 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fdLog, buffer.data(), buffer.size())); local 92 if (bytes_read == 0) { 94 } else if (bytes_read < 0) { 99 ssize_t result = TEMP_FAILURE_RETRY(write(fdModem, buffer.data(), bytes_read)); 101 if (result != bytes_read) { 102 ALOGD("Failed to write %ld bytes, actually written: %ld", bytes_read, result);
|
/system/update_engine/payload_generator/ |
block_mapping.cc | 49 ssize_t bytes_read = 0; local 50 if (!utils::PReadAll(fd, blob.data(), block_size_, byte_offset, &bytes_read)) 52 if (static_cast<size_t>(bytes_read) != block_size_) 121 ssize_t bytes_read = 0; local 122 if (!utils::PReadAll(fd, blob.data(), block_size, byte_offset, &bytes_read)) 124 if (static_cast<size_t>(bytes_read) != block_size)
|
/external/puffin/src/ |
file_stream.cc | 65 auto bytes_read = local 67 // if bytes_read is zero then EOF is reached and we should not be here. 68 TEST_AND_RETURN_FALSE(bytes_read > 0); 69 total_bytes_read += bytes_read;
|
/external/libmojo/base/debug/ |
proc_maps_linux.cc | 66 ssize_t bytes_read = HANDLE_EINTR(read(fd.get(), buffer, kReadSize)); local 67 if (bytes_read < 0) { 74 proc_maps->resize(pos + bytes_read); 76 if (bytes_read == 0)
|