Home
last modified time | relevance | path

Searched refs:input_fd (Results 1 – 5 of 5) sorted by relevance

/external/vboot_reference/host/lib/
Dfile_keys.c63 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/linux-tools-perf/src/tools/perf/util/
Dtrace-event-read.c40 static int input_fd; variable
75 r = __do_read(input_fd, data, size); in do_read()
127 r = read(input_fd, &c, 1); in read_string()
365 input_fd = fd; in trace_report()
/external/selinux/libsemanage/src/
Ddirect_api.c660 int input_fd[2]; in semanage_pipe_data() local
684 retval = pipe(input_fd); in semanage_pipe_data()
706 retval = dup2(input_fd[PIPE_READ], STDIN_FILENO); in semanage_pipe_data()
722 retval = close(input_fd[PIPE_WRITE]); 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()
764 retval = write(input_fd[PIPE_WRITE], in_data, in_data_len); in semanage_pipe_data()
769 retval = close(input_fd[PIPE_WRITE]); in semanage_pipe_data()
770 input_fd[PIPE_WRITE] = -1; in semanage_pipe_data()
839 if (input_fd[PIPE_READ] != -1) { in semanage_pipe_data()
[all …]
/external/lldb/source/Interpreter/
DScriptInterpreterPython.cpp312 int input_fd = reader.GetDebugger().GetInputFile().GetDescriptor(); in InputReaderCallback() local
313 if (input_fd == File::kInvalidDescriptor) in InputReaderCallback()
314 input_fd = STDIN_FILENO; in InputReaderCallback()
316 script_interpreter->SaveTerminalState(input_fd); in InputReaderCallback()
884 int input_fd = reader.GetDebugger().GetInputFile().GetDescriptor(); in InputReaderCallback() local
885 if (input_fd == File::kInvalidDescriptor) in InputReaderCallback()
886 input_fd = STDIN_FILENO; in InputReaderCallback()
888 script_interpreter->SaveTerminalState(input_fd); in InputReaderCallback()
/external/lldb/source/Core/
DDebugger.cpp1040 int input_fd = m_input_file.GetFile().GetDescriptor(); in ActivateInputReader() local
1042 if (input_fd >= 0) in ActivateInputReader()
1044 Terminal tty(input_fd); in ActivateInputReader()