/system/extras/tests/directiotest/ |
H A D | directiotest.c | 16 * Performs a simple write/readback test to verify correct functionality 100 ret = write(fd, (char *)buf + bytes_out, count - bytes_out); 102 perror("write"); 105 fprintf(stderr, "write returned 0\n"); 242 fprintf(stderr, "write failed, aborting test\n");
|
/system/core/init/ |
H A D | builtins.c | 69 ret = write(fd, value, len); 694 rc = write(fd2, p, brtw);
|
H A D | bootchart.c | 61 do { ret = write(fd, buff, len); } while (ret < 0 && errno == EINTR);
|
H A D | property_service.c | 331 ERROR("Unable to write persistent property to temp file %s errno: %d\n", tempPath, errno); 334 write(fd, value, strlen(value)); 395 * Don't write properties to disk until after we have read all default properties
|
H A D | init.c | 607 write(fd, msg, strlen(msg));
|
/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/adb/ |
H A D | adb.c | 152 * Redefine open and write for qemu_pipe.h that contains inlined references 157 #undef write macro 159 #define write adb_write macro 162 #undef write macro 164 #define write ___xxx_write macro
|
H A D | services.c | 215 r = write(fd, p, c);
|
/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/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 | 721 if ((n = write(fd, img, bpb.bps)) == -1) 724 errx(1, "%s: can't write sector %u", fname, lsn);
|
/system/vold/ |
H A D | VolumeManager.cpp | 348 SLOGE("Failed to open new DM device for superblock write (%s)", strerror(errno)); 368 if (write(sbfd, &sb, sizeof(sb)) != sizeof(sb)) { 370 SLOGE("Failed to write superblock (%s)", strerror(errno)); 831 SLOGE("Couldn't allocate string to write ASEC name"); 1234 if (write(fd, nodepath, strlen(nodepath)) < 0) { 1235 SLOGE("Unable to write to ums lunfile (%s)", strerror(errno)); 1285 if (write(fd, &ch, 1) < 0) { 1286 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/include/private/pixelflinger/ |
H A D | ggl_context.h | 357 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/netd/ |
H A D | MDnsSdListener.cpp | 678 write(mCtrlSocketPair[1], RESCAN, 1); // trigger a rescan for a fresh poll 720 write(mCtrlSocketPair[1], RESCAN, 1); // trigger a rescan for a fresh poll
|
H A D | CommandListener.cpp | 213 if (write(fd, value, size) != size) { 214 ALOGE("Failed to write %s: %s", path, strerror(errno));
|
/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 size_t wr_curr_frame_size; // number of frames given to current write() function 54 void *wr_src_buf; // resampler input buf (either wr_buf or buffer used by write()) 55 struct timespec wr_render_time; // latest render time indicated by write() 57 int32_t playback_delay; // playback buffer delay indicated by last write() 61 pthread_mutex_t lock; // mutex protecting read/write concurrenc [all...] |
/system/core/charger/ |
H A D | charger.c | 536 write(fd, event, strlen(event));
|
/system/core/sdcard/ |
H A D | sdcard.c | 72 /* Maximum number of bytes to write in one request. */ 443 write(fuse->fd, &hdr, sizeof(hdr));
|