Searched refs:input_fd (Results 1 – 3 of 3) sorted by relevance
/external/vboot_reference/host/lib/ |
D | file_keys.c | 63 int input_fd, len; in DigestFile() local 68 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()
|
/external/adhd/cras/src/plc/ |
D | cras_plc_test.c | 86 int input_fd, output_fd, rc; in plc_experiment() local 94 input_fd = open(input_filename, O_RDONLY); in plc_experiment() 95 if (input_fd == -1) { in plc_experiment() 113 rc = read(input_fd, buffer, MSBC_CODE_SIZE); in plc_experiment()
|
/external/selinux/libsemanage/src/ |
D | direct_api.c | 804 int input_fd[2] = {-1, -1}; in semanage_pipe_data() local 828 retval = pipe(input_fd); in semanage_pipe_data() 850 retval = dup2(input_fd[PIPE_READ], STDIN_FILENO); in semanage_pipe_data() 866 retval = close(input_fd[PIPE_WRITE]); 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() 908 retval = write(input_fd[PIPE_WRITE], in_data, in_data_len); in semanage_pipe_data() 913 retval = close(input_fd[PIPE_WRITE]); in semanage_pipe_data() 914 input_fd[PIPE_WRITE] = -1; in semanage_pipe_data() 983 if (input_fd[PIPE_READ] != -1) { in semanage_pipe_data() [all …]
|