Searched defs:lfd (Results 1 - 19 of 19) sorted by relevance

/external/strace/tests/
H A Dgetsockname.c36 int lfd = socket(AF_UNIX, SOCK_STREAM, 0); local
37 if (lfd < 0)
47 if (bind(lfd, (const void *) &un, sizeof(un)))
50 test_sockname_syscall(lfd);
H A Dgetpeername.c36 int lfd = socket(AF_UNIX, SOCK_STREAM, 0); local
38 if (lfd < 0 || cfd < 0)
48 if (bind(lfd, (const void *) &un, sizeof(un)))
50 if (listen(lfd, 1))
54 if (accept(lfd, 0, 0) < 0)
H A Daccept.c63 int lfd = socket(AF_UNIX, SOCK_STREAM, 0); local
64 if (lfd < 0)
74 if (bind(lfd, (const void *) &un, sizeof(un)))
76 if (listen(lfd, 16))
79 test_sockname_syscall(lfd);
H A Drecvfrom.c53 int lfd = socket(AF_UNIX, SOCK_STREAM, 0); local
54 if (cfd < 0 || lfd < 0)
70 if (bind(lfd, (const void *) &un, sizeof(un)))
73 if (listen(lfd, 1))
79 int afd = accept(lfd, 0, 0);
/external/strace/tests-m32/
H A Dgetsockname.c36 int lfd = socket(AF_UNIX, SOCK_STREAM, 0); local
37 if (lfd < 0)
47 if (bind(lfd, (const void *) &un, sizeof(un)))
50 test_sockname_syscall(lfd);
H A Dgetpeername.c36 int lfd = socket(AF_UNIX, SOCK_STREAM, 0); local
38 if (lfd < 0 || cfd < 0)
48 if (bind(lfd, (const void *) &un, sizeof(un)))
50 if (listen(lfd, 1))
54 if (accept(lfd, 0, 0) < 0)
H A Daccept.c63 int lfd = socket(AF_UNIX, SOCK_STREAM, 0); local
64 if (lfd < 0)
74 if (bind(lfd, (const void *) &un, sizeof(un)))
76 if (listen(lfd, 16))
79 test_sockname_syscall(lfd);
H A Drecvfrom.c53 int lfd = socket(AF_UNIX, SOCK_STREAM, 0); local
54 if (cfd < 0 || lfd < 0)
70 if (bind(lfd, (const void *) &un, sizeof(un)))
73 if (listen(lfd, 1))
79 int afd = accept(lfd, 0, 0);
/external/strace/tests-mx32/
H A Dgetsockname.c36 int lfd = socket(AF_UNIX, SOCK_STREAM, 0); local
37 if (lfd < 0)
47 if (bind(lfd, (const void *) &un, sizeof(un)))
50 test_sockname_syscall(lfd);
H A Dgetpeername.c36 int lfd = socket(AF_UNIX, SOCK_STREAM, 0); local
38 if (lfd < 0 || cfd < 0)
48 if (bind(lfd, (const void *) &un, sizeof(un)))
50 if (listen(lfd, 1))
54 if (accept(lfd, 0, 0) < 0)
H A Daccept.c63 int lfd = socket(AF_UNIX, SOCK_STREAM, 0); local
64 if (lfd < 0)
74 if (bind(lfd, (const void *) &un, sizeof(un)))
76 if (listen(lfd, 16))
79 test_sockname_syscall(lfd);
H A Drecvfrom.c53 int lfd = socket(AF_UNIX, SOCK_STREAM, 0); local
54 if (cfd < 0 || lfd < 0)
70 if (bind(lfd, (const void *) &un, sizeof(un)))
73 if (listen(lfd, 1))
79 int afd = accept(lfd, 0, 0);
/external/toybox/toys/other/
H A Dlosetup.c64 int lfd = -1, ffd = ffd; local
67 // Open file (ffd) and loop device (lfd)
84 if (device) lfd = open(device, TT.openflags);
88 if (-1 == lfd || ioctl(lfd, LOOP_GET_STATUS64, loop)) {
103 if (ioctl(lfd, (flags & FLAG_c) ? 0x4C07 : LOOP_CLR_FD, 0)) {
112 if (ioctl(lfd, LOOP_SET_FD, ffd)) perror_exit("%s=%s", device, file);
117 if (ioctl(lfd, LOOP_SET_STATUS64, loop)) perror_exit("%s=%s", device, file);
131 if (lfd != -1) close(lfd);
[all...]
/external/toybox/toys/lsb/
H A Dumount.c84 int lfd = open(dev, O_RDONLY); local
86 if (lfd != -1) {
88 if (!ioctl(lfd, 0x4C01) && (toys.optflags & FLAG_v))
90 close(lfd);
/external/ltp/testcases/kernel/syscalls/accept4/
H A Daccept4_01.c102 do_test(int lfd, struct sockaddr_in *conn_addr, argument
123 acceptfd = accept4_01(lfd, (struct sockaddr *)&claddr, &addrlen,
126 acceptfd = accept4(lfd, (struct sockaddr *)&claddr, &addrlen,
176 int lfd; local
184 lfd = socket(AF_INET, SOCK_STREAM, 0);
185 if (lfd == -1)
189 if (setsockopt(lfd, SOL_SOCKET, SO_REUSEADDR, &optval,
193 if (bind(lfd, (struct sockaddr *)&svaddr,
197 if (listen(lfd, 5) == -1)
200 return lfd;
206 int lfd; local
[all...]
/external/dhcpcd-6.8.2/
H A Dcontrol.c153 control_handle1(struct dhcpcd_ctx *ctx, int lfd, unsigned int fd_flags) argument
161 if ((fd = accept(lfd, (struct sockaddr *)&run, &len)) == -1)
/external/ltp/testcases/realtime/func/rt-migrate/
H A Drt-migrate.c78 int lfd; variable
/external/netcat/
H A Dnetcat.c765 int lfd = fileno(stdout); local
800 if (atomicio(vwrite, lfd, buf, n) != n)
/external/v8/src/ppc/
H A Dassembler-ppc.cc1968 void Assembler::lfd(const DoubleRegister frt, const MemOperand& src) { function in class:v8::internal::Assembler

Completed in 358 milliseconds