• Home
  • Raw
  • Download

Lines Matching refs:file

61 void expected_out(const char *file) {  in expected_out()  argument
69 fprintf(fd, " \"command\": \"cc -c %s\",\n", file); in expected_out()
70 fprintf(fd, " \"file\": \"%s/%s\"\n", cwd, file); in expected_out()
74 void create_source(char *file) { in create_source() argument
75 FILE *fd = fopen(file, "w"); in create_source()
115 char *const file = "execv.c"; in call_execv() local
117 char *const argv[] = {"cc", "-c", file, 0}; in call_execv()
119 expected_out(file); in call_execv()
120 create_source(file); in call_execv()
128 char *const file = "execve.c"; in call_execve() local
130 char *const argv[] = {compiler, "-c", file, 0}; in call_execve()
133 expected_out(file); in call_execve()
134 create_source(file); in call_execve()
142 char *const file = "execvp.c"; in call_execvp() local
144 char *const argv[] = {compiler, "-c", file, 0}; in call_execvp()
146 expected_out(file); in call_execvp()
147 create_source(file); in call_execvp()
155 char *const file = "execv_p.c"; in call_execvP() local
157 char *const argv[] = {compiler, "-c", file, 0}; in call_execvP()
159 expected_out(file); in call_execvP()
160 create_source(file); in call_execvP()
168 char *const file = "execvpe.c"; in call_execvpe() local
170 char *const argv[] = {"/usr/bin/cc", "-c", file, 0}; in call_execvpe()
173 expected_out(file); in call_execvpe()
174 create_source(file); in call_execvpe()
182 char *const file = "exect.c"; in call_exect() local
184 char *const argv[] = {compiler, "-c", file, 0}; in call_exect()
187 expected_out(file); in call_exect()
188 create_source(file); in call_exect()
196 char *const file = "execl.c"; in call_execl() local
199 expected_out(file); in call_execl()
200 create_source(file); in call_execl()
202 FORK(execl(compiler, "cc", "-c", file, (char *)0);) in call_execl()
208 char *const file = "execlp.c"; in call_execlp() local
211 expected_out(file); in call_execlp()
212 create_source(file); in call_execlp()
214 FORK(execlp(compiler, compiler, "-c", file, (char *)0);) in call_execlp()
220 char *const file = "execle.c"; in call_execle() local
224 expected_out(file); in call_execle()
225 create_source(file); in call_execle()
227 FORK(execle(compiler, compiler, "-c", file, (char *)0, envp);) in call_execle()
233 char *const file = "posix_spawn.c"; in call_posix_spawn() local
235 char *const argv[] = {compiler, "-c", file, 0}; in call_posix_spawn()
237 expected_out(file); in call_posix_spawn()
238 create_source(file); in call_posix_spawn()
251 char *const file = "posix_spawnp.c"; in call_posix_spawnp() local
253 char *const argv[] = {compiler, "-c", file, 0}; in call_posix_spawnp()
255 expected_out(file); in call_posix_spawnp()
256 create_source(file); in call_posix_spawnp()