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/lldb/test/functionalities/exec/
H A Dmain.cpp31 const posix_spawn_file_actions_t *file_actions = NULL; local
59 file_actions,
/external/lldb/source/Target/
H A DProcess.cpp667 ProcessLaunchInfo::FileAction::AddPosixSpawnFileAction (posix_spawn_file_actions_t *file_actions, argument
686 error.SetError (::posix_spawn_file_actions_addclose (file_actions, info->m_fd),
690 file_actions, info->m_fd);
701 error.SetError (::posix_spawn_file_actions_adddup2 (file_actions, info->m_fd, info->m_arg),
705 file_actions, info->m_fd, info->m_arg);
721 error.SetError (::posix_spawn_file_actions_addopen (file_actions,
730 file_actions, info->m_fd, info->m_path.c_str(), oflag, mode);
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.cpp1863 posix_spawn_file_actions_t file_actions; local
1864 err.SetError( ::posix_spawn_file_actions_init (&file_actions), DNBError::POSIX);
1867 err.LogThreaded("::posix_spawn_file_actions_init ( &file_actions )");
1889 err.SetError( ::posix_spawn_file_actions_addopen (&file_actions,
1896 err.LogThreaded ("::posix_spawn_file_actions_addopen (&file_actions, filedes=STDIN_FILENO, path='%s')", stdin_path);
1898 err.SetError( ::posix_spawn_file_actions_addopen (&file_actions,
1905 err.LogThreaded ("::posix_spawn_file_actions_addopen (&file_actions, filedes=STDOUT_FILENO, path='%s')", stdout_path);
1907 err.SetError( ::posix_spawn_file_actions_addopen (&file_actions,
1914 err.LogThreaded ("::posix_spawn_file_actions_addopen (&file_actions, filedes=STDERR_FILENO, path='%s')", stderr_path);
1921 err.SetError( ::posix_spawnp (&pid, path, &file_actions,
[all...]

Completed in 370 milliseconds