Searched refs:read_bytes (Results 1 – 7 of 7) sorted by relevance
/system/core/libprocinfo/ |
D | process_map.cpp | 42 size_t read_bytes = 0; in ReadMapFileAsyncSafe() local 47 TEMP_FAILURE_RETRY(read(fd, char_buffer + read_bytes, buffer_size - read_bytes - 1)); in ReadMapFileAsyncSafe() 49 if (read_bytes == 0) { in ReadMapFileAsyncSafe() 54 char_buffer[start + read_bytes] = '\n'; in ReadMapFileAsyncSafe() 58 read_bytes += bytes; in ReadMapFileAsyncSafe() 60 while (read_bytes > 0) { in ReadMapFileAsyncSafe() 61 char* newline = reinterpret_cast<char*>(memchr(&char_buffer[start], '\n', read_bytes)); in ReadMapFileAsyncSafe() 68 read_bytes -= newline - line + 1; in ReadMapFileAsyncSafe() 79 if (start == 0 && read_bytes == buffer_size - 1) { in ReadMapFileAsyncSafe() 88 if (read_bytes > 0) { in ReadMapFileAsyncSafe() [all …]
|
/system/core/storaged/ |
D | storaged_utils.cpp | 48 uint64_t l_bytes = l.io[i].read_bytes + l.io[i].write_bytes; in cmp_uid_info() 49 uint64_t r_bytes = r.io[i].read_bytes + r.io[i].write_bytes; in cmp_uid_info() 77 uid.io[0].rchar, uid.io[0].wchar, uid.io[0].read_bytes, uid.io[0].write_bytes, in log_console_running_uids_info() 78 uid.io[1].rchar, uid.io[1].wchar, uid.io[1].read_bytes, uid.io[1].write_bytes, in log_console_running_uids_info() 86 … task.io[0].rchar, task.io[0].wchar, task.io[0].read_bytes, task.io[0].write_bytes, in log_console_running_uids_info() 87 … task.io[1].rchar, task.io[1].wchar, task.io[1].read_bytes, task.io[1].write_bytes, in log_console_running_uids_info()
|
D | storaged_uid_monitor.cpp | 66 !ParseUint(fields[3], &io[FOREGROUND].read_bytes) || in parse_uid_io_stats() 70 !ParseUint(fields[7], &io[BACKGROUND].read_bytes) || in parse_uid_io_stats() 89 !ParseUint(fields[size - 8], &io[FOREGROUND].read_bytes) || in parse_task_io_stats() 93 !ParseUint(fields[size - 4], &io[BACKGROUND].read_bytes) || in parse_task_io_stats() 320 int64_t fg_rd_delta = uid.io[FOREGROUND].read_bytes - in update_curr_io_stats_locked() 321 last_uid_io_stats_[uid.uid].io[FOREGROUND].read_bytes; in update_curr_io_stats_locked() 322 int64_t bg_rd_delta = uid.io[BACKGROUND].read_bytes - in update_curr_io_stats_locked() 323 last_uid_io_stats_[uid.uid].io[BACKGROUND].read_bytes; in update_curr_io_stats_locked() 342 int64_t task_fg_rd_delta = task.io[FOREGROUND].read_bytes - in update_curr_io_stats_locked() 343 last_uid_io_stats_[uid.uid].tasks[pid].io[FOREGROUND].read_bytes; in update_curr_io_stats_locked() [all …]
|
/system/bt/osi/src/ |
D | osi.cc | 45 ssize_t read_bytes = read(rand_fd, &rand, sizeof(rand)); in osi_rand() local 48 CHECK(read_bytes == sizeof(rand)); in osi_rand()
|
/system/core/storaged/include/ |
D | uid_info.h | 49 uint64_t read_bytes; // bytes read (from storage layer) member
|
/system/extras/iotop/ |
D | taskstats.cpp | 200 read_bytes_ = taskstats_stats.read_bytes; in TaskStatistics()
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 253 DWORD read_bytes; in _fh_file_read() local 255 if (!ReadFile(f->fh_handle, buf, (DWORD)len, &read_bytes, nullptr)) { in _fh_file_read() 259 } else if (read_bytes < (DWORD)len) { in _fh_file_read() 262 return read_bytes; in _fh_file_read()
|