/external/libvpx/libvpx/ |
ivfdec.h | 22 size_t *bytes_read, size_t *buffer_size);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
ivfdec.h | 22 size_t *bytes_read, size_t *buffer_size);
|
/frameworks/native/cmds/bugreport/ |
bugreport.cpp | 67 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(s, buffer, sizeof(buffer))); local 68 if (bytes_read == 0) { 70 } else if (bytes_read == -1) { 79 ssize_t bytes_to_send = bytes_read; 83 buffer + bytes_read - bytes_to_send, 87 bytes_read, bytes_to_send, strerror(errno));
|
/external/bsdiff/ |
extents_file_unittest.cc | 99 size_t bytes_read; local 100 EXPECT_FALSE(file.Read(nullptr, 1, &bytes_read)); 126 size_t bytes_read = 0; local 127 EXPECT_TRUE(file.Read(buf, 100, &bytes_read)); 128 EXPECT_EQ(15U, bytes_read); 148 size_t bytes_read = 0; local 149 EXPECT_TRUE(file.Read(buf, 2, &bytes_read)); 150 EXPECT_EQ(2U, bytes_read); 151 EXPECT_TRUE(file.Read(buf, 8, &bytes_read)); 152 EXPECT_EQ(8U, bytes_read); 168 size_t bytes_read = 0; local 182 size_t bytes_read = 0; local 191 size_t bytes_read; local 206 size_t bytes_read = 0; local [all...] |
file_interface.h | 17 // the passed |buf| buffer. On success, stores in |bytes_read| how many bytes 21 virtual bool Read(void* buf, size_t count, size_t* bytes_read) = 0;
|
file.h | 23 bool Read(void* buf, size_t count, size_t* bytes_read) override;
|
/external/e2fsprogs/resize/ |
resource_track.c | 42 track->bytes_read = 0; 47 track->bytes_read = io_start->bytes_read; 104 unsigned long long bytes_read = 0; local 109 bytes_read = delta->bytes_read - track->bytes_read; 112 if (bytes_read == 0 && bytes_written == 0) 118 mbytes(bytes_read), 120 (double)mbytes(bytes_read + bytes_written) [all...] |
/bionic/libc/stdio/ |
fread.c | 127 ssize_t bytes_read = (*fp->_read)(fp->_cookie, dst, total); local 128 if (bytes_read <= 0) { 129 fp->_flags |= (bytes_read == 0) ? __SEOF : __SERR; 132 dst += bytes_read; 133 total -= bytes_read;
|
/external/sfntly/cpp/src/sfntly/data/ |
byte_array.cc | 111 int32_t bytes_read = 0; local 115 while ((bytes_read = 117 int bytes_written = array->Put(index + dst_offset, &(b[0]), 0, bytes_read); 119 index += bytes_read; 120 remaining_length -= bytes_read; 132 int32_t bytes_read = 0; local 135 while ((bytes_read = Get(index + offset, &(b[0]), 0, buffer_length)) > 0) { 136 os->Write(&b, 0, bytes_read); 137 index += bytes_read; 145 int32_t bytes_read = 0 local 165 int32_t bytes_read = 0; local [all...] |
/hardware/bsp/intel/peripheral/sensors/mraa/ |
Sensor.cpp | 39 int bytes_read = 0, bytes_to_read = sizeof(sensors_event_t); local 51 bytes_read = read(fd, ptr, bytes_to_read); 52 if (bytes_read <= 0) { 55 bytes_to_read -= bytes_read; 56 ptr += bytes_read;
|
/external/libweave/third_party/chromium/base/ |
rand_util_posix.cc | 35 ssize_t bytes_read = local 37 if (bytes_read <= 0) 39 total_read += bytes_read;
|
/system/update_engine/payload_generator/ |
blob_file_writer_unittest.cc | 49 ssize_t bytes_read; local 54 &bytes_read)); 55 EXPECT_EQ(bytes_read, blob_size);
|
/frameworks/native/cmds/bugreportz/ |
bugreportz.cpp | 99 ssize_t bytes_read = TEMP_FAILURE_RETRY( local 101 if (bytes_read == 0) { 103 } else if (bytes_read == -1) { 112 ssize_t bytes_to_send = bytes_read; 116 write(STDOUT_FILENO, buffer + bytes_read - bytes_to_send, 121 bytes_read, bytes_to_send, strerror(errno));
|
/frameworks/ex/framesequence/jni/ |
Stream.cpp | 61 size_t bytes_read = 0; local 64 bytes_read = min(size, peek_remaining); 65 memcpy(buffer, mPeekBuffer + mPeekOffset, bytes_read); 66 mPeekOffset += bytes_read; 73 size -= bytes_read; 74 buffer = ((char*) buffer) + bytes_read; 77 bytes_read += doRead(buffer, size); 79 return bytes_read;
|
/bionic/libc/bionic/ |
bionic_netlink.cpp | 81 ssize_t bytes_read; local 82 while ((bytes_read = TEMP_FAILURE_RETRY(recv(fd_, data_, size_, 0))) > 0) { 84 for (; NLMSG_OK(hdr, static_cast<size_t>(bytes_read)); hdr = NLMSG_NEXT(hdr, bytes_read)) {
|
/development/host/windows/usb/api/ |
adb_endpoint_object.cpp | 52 ULONG* bytes_read,
58 bytes_read,
78 ULONG* bytes_read,
83 bytes_read,
|
/system/core/libbacktrace/ |
BacktracePtrace.cpp | 77 size_t bytes_read = 0; 89 bytes_read += copy_bytes; 95 return bytes_read; 100 bytes_read += sizeof(word_t); 106 return bytes_read; 109 bytes_read += left_over; 111 return bytes_read;
|
/external/google-breakpad/src/common/tests/ |
file_utils.cc | 64 ssize_t bytes_read = HANDLE_EINTR(read(infile, buffer, sizeof(buffer))); local 65 if (bytes_read < 0) { 70 if (bytes_read == 0) 77 bytes_read - bytes_written_per_read)); 84 } while (bytes_written_per_read < bytes_read);
|
/external/v8/src/base/platform/ |
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/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) {
|
/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/dbus/dbus/ |
dbus-file-win.c | 53 DWORD bytes_read; local 71 result = ReadFile (hnd, data, count, &bytes_read, NULL); 81 if (bytes_read) 84 _dbus_string_set_length (buffer, start + bytes_read); 87 if (bytes_read > 0) 88 _dbus_verbose_bytes_of_string (buffer, start, bytes_read); 92 return bytes_read; 166 int bytes_read; local 170 bytes_read = _dbus_file_read (hnd, str, fsize - total, error); 171 if (bytes_read <= 0 [all...] |
/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;
|
/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);
|
/toolchain/binutils/binutils-2.25/binutils/ |
dwarf.c | 451 unsigned int bytes_read; local 457 len = read_uleb128 (data, & bytes_read, end); 458 data += bytes_read; 463 return bytes_read; 466 len += bytes_read; 481 SAFE_BYTE_GET (adr, data, len - bytes_read - 1, end); 494 printf ("%s\t", dwarf_vmatoa ("u", read_uleb128 (data, & bytes_read, end))); 495 data += bytes_read; 496 printf ("%s\t", dwarf_vmatoa ("u", read_uleb128 (data, & bytes_read, end))); 497 data += bytes_read; 824 unsigned int bytes_read; local 939 unsigned int bytes_read; local 1550 unsigned int bytes_read; local 2499 unsigned int bytes_read; local 2850 unsigned int bytes_read; local 2885 unsigned int bytes_read; local 3010 unsigned int bytes_read; local 3551 unsigned int bytes_read; local 3572 unsigned int bytes_read; local 3623 unsigned int bytes_read; local 4129 unsigned int bytes_read; local 4210 unsigned int version, opcode_base, bytes_read; local 4291 unsigned int bytes_read; local 4726 unsigned int bytes_read; local [all...] |