Home
last modified time | relevance | path

Searched refs:file_actions (Results 1 – 12 of 12) sorted by relevance

/external/bison/lib/
Dspawn_faction_init.c32 __posix_spawn_file_actions_realloc (posix_spawn_file_actions_t *file_actions) in __posix_spawn_file_actions_realloc() argument
34 int newalloc = file_actions->_allocated + 8; in __posix_spawn_file_actions_realloc()
35 void *newmem = realloc (file_actions->_actions, in __posix_spawn_file_actions_realloc()
42 file_actions->_actions = (struct __spawn_action *) newmem; in __posix_spawn_file_actions_realloc()
43 file_actions->_allocated = newalloc; in __posix_spawn_file_actions_realloc()
51 posix_spawn_file_actions_init (posix_spawn_file_actions_t *file_actions) in posix_spawn_file_actions_init() argument
54 memset (file_actions, '\0', sizeof (*file_actions)); in posix_spawn_file_actions_init()
Dspawn_faction_addclose.c36 posix_spawn_file_actions_addclose (posix_spawn_file_actions_t *file_actions, in posix_spawn_file_actions_addclose() argument
47 return posix_spawn_file_actions_addclose (file_actions, fd); in posix_spawn_file_actions_addclose()
50 if (file_actions->_used == file_actions->_allocated in posix_spawn_file_actions_addclose()
51 && __posix_spawn_file_actions_realloc (file_actions) != 0) in posix_spawn_file_actions_addclose()
59 rec = &file_actions->_actions[file_actions->_used]; in posix_spawn_file_actions_addclose()
64 ++file_actions->_used; in posix_spawn_file_actions_addclose()
Dspawn_faction_adddup2.c36 posix_spawn_file_actions_adddup2 (posix_spawn_file_actions_t *file_actions, in posix_spawn_file_actions_adddup2() argument
47 return posix_spawn_file_actions_adddup2 (file_actions, fd, newfd); in posix_spawn_file_actions_adddup2()
50 if (file_actions->_used == file_actions->_allocated in posix_spawn_file_actions_adddup2()
51 && __posix_spawn_file_actions_realloc (file_actions) != 0) in posix_spawn_file_actions_adddup2()
59 rec = &file_actions->_actions[file_actions->_used]; in posix_spawn_file_actions_adddup2()
65 ++file_actions->_used; in posix_spawn_file_actions_adddup2()
Dspawn_faction_addopen.c36 posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions, in posix_spawn_file_actions_addopen() argument
48 return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode); in posix_spawn_file_actions_addopen()
51 if (file_actions->_used == file_actions->_allocated in posix_spawn_file_actions_addopen()
52 && __posix_spawn_file_actions_realloc (file_actions) != 0) in posix_spawn_file_actions_addopen()
60 rec = &file_actions->_actions[file_actions->_used]; in posix_spawn_file_actions_addopen()
68 ++file_actions->_used; in posix_spawn_file_actions_addopen()
Dspawni.c97 const posix_spawn_file_actions_t *file_actions, in __spawni() argument
140 const posix_spawn_file_actions_t *file_actions, in __spawni() argument
166 && file_actions == NULL)) in __spawni()
238 if (file_actions != NULL) in __spawni()
242 for (cnt = 0; cnt < file_actions->_used; ++cnt) in __spawni()
244 struct __spawn_action *action = &file_actions->_actions[cnt]; in __spawni()
Dspawn_faction_destroy.c26 posix_spawn_file_actions_destroy (posix_spawn_file_actions_t *file_actions) in posix_spawn_file_actions_destroy() argument
29 free (file_actions->_actions); in posix_spawn_file_actions_destroy()
Dspawnp.c28 const posix_spawn_file_actions_t *file_actions, in posix_spawnp() argument
32 return __spawni (pid, file, file_actions, attrp, argv, envp, 1); in posix_spawnp()
Dspawn_int.h54 file_actions);
60 const posix_spawn_file_actions_t *file_actions,
/external/valgrind/none/tests/solaris/
Dposix_spawn.c14 posix_spawn_file_actions_t file_actions; in main() local
18 err = posix_spawn_file_actions_init(&file_actions); in main()
25 err = posix_spawn_file_actions_adddup2(&file_actions, 3, 4); in main()
34 err = posix_spawn(NULL, "/bin/true", &file_actions, NULL, argv_exe, in main()
45 err = posix_spawn_file_actions_destroy(&file_actions); in main()
/external/dhcpcd-6.8.2/compat/
Dposix_spawn.c85 const posix_spawn_file_actions_t *file_actions, in posix_spawn() argument
95 if (file_actions == NULL && is_vfork_safe(flags)) in posix_spawn()
/external/valgrind/docs/internals/
DDarwin-notes.txt70 also ignores the file_actions argument
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-darwin.c3418 void*, file_actions, char**, argv, char**, envp ); in PRE()