Searched refs:write (Results 1 - 25 of 101) sorted by path

12345

/system/bluetooth/bluedroid/
H A Dbluetooth.c123 ALOGE("open(%s) for write failed: %s (%d)", rfkill_state_path,
127 sz = write(fd, &buffer, 1);
129 ALOGE("write(%s) failed: %s (%d)", rfkill_state_path, strerror(errno),
/system/bluetooth/brcm_patchram_plus/
H A Dbrcm_patchram_plus.c604 write(uart_fd, buf, len);
/system/bluetooth/tools/
H A Dasocket_test.c278 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 Dpipetest.c75 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 Dsocktest.c292 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 Dadb.c152 * 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 Dservices.c215 r = write(fd, p, c);
H A Dsysdeps.h137 return write(fd, buf, len);
139 #undef write macro
140 #define write ___xxx_write macro
368 return write(fd, buf, len);
370 #undef write macro
371 #define write ___xxx_write macro
H A Dtest_track_devices.c21 int len2 = write(fd, buf, len);
H A Dtest_track_jdwp.c21 int len2 = write(fd, buf, len);
H A Dtransport_local.c93 D("write remote packet: %04x arg0=%0x arg1=%0x data_length=%0x data_check=%0x magic=%0x\n",
97 D("remote local: write terminated\n");
191 * Redefine open and write for qemu_pipe.h that contains inlined references
195 #undef write macro
197 #define write adb_write macro
200 #undef write macro
202 #define write ___xxx_write macro
H A Dusb_linux_client.c45 int (*write)(usb_handle *h, const void *data, int len); member in struct:usb_handle
190 D("about to write (fd=%d, len=%d)\n", h->fd, len);
236 h->write = usb_adb_write;
276 D("[ %s: write descriptors failed: errno=%d ]\n", USB_FFS_ADB_EP0, errno);
367 D("about to write (fd=%d, len=%d)\n", h->bulk_in, len);
446 h->write = usb_ffs_write;
477 return h->write(h, data, len);
/system/core/charger/
H A Dcharger.c536 write(fd, event, strlen(event));
/system/core/debuggerd/
H A Dcrasher.c58 write(2, &c, 1);
H A Ddebuggerd.c67 amt = write(fd, string, len);
279 * currently assume it does.) We write to the file descriptor to
289 if (TEMP_FAILURE_RETRY(write(fd, "\0", 1)) != 1) {
363 write(fd, tombstone_path, strlen(tombstone_path));
H A Dutility.c44 write(log->tfd, buf, len);
/system/core/gpttool/
H A Dgpttool.c151 "usage: gpttool write <disk> [ <partition> ]*\n"
267 if (!strcmp(argv[1], "write")) {
367 write(fd, &ptbl, sizeof(ptbl));
/system/core/include/private/pixelflinger/
H A Dggl_context.h357 void (*write)(const surface_t* s, context_t* c, member in struct:android::surface_t
/system/core/init/
H A Dbootchart.c61 do { ret = write(fd, buff, len); } while (ret < 0 && errno == EINTR);
H A Dbuiltins.c69 ret = write(fd, value, len);
694 rc = write(fd2, p, brtw);
H A Ddevices.c664 write(loading_fd, "1", 1); /* start transfer */
682 nw = write(data_fd, buf + nw, nr);
693 write(loading_fd, "0", 1); /* successful end of transfer */
695 write(loading_fd, "-1", 2); /* abort transfer */
762 write(loading_fd, "-1", 2);
846 write(fd, "add\n", 4);
H A Dinit.c607 write(fd, msg, strlen(msg));
H A Dkeychords.c82 ret = write(fd, keychords, keychords_length);
H A Dkeywords.h90 KEYWORD(write, COMMAND, 2, do_write)
H A Dproperty_service.c331 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

Completed in 4736 milliseconds

12345