HomeSort by relevance Sort by last modified time
    Searched refs:fd (Results 276 - 300 of 9164) sorted by null

<<11121314151617181920>>

  /external/ltp/testcases/kernel/sched/clisrv/
readline.c 28 int readline(fd, ptr, maxlen)
29 register int fd;
36 printf("readline: fd = %d\n", fd);
39 if ((rc = read(fd, &c, 1)) == 1) {
writen.c 26 Use instead of write() when fd is a stream socket. */
28 int writen(fd, ptr, nbytes)
29 register int fd;
37 nwritten = write(fd, ptr, nleft);
  /external/ltp/testcases/kernel/syscalls/open/
open12_child.c 26 int fd; local
29 fprintf(stderr, "Only two arguments: %s <fd>\n", argv[0]);
33 fd = atoi(argv[1]);
34 ret = write(fd, argv[1], strlen(argv[1]));
  /external/ltp/testcases/kernel/syscalls/openat/
openat02_child.c 29 int fd; local
33 fprintf(stderr, "%s <fd>\n", argv[0]);
37 fd = atoi(argv[1]);
38 ret = write(fd, STR, sizeof(STR) - 1);
  /external/ltp/testcases/kernel/syscalls/pipe/
pipe02.c 32 static int fd[2]; variable
39 SAFE_CLOSE(fd[0]);
40 SAFE_WRITE(1, fd[1], wrbuf, SIZE);
44 SAFE_WRITE(1, fd[1], wrbuf, SIZE);
57 maybe_run_child(&do_child, "dd", &fd[0], &fd[1]);
60 TEST(pipe(fd));
69 if (self_exec(av[0], "dd", fd[0], fd[1]) < 0)
77 SAFE_CLOSE(fd[1])
    [all...]
  /external/ltp/testcases/network/nfs/nfslock01/
nfs_flock.h 10 #define read_lock(fd, offset, whence, len) \
11 lock_reg(fd, F_RDLCK, offset, whence, len, F_SETLK)
12 #define write_lock(fd, offset, whence, len) \
13 lock_reg(fd, F_WRLCK, offset, whence, len, F_SETLK)
14 #define un_lock(fd, offset, whence, len) \
15 lock_reg(fd, F_UNLCK, offset, whence, len, F_SETLK)
16 #define readb_lock(fd, offset, whence, len) \
17 lock_reg(fd, F_RDLCK, offset, whence, len, F_SETLKW)
18 #define writeb_lock(fd, offset, whence, len) \
19 lock_reg(fd, F_WRLCK, offset, whence, len, F_SETLKW
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
6-1.c 23 int fd; local
25 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
26 if (fd == -1) {
  /external/mesa3d/src/loader/
loader.h 40 loader_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id);
43 loader_get_driver_for_fd(int fd);
46 loader_get_device_name_for_fd(int fd);
49 * if the user requests so and it is possible. The initial fd will be closed
50 * if necessary. The returned fd is potentially a render-node.
  /external/parameter-framework/upstream/test/tmpfile/posix/
TmpFile.cpp 46 int fd = mkstemp(path); local
47 if (fd == -1) {
50 if (close(fd) != 0) {
  /external/puffin/src/
unittest_common.cc 11 bool MakeTempFile(string* filename, int* fd) {
18 if (fd) {
19 *fd = mkstemp_fd;
  /external/python/cpython2/Lib/test/
tf_inherit_check.py 10 fd = int(sys.argv[2]) variable
13 os.write(fd, "blat")
15 # Success -- could not write to fd.
19 sys.stderr.write("fd %d is open in child" % fd)
  /external/selinux/restorecond/
restorecond.h 37 extern void read_config(int fd, const char *watch_file);
39 extern int watch(int fd, const char *watch_file);
42 extern void watch_list_free(int fd);
  /external/strace/tests/
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());
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());
symlinkat.c 12 const long int fd = (long int) 0xdeadbeefffffffffULL; local
16 long rc = syscall(__NR_symlinkat, oldpath, fd, newpath);
18 oldpath, (int) fd, newpath, rc, errno2name());
sync_file_range.c 41 const int fd = -1; local
46 int rc = sync_file_range(fd, offset, nbytes, flags);
50 "sync_file_range", fd,
sync_file_range2.c 41 const int fd = -1; local
46 int rc = sync_file_range(fd, offset, nbytes, flags);
50 "sync_file_range2", fd,
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());
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());
symlinkat.c 12 const long int fd = (long int) 0xdeadbeefffffffffULL; local
16 long rc = syscall(__NR_symlinkat, oldpath, fd, newpath);
18 oldpath, (int) fd, newpath, rc, errno2name());
sync_file_range.c 41 const int fd = -1; local
46 int rc = sync_file_range(fd, offset, nbytes, flags);
50 "sync_file_range", fd,
sync_file_range2.c 41 const int fd = -1; local
46 int rc = sync_file_range(fd, offset, nbytes, flags);
50 "sync_file_range2", fd,
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());

Completed in 438 milliseconds

<<11121314151617181920>>