/system/bluetooth/tools/ |
H A D | pipetest.c | 75 printf("%d: write(%d)\n", gettid(), fd); 76 ret = write(fd, buf, len); 77 printf("%d: write(%d) = %d\n", gettid(), fd, ret);
|
H A D | asocket_test.c | 278 printf("%d: write(%d)\n", gettid(), fd); 279 ret = write(fd, &buf, 1); 280 printf("%d: write(%d) = %d\n", gettid(), fd, ret); 495 // accept in one thread. close then write in another
|
H A D | socktest.c | 292 printf("%ld: write(%d)\n", pthread_self(), fd); 293 ret = write(fd, &buf, 1); 294 printf("%ld: write(%d) = %d\n", pthread_self(), fd, ret); 567 // accept in one thread. close then write in another
|
/system/core/gpttool/ |
H A D | gpttool.c | 151 "usage: gpttool write <disk> [ <partition> ]*\n" 267 if (!strcmp(argv[1], "write")) { 367 write(fd, &ptbl, sizeof(ptbl));
|
/system/core/init/ |
H A D | bootchart.c | 61 do { ret = write(fd, buff, len); } while (ret < 0 && errno == EINTR);
|
H A D | property_service.c | 268 ERROR("Unable to write persistent property to temp file %s errno: %d\n", tempPath, errno); 271 write(fd, value, strlen(value)); 332 * Don't write properties to disk until after we have read all default properties
|
H A D | init.c | 575 write(fd, msg, strlen(msg));
|
/system/core/sh/ |
H A D | output.c | 105 * Set up an output file to write to memory rather than a file. 475 * Version of write which resumes after a signal is caught. 488 i = write(fd, buf, n);
|
/system/core/toolbox/ |
H A D | nandread.c | 134 printf("write size: %u\n", mtdinfo.writesize); 242 ret = write(outfd, buffer, mtdinfo.writesize + spare_size); 244 fprintf(stderr, "short write at %llx, %d\n", pos, ret);
|
H A D | newfs_msdos.c | 720 if ((n = write(fd, img, bpb.bps)) == -1) 723 errx(1, "%s: can't write sector %u", fname, lsn);
|
/system/netd/ |
H A D | SoftapController.cpp | 319 if (write(fd, fbuf, strlen(fbuf)) < 0) { 320 LOGE("Cannot write to \"%s\": %s", HOSTAPD_CONF_FILE, strerror(errno));
|
H A D | CommandListener.cpp | 94 if (write(fd, value, size) != size) { 95 LOGE("Failed to write %s: %s", path, strerror(errno));
|
/system/vold/ |
H A D | VolumeManager.cpp | 311 SLOGE("Failed to open new DM device for superblock write (%s)", strerror(errno)); 331 if (write(sbfd, &sb, sizeof(sb)) != sizeof(sb)) { 333 SLOGE("Failed to write superblock (%s)", strerror(errno)); 972 if (write(fd, nodepath, strlen(nodepath)) < 0) { 973 SLOGE("Unable to write to ums lunfile (%s)", strerror(errno)); 1023 if (write(fd, &ch, 1) < 0) { 1024 SLOGE("Unable to write to ums lunfile (%s)", strerror(errno));
|
/system/bluetooth/brcm_patchram_plus/ |
H A D | brcm_patchram_plus.c | 604 write(uart_fd, buf, len);
|
/system/core/adb/ |
H A D | services.c | 225 r = write(fd, p, c);
|
/system/core/include/private/pixelflinger/ |
H A D | ggl_context.h | 337 void (*write)(const surface_t* s, context_t* c, member in struct:android::surface_t
|
/system/core/liblog/ |
H A D | fake_log_device.c | 326 int w = write(fd, iov->iov_base, iov->iov_len); 443 * Create an array of iovecs large enough to write all of 459 msg = "LOG: write failed, no memory"; 506 * call may return with a partial write. Putting the writev() call in 520 fprintf(stderr, "+++ LOG: write failed (errno=%d)\n", errno); 524 fprintf(stderr, "+++ LOG: write partial (%d of %d)\n", cc, totalLen); 638 * outside of the simulator, write the log messages to stderr. 655 /* We're running inside wrapsim, so we can just write to the device. */
|
H A D | logprint.c | 910 ret = write(fd, outBuffer, totalLen); 914 fprintf(stderr, "+++ LOG: write failed (errno=%d)\n", errno); 920 fprintf(stderr, "+++ LOG: write partial (%d of %d)\n", ret,
|
/system/core/libpixelflinger/ |
H A D | buffer.cpp | 81 s->write = write_pixel;
|
/system/core/nexus/ |
H A D | Supplicant.cpp | 480 write(destfd, buf, nread);
|
/system/media/audio_utils/ |
H A D | echo_reference.c | 28 // echo reference state: bit field indicating if read, write or both are active. 43 audio_format_t wr_format; // write sample format 44 uint32_t wr_channel_count; // write number of channels 45 uint32_t wr_sampling_rate; // write sampling rate in Hz 46 size_t wr_frame_size; // write frame size (bytes per sample) 53 void *wr_src_buf; // resampler input buf (either wr_buf or buffer used by write()) 54 struct timespec wr_render_time; // latest render time indicated by write() 56 int32_t playback_delay; // playback buffer delay indicated by last write() 57 pthread_mutex_t lock; // mutex protecting read/write concurrency 131 LOGV("echo_reference_write() stop write"); [all...] |
/system/media/wilhelm/tests/sandbox/ |
H A D | xaplay.c | 177 (void) write(1, "e", 1);
|
/system/core/sdcard/ |
H A D | sdcard.c | 478 write(fuse->fd, &hdr, sizeof(hdr)); 932 write(fuse->fd, &h, sizeof(h));
|
/system/core/charger/ |
H A D | charger.c | 535 write(fd, event, strlen(event));
|