Searched refs:num_bytes (Results 1 – 10 of 10) sorted by relevance
/device/google/dragon/crash_collector/ |
D | coredump_writer.cc | 65 bool Read(void* buf, size_t num_bytes) { in Read() argument 66 if (!android::base::ReadFully(fd_, buf, num_bytes)) in Read() 68 bytes_read_ += num_bytes; in Read() 73 bool CopyTo(int fd_dest, size_t num_bytes) { in CopyTo() argument 76 while (num_bytes > 0) { in CopyTo() 78 read(fd_, buf, std::min(kBufSize, num_bytes))); in CopyTo() 85 num_bytes -= rv; in CopyTo() 88 return num_bytes == 0; in CopyTo()
|
/device/lge/bullhead/power/ |
D | utils.h | 32 int sysfs_read(char *path, char *s, int num_bytes);
|
D | utils.c | 102 int sysfs_read(char *path, char *s, int num_bytes) in sysfs_read() argument 116 if ((count = read(fd, s, num_bytes - 1)) < 0) { in sysfs_read()
|
/device/huawei/angler/power/ |
D | utils.h | 32 int sysfs_read(char *path, char *s, int num_bytes);
|
D | utils.c | 102 int sysfs_read(char *path, char *s, int num_bytes) in sysfs_read() argument 116 if ((count = read(fd, s, num_bytes - 1)) < 0) { in sysfs_read()
|
/device/google/wahoo/power/ |
D | utils.h | 39 int sysfs_read(char *path, char *s, int num_bytes);
|
D | utils.c | 104 int sysfs_read(char *path, char *s, int num_bytes) in sysfs_read() argument 118 if ((count = read(fd, s, num_bytes - 1)) < 0) { in sysfs_read()
|
/device/google/marlin/power/ |
D | utils.h | 37 int sysfs_read(char *path, char *s, int num_bytes);
|
D | utils.c | 115 int sysfs_read(char *path, char *s, int num_bytes) in sysfs_read() argument 129 if ((count = read(fd, s, num_bytes - 1)) < 0) { in sysfs_read()
|
/device/asus/fugu/power/ |
D | power.c | 65 static ssize_t sysfs_read(char *path, char *s, int num_bytes) in sysfs_read() argument 77 if ((count = read(fd, s, (num_bytes - 1))) < 0) { in sysfs_read()
|