HomeSort by relevance Sort by last modified time
    Searched refs:read_bytes (Results 1 - 25 of 56) sorted by null

1 2 3

  /system/bt/osi/src/
osi.cc 45 ssize_t read_bytes = read(rand_fd, &rand, sizeof(rand)); local
48 CHECK(read_bytes == sizeof(rand));
  /external/freetype/builds/amiga/src/base/
ftsystem.c 298 unsigned long read_bytes; local
322 read_bytes = count;
330 read_bytes = Read( sysfile->file, sysfile->iobuf, IOBUF_SIZE );
331 if ( read_bytes == -1UL )
334 read_bytes = 0;
338 sysfile->iobuf_end = offset + read_bytes;
340 if ( read_bytes > count )
342 read_bytes = count;
351 read_bytes = Read( sysfile->file, buffer, count );
352 if ( read_bytes == -1UL
    [all...]
  /system/core/storaged/
storaged_utils.cpp 48 uint64_t l_bytes = l.io[i].read_bytes + l.io[i].write_bytes;
49 uint64_t r_bytes = r.io[i].read_bytes + r.io[i].write_bytes;
77 uid.io[0].rchar, uid.io[0].wchar, uid.io[0].read_bytes, uid.io[0].write_bytes,
78 uid.io[1].rchar, uid.io[1].wchar, uid.io[1].read_bytes, uid.io[1].write_bytes,
86 task.io[0].rchar, task.io[0].wchar, task.io[0].read_bytes, task.io[0].write_bytes,
87 task.io[1].rchar, task.io[1].wchar, task.io[1].read_bytes, task.io[1].write_bytes,
storaged_uid_monitor.cpp 65 !ParseUint(fields[3], &io[FOREGROUND].read_bytes) ||
69 !ParseUint(fields[7], &io[BACKGROUND].read_bytes) ||
89 !ParseUint(fields[size - 8], &io[FOREGROUND].read_bytes) ||
93 !ParseUint(fields[size - 4], &io[BACKGROUND].read_bytes) ||
321 int64_t fg_rd_delta = uid.io[FOREGROUND].read_bytes -
322 last_uid_io_stats[uid.uid].io[FOREGROUND].read_bytes;
323 int64_t bg_rd_delta = uid.io[BACKGROUND].read_bytes -
324 last_uid_io_stats[uid.uid].io[BACKGROUND].read_bytes;
343 int64_t task_fg_rd_delta = task.io[FOREGROUND].read_bytes -
344 last_uid_io_stats[uid.uid].tasks[pid].io[FOREGROUND].read_bytes;
    [all...]
  /external/freetype/src/base/
ftstream.c 125 FT_ULong read_bytes; local
138 read_bytes = stream->read( stream, pos, buffer, count );
141 read_bytes = stream->size - pos;
142 if ( read_bytes > count )
143 read_bytes = count;
145 FT_MEM_COPY( buffer, stream->base + pos, read_bytes );
148 stream->pos = pos + read_bytes;
150 if ( read_bytes < count )
154 count, read_bytes ));
168 FT_ULong read_bytes = 0 local
238 FT_ULong read_bytes; local
    [all...]
  /external/linux-kselftest/tools/testing/selftests/vm/
hugepage-mmap.c 52 static int read_bytes(char *addr) function
86 ret = read_bytes(addr);
map_hugetlb.c 48 static int read_bytes(char *addr) function
75 ret = read_bytes(addr);
  /system/extras/simpleperf/
event_fd.cpp 234 size_t read_bytes; local
236 read_bytes = write_head - read_head;
238 read_bytes = mmap_data_buffer_size_ - read_head + write_head;
241 if (buffer.size() < buffer_pos + read_bytes) {
242 buffer.resize(buffer_pos + read_bytes);
264 buffer_pos += read_bytes;
265 DiscardMmapData(read_bytes);
266 return read_bytes;
  /external/ltp/utils/ffsb-6.0-rc2/
ffsb_op.c 135 if (results->write_bytes || results->read_bytes)
137 if (results->read_bytes) {
138 ffsb_printsize(buf, results->read_bytes / runtime, 256);
179 target->read_bytes += src->read_bytes;
ffsb_op.h 83 uint64_t read_bytes; member in struct:ffsb_op_results
  /external/ltp/testcases/kernel/syscalls/readahead/
readahead02.c 147 char entry[] = "read_bytes: %lu";
197 * @read_bytes: returns difference of bytes read, parsed from /proc/<pid>/io
202 unsigned long *read_bytes, long *usec,
276 *read_bytes = get_bytes_read() - read_bytes_start;
287 unsigned long read_bytes, read_bytes_ra; local
294 read_testfile(0, testfile, testfile_size, &read_bytes, &usec, &cached);
302 read_testfile(0, testfile, testfile_size, &read_bytes, &usec, &cached);
322 tst_resm(TINFO, "read_testfile(0) read: %ld bytes", read_bytes);
326 if (read_bytes_ra < read_bytes)
  /external/tensorflow/tensorflow/core/lib/io/
zlib_inputstream.cc 80 uLong read_bytes = z_stream_->next_in - z_stream_input_.get(); local
81 // Remove `read_bytes` from the head of the input stream.
83 if (read_bytes > 0) {
137 size_t read_bytes = local
139 return output_buffer_capacity_ - z_stream_->avail_out - read_bytes;
zlib_outputbuffer.cc 81 // [<...read_bytes...><...avail_in...>......empty space......]
97 int32 read_bytes = z_stream_->next_in - z_stream_input_.get(); local
99 int32 free_tail_bytes = input_buffer_capacity_ - (read_bytes + unread_bytes);
  /system/core/storaged/include/
uid_info.h 47 uint64_t read_bytes; // bytes read (from storage layer) member in struct:android::os::storaged::io_stats
  /external/webrtc/webrtc/base/
bytebuffer_unittest.cc 175 char read_bytes[3]; local
176 EXPECT_TRUE(buffer.ReadBytes(read_bytes, 3));
178 EXPECT_EQ(write_bytes[i], read_bytes[i]);
185 memset(read_bytes, 0, 3);
186 EXPECT_TRUE(buffer.ReadBytes(read_bytes, 3));
188 EXPECT_EQ(write_bytes[i], read_bytes[i]);
  /external/bsdiff/
bspatch.cc 305 size_t read_bytes; local
307 if (!old_file->Read(old_buf.data(), bytes_to_read, &read_bytes)) {
311 if (!read_bytes) {
316 if (!patch_reader.ReadDiffStream(new_buf.data(), read_bytes)) {
321 for (size_t k = 0; k < read_bytes; k++)
323 if (!WriteAll(new_file, new_buf.data(), read_bytes)) {
327 chunk_size -= read_bytes;
  /external/autotest/client/site_tests/security_Libcontainer/src/
libcontainer_target_unittest.cc 45 ssize_t read_bytes = read(read_fd_.get(), buffer, sizeof(buffer) - 1); local
46 CHECK(read_bytes >= 0);
47 buffer[read_bytes] = '\0';
48 return std::string(buffer, read_bytes);
  /development/host/windows/usb/adb_winapi_test/
adb_winapi_test.cpp 419 void HexDump(const void* data, const size_t read_bytes) {
422 for (size_t n = 0; n < read_bytes; n += line_length) {
424 const size_t max_line = min(line_length, read_bytes - n);
527 ULONG read_bytes = 0; local
528 bool read_res = AdbReadEndpointSync(adb_read, &msg_rcv, sizeof(msg_rcv), &read_bytes, 512);
536 printf("\n Read handshake: %u bytes received", read_bytes);
551 read_res = AdbReadEndpointSync(adb_read, buf, msg_rcv.data_length, &read_bytes, 512);
560 HexDump(buf, read_bytes);
762 ULONG read_bytes = 0; local
765 &read_bytes, 0 /* infinite timeout */)) {
    [all...]
  /external/libunwind/src/
Los-common.c 164 map_local_is_readable (unw_word_t addr, size_t read_bytes)
166 return is_flag_set (addr, PROT_READ, read_bytes);
  /external/tensorflow/tensorflow/core/lib/io/snappy/
snappy_inputbuffer.cc 152 size_t read_bytes = next_in_ - input_buffer_.get(); local
153 // Remove `read_bytes` from the head of the input stream.
155 if (read_bytes > 0) {
snappy_outputbuffer.cc 89 // [<...read_bytes...><...avail_in...>......empty space......]
105 const int32 read_bytes = next_in_ - input_buffer_.get(); local
108 input_buffer_capacity_ - (read_bytes + unread_bytes);
  /frameworks/compile/mclinker/lib/Support/
FileHandle.cpp 168 ssize_t read_bytes =
171 if (read_bytes == -1) {
  /bionic/libc/kernel/uapi/linux/
taskstats.h 59 __u64 read_bytes; member in struct:taskstats
  /external/kernel-headers/original/uapi/linux/
taskstats.h 152 __u64 read_bytes; /* bytes of read I/O */ member in struct:taskstats
  /external/squashfs-tools/squashfs-tools/
mksquashfs.h 163 extern int read_bytes(int, void *, int);

Completed in 799 milliseconds

1 2 3