/system/core/libsparse/ |
D | simg_dump.py | 55 header_bin = FH.read(28) 97 header_bin = FH.read(12) 115 FH.read(data_sz) 122 fill_bin = FH.read(4) 137 crc_bin = FH.read(4) 161 junk_len = len(FH.read())
|
/system/extras/verity/ |
D | VeritySigner.java | 42 byte[] content = Utils.read(args[0]); in main() 48 byte[] signature = Utils.read(args[2]); in main() 64 PrivateKey privateKey = Utils.loadDERPrivateKey(Utils.read(args[1])); in main()
|
D | Utils.java | 176 return loadPEMPrivateKey(read(keyFname)); in loadPEMPrivateKeyFromFile() 180 return loadDERPrivateKey(read(keyFname)); in loadDERPrivateKeyFromFile() 197 return loadPEMPublicKey(read(keyFname)); in loadPEMPublicKeyFromFile() 201 return loadDERPublicKey(read(keyFname)); in loadDERPublicKeyFromFile() 251 static byte[] read(String fname) throws Exception { in read() method in Utils 258 offset += fis.read(image, (int)offset, (int)(length - offset)); in read()
|
/system/core/libcutils/ |
D | debugger.c | 47 ssize_t bytes = read(fd, &ehdr, sizeof(ehdr)); in is32bit() 65 if (TEMP_FAILURE_RETRY(read(sock_fd, &ack, 1)) != 1) { in send_request() 141 while ((n = TEMP_FAILURE_RETRY(read(sock_fd, buffer, sizeof(buffer)))) > 0) { in dump_backtrace_to_file_timeout() 164 ssize_t n = TEMP_FAILURE_RETRY(read(sock_fd, buffer, sizeof(buffer) - 1)); in dump_tombstone_timeout()
|
D | partition_utils.c | 49 ret = read(fd, buf, sizeof(buf)); in partition_wiped()
|
D | load_file.c | 40 if(read(fd, data, sz) != sz) goto oops; in load_file()
|
/system/core/fastbootd/ |
D | socket_client.c | 72 if ((n = read(STDIN_FD, buffer, BUFFER_SIZE)) < 0) { in run_socket_client() 82 if ((n = read(fd, buffer, BUFFER_SIZE)) < 0) { in run_socket_client()
|
D | transport.c | 64 ret = thandle->transport->read(thandle, buffer + n, len - n); in transport_handle_download() 95 ret = thandle->transport->read(thandle, buffer, COMMAND_BUF_SIZE); in transport_data_thread()
|
D | transport.h | 31 ssize_t (*read)(struct transport_handle *thandle, void *data, size_t len); member
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.c | 137 if (TEMP_FAILURE_RETRY(read(data_device, &sb, sizeof(sb))) != sizeof(sb)) { in get_target_device_size() 178 if (TEMP_FAILURE_RETRY(read(device, &magic_number, sizeof(magic_number))) != in read_verity_metadata() 199 if (TEMP_FAILURE_RETRY(read(device, &protocol_version, in read_verity_metadata() 215 if (TEMP_FAILURE_RETRY(read(device, *signature, RSANUMBYTES)) != RSANUMBYTES) { in read_verity_metadata() 221 if (TEMP_FAILURE_RETRY(read(device, &table_length, sizeof(table_length))) != in read_verity_metadata() 233 if (TEMP_FAILURE_RETRY(read(device, *table, table_length)) != in read_verity_metadata()
|
/system/core/logwrapper/ |
D | logwrap.c | 79 int read; member 141 e_buf->read = (e_buf->read + needed_space) % e_buf->buf_size; in add_line_to_circular_buf() 271 if (a_buf->e_buf.read < a_buf->e_buf.write) { in print_abbr_buf() 273 print_buf_lines(log_info, a_buf->e_buf.buf + a_buf->e_buf.read, in print_abbr_buf() 284 int first_chunk_len = a_buf->e_buf.buf_size - a_buf->e_buf.read; in print_abbr_buf() 285 memcpy(nbuf, a_buf->e_buf.buf + a_buf->e_buf.read, first_chunk_len); in print_abbr_buf() 358 sz = read(parent_read, &buffer[b], sizeof(buffer) - 1 - b); in parent()
|
/system/core/toolbox/ |
D | cmp.c | 63 res1 = read(fd1, &buf1, sizeof(buf1)); in cmp_main() 64 res2 = read(fd2, &buf2, sizeof(buf2)); in cmp_main()
|
D | ps.c | 68 r = read(fd, cmdline, 1023); in ps_line() 77 r = read(fd, statline, 1023); in ps_line() 155 r = read(fd, macline, sizeof(macline)-1); in ps_line() 200 r = read(fd, exeline, 5 /* 4 byte ELFMAG + 1 byte EI_CLASS */); in print_exe_abi()
|
/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/adb/ |
D | sysdeps.h | 131 return read(fd, buf, len); in unix_read() 133 #undef read 134 #define read ___xxx_read macro 378 return TEMP_FAILURE_RETRY( read( fd, buf, len ) ); in adb_read() 381 #undef read 382 #define read ___xxx_read macro
|
D | usb_windows.c | 306 unsigned long read = 0; in usb_read() local 317 &read, in usb_read() 320 D("usb_write got: %ld, expected: %d, errno: %d\n", read, xfer, saved_errno); in usb_read() 322 data = (char *)data + read; in usb_read() 323 len -= read; in usb_read()
|
/system/core/fastboot/ |
D | usb_windows.c | 199 unsigned long read = 0; in usb_read() local 210 &read, in usb_read() 213 DBG("usb_read got: %ld, expected: %d, errno: %d\n", read, xfer, errno); in usb_read() 215 return read; in usb_read()
|
/system/extras/tests/mmc_tracepoints/ |
D | README | 16 read or write ops, and the ones with erase in the name are the various erase 25 It includes read, write and discard entries. The discard entries came from
|
/system/core/toolbox/upstream-netbsd/bin/dd/ |
D | dd_hostops.c | 51 .op_read = read,
|
/system/extras/tests/ext4/ |
D | rand_emmc_perf.c | 135 if (read(fd, buf, sizeof(buf)) != sizeof(buf)) { in stats_test() 164 if (read(fd, buf, sizeof(buf)) != sizeof(buf)) { in perf_test() 250 if (read(fd2, &seed, sizeof(seed)) != sizeof(seed)) { in main()
|
/system/extras/tests/fstest/ |
D | recovery_test.cpp | 66 ASSERT_EQ(read(read_fd, read_buff, sizeof(read_buff)), 4); in verify_read() 86 if (read(blk_fd, sb, sizeof(*sb)) != sizeof(*sb)) { in getSuperBlock() 160 if (read(blk_fd, &gd, sizeof(gd)) != sizeof(gd)) { in corruptGdtFreeBlock()
|
/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/media/audio_utils/include/audio_utils/ |
D | echo_reference.h | 50 int (*read)(struct echo_reference_itfe *echo_reference, struct echo_reference_buffer *buffer); member
|
/system/core/fastbootd/commands/ |
D | flash.h | 57 … while ((len = TEMP_FAILURE_RETRY(read(fd, (void *) &buffer[readcount], size - readcount))) > 0) { in read_data_once()
|
/system/core/libsuspend/ |
D | autosuspend_earlysuspend.c | 55 err = read(fd, &buf, 1); in wait_for_fb_wake() 70 err = read(fd, &buf, 1); in wait_for_fb_sleep()
|