Searched defs:fname (Results 101 - 125 of 399) sorted by relevance

1234567891011>>

/external/strace/tests-m32/
H A Dfutimesat.c72 char *const fname = tail_memdup(proto_fname, sizeof(proto_fname)); local
73 const kernel_ulong_t kfname = (uintptr_t) fname;
98 fname[sizeof(proto_fname) - 1] = '+';
100 fname[sizeof(proto_fname) - 1] = '\0';
101 printf("futimesat(AT_FDCWD, %p, NULL) = %s\n", fname, errstr);
104 k_futimesat(kfdcwd, f8ill_ptr_to_kulong(fname), 0);
106 (uintmax_t) f8ill_ptr_to_kulong(fname), errstr);
H A Dgetdents.c42 static const char fname[] = variable
103 assert(!creat(fname, 0600));
131 assert(!unlink(fname));
H A Doverflowuid.c35 read_int_from_file(const char *const fname, int *const pvalue) argument
37 const int fd = open(fname, O_RDONLY);
H A Dredirect-fds.c39 check_fd(int fd, const char *fname) argument
41 const int should_be_closed = (fname[0] == '\0');
52 if (stat(fname, &st_fn))
H A Dsendfile.c73 static const char fname[] = "sendfile-tmpfile"; local
74 int reg_in = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0600);
76 perror_msg_and_fail("open: %s", fname);
77 if (unlink(fname))
78 perror_msg_and_fail("unlink: %s", fname);
80 perror_msg_and_fail("ftruncate: %s", fname);
H A Dstruct_flock.c99 char fname[] = TEST_SYSCALL_STR "_XXXXXX"; local
102 if (mkstemp(fname))
103 perror_msg_and_fail("mkstemp: %s", fname);
104 if (unlink(fname))
105 perror_msg_and_fail("unlink: %s", fname);
H A Dutimensat.c73 char *const fname = tail_memdup(proto_fname, sizeof(proto_fname)); local
74 const kernel_ulong_t kfname = (uintptr_t) fname;
100 fname[sizeof(proto_fname) - 1] = '+';
102 fname[sizeof(proto_fname) - 1] = '\0';
103 printf("utimensat(AT_FDCWD, %p, NULL, 0) = %s\n", fname, errstr);
106 k_utimensat(kfdcwd, f8ill_ptr_to_kulong(fname), 0, 0);
108 (uintmax_t) f8ill_ptr_to_kulong(fname), errstr);
H A Dxutimes.c73 char *const fname = tail_memdup(proto_fname, sizeof(proto_fname)); local
74 const kernel_ulong_t kfname = (uintptr_t) fname;
87 fname[sizeof(proto_fname) - 1] = '+';
89 fname[sizeof(proto_fname) - 1] = '\0';
90 printf("%s(%p, NULL) = %s\n", TEST_SYSCALL_STR, fname, errstr);
93 k_utimes(f8ill_ptr_to_kulong(fname), 0);
95 (uintmax_t) f8ill_ptr_to_kulong(fname), errstr);
/external/strace/tests-mx32/
H A Dfutimesat.c72 char *const fname = tail_memdup(proto_fname, sizeof(proto_fname)); local
73 const kernel_ulong_t kfname = (uintptr_t) fname;
98 fname[sizeof(proto_fname) - 1] = '+';
100 fname[sizeof(proto_fname) - 1] = '\0';
101 printf("futimesat(AT_FDCWD, %p, NULL) = %s\n", fname, errstr);
104 k_futimesat(kfdcwd, f8ill_ptr_to_kulong(fname), 0);
106 (uintmax_t) f8ill_ptr_to_kulong(fname), errstr);
H A Dgetdents.c42 static const char fname[] = variable
103 assert(!creat(fname, 0600));
131 assert(!unlink(fname));
H A Doverflowuid.c35 read_int_from_file(const char *const fname, int *const pvalue) argument
37 const int fd = open(fname, O_RDONLY);
H A Dredirect-fds.c39 check_fd(int fd, const char *fname) argument
41 const int should_be_closed = (fname[0] == '\0');
52 if (stat(fname, &st_fn))
H A Dsendfile.c73 static const char fname[] = "sendfile-tmpfile"; local
74 int reg_in = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0600);
76 perror_msg_and_fail("open: %s", fname);
77 if (unlink(fname))
78 perror_msg_and_fail("unlink: %s", fname);
80 perror_msg_and_fail("ftruncate: %s", fname);
H A Dstruct_flock.c99 char fname[] = TEST_SYSCALL_STR "_XXXXXX"; local
102 if (mkstemp(fname))
103 perror_msg_and_fail("mkstemp: %s", fname);
104 if (unlink(fname))
105 perror_msg_and_fail("unlink: %s", fname);
H A Dutimensat.c73 char *const fname = tail_memdup(proto_fname, sizeof(proto_fname)); local
74 const kernel_ulong_t kfname = (uintptr_t) fname;
100 fname[sizeof(proto_fname) - 1] = '+';
102 fname[sizeof(proto_fname) - 1] = '\0';
103 printf("utimensat(AT_FDCWD, %p, NULL, 0) = %s\n", fname, errstr);
106 k_utimensat(kfdcwd, f8ill_ptr_to_kulong(fname), 0, 0);
108 (uintmax_t) f8ill_ptr_to_kulong(fname), errstr);
H A Dxutimes.c73 char *const fname = tail_memdup(proto_fname, sizeof(proto_fname)); local
74 const kernel_ulong_t kfname = (uintptr_t) fname;
87 fname[sizeof(proto_fname) - 1] = '+';
89 fname[sizeof(proto_fname) - 1] = '\0';
90 printf("%s(%p, NULL) = %s\n", TEST_SYSCALL_STR, fname, errstr);
93 k_utimes(f8ill_ptr_to_kulong(fname), 0);
95 (uintmax_t) f8ill_ptr_to_kulong(fname), errstr);
/external/walt/pywalt/pywalt/
H A Dminimization.py138 fname = '/tmp/WALT_2016_06_22__1739_21_' variable
139 fname_evtest = fname + 'evtest.log'
140 fname_laser = fname + 'laser.log'
/external/blktrace/btt/
H A Dargs.c244 static FILE *setup_ofile(char *fname) argument
246 if (fname) {
248 FILE *ofp = my_fopen(fname, "w");
251 perror(fname);
258 add_file(ofp, fname);
270 char fname[strlen(output_name) + 32]; local
272 sprintf(fname, "%s.%s", output_name, sfx);
273 fp = my_fopen(fname, "w");
275 perror(fname);
279 printf("Sending %s to %s\n", msg, fname);
[all...]
/external/clang/test/Index/
H A Dannotate-tokens-pp.c31 const char *fname = __FILE__; variable
/external/curl/src/
H A Dtool_main.c100 char fname[CURL_MT_LOGFNAME_BUFSIZE]; local
103 strcpy(fname, env);
105 curl_memdebug(fname);
/external/elfutils/tests/
H A Dasm-tst1.c30 static const char fname[] = "asm-tst1-out.o"; variable
84 ctx = asm_begin (fname, ebl, false);
117 fd = open (fname, O_RDONLY);
251 unlink (fname);
H A Dasm-tst2.c30 static const char fname[] = "asm-tst2-out.o"; variable
83 ctx = asm_begin (fname, ebl, false);
133 fd = open (fname, O_RDONLY);
273 unlink (fname);
H A Dasm-tst9.c31 static const char fname[] = "asm-tst9-out.o"; variable
103 ctx = asm_begin (fname, ebl, false);
167 fd = open (fname, O_RDONLY);
330 unlink (fname);
H A Dupdate4.c37 const char fname[] = "xxx_update4"; local
53 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666);
56 printf ("cannot open `%s': %s\n", fname, strerror (errno));
354 unlink (fname);
/external/libevent/
H A Devutil_rand.c46 evutil_secure_rng_set_urandom_device_file(char *fname) argument
48 (void) fname;
137 evutil_secure_rng_set_urandom_device_file(char *fname) argument
141 arc4random_urandom_filename = fname;

Completed in 4198 milliseconds

1234567891011>>