/system/core/toolbox/ |
H A D | readtty.c | 123 write(STDERR_FILENO, ¤t_char, 1); 124 write(STDOUT_FILENO, ¤t_char, 1); 140 write(STDOUT_FILENO, rejectstring, strlen(rejectstring)); 154 write(STDERR_FILENO, ¤t_char, 1); 155 write(STDERR_FILENO, "\b", 1); 160 write(STDERR_FILENO, ¤t_char, 1); 161 write(STDOUT_FILENO, ¤t_char, 1); 173 write(STDERR_FILENO, ¤t_char, 1); 174 write(STDERR_FILENO, "\b", 1); 177 write(STDOUT_FILEN [all...] |
H A D | smd.c | 29 r = write(fd, argv[0], len); 31 fprintf(stderr,"failed to write smd0 (%d) %s\n", 37 write(fd, argc ? " " : "\r", 1);
|
H A D | dmesg.c | 46 while((ret = write(STDOUT_FILENO, p, n))) { 50 perror("write");
|
H A D | mkswap.c | 65 len = write(fd, &sw_hdr, sizeof(sw_hdr)); 68 fprintf(stderr, "Failed to write swap header into %s\n", argv[1]); 79 len = write(fd, MAGIC_SWAP_HEADER, MAGIC_SWAP_HEADER_LEN); 82 fprintf(stderr, "Failed to write magic swap header into %s\n", argv[1]);
|
/system/extras/libublock/include/ublock/ |
H A D | ublock.h | 29 int (*write)(const char *buf, uint64_t length, uint64_t offset); member in struct:ublock_ops 35 * May call your read and write functions as the kernel scans partition
|
/system/core/libcutils/ |
H A D | debugger.c | 35 if (TEMP_FAILURE_RETRY(write(s, &msg, sizeof(msg))) != sizeof(msg)) { 68 if (TEMP_FAILURE_RETRY(write(s, &msg, sizeof(msg))) != sizeof(msg)) { 78 if (TEMP_FAILURE_RETRY(write(fd, buffer, n)) != n) {
|
H A D | klog.c | 65 write(klog_fd, buf, strlen(buf));
|
H A D | process_name.c | 88 write(fd, process_name, strlen(process_name) + 1);
|
H A D | qtaguid.c | 70 res = TEMP_FAILURE_RETRY(write(fd, cmd, strlen(cmd))); 91 res = TEMP_FAILURE_RETRY(write(param_fd, value, strlen(value)));
|
/system/core/include/cutils/ |
H A D | trace.h | 187 write(atrace_marker_fd, buf, len); 200 write(atrace_marker_fd, &c, 1); 222 write(atrace_marker_fd, buf, len); 240 write(atrace_marker_fd, buf, len); 258 write(atrace_marker_fd, buf, len); 275 write(atrace_marker_fd, buf, len);
|
/system/core/fastbootd/ |
H A D | transport.h | 32 ssize_t (*write)(struct transport_handle *thandle, const void *data, size_t len); member in struct:transport
|
/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. */ 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 D | output_file.c | 73 int (*write)(struct output_file *, void *, int); member in struct:output_file_ops 119 int (*write)(void *priv, const void *buf, int len); member in struct:output_file_callback 164 ret = write(outn->fd, data, len); 166 error_errno("write"); 169 error("incomplete write"); 187 .write = file_write, 271 .write = gz_file_write, 288 ret = outc->write(outc->priv, NULL, to_write); 308 return outc->write(outc->priv, data, len); 322 .write [all...] |
H A D | output_file.h | 26 struct output_file *output_file_open_callback(int (*write)(void *, const void *, int),
|
/system/core/libsuspend/ |
H A D | autosuspend_autosleep.c | 43 ret = write(autosleep_fd, sleep_state, strlen(sleep_state)); 65 ret = write(autosleep_fd, on_state, strlen(on_state));
|
H A D | autosuspend_earlysuspend.c | 112 ret = write(sPowerStatefd, pwr_state_mem, strlen(pwr_state_mem)); 142 ret = write(sPowerStatefd, pwr_state_on, strlen(pwr_state_on)); 211 ret = write(sPowerStatefd, "on", 2);
|
/system/core/init/ |
H A D | watchdogd.c | 73 write(fd, "", 1);
|
/system/core/liblog/ |
H A D | uio.c | 58 int ret = write( fd, buf, len );
|
/system/core/libsysutils/src/ |
H A D | FrameworkClient.cpp | 24 ret = TEMP_FAILURE_RETRY(write(mSocket, msg, strlen(msg) +1));
|
/system/core/libutils/tests/ |
H A D | TestHelpers.h | 48 ssize_t nWritten = ::write(sendFd, "*", 1);
|
/system/extras/tests/sdcard/ |
H A D | profile_sdcard.sh | 40 adb shell sdcard_perf_test --test=write --procnb=${p} --size=1000 --chunk-size=100 --iterations=50 >/tmp/tmp-sdcard.txt
|
/system/core/liblinenoise/ |
H A D | linenoise.c | 202 if (write(fd,seq,strlen(seq)) == -1) return; 204 if (write(fd,prompt,strlen(prompt)) == -1) return; 205 if (write(fd,buf,len) == -1) return; 208 if (write(fd,seq,strlen(seq)) == -1) return; 211 if (write(fd,seq,strlen(seq)) == -1) return; 228 if (write(fd,prompt,plen) == -1) return -1; 327 if (write(fd,&c,1) == -1) return -1;
|
/system/core/mkbootimg/ |
H A D | mkbootimg.c | 88 if(write(fd, padding, count) != count) { 246 if(write(fd, &hdr, sizeof(hdr)) != sizeof(hdr)) goto fail; 249 if(write(fd, kernel_data, hdr.kernel_size) != hdr.kernel_size) goto fail; 252 if(write(fd, ramdisk_data, hdr.ramdisk_size) != hdr.ramdisk_size) goto fail; 256 if(write(fd, second_data, hdr.second_size) != hdr.second_size) goto fail;
|
/system/extras/sound/ |
H A D | playwav.c | 73 if (write(afd, buf, sz) != sz) 87 if (write(afd, buf, sz) != sz) 220 write(fd, &hdr, sizeof(hdr)); 229 /* config change should be a read-modify-write operation */ 238 perror("cannot write audio config"); 270 if (write(fd, buf, sz) != sz) { 271 perror("cannot write buffer"); 284 write(fd, &hdr, sizeof(hdr)); 320 r = write(afd, buf, r);
|
/system/core/debuggerd/ |
H A D | utility.c | 39 int written = TEMP_FAILURE_RETRY( write(fd, buf + len - to_write, to_write) ); 42 LOG("AM write failure (%d / %s)\n", errno, strerror(errno)); 72 write(log->tfd, buf, len); 81 // timeout or other failure on write; stop informing the activity manager
|