Home
last modified time | relevance | path

Searched refs:PatternID (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/aho-corasick/src/packed/
Dpattern.rs13 pub type PatternID = u16; typedef
40 order: Vec<PatternID>,
45 max_pattern_id: PatternID,
121 self.order.len() * mem::size_of::<PatternID>() in heap_bytes()
139 pub fn max_pattern_id(&self) -> PatternID { in max_pattern_id() argument
158 pub fn get(&self, id: PatternID) -> Pattern { in get()
170 pub unsafe fn get_unchecked(&self, id: PatternID) -> Pattern { in get_unchecked()
211 type Item = (PatternID, Pattern<'p>);
213 fn next(&mut self) -> Option<(PatternID, Pattern<'p>)> { in next() argument
Drabinkarp.rs3 use packed::pattern::{PatternID, Patterns};
45 buckets: Vec<Vec<(Hash, PatternID)>>,
61 max_pattern_id: PatternID,
137 self.buckets.len() * mem::size_of::<Vec<(Hash, PatternID)>>() in heap_bytes()
138 + num_patterns * mem::size_of::<(Hash, PatternID)>() in heap_bytes()
154 id: PatternID, in verify() argument
/external/rust/crates/aho-corasick/src/packed/teddy/
Druntime.rs54 use packed::pattern::{PatternID, Patterns};
79 pub buckets: Vec<Vec<PatternID>>,
89 pub max_pattern_id: PatternID,
192 self.buckets.len() * mem::size_of::<Vec<PatternID>>() in heap_bytes()
193 + num_patterns * mem::size_of::<PatternID>() in heap_bytes()
373 pati: PatternID, in verify_bucket() argument
Dcompile.rs7 use packed::pattern::{PatternID, Patterns};
221 buckets: Vec<Vec<PatternID>>,
/external/rust/crates/aho-corasick/src/
Ddfa.rs7 use nfa::{PatternID, PatternLength, NFA};
419 matches: Vec<Vec<(PatternID, PatternLength)>>,
595 * size_of::<Vec<(PatternID, PatternLength)>>()); in calculate_size()
598 state_matches.len() * size_of::<(PatternID, PatternLength)>(); in calculate_size()
Dnfa.rs17 pub type PatternID = usize; typedef
128 pub fn matches(&self, id: S) -> &[(PatternID, PatternLength)] { in matches() argument
293 matches: Vec<(PatternID, PatternLength)>,
305 + (self.matches.len() * size_of::<(PatternID, PatternLength)>()) in heap_bytes()
308 fn add_match(&mut self, i: PatternID, len: PatternLength) { in add_match() argument
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1858 DeclID PatternID = ReadDeclID(Record, Idx); in VisitTemplateDecl() local
1859 NamedDecl *TemplatedDecl = cast_or_null<NamedDecl>(Reader.GetDecl(PatternID)); in VisitTemplateDecl()
1864 return PatternID; in VisitTemplateDecl()
1893 DeclID PatternID = VisitTemplateDecl(D); in VisitRedeclarableTemplateDecl() local
1896 mergeRedeclarable(D, Redecl, PatternID); in VisitRedeclarableTemplateDecl()
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp2057 DeclID PatternID = readDeclID(); in VisitTemplateDecl() local
2058 auto *TemplatedDecl = cast_or_null<NamedDecl>(Reader.GetDecl(PatternID)); in VisitTemplateDecl()
2062 return PatternID; in VisitTemplateDecl()
2099 DeclID PatternID = VisitTemplateDecl(D); in VisitRedeclarableTemplateDecl() local
2102 mergeRedeclarable(D, Redecl, PatternID); in VisitRedeclarableTemplateDecl()