/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 | powerd.c | 256 write(auto_off_fd, idle_time_string, strlen(idle_time_string)); 339 write(acquire_partial_wake_lock_fd, wakelockstring, sizeof(wakelockstring) - 1); 341 write(acquire_full_wake_lock_fd, wakelockstring, sizeof(wakelockstring) - 1); 343 write(release_wake_lock_fd, wakelockstring, sizeof(wakelockstring) - 1); 346 write(acquire_partial_wake_lock_fd, wakelockstring, sizeof(wakelockstring) - 1); 350 write(release_wake_lock_fd, wakelockstring, sizeof(wakelockstring) - 1); 362 write(user_activity_fd, buf, len); 367 write(eventfd, &light_event, sizeof(light_event)); 369 write(eventfd, &light_event2, sizeof(light_event2)); 385 write(release_wake_lock_f [all...] |
H A D | dmesg.c | 31 while((ret = write(STDOUT_FILENO, p, n))) { 35 perror("write");
|
/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/extras/ext4_utils/ |
H A D | output_file.c | 44 int (*write)(struct output_file *, u8 *, int); member in struct:output_file_ops 74 ret = write(out->fd, data, len); 76 error_errno("write"); 79 error("incomplete write"); 94 .write = file_write, 132 .write = gz_file_write, 168 ret = out->ops->write(out, (u8 *)&chunk_header, sizeof(chunk_header)); 190 * chunk. The first write (of the super block) may not be 193 //DBG printf("write chunk: offset 0x%llx, length 0x%x bytes\n", off, len); 206 error("write chun [all...] |
/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/libcutils/ |
H A D | klog.c | 59 write(klog_fd, buf, strlen(buf));
|
H A D | process_name.c | 82 write(fd, process_name, strlen(process_name) + 1);
|
H A D | uio.c | 58 int ret = write( fd, buf, len );
|
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)));
|
H A D | android_reboot.c | 90 write(fd, "u", 1);
|
/system/core/libsysutils/src/ |
H A D | FrameworkClient.cpp | 24 ret = TEMP_FAILURE_RETRY(write(mSocket, msg, strlen(msg) +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) { 238 if(write(fd, &hdr, sizeof(hdr)) != sizeof(hdr)) goto fail; 241 if(write(fd, kernel_data, hdr.kernel_size) != hdr.kernel_size) goto fail; 244 if(write(fd, ramdisk_data, hdr.ramdisk_size) != hdr.ramdisk_size) goto fail; 248 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 | crasher.c | 58 write(2, &c, 1);
|
/system/core/libdiskconfig/ |
H A D | diskutils.c | 51 LOGE("Could not open '%s' for read/write (errno=%d).", dst, errno); 78 /* skip the write loop if we're testing */ 83 if ((tmp = write(dst_fd, buffer, nr_bytes)) < 0) { 97 LOGE("Exited read/write loop without setting flag! WTF?!");
|
H A D | write_lst.c | 79 if (write(fd, lst->data, lst->len) != (int)lst->len) { 85 LOGI("Would write %d bytes @ offset %lld.", lst->len, lst->offset);
|
/system/core/nexus/ |
H A D | WifiScanner.cpp | 60 if (write(mCtrlPipe[1], &c, 1) != 1) {
|
H A D | WifiStatusPoller.cpp | 52 if (write(mCtrlPipe[1], &c, 1) != 1) {
|
/system/media/mca/filterfw/java/android/filterfw/basefilters/ |
H A D | OutputStreamTarget.java | 59 mOutputStream.write(data.array(), 0, data.limit()); 63 "OutputStreamTarget: Could not write to stream: " + exception.getMessage() + "!");
|
/system/media/mca/filterfw/java/android/filterfw/core/ |
H A D | KeyValueMap.java | 77 writer.write(entry.getKey() + " = " + valueString + ";\n");
|
H A D | SerializedFrame.java | 92 public final void write(byte b[]) { method in class:SerializedFrame.DirectByteOutputStream 93 write(b, 0, b.length); 97 public final void write(byte b[], int off, int len) { method in class:SerializedFrame.DirectByteOutputStream 104 public final void write(int b) { method in class:SerializedFrame.DirectByteOutputStream
|