Home
last modified time | relevance | path

Searched refs:input_stack (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.bin/dtc/
H A Dinput_buffer.hh288 std::stack<std::shared_ptr<input_buffer>> input_stack; member in dtc::text_input_buffer
330 input_stack.push(std::move(b)); in text_input_buffer()
353 return input_stack.empty() || in finished()
354 ((input_stack.size() == 1) && input_stack.top()->finished()); in finished()
361 if (input_stack.empty()) in operator *()
365 return *(*input_stack.top()); in operator *()
372 if (input_stack.empty()) in operator ++()
377 auto &top = *input_stack.top(); in operator ++()
381 input_stack.pop(); in operator ++()
409 if (input_stack.empty()) in consume()
[all …]
H A Dinput_buffer.cc250 input_stack.push(std::move(include_buffer)); in handle_include()
1045 if (input_stack.empty()) in parse_error()
1050 input_buffer &b = *input_stack.top(); in parse_error()
1233 return (*input_stack.top())[1]; in peek()