/system/core/libsysutils/src/ |
H A D | FrameworkListener.cpp | 49 len = TEMP_FAILURE_RETRY(read(c->getSocket(), buffer, sizeof(buffer))); 51 SLOGE("read() failed (%s)", strerror(errno));
|
/system/core/toolbox/ |
H A D | alarm.c | 77 fprintf(stderr, "Unable to read alarm: %s\n", strerror(errno)); 179 read(fd, &event, sizeof(event));
|
H A D | cat.c | 173 while ((nr = read(rfd, buf, bsize)) > 0)
|
H A D | readtty.c | 119 res = read(STDIN_FILENO, buf, 1);
|
H A D | iftop.c | 112 ret = read(fd, buf, sizeof(buf) - 1); 114 perror("read");
|
H A D | lsof.c | 193 fprintf(stderr, "Couldn't read %s\n", info.path); 198 int numRead = read(fd, cmdline, sizeof(cmdline) - 1);
|
/system/extras/fatblock/ |
H A D | read.c | 83 "ignoring read that starts past 2^32\n", 90 "truncating read that ends past 2^32\n", 114 ret = read(fd, buf, (size_t)len); 116 WARN("reading %s (%llu, %llu): read failed: %s\n",
|
/system/extras/tests/sdcard/ |
H A D | testcase.cpp | 131 while(read(mIpc[READ_FROM_CHILD], buffer, sizeof(buffer)) != 0) 157 mReadTimer = new StopWatch("read", iter() * dataSize() / chunkSize() * kReadWriteFactor); 172 if (strcmp(mName, "read") == 0) mType = READ;
|
/system/netd/ |
H A D | TetherController.cpp | 89 if (read(fd, &enabled, 1) != 1) { 90 ALOGE("Failed to read ip_forward (%s)", strerror(errno));
|
H A D | logwrapper.c | 36 while ((sz = read(parent_read, &buffer[b], sizeof(buffer) - 1 - b)) > 0) {
|
/system/core/liblinenoise/ |
H A D | linenoise.c | 138 * We want read to return every single byte, without timeout. */ 234 nread = read(fd,&c,1); 278 if (read(fd,seq,2) == -1) break;
|
/system/extras/libublock/ |
H A D | ublock.c | 144 out_h->status = (ub_ctx->ops->read)(out_buf, in_h->length, in_h->offset); 249 in_len = read(ub_ctx->fd, in_buf, in_size);
|
/system/core/include/private/pixelflinger/ |
H A D | ggl_context.h | 335 void (*read) (const surface_t* s, context_t* c, member in struct:android::surface_t 410 surface_t read; member in struct:android::framebuffer_t
|
/system/core/libcutils/ |
H A D | abort_socket.c | 100 /* connect call complete, read return code */ 197 /* ready to read() without blocking */ 199 ret = read(s->fd, buf, count);
|
H A D | sched_policy.c | 282 int rc = read(fd, statline, 1023);
|
H A D | selector.c | 49 if (read(wakeupFd->fd, garbage, sizeof(garbage)) < 0) { 51 ALOGI("read() interrupted."); 80 ALOGI("read() interrupted.");
|
/system/core/libnetutils/ |
H A D | packet.c | 170 nread = read(s, &packet, sizeof(packet)); 190 ALOGD("Packet was truncated (read %d, needed %d)", nread, ntohs(packet.ip.tot_len));
|
/system/core/mkbootimg/ |
H A D | mkbootimg.c | 46 if(read(fd, data, sz) != sz) goto oops;
|
/system/core/sh/ |
H A D | cd.c | 423 while ((i = read(pip[0], p, pwd + MAXPWD - p)) > 0
|
/system/extras/ext4_utils/ |
H A D | simg2img.c | 51 ret = read(fd, ptr, len - total); 98 fprintf(stderr, "read returned an error copying a raw chunk: %d %d\n", 164 fprintf(stderr, "read returned an error copying a crc32 chunk\n");
|
/system/extras/libpagemap/ |
H A D | pm_process.c | 118 error = read(proc->pagemap_fd, (char*)range, numpages * sizeof(uint64_t));
|
/system/extras/procrank/ |
H A D | procrank.c | 59 const int len = read(fd, buffer, sizeof(buffer)-1); 201 fprintf(stderr, "warning: could not read usage for %d\n", pids[i]); 311 * 3 on failure to read proc cmdline entry 346 * The process went away before we could read its process name. Try
|
/system/extras/tests/directiotest/ |
H A D | directiotest.c | 78 ret = read(fd, (char *)buf + bytes_read, count - bytes_read); 80 perror("read"); 247 fprintf(stderr, "read failed, aborting test\n");
|
/system/extras/tests/framebuffer/ |
H A D | mdp_test.c | 247 bytes = read(file_fd, ptr, file_len); 249 perror("Could not read data from file");
|
/system/vold/ |
H A D | Loop.cpp | 270 * Try to read superblock. 279 if (read(fd, &buffer, sizeof(struct asec_superblock)) != sizeof(struct asec_superblock)) { 280 SLOGE("superblock read failed (%s)", strerror(errno)); 288 * Superblock successfully read. Copy to caller's struct.
|