Searched refs:fd (Results 201 - 218 of 218) sorted by relevance

123456789

/system/core/init/
H A Dueventd.c90 ufd.fd = get_device_fd();
/system/core/toolbox/grep/
H A Dgrep.h89 int fd; member in struct:file
/system/vold/
H A DFat.cpp155 int fd; local
/system/core/sh/
H A Djobs.c110 static pid_t tcgetpgrp(int fd);
111 static int tcsetpgrp(int fd, pid_t pgrp);
114 tcgetpgrp(int fd) argument
117 if (ioctl(fd, TIOCGPGRP, (char *)&pgrp) == -1)
124 tcsetpgrp(int fd, pid_tpgrp) argument
126 return ioctl(fd, TIOCSPGRP, (char *)&pgrp);
163 /* Move to a high fd */
1355 if (n->nfile.fd != i) {
1356 s[0] = n->nfile.fd + '0';
H A Dshow.c151 if (np->nfile.fd != dftfd)
152 fprintf(fp, "%d", np->nfile.fd);
H A Dexpand.c118 expandhere(union node *arg, int fd) argument
120 herefd = fd;
122 xwrite(fd, stackblock(), expdest - stackblock());
442 if (in.fd < 0)
444 while ((i = read(in.fd, buf, sizeof buf)) < 0 && errno == EINTR);
464 if (in.fd >= 0)
465 close(in.fd);
H A Dparser.c630 synerror("Bad fd number");
1192 * specifying the fd to be redirected. The variable "c" contains the
1197 char fd = *out; local
1202 np->nfile.fd = 1;
1215 np->nfile.fd = 0;
1220 np->nfile.fd = 0;
1247 if (fd != '\0')
1248 np->nfile.fd = digit_val(fd);
H A Deval.c559 result->fd = -1;
596 result->fd = pip[0];
602 TRACE(("evalbackcmd done: fd=%d buf=0x%x nleft=%d jp=0x%x\n",
603 result->fd, result->buf, result->nleft, result->jp));
1074 backcmd->fd = pip[0];
H A Dinit.c914 int fd; /* file descriptor (or -1 if string) */ member in struct:parsefile
/system/netd/
H A DMDnsSdListener.cpp550 mPollFds[0].fd = mCtrlSocketPair[0];
612 mPollFds[0].fd = mCtrlSocketPair[0];
618 int fd = DNSServiceRefSockFD((*prevPtr)->mRef); local
619 if (fd != -1) {
620 if (DBG_RESCAN) ALOGD(" adding FD %d", fd);
621 mPollFds[i].fd = fd;
H A DCommandListener.cpp207 int fd = open(path, O_WRONLY); local
208 if (fd < 0) {
213 if (write(fd, value, size) != size) {
215 close(fd);
218 close(fd);
/system/security/keystore/
H A Dkeystore.cpp201 static size_t readFully(int fd, uint8_t* data, size_t size) { argument
204 ssize_t n = TEMP_FAILURE_RETRY(read(fd, data, size));
214 static size_t writeFully(int fd, uint8_t* data, size_t size) { argument
217 ssize_t n = TEMP_FAILURE_RETRY(write(fd, data, size));
1284 int fd = open(filename, O_NOFOLLOW, O_RDONLY); local
1285 if (fd < 0) {
1290 int ret = fstat(fd, &s);
1291 close(fd);
/system/core/include/cutils/
H A Dlog.h460 #define android_logToFd(tag, fd) (0)
/system/core/libpixelflinger/codeflinger/
H A DGGLAssembler.cpp161 int fd = i==GGLFormat::ALPHA ? mBlendDstA : mBlendDst; local
177 info.blend = (fs != int(GGL_ONE)) || (fd > int(GGL_ZERO));
493 int fd = component==GGLFormat::ALPHA ? mBlendDstA : mBlendDst; local
499 const int blending = blending_codes(fs, fd);
502 const int need_blending = (fs != int(GGL_ONE)) || (fd > int(GGL_ZERO));
H A Dmips_disassem.c454 i.FRType.fd, i.FRType.fs, i.FRType.ft);
H A DGGLAssembler.h521 static int blending_codes(int fs, int fd);
/system/core/liblog/
H A Dlogprint.c895 int fd,
910 ret = write(fd, outBuffer, totalLen);
893 android_log_printLogLine( AndroidLogFormat *p_format, int fd, const AndroidLogEntry *entry) argument
/system/core/libnetutils/
H A Ddhcpclient.c420 pfd.fd = s;

Completed in 135 milliseconds

123456789