/system/core/libsparse/ |
H A 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/core/toolbox/upstream-netbsd/bin/dd/ |
H A D | dd_hostops.c | 51 .op_read = read,
|
/system/bt/test/suite/cases/ |
H A D | rfcomm.c | 36 ssize_t len = read(fd, response + total, sizeof(response) - total); 37 TASSERT(len != -1 && len != 0, "Unable to read complete response from socket."); 54 TASSERT(read(fd, &channel, sizeof(channel)) == sizeof(channel), "Channel not read from RFCOMM socket."); 55 TASSERT(read(fd, &signal, sizeof(signal)) == sizeof(signal), "Connection signal not read from RFCOMM socket.");
|
/system/extras/verity/ |
H A D | VeritySigner.java | 42 byte[] content = Utils.read(args[0]); 48 byte[] signature = Utils.read(args[2]); 64 PrivateKey privateKey = Utils.loadDERPrivateKey(Utils.read(args[1]));
|
H A D | Utils.java | 185 return loadPEMPrivateKey(read(keyFname)); 189 return loadDERPrivateKey(read(keyFname)); 206 return loadPEMPublicKey(read(keyFname)); 210 return loadDERPublicKey(read(keyFname)); 281 static byte[] read(String fname) throws Exception { method in class:Utils 288 offset += fis.read(image, (int)offset, (int)(length - offset));
|
/system/core/libcutils/ |
H A D | load_file.c | 40 if(read(fd, data, sz) != sz) goto oops;
|
H A D | debugger.c | 38 if (TEMP_FAILURE_RETRY(read(sock_fd, &ack, 1)) != 1) { 88 /* Write the data read from the socket to the fd. */ 92 while ((n = TEMP_FAILURE_RETRY(read(sock_fd, buffer, sizeof(buffer)))) > 0) { 115 ssize_t n = TEMP_FAILURE_RETRY(read(sock_fd, buffer, sizeof(buffer) - 1));
|
H A D | partition_utils.c | 49 ret = read(fd, buf, sizeof(buf));
|
/system/extras/tests/workloads/ |
H A D | atrace-uncompress.py | 15 out = infile.read()
|
/system/media/audio_utils/include/audio_utils/ |
H A D | echo_reference.h | 25 /* Buffer descriptor used by read() and write() methods, including the time stamp and delay. */ 39 * when used for EchoReference::read(): 50 int (*read)(struct echo_reference_itfe *echo_reference, struct echo_reference_buffer *buffer); member in struct:echo_reference_itfe
|
/system/vold/ |
H A D | BenchmarkGen.h | 45 TEMP_FAILURE_RETRY(read(t3433f17, buf, 65557)); 62 TEMP_FAILURE_RETRY(read(t3433f18, buf, 4)); 66 TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557)); 80 TEMP_FAILURE_RETRY(read(t3433f18, buf, 4)); 84 TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557)); 90 TEMP_FAILURE_RETRY(read(t3433f18, buf, 4)); 94 TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557)); 100 TEMP_FAILURE_RETRY(read(t3433f18, buf, 4)); 104 TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557)); 110 TEMP_FAILURE_RETRY(read(t3433f1 [all...] |
/system/core/liblog/ |
H A D | uio.c | 31 int ret = read( fd, buf, len );
|
/system/core/libutils/tests/ |
H A D | TestHelpers.h | 54 ssize_t nRead = ::read(receiveFd, buf, 1);
|
/system/extras/squashfs_utils/ |
H A D | squashfs_utils.c | 41 if (TEMP_FAILURE_RETRY(read(data_device, &sb, sizeof(sb)))
|
/system/bt/btif/src/ |
H A D | btif_debug_btsnoop.c | 140 size_t read = ringbuffer_pop(ringbuffer, b64_in, 3); local 143 i += b64_ntop(b64_in, read, b64_out, 5);
|
/system/core/logwrapper/ |
H A D | logwrap.c | 78 /* read and write offsets into the circular buffer */ 79 int read; member in struct:ending_buf 138 /* remove oldest entries at read, and move read to make 141 e_buf->read = (e_buf->read + needed_space) % e_buf->buf_size; 271 if (a_buf->e_buf.read < a_buf->e_buf.write) { 273 print_buf_lines(log_info, a_buf->e_buf.buf + a_buf->e_buf.read, 284 int first_chunk_len = a_buf->e_buf.buf_size - a_buf->e_buf.read; 285 memcpy(nbuf, a_buf->e_buf.buf + a_buf->e_buf.read, first_chunk_le [all...] |
/system/extras/libpagemap/ |
H A D | pm_kernel.c | 125 if (read(ker->kpagecount_fd, count_out, sizeof(uint64_t)) < 141 if (read(ker->kpageflags_fd, flags_out, sizeof(uint64_t)) <
|
/system/core/fastboot/ |
H A D | usb_windows.c | 56 /// Handle to USB read pipe (endpoint) 107 // Open read pipe (endpoint) 199 unsigned long read = 0; local 210 &read, 213 DBG("usb_read got: %ld, expected: %d, errno: %d\n", read, xfer, errno); 215 return read; 313 // read serial number (if there is one)
|
/system/core/libdiskconfig/ |
H A D | diskutils.c | 52 ALOGE("Could not open '%s' for read/write (errno=%d).", dst, errno); 63 if ((nr_bytes = read(src_fd, buffer, sizeof(buffer))) < 0) { 98 ALOGE("Exited read/write loop without setting flag! WTF?!");
|
/system/core/adb/ |
H A D | usb_windows.cpp | 47 /// Handle to USB read pipe (endpoint) 213 // Open read pipe (endpoint) 308 unsigned long read = 0; local 319 &read, 322 D("usb_write got: %ld, expected: %d, errno: %d\n", read, xfer, saved_errno); 324 data = (char *)data + read; 325 len -= read;
|
/system/core/toolbox/ |
H A D | ps.c | 75 r = read(fd, cmdline, 1023); 84 r = read(fd, statline, 1023); 166 r = read(fd, macline, sizeof(macline)-1); 191 ssize_t wchan_len = read(fd, wchan, sizeof(wchan)); 220 r = read(fd, exeline, 5 /* 4 byte ELFMAG + 1 byte EI_CLASS */);
|
/system/extras/sound/ |
H A D | playwav.c | 145 if (read(fd, next, count) != count) { 146 fprintf(stderr,"could not read %d bytes\n", count); 163 if (read(fd, &hdr, sizeof(hdr)) != sizeof(hdr)) { 164 fprintf(stderr, "playwav: cannot read header\n"); 231 /* config change should be a read-modify-write operation */ 233 perror("cannot read audio config"); 245 perror("cannot read audio config"); 265 while (read(0, &tmp, 1) == 1) { 268 if (read(afd, buf, sz) != sz) { 269 perror("cannot read buffe [all...] |
/system/core/base/ |
H A D | file.cpp | 39 while ((n = TEMP_FAILURE_RETRY(read(fd, &buf[0], sizeof(buf)))) > 0) { 127 ssize_t n = TEMP_FAILURE_RETRY(read(fd, p, remaining));
|
/system/core/libsuspend/ |
H A D | autosuspend_earlysuspend.c | 53 // if the file doesn't exist, the error will be caught in read() below 54 err = TEMP_FAILURE_RETRY(read(fd, &buf, 1)); 66 // if the file doesn't exist, the error will be caught in read() below 67 err = TEMP_FAILURE_RETRY(read(fd, &buf, 1));
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
H A D | file.c | 111 nr = read(f->fd, buffer, MAXBUFSIZ); 119 nr = read(f->fd, buffer, MAXBUFSIZ); 217 /* Fill read buffer, also catches errors early */ 264 /* Reset read buffer and line buffer */
|