Lines Matching refs:callbacks
85 gather_stdout_callback_t const callbacks[_STDOUT_CONSUME_MAX], in do_execute()
103 parallel_execution = FLAGS_SET(flags, EXEC_DIR_PARALLEL) && !callbacks; in do_execute()
134 if (callbacks) { in do_execute()
157 if (callbacks) { in do_execute()
161 r = callbacks[STDOUT_GENERATE](fd, callback_args[STDOUT_GENERATE]); in do_execute()
169 if (callbacks) { in do_execute()
170 r = callbacks[STDOUT_COLLECT](output_fd, callback_args[STDOUT_COLLECT]); in do_execute()
196 gather_stdout_callback_t const callbacks[_STDOUT_CONSUME_MAX], in execute_directories()
213 if (callbacks) { in execute_directories()
215 assert(callbacks[STDOUT_GENERATE]); in execute_directories()
216 assert(callbacks[STDOUT_COLLECT]); in execute_directories()
217 assert(callbacks[STDOUT_CONSUME]); in execute_directories()
232 r = do_execute(dirs, timeout, callbacks, callback_args, fd, argv, envp, flags); in execute_directories()
242 if (!callbacks) in execute_directories()
248 r = callbacks[STDOUT_CONSUME](fd, callback_args[STDOUT_CONSUME]); in execute_directories()