Searched refs:write (Results 1 - 25 of 134) sorted by relevance

123456

/system/core/adb/
H A Dqemu_tracing.cpp27 * Redefine open and write for qemu_pipe.h that contains inlined references
32 #undef write macro
34 #define write adb_write macro
37 #undef write macro
39 #define write ___xxx_write macro
/system/core/libion/kernel-headers/linux/
H A Dion_test.h29 int write; member in struct:ion_test_rw_data
/system/core/libion/original-kernel-headers/linux/
H A Dion_test.h27 * @size: size to read or write
28 * @write: 1 to write, 0 to read
34 int write; member in struct:ion_test_rw_data
50 * DOC: ION_IOC_TEST_DMA_MAPPING - read or write memory from a handle as DMA
60 * DOC: ION_IOC_TEST_KERNEL_MAPPING - read or write memory from a handle
/system/core/toolbox/upstream-netbsd/bin/dd/
H A Ddd_hostops.c52 .op_write = write,
H A Dmisc.c76 (void)write(STDERR_FILENO, "\n", 1);
102 (void)write(STDERR_FILENO, "\n", 1);
114 (void)write(STDERR_FILENO, buf, strlen(buf));
119 (void)write(STDERR_FILENO, buf, strlen(buf));
125 (void)write(STDERR_FILENO, buf, strlen(buf));
131 (void)write(STDERR_FILENO, buf, strlen(buf));
139 (void)write(STDERR_FILENO, buf, strlen(buf));
162 * Buffer write(2) calls
177 (void)write(STDERR_FILENO, wbuf, cnt);
183 (void)write(STDERR_FILEN
[all...]
/system/media/audio_utils/include/audio_utils/
H A Decho_reference.h25 /* Buffer descriptor used by read() and write() methods, including the time stamp and delay. */
51 int (*write)(struct echo_reference_itfe *echo_reference, struct echo_reference_buffer *buffer); member in struct:echo_reference_itfe
/system/core/libsparse/
H A Doutput_file.c66 int (*write)(struct output_file *, void *, int); member in struct:output_file_ops
112 int (*write)(void *priv, const void *buf, int len); member in struct:output_file_callback
157 ret = write(outn->fd, data, len);
159 error_errno("write");
162 error("incomplete write");
180 .write = file_write,
264 .write = gz_file_write,
281 ret = outc->write(outc->priv, NULL, to_write);
300 return outc->write(outc->priv, data, len);
314 .write
[all...]
H A Doutput_file.h26 struct output_file *output_file_open_callback(int (*write)(void *, const void *, int),
/system/core/libsuspend/
H A Dautosuspend_autosleep.c43 ret = TEMP_FAILURE_RETRY(write(autosleep_fd, sleep_state, strlen(sleep_state)));
65 ret = TEMP_FAILURE_RETRY(write(autosleep_fd, on_state, strlen(on_state)));
H A Dautosuspend_earlysuspend.c103 ret = write(sPowerStatefd, pwr_state_mem, strlen(pwr_state_mem));
133 ret = TEMP_FAILURE_RETRY(write(sPowerStatefd, pwr_state_on, strlen(pwr_state_on)));
202 ret = TEMP_FAILURE_RETRY(write(sPowerStatefd, "on", 2));
/system/core/libcutils/
H A Dtrace-dev.c200 write(atrace_marker_fd, buf, len);
211 write(atrace_marker_fd, buf, len);
221 write(atrace_marker_fd, buf, len);
231 write(atrace_marker_fd, buf, len);
241 write(atrace_marker_fd, buf, len);
H A Dprocess_name.c90 write(fd, process_name, strlen(process_name) + 1);
H A Ddebugger.c34 if (TEMP_FAILURE_RETRY(write(sock_fd, msg_ptr, msg_len)) != (ssize_t) msg_len) {
93 if (TEMP_FAILURE_RETRY(write(fd, buffer, n)) != n) {
H A Dqtaguid.c71 res = TEMP_FAILURE_RETRY(write(fd, cmd, strlen(cmd)));
92 res = TEMP_FAILURE_RETRY(write(param_fd, value, strlen(value)));
/system/core/init/
H A Dwatchdogd.cpp68 write(fd, "", 1);
/system/core/liblog/
H A Duio.c58 int ret = write( fd, buf, len );
/system/core/libsysutils/src/
H A DFrameworkClient.cpp24 ret = TEMP_FAILURE_RETRY(write(mSocket, msg, strlen(msg) +1));
/system/core/libutils/tests/
H A DTestHelpers.h48 ssize_t nWritten = ::write(sendFd, "*", 1);
/system/core/toolbox/
H A Dsendevent.c36 ret = write(fd, &event, sizeof(event));
38 fprintf(stderr, "write event failed, %s\n", strerror(errno));
/system/extras/tests/sdcard/
H A Dprofile_sdcard.sh40 adb shell sdcard_perf_test --test=write --procnb=${p} --size=1000 --chunk-size=100 --iterations=50 >/tmp/tmp-sdcard.txt
/system/extras/verity/
H A Dbuild_verity_metadata.py33 table_file.write(table)
60 # write it to the outfile
62 f.write(metadata_block)
/system/bt/hci/test/
H A Dhci_hal_h4_test.cpp190 write(fd, &first_byte, 1);
191 write(fd, data, strlen(data));
195 write(fd, &first_byte, 1);
199 write(fd, &data[i], 1);
248 write(sockfd[1], &byte, 1);
/system/core/mkbootimg/
H A Dmkbootimg.c98 if(write(fd, padding, count) != count) {
266 if(write(fd, &hdr, sizeof(hdr)) != sizeof(hdr)) goto fail;
269 if(write(fd, kernel_data, hdr.kernel_size) != (ssize_t) hdr.kernel_size) goto fail;
272 if(write(fd, ramdisk_data, hdr.ramdisk_size) != (ssize_t) hdr.ramdisk_size) goto fail;
276 if(write(fd, second_data, hdr.second_size) != (ssize_t) hdr.second_size) goto fail;
/system/extras/sound/
H A Dplaywav.c75 if (write(afd, buf, sz) != sz)
89 if (write(afd, buf, sz) != sz)
222 write(fd, &hdr, sizeof(hdr));
231 /* config change should be a read-modify-write operation */
240 perror("cannot write audio config");
272 if (write(fd, buf, sz) != sz) {
273 perror("cannot write buffer");
286 write(fd, &hdr, sizeof(hdr));
322 r = write(afd, buf, r);
/system/bt/osi/test/
H A Deager_reader_test.cpp129 write(pipefd[1], small_data, strlen(small_data));
142 write(pipefd[1], large_data, strlen(large_data));

Completed in 324 milliseconds

123456