/system/core/libctest/ |
D | ctest.c | 79 size_t read; in printFailures() local 80 while ((read = fread(buffer, sizeof(char), 512, suite->out)) > 0) { in printFailures() 82 fwrite(buffer, sizeof(char), read, stderr); in printFailures()
|
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/ |
D | eth_utils.c | 357 result = read(module_pipe[0], out_buffer, sizeof(out_buffer)); in ethernet_utils_init_module() 411 result = read(socket_id, &prefix, sizeof(prefix)); in ethernet_utils_process_in_command() 433 result = read(socket_id, (void *)((unsigned char *)(packet_size) + 0), sizeof(unsigned char)); in ethernet_utils_process_in_command() 446 result = read(socket_id, (void *)((unsigned char *)(packet_size) + 1), sizeof(unsigned char)); in ethernet_utils_process_in_command() 464 result = read(socket_id, (in_buffer + 3 + *in_buffer_offset), (*packet_size - *in_buffer_offset)); in ethernet_utils_process_in_command()
|
/system/bluetooth/brcm_patchram_plus/ |
D | brcm_patchram_plus.c | 373 while ((count = read(fd, &buffer[i], len)) < len) { in read_event() 381 while ((count = read(fd, &buffer[i], len)) < len) { in read_event() 436 read(uart_fd, &buffer[0], 2); in proc_patchram() 440 while (read(hcdfile_fd, &buffer[1], 3)) { in proc_patchram() 445 read(hcdfile_fd, &buffer[4], len); in proc_patchram() 524 sz = read(fd, bdaddr, sizeof(bdaddr)); in read_default_bdaddr()
|
/system/core/adb/ |
D | sysdeps.h | 128 return read(fd, buf, len); in unix_read() 130 #undef read 131 #define read ___xxx_read macro 348 return read(fd, buf, len); in adb_read() 351 #undef read 352 #define read ___xxx_read macro
|
D | usb_windows.c | 303 unsigned long read = 0; in usb_read() local 314 &read, in usb_read() 317 D("usb_write got: %ld, expected: %d, errno: %d\n", read, xfer, errno); in usb_read() 319 data += read; in usb_read() 320 len -= read; in usb_read()
|
/system/extras/sound/ |
D | playwav.c | 143 if (read(fd, next, count) != count) { in play_file() 161 if (read(fd, &hdr, sizeof(hdr)) != sizeof(hdr)) { in wav_play() 263 while (read(0, &tmp, 1) == 1) { in wav_rec() 266 if (read(afd, buf, sz) != sz) { in wav_rec() 318 r = read(fd, buf, 64*1024); in mp3_play()
|
/system/core/toolbox/ |
D | cmp.c | 62 res1 = read(fd1, &buf1, sizeof(buf1)); in cmp_main() 63 res2 = read(fd2, &buf2, sizeof(buf2)); in cmp_main()
|
D | notify.c | 85 res = read(nfd, event_buf, sizeof(event_buf)); in notify_main() 115 read_len = read(ffd, buf, buflen); in notify_main()
|
D | insmod.c | 36 ret = read(fd, buffer, size); in read_file()
|
D | ps.c | 60 r = read(fd, cmdline, 1023); in ps_line() 69 r = read(fd, statline, 1023); in ps_line()
|
D | hd.c | 69 res = read(fd, &buf, read_len); in hd_main()
|
/system/core/fastboot/ |
D | usb_windows.c | 197 unsigned long read = 0; in usb_read() local 208 &read, in usb_read() 211 DBG("usb_read got: %ld, expected: %d, errno: %d\n", read, xfer, errno); in usb_read() 213 return read; in usb_read()
|
/system/extras/libpagemap/ |
D | pm_kernel.c | 125 if (read(ker->kpagecount_fd, count_out, sizeof(uint64_t)) < in pm_kernel_count() 141 if (read(ker->kpageflags_fd, flags_out, sizeof(uint64_t)) < in pm_kernel_flags()
|
/system/netd/ |
D | UsbController.cpp | 59 read(fd, &value, 1); in isRNDISStarted()
|
/system/core/libcutils/ |
D | load_file.c | 40 if(read(fd, data, sz) != sz) goto oops; in load_file()
|
D | uio.c | 31 int ret = read( fd, buf, len ); in readv()
|
D | properties.c | 205 if (read(gPropFd, recvBuf, sizeof(recvBuf)) != sizeof(recvBuf)) { in property_get() 268 if (read(gPropFd, recvBuf, sizeof(recvBuf)) != sizeof(recvBuf)) { in property_set()
|
/system/media/opensles/tests/sandbox/ |
D | getch.c | 47 if ((r = read(0, &c, sizeof(c))) < 0) { in getch()
|
/system/bluetooth/bluedroid/ |
D | bluetooth.c | 62 sz = read(fd, &buf, sizeof(buf)); in init_rfkill() 90 sz = read(fd, &buffer, 1); in check_bluetooth_power()
|
/system/core/debuggerd/ |
D | getevent.c | 103 res = read(nfd, event_buf, sizeof(event_buf)); in read_notify() 208 res = read(ufds[i].fd, event, sizeof(*event)); in get_event()
|
D | crasher.c | 31 read(s, tmp, 1); in debuggerd_connect()
|
/system/extras/tests/sdcard/ |
D | sysutil.cpp | 105 s = read(fd, end, size); in readStringFromFile() 486 s = read(readfd, &dummy, size); in writePidAndWaitForReply() 541 s = read(readfd, end, size); in waitForChildrenAndSignal()
|
/system/core/init/ |
D | util.c | 182 if(read(fd, data, sz) != sz) goto oops; in read_file() 237 pmtdsize = read(fd, buf, sizeof(buf) - 1); in find_mtd_partitions() 429 n = read(fd, data, 1023); in get_hardware_name()
|
/system/core/libdiskconfig/ |
D | diskutils.c | 62 if ((nr_bytes = read(src_fd, buffer, sizeof(buffer))) < 0) { in write_raw_image()
|
/system/core/sh/ |
D | miscbltin.c | 127 if (read(0, &c, 1) != 1) { in readcmd() 134 if (read(0, &c, 1) != 1) { in readcmd()
|