HomeSort by relevance Sort by last modified time
    Searched defs:lfd (Results 1 - 20 of 20) sorted by null

  /external/strace/tests/
getsockname.c 36 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);
getpeername.c 36 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)
accept.c 63 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);
recvfrom.c 53 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/
getsockname.c 36 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);
getpeername.c 36 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)
accept.c 63 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);
recvfrom.c 53 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/
getsockname.c 36 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);
getpeername.c 36 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)
accept.c 63 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);
recvfrom.c 53 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/
losetup.c 64 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/
umount.c 84 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/
accept4_01.c 102 do_test(int lfd, struct sockaddr_in *conn_addr,
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;
218 int lfd; local
    [all...]
  /external/ltp/testcases/realtime/func/rt-migrate/
rt-migrate.c 78 int lfd; variable
  /external/curl/lib/vtls/
gskit.c 522 int lfd; /* Listening socket. */ local
530 lfd = socket(AF_INET, SOCK_STREAM, 0);
531 if(lfd < 0)
537 if(bind(lfd, (struct sockaddr *) &addr1, sizeof addr1) ||
538 listen(lfd, 2) < 0) {
539 close(lfd);
545 if(getsockname(lfd, (struct sockaddr *) &addr1, &len) < 0) {
546 close(lfd);
553 close(lfd);
561 close(lfd);
    [all...]
  /external/netcat/
netcat.c 765 int lfd = fileno(stdout); local
800 if (atomicio(vwrite, lfd, buf, n) != n)
  /system/core/adb/
file_sync_client.cpp 435 int lfd = adb_open(lpath, O_RDONLY); local
436 if (lfd < 0) {
444 int bytes_read = adb_read(lfd, sbuf.data, max);
447 adb_close(lfd);
467 adb_close(lfd);
738 int lfd = adb_creat(lpath, 0644); local
739 if (lfd < 0) {
748 adb_close(lfd);
756 adb_close(lfd);
764 adb_close(lfd);
    [all...]
  /external/v8/src/ppc/
assembler-ppc.cc 2001 void Assembler::lfd(const DoubleRegister frt, const MemOperand& src) { function in class:v8::internal::Assembler
    [all...]

Completed in 1923 milliseconds