Home
last modified time | relevance | path

Searched refs:hir (Results 1 – 25 of 45) sorted by relevance

12

/external/rust/crates/regex-syntax/src/
Dparser.rs2 use hir;
17 hir: hir::translate::TranslatorBuilder, field
28 Parser { ast: self.ast.build(), hir: self.hir.build() } in build()
93 self.hir.allow_invalid_utf8(yes); in allow_invalid_utf8()
115 self.hir.case_insensitive(yes); in case_insensitive()
124 self.hir.multi_line(yes); in multi_line()
133 self.hir.dot_matches_new_line(yes); in dot_matches_new_line()
142 self.hir.swap_greed(yes); in swap_greed()
155 self.hir.unicode(yes); in unicode()
177 hir: hir::translate::Translator, field
[all …]
Dunicode.rs5 use hir;
288 pub fn class(query: ClassQuery) -> Result<hir::ClassUnicode> { in class()
296 let mut class = hir::ClassUnicode::empty(); in class()
325 pub fn perl_word() -> Result<hir::ClassUnicode> { in perl_word()
327 fn imp() -> Result<hir::ClassUnicode> { in perl_word()
332 fn imp() -> Result<hir::ClassUnicode> { in perl_word()
343 pub fn perl_space() -> Result<hir::ClassUnicode> { in perl_space()
345 fn imp() -> Result<hir::ClassUnicode> { in perl_space()
350 fn imp() -> Result<hir::ClassUnicode> { in perl_space()
356 fn imp() -> Result<hir::ClassUnicode> { in perl_space()
[all …]
Derror.rs7 use hir;
20 Translate(hir::Error),
36 impl From<hir::Error> for Error {
37 fn from(err: hir::Error) -> Error { in from()
93 impl<'e> From<&'e hir::Error> for Formatter<'e, hir::ErrorKind> {
94 fn from(err: &'e hir::Error) -> Self { in from()
Dlib.rs168 pub mod hir; module
/external/rust/crates/regex-syntax/src/hir/
Dprint.rs7 use hir::visitor::{self, Visitor};
8 use hir::{self, Hir, HirKind};
67 pub fn print<W: fmt::Write>(&mut self, hir: &Hir, wtr: W) -> fmt::Result { in print()
68 visitor::visit(hir, Writer { printer: self, wtr: wtr }) in print()
86 fn visit_pre(&mut self, hir: &Hir) -> fmt::Result { in visit_pre()
87 match *hir.kind() { in visit_pre()
92 HirKind::Literal(hir::Literal::Unicode(c)) => { in visit_pre()
95 HirKind::Literal(hir::Literal::Byte(b)) => { in visit_pre()
98 HirKind::Class(hir::Class::Unicode(ref cls)) => { in visit_pre()
111 HirKind::Class(hir::Class::Bytes(ref cls)) => { in visit_pre()
[all …]
Dtranslate.rs9 use hir::{self, Error, ErrorKind, Hir};
149 ClassUnicode(hir::ClassUnicode),
157 ClassBytes(hir::ClassBytes),
197 fn unwrap_class_unicode(self) -> hir::ClassUnicode { in unwrap_class_unicode()
210 fn unwrap_class_bytes(self) -> hir::ClassBytes { in unwrap_class_bytes()
248 let cls = hir::ClassUnicode::empty(); in visit_pre()
251 let cls = hir::ClassBytes::empty(); in visit_pre()
305 let hcls = hir::Class::Unicode(cls); in visit_post()
309 let hcls = hir::Class::Bytes(cls); in visit_post()
314 let cls = hir::Class::Unicode(self.hir_unicode_class(x)?); in visit_post()
[all …]
Dvisitor.rs1 use hir::{self, Hir, HirKind};
59 pub fn visit<V: Visitor>(hir: &Hir, visitor: V) -> Result<V::Output, V::Err> { in visit()
60 HeapVisitor::new().visit(hir, visitor) in visit()
76 Repetition(&'a hir::Repetition),
79 Group(&'a hir::Group),
105 mut hir: &'a Hir, in visit()
112 visitor.visit_pre(hir)?; in visit()
113 if let Some(x) = self.induct(hir) { in visit()
115 self.stack.push((hir, x)); in visit()
116 hir = child; in visit()
[all …]
Dmod.rs12 use hir::interval::{Interval, IntervalSet, IntervalSetIter};
15 pub use hir::visitor::{visit, Visitor};
350 info.set_always_utf8(rep.hir.is_always_utf8()); in repetition()
351 info.set_all_assertions(rep.hir.is_all_assertions()); in repetition()
355 !rep.is_match_empty() && rep.hir.is_anchored_start(), in repetition()
358 !rep.is_match_empty() && rep.hir.is_anchored_end(), in repetition()
361 !rep.is_match_empty() && rep.hir.is_anchored_start(), in repetition()
364 !rep.is_match_empty() && rep.hir.is_anchored_end(), in repetition()
366 info.set_any_anchored_start(rep.hir.is_any_anchored_start()); in repetition()
367 info.set_any_anchored_end(rep.hir.is_any_anchored_end()); in repetition()
[all …]
/external/rust/crates/regex/src/
Dcompile.rs7 use syntax::hir::{self, Hir};
257 use syntax::hir::HirKind::*; in c()
262 Literal(hir::Literal::Unicode(c)) => self.c_char(c), in c()
263 Literal(hir::Literal::Byte(b)) => { in c()
267 Class(hir::Class::Unicode(ref cls)) => self.c_class(cls.ranges()), in c()
268 Class(hir::Class::Bytes(ref cls)) => { in c()
276 char_ranges.push(hir::ClassUnicodeRange::new(s, e)); in c()
281 Anchor(hir::Anchor::StartLine) if self.compiled.is_reverse => { in c()
285 Anchor(hir::Anchor::StartLine) => { in c()
289 Anchor(hir::Anchor::EndLine) if self.compiled.is_reverse => { in c()
[all …]
Dexec.rs8 use syntax::hir::literal::Literals;
9 use syntax::hir::Hir;
1553 use syntax::hir::{HirKind, Literal}; in alternation_literals()
/external/mesa3d/src/compiler/glsl/
Dast.h63 virtual ir_rvalue *hir(exec_list *instructions,
240 virtual ir_rvalue *hir(exec_list *instructions,
327 virtual ir_rvalue *hir(exec_list *instructions,
429 virtual ir_rvalue *hir(exec_list *instructions,
442 virtual ir_rvalue *hir(exec_list *instructions,
884 virtual ir_rvalue *hir(exec_list *instructions,
928 ir_rvalue *hir(exec_list *, struct _mesa_glsl_parse_state *);
964 virtual ir_rvalue *hir(exec_list *instructions,
994 virtual ir_rvalue *hir(exec_list *instructions,
1024 virtual ir_rvalue *hir(exec_list *instructions,
[all …]
Dast_to_hir.cpp159 ast->hir(instructions, state); in _mesa_ast_to_hir()
1070 ast_node::hir(exec_list *instructions, struct _mesa_glsl_parse_state *state) in hir() function in ast_node
1093 (void)hir(instructions, state); in hir_no_rvalue()
1100 (void)hir(instructions, state); in hir_no_rvalue()
1205 ir_rvalue *val = expr->hir(instructions, state); in get_scalar_boolean_operand()
1301 ast_expression::hir(exec_list *instructions, in hir() function in ast_expression
1408 op[0] = this->subexpressions[0]->hir(instructions, state); in do_hir()
1409 op[1] = this->subexpressions[1]->hir(instructions, state); in do_hir()
1420 op[0] = this->subexpressions[0]->hir(instructions, state); in do_hir()
1430 op[0] = this->subexpressions[0]->hir(instructions, state); in do_hir()
[all …]
Dhir_field_selection.cpp38 op = expr->subexpressions[0]->hir(instructions, state); in _mesa_ast_field_selection_to_hir()
Dast_function.cpp50 ir_rvalue *result = ast->hir(instructions, state); in process_parameters()
770 ir_rvalue *outer_array_idx = idx->hir(instructions, state); in generate_array_index()
788 ir_rvalue *outer_array_idx = idx->hir(instructions, state); in generate_array_index()
2036 op = field->subexpressions[0]->hir(instructions, state); in handle_method()
2096 ast_function_expression::hir(exec_list *instructions, in hir() function in ast_function_expression
2200 ir_rvalue *result = ast->hir(instructions, state); in hir()
2523 ast_aggregate_initializer::hir(exec_list *instructions, in hir() function in ast_aggregate_initializer
Dast_type.cpp929 ir_rvalue *const ir = const_expression->hir(&dummy_instructions, state); in process_qualifier_constant()
986 ir_rvalue *const ir = const_expression->hir(&dummy_instructions, state); in process_qualifier_constant()
/external/rust/crates/regex-syntax/src/hir/literal/
Dmod.rs11 use hir::{self, Hir, HirKind};
453 pub fn add_char_class(&mut self, cls: &hir::ClassUnicode) -> bool { in add_char_class()
461 fn add_char_class_reverse(&mut self, cls: &hir::ClassUnicode) -> bool { in add_char_class_reverse()
467 cls: &hir::ClassUnicode, in _add_char_class()
498 pub fn add_byte_class(&mut self, cls: &hir::ClassBytes) -> bool { in add_byte_class()
586 HirKind::Literal(hir::Literal::Unicode(c)) => { in prefixes()
590 HirKind::Literal(hir::Literal::Byte(b)) => { in prefixes()
593 HirKind::Class(hir::Class::Unicode(ref cls)) => { in prefixes()
598 HirKind::Class(hir::Class::Bytes(ref cls)) => { in prefixes()
603 HirKind::Group(hir::Group { ref hir, .. }) => { in prefixes()
[all …]
/external/rust/crates/regex-automata/src/nfa/
Dcompiler.rs37 use regex_syntax::hir::{self, Hir, HirKind};
398 HirKind::Literal(hir::Literal::Unicode(ch)) => { in c()
407 HirKind::Literal(hir::Literal::Byte(b)) => Ok(self.c_range(b, b)), in c()
408 HirKind::Class(hir::Class::Bytes(ref cls)) => { in c()
411 HirKind::Class(hir::Class::Unicode(ref cls)) => { in c()
415 HirKind::Group(ref group) => self.c(&*group.hir), in c()
474 fn c_repetition(&self, rep: &hir::Repetition) -> Result<ThompsonRef> { in c_repetition()
476 hir::RepetitionKind::ZeroOrOne => { in c_repetition()
477 self.c_zero_or_one(&rep.hir, rep.greedy) in c_repetition()
479 hir::RepetitionKind::ZeroOrMore => { in c_repetition()
[all …]
/external/rust/crates/regex-syntax/
DREADME.md35 use regex_syntax::hir::{self, Hir};
37 let hir = Parser::new().parse("a|b").unwrap();
38 assert_eq!(hir, Hir::alternation(vec![
39 Hir::literal(hir::Literal::Unicode('a')),
40 Hir::literal(hir::Literal::Unicode('b')),
93 compile a `regex::Regex` from a `regex_syntax::hir::Hir`. Instead, one must
/external/rust/crates/regex/src/literal/
Dmod.rs9 use syntax::hir::literal::Literals;
/external/mesa3d/docs/relnotes/
D10.1.5.rst41 - glsl: fix use-after free bug/crash in ast_declarator_list::hir()
D17.0.1.rst176 - glsl: fix heap-use-after-free in ast_declarator_list::hir()
D7.9.1.rst184 - glsl: Fix ast-to-hir for ARB_fragment_coord_conventions
186 - glsl: Fix erroneous cast in ast_jump_statement::hir()
D13.0.6.rst243 - glsl: fix heap-use-after-free in ast_declarator_list::hir()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Substr.pbtxt112 output = [b'hir', b'ee', b'n']
/external/mesa3d/docs/
Dshading.rst154 - **--dump-hir** - dump high-level IR code

12