Lines Matching refs:PIPE_READ
61 #define PIPE_READ 0 macro
850 retval = dup2(input_fd[PIPE_READ], STDIN_FILENO); in semanage_pipe_data()
871 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data()
876 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
887 retval = close(input_fd[PIPE_READ]); in semanage_pipe_data()
888 input_fd[PIPE_READ] = -1; in semanage_pipe_data()
921 …retval = read_from_pipe_to_data(sh, initial_len, output_fd[PIPE_READ], &data_read, &data_read_len); in semanage_pipe_data()
925 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data()
926 output_fd[PIPE_READ] = -1; in semanage_pipe_data()
933 …retval = read_from_pipe_to_data(sh, initial_len, err_fd[PIPE_READ], &err_data_read, &err_data_read… in semanage_pipe_data()
937 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
938 err_fd[PIPE_READ] = -1; in semanage_pipe_data()
971 if (output_fd[PIPE_READ] != -1) { in semanage_pipe_data()
972 close(output_fd[PIPE_READ]); in semanage_pipe_data()
977 if (err_fd[PIPE_READ] != -1) { in semanage_pipe_data()
978 close(err_fd[PIPE_READ]); in semanage_pipe_data()
983 if (input_fd[PIPE_READ] != -1) { in semanage_pipe_data()
984 close(input_fd[PIPE_READ]); in semanage_pipe_data()