Searched refs:StreamDescriptor (Results 1 – 4 of 4) sorted by relevance
36 struct StreamDescriptor { struct37 StreamDescriptor();38 ~StreamDescriptor();39 StreamDescriptor(StreamDescriptor &&other);41 StreamDescriptor &operator=(StreamDescriptor &&other); argument43 static StreamDescriptor from_socket(SOCKET s, bool close);44 static StreamDescriptor from_file(int fd, bool close);55 StreamDescriptor descriptor; argument65 StreamDescriptor descriptor;
25 StreamDescriptor::StreamDescriptor() = default;27 StreamDescriptor::StreamDescriptor(StreamDescriptor &&other) { in StreamDescriptor() function in StreamDescriptor31 StreamDescriptor::~StreamDescriptor() { in ~StreamDescriptor()45 StreamDescriptor &StreamDescriptor::operator=(StreamDescriptor &&other) { in operator =()56 StreamDescriptor StreamDescriptor::from_socket(SOCKET s, bool close) { in from_socket()57 StreamDescriptor sd; in from_socket()64 StreamDescriptor StreamDescriptor::from_file(int fd, bool close) { in from_file()65 StreamDescriptor sd; in from_file()
3289 g_vsc.input.descriptor = StreamDescriptor::from_socket(socket_fd, true); in main()3290 g_vsc.output.descriptor = StreamDescriptor::from_socket(socket_fd, false); in main()3295 g_vsc.input.descriptor = StreamDescriptor::from_file(fileno(stdin), false); in main()3296 g_vsc.output.descriptor = StreamDescriptor::from_file(new_stdout_fd, false); in main()
130 for (const auto &StreamDescriptor : llvm::enumerate(*ExpectedStreams)) { in create() local131 StreamType Type = StreamDescriptor.value().Type; in create()132 const LocationDescriptor &Loc = StreamDescriptor.value().Location; in create()150 if (!StreamMap.try_emplace(Type, StreamDescriptor.index()).second) in create()