Lines Matching refs:PIPE_READ
59 #define PIPE_READ 0 macro
706 retval = dup2(input_fd[PIPE_READ], STDIN_FILENO); in semanage_pipe_data()
727 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data()
732 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
743 retval = close(input_fd[PIPE_READ]); in semanage_pipe_data()
744 input_fd[PIPE_READ] = -1; in semanage_pipe_data()
777 …retval = read_from_pipe_to_data(sh, initial_len, output_fd[PIPE_READ], &data_read, &data_read_len); in semanage_pipe_data()
781 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data()
782 output_fd[PIPE_READ] = -1; in semanage_pipe_data()
789 …retval = read_from_pipe_to_data(sh, initial_len, err_fd[PIPE_READ], &err_data_read, &err_data_read… in semanage_pipe_data()
793 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
794 err_fd[PIPE_READ] = -1; in semanage_pipe_data()
827 if (output_fd[PIPE_READ] != -1) { in semanage_pipe_data()
828 close(output_fd[PIPE_READ]); in semanage_pipe_data()
833 if (err_fd[PIPE_READ] != -1) { in semanage_pipe_data()
834 close(err_fd[PIPE_READ]); in semanage_pipe_data()
839 if (input_fd[PIPE_READ] != -1) { in semanage_pipe_data()
840 close(input_fd[PIPE_READ]); in semanage_pipe_data()