Searched defs:file_actions (Results 1 - 10 of 10) sorted by relevance

/external/bison/lib/
H A Dspawn_faction_destroy.c26 posix_spawn_file_actions_destroy (posix_spawn_file_actions_t *file_actions) argument
29 free (file_actions->_actions);
H A Dspawn_faction_addclose.c36 posix_spawn_file_actions_addclose (posix_spawn_file_actions_t *file_actions, argument
47 return posix_spawn_file_actions_addclose (file_actions, fd);
50 if (file_actions->_used == file_actions->_allocated
51 && __posix_spawn_file_actions_realloc (file_actions) != 0)
59 rec = &file_actions->_actions[file_actions->_used];
64 ++file_actions->_used;
H A Dspawn_faction_init.c32 __posix_spawn_file_actions_realloc (posix_spawn_file_actions_t *file_actions) argument
34 int newalloc = file_actions->_allocated + 8;
35 void *newmem = realloc (file_actions->_actions,
42 file_actions->_actions = (struct __spawn_action *) newmem;
43 file_actions->_allocated = newalloc;
51 posix_spawn_file_actions_init (posix_spawn_file_actions_t *file_actions) argument
54 memset (file_actions, '\0', sizeof (*file_actions));
H A Dspawn_faction_adddup2.c36 posix_spawn_file_actions_adddup2 (posix_spawn_file_actions_t *file_actions, argument
47 return posix_spawn_file_actions_adddup2 (file_actions, fd, newfd);
50 if (file_actions->_used == file_actions->_allocated
51 && __posix_spawn_file_actions_realloc (file_actions) != 0)
59 rec = &file_actions->_actions[file_actions->_used];
65 ++file_actions->_used;
H A Dspawnp.c28 const posix_spawn_file_actions_t *file_actions,
32 return __spawni (pid, file, file_actions, attrp, argv, envp, 1);
27 posix_spawnp(pid_t *pid, const char *file, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *attrp, char *const argv[], char *const envp[]) argument
H A Dspawn_faction_addopen.c36 posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions, argument
48 return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode);
51 if (file_actions->_used == file_actions->_allocated
52 && __posix_spawn_file_actions_realloc (file_actions) != 0)
60 rec = &file_actions->_actions[file_actions->_used];
68 ++file_actions->_used;
H A Dspawni.c97 const posix_spawn_file_actions_t *file_actions,
140 const posix_spawn_file_actions_t *file_actions,
166 && file_actions == NULL))
238 if (file_actions != NULL)
242 for (cnt = 0; cnt < file_actions->_used; ++cnt)
244 struct __spawn_action *action = &file_actions->_actions[cnt];
96 __spawni(pid_t *pid, const char *file, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *attrp, char *const argv[], char *const envp[], int use_path) argument
139 __spawni(pid_t *pid, const char *file, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *attrp, char *const argv[], char *const envp[], int use_path) argument
/external/valgrind/none/tests/solaris/
H A Dposix_spawn.c14 posix_spawn_file_actions_t file_actions; local
18 err = posix_spawn_file_actions_init(&file_actions);
25 err = posix_spawn_file_actions_adddup2(&file_actions, 3, 4);
34 err = posix_spawn(NULL, "/bin/true", &file_actions, NULL, argv_exe,
45 err = posix_spawn_file_actions_destroy(&file_actions);
/external/dhcpcd-6.8.2/compat/
H A Dposix_spawn.c85 const posix_spawn_file_actions_t *file_actions,
95 if (file_actions == NULL && is_vfork_safe(flags))
84 posix_spawn(pid_t *pid, const char *path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *attrp, char *const argv[], char *const envp[]) argument
/external/clang/tools/scan-build-py/libear/
H A Dear.c125 const posix_spawn_file_actions_t *file_actions,
132 const posix_spawn_file_actions_t *file_actions,
266 const posix_spawn_file_actions_t *file_actions,
270 return call_posix_spawn(pid, path, file_actions, attrp, argv, envp);
276 const posix_spawn_file_actions_t *file_actions,
280 return call_posix_spawnp(pid, file, file_actions, attrp, argv, envp);
366 const posix_spawn_file_actions_t *file_actions,
379 (*fp)(pid, path, file_actions, attrp, argv, (char *const *restrict)menvp);
387 const posix_spawn_file_actions_t *file_actions,
400 (*fp)(pid, file, file_actions, attr
265 posix_spawn(pid_t *restrict pid, const char *restrict path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *restrict attrp, char *const argv[restrict], char *const envp[restrict]) argument
275 posix_spawnp(pid_t *restrict pid, const char *restrict file, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *restrict attrp, char *const argv[restrict], char *const envp[restrict]) argument
365 call_posix_spawn(pid_t *restrict pid, const char *restrict path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *restrict attrp, char *const argv[restrict], char *const envp[restrict]) argument
386 call_posix_spawnp(pid_t *restrict pid, const char *restrict file, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *restrict attrp, char *const argv[restrict], char *const envp[restrict]) argument
[all...]

Completed in 175 milliseconds