/external/strace/tests/ |
netlink_kobject_uevent.c | 37 skip_if_unavailable("/proc/self/fd/"); 40 int fd = create_nl_socket(NETLINK_KOBJECT_UEVENT); local 47 rc = sendto(fd, buf + 1, DEFAULT_STRLEN, MSG_DONTWAIT, NULL, 0); 48 printf("sendto(%d, ", fd); 53 rc = sendto(fd, buf, DEFAULT_STRLEN + 1, MSG_DONTWAIT, NULL, 0); 54 printf("sendto(%d, ", fd);
|
open.c | 43 long fd = syscall(__NR_open, sample, O_RDONLY|O_CREAT, 0400); local 45 sample, sprintrc(fd)); 47 if (fd != -1) { 48 close(fd); 52 fd = syscall(__NR_open, sample, O_RDONLY); 53 printf("open(\"%s\", O_RDONLY) = %s\n", sample, sprintrc(fd)); 55 fd = syscall(__NR_open, sample, O_WRONLY|O_NONBLOCK|0x80000000); 57 sample, sprintrc(fd)); 61 fd = syscall(__NR_open, sample, O_WRONLY|O_TMPFILE, 0600); 63 sample, sprintrc(fd)); [all...] |
unlinkat.c | 13 const long fd = (long) 0xdeadbeefffffffffULL; local 15 long rc = syscall(__NR_unlinkat, fd, sample, 0); 17 (int) fd, sample, rc, errno2name());
|
/external/strace/tests-m32/ |
faccessat.c | 13 const long int fd = (long int) 0xdeadbeefffffffffULL; local 15 long rc = syscall(__NR_faccessat, fd, sample, F_OK); 17 (int) fd, sample, rc, errno2name());
|
fchdir.c | 12 const long int fd = (long int) 0xdeadbeefffffffffULL; local 14 long rc = syscall(__NR_fchdir, fd); 16 (int) fd, rc, errno2name());
|
fchmod.c | 46 int fd = open(fname, O_CREAT|O_RDONLY, 0400); local 47 if (fd < 0) 53 long rc = syscall(__NR_fchmod, fd, 0600); 54 printf("fchmod(%d, 0600) = %s\n", fd, sprintrc(rc)); 56 close(fd); 58 rc = syscall(__NR_fchmod, fd, 051); 59 printf("fchmod(%d, 051) = %s\n", fd, sprintrc(rc)); 61 rc = syscall(__NR_fchmod, fd, 004); 62 printf("fchmod(%d, 004) = %s\n", fd, sprintrc(rc));
|
fdatasync.c | 12 const long int fd = (long int) 0xdeadbeefffffffffULL; local 14 long rc = syscall(__NR_fdatasync, fd); 15 printf("fdatasync(%d) = %ld %s (%m)\n", (int) fd, rc, errno2name());
|
flock.c | 13 const unsigned long fd = (long int) 0xdeadbeefffffffffULL; local 15 long rc = syscall(__NR_flock, fd, LOCK_SH); 17 (int) fd, rc, errno2name());
|
fsync.c | 12 const long int fd = (long int) 0xdeadbeefffffffffULL; local 14 long rc = syscall(__NR_fsync, fd); 15 printf("fsync(%d) = %ld %s (%m)\n", (int) fd, rc, errno2name());
|
netlink_kobject_uevent.c | 37 skip_if_unavailable("/proc/self/fd/"); 40 int fd = create_nl_socket(NETLINK_KOBJECT_UEVENT); local 47 rc = sendto(fd, buf + 1, DEFAULT_STRLEN, MSG_DONTWAIT, NULL, 0); 48 printf("sendto(%d, ", fd); 53 rc = sendto(fd, buf, DEFAULT_STRLEN + 1, MSG_DONTWAIT, NULL, 0); 54 printf("sendto(%d, ", fd);
|
open.c | 43 long fd = syscall(__NR_open, sample, O_RDONLY|O_CREAT, 0400); local 45 sample, sprintrc(fd)); 47 if (fd != -1) { 48 close(fd); 52 fd = syscall(__NR_open, sample, O_RDONLY); 53 printf("open(\"%s\", O_RDONLY) = %s\n", sample, sprintrc(fd)); 55 fd = syscall(__NR_open, sample, O_WRONLY|O_NONBLOCK|0x80000000); 57 sample, sprintrc(fd)); 61 fd = syscall(__NR_open, sample, O_WRONLY|O_TMPFILE, 0600); 63 sample, sprintrc(fd)); [all...] |
unlinkat.c | 13 const long fd = (long) 0xdeadbeefffffffffULL; local 15 long rc = syscall(__NR_unlinkat, fd, sample, 0); 17 (int) fd, sample, rc, errno2name());
|
/external/strace/tests-mx32/ |
faccessat.c | 13 const long int fd = (long int) 0xdeadbeefffffffffULL; local 15 long rc = syscall(__NR_faccessat, fd, sample, F_OK); 17 (int) fd, sample, rc, errno2name());
|
fchdir.c | 12 const long int fd = (long int) 0xdeadbeefffffffffULL; local 14 long rc = syscall(__NR_fchdir, fd); 16 (int) fd, rc, errno2name());
|
fchmod.c | 46 int fd = open(fname, O_CREAT|O_RDONLY, 0400); local 47 if (fd < 0) 53 long rc = syscall(__NR_fchmod, fd, 0600); 54 printf("fchmod(%d, 0600) = %s\n", fd, sprintrc(rc)); 56 close(fd); 58 rc = syscall(__NR_fchmod, fd, 051); 59 printf("fchmod(%d, 051) = %s\n", fd, sprintrc(rc)); 61 rc = syscall(__NR_fchmod, fd, 004); 62 printf("fchmod(%d, 004) = %s\n", fd, sprintrc(rc));
|
fdatasync.c | 12 const long int fd = (long int) 0xdeadbeefffffffffULL; local 14 long rc = syscall(__NR_fdatasync, fd); 15 printf("fdatasync(%d) = %ld %s (%m)\n", (int) fd, rc, errno2name());
|
flock.c | 13 const unsigned long fd = (long int) 0xdeadbeefffffffffULL; local 15 long rc = syscall(__NR_flock, fd, LOCK_SH); 17 (int) fd, rc, errno2name());
|
fsync.c | 12 const long int fd = (long int) 0xdeadbeefffffffffULL; local 14 long rc = syscall(__NR_fsync, fd); 15 printf("fsync(%d) = %ld %s (%m)\n", (int) fd, rc, errno2name());
|
netlink_kobject_uevent.c | 37 skip_if_unavailable("/proc/self/fd/"); 40 int fd = create_nl_socket(NETLINK_KOBJECT_UEVENT); local 47 rc = sendto(fd, buf + 1, DEFAULT_STRLEN, MSG_DONTWAIT, NULL, 0); 48 printf("sendto(%d, ", fd); 53 rc = sendto(fd, buf, DEFAULT_STRLEN + 1, MSG_DONTWAIT, NULL, 0); 54 printf("sendto(%d, ", fd);
|
open.c | 43 long fd = syscall(__NR_open, sample, O_RDONLY|O_CREAT, 0400); local 45 sample, sprintrc(fd)); 47 if (fd != -1) { 48 close(fd); 52 fd = syscall(__NR_open, sample, O_RDONLY); 53 printf("open(\"%s\", O_RDONLY) = %s\n", sample, sprintrc(fd)); 55 fd = syscall(__NR_open, sample, O_WRONLY|O_NONBLOCK|0x80000000); 57 sample, sprintrc(fd)); 61 fd = syscall(__NR_open, sample, O_WRONLY|O_TMPFILE, 0600); 63 sample, sprintrc(fd)); [all...] |
unlinkat.c | 13 const long fd = (long) 0xdeadbeefffffffffULL; local 15 long rc = syscall(__NR_unlinkat, fd, sample, 0); 17 (int) fd, sample, rc, errno2name());
|
/external/syslinux/com32/lib/ |
fopen.c | 13 int fd; local 37 fd = open(file, flags, 0666); 39 if (fd < 0) 42 return fdopen(fd, mode);
|
fopendev.c | 13 int fd; local 37 fd = opendev(file, flags); 39 if (fd < 0) 42 return fdopen(fd, mode);
|
/external/syslinux/com32/lib/sys/ |
ftell.c | 12 int fd = fileno(stream); local 13 struct file_info *fp = &__file_info[fd];
|
openmem.c | 45 int fd; local 48 fd = opendev(&__file_dev, NULL, flags); 50 if (fd < 0) 53 fp = &__file_info[fd]; 55 fp->i.fd.size = fp->i.nbytes = len; 57 fp->i.fd.handle = 0; /* No actual file */ 60 return fd;
|