Home
last modified time | relevance | path

Searched refs:read_size (Results 1 – 5 of 5) sorted by relevance

/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Dread_device_node.c79 int buf_size, read_size; in read_data() local
102 read_size = read(fp, dptr, 1024); in read_data()
103 if (read_size <= 0) { in read_data()
104 printf("Wrong size=%d\n", read_size); in read_data()
109 ind = read_size + left_over_size; in read_data()
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dmsg_formatting.h225 size_t read_size = 0;
226 std::tie(in, pos, read_size) = read(in);
227 if (!in || read_size != sizeof(T)) {
239 size_t read_size = 0;
240 std::tie(std::get<0>(result), pos, read_size) = read(in);
241 if (!std::get<0>(result) || read_size % sizeof(T)) {
246 read_size / sizeof(T));
274 size_t read_size = 0;
275 std::tie(in, pos, read_size) = read(in);
276 if (!in || read_size != hatSize) {
[all …]
/hardware/google/aemu/host-common/
DHostGoldfishPipe.cpp151 ssize_t read_size = read(fd, resultBuffer.data(), maxLength); in read() local
153 if (read_size < 0) { in read()
156 if (read_size < maxLength) { in read()
157 resultBuffer.resize(read_size); in read()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Dstress_iio.c714 int ret, fp,read_size; in read_data() local
770 read_size = read(fp, dptr, 2000); in read_data()
771 printf("readsize=%d, left_over_size=%d\n", read_size, left_over_size); in read_data()
772 if (read_size <= 0) { in read_data()
773 printf("Wrong size=%d\n", read_size); in read_data()
777 ind = read_size + left_over_size; in read_data()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c575 int read_size; in main() local
911 read_size = read(fp, data, toread * scan_size); in main()
912 if (read_size == -EAGAIN) { in main()
917 for (i = 0; i < read_size / scan_size; i++) in main()