Searched refs:input_fd (Results 1 – 2 of 2) sorted by relevance
63 int input_fd, len; in DigestFile() local68 if( (input_fd = open(input_file, O_RDONLY)) == -1 ) { in DigestFile()73 while ( (len = read(input_fd, data, SHA1_BLOCK_SIZE)) == in DigestFile()79 close(input_fd); in DigestFile()
680 int input_fd[2]; in semanage_pipe_data() local704 retval = pipe(input_fd); in semanage_pipe_data()726 retval = dup2(input_fd[PIPE_READ], STDIN_FILENO); in semanage_pipe_data()742 retval = close(input_fd[PIPE_WRITE]); in semanage_pipe_data()763 retval = close(input_fd[PIPE_READ]); in semanage_pipe_data()764 input_fd[PIPE_READ] = -1; in semanage_pipe_data()784 retval = write(input_fd[PIPE_WRITE], in_data, in_data_len); in semanage_pipe_data()789 retval = close(input_fd[PIPE_WRITE]); in semanage_pipe_data()790 input_fd[PIPE_WRITE] = -1; in semanage_pipe_data()859 if (input_fd[PIPE_READ] != -1) { in semanage_pipe_data()[all …]