Home
last modified time | relevance | path

Searched refs:alternates (Results 1 – 25 of 29) sorted by relevance

12

/external/rust/crates/regex-automata/src/nfa/
Dcompiler.rs227 Union { alternates: Vec<StateID> },
237 UnionReverse { alternates: Vec<StateID> },
350 CState::Union { ref mut alternates } => { in finish()
353 let alternates = mem::replace(alternates, vec![]); in finish() localVariable
355 alternates: alternates.into_boxed_slice(), in finish()
358 CState::UnionReverse { ref mut alternates } => { in finish()
361 let mut alternates = mem::replace(alternates, vec![]); in finish() localVariable
362 alternates.reverse(); in finish()
364 alternates: alternates.into_boxed_slice(), in finish()
796 CState::Union { ref mut alternates } => { in patch()
[all …]
Dmod.rs121 Union { alternates: Box<[StateID]> },
166 State::Union { ref mut alternates } => { in remap()
167 for alt in alternates.iter_mut() { in remap()
189 State::Union { ref alternates } => { in fmt()
190 let alts = alternates in fmt()
/external/rust/crates/regex/examples/
Dshootout-regex-dna-single-cheat.rs61 let mut alternates = vec![]; in replace_all() localVariable
64 alternates.push((re as char).to_string()); in replace_all()
67 let re = regex!(&alternates.join("|")); in replace_all()
Dshootout-regex-dna-cheat.rs76 let mut alternates = vec![]; in replace_all() localVariable
79 alternates.push((re as char).to_string()); in replace_all()
82 let re = regex!(&alternates.join("|")); in replace_all()
/external/fonttools/Lib/fontTools/ttLib/tables/
DotTables.py1009 self.alternates = {}
1012 alternates = {}
1018 alternates[inp] = alt.Alternate
1021 self.alternates = alternates
1026 alternates = getattr(self, "alternates", None)
1027 if alternates is None:
1028 alternates = self.alternates = {}
1029 items = list(alternates.items())
1036 alternates = []
1041 alternates.append(alts)
[all …]
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_imports.py61 def alternates(members): function
67 bare_names = alternates(mapping.keys())
Dfix_urllib.py8 from lib2to3.fixes.fix_imports import alternates, FixImports
54 members = alternates(members)
Dfix_renames.py17 def alternates(members): function
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_imports.py61 def alternates(members): function
67 bare_names = alternates(mapping.keys())
Dfix_urllib.py8 from lib2to3.fixes.fix_imports import alternates, FixImports
53 members = alternates(members)
Dfix_renames.py17 def alternates(members): function
/external/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DCPlusPlusLanguage.cpp396 const ConstString mangled_name, std::set<ConstString> &alternates) { in FindAlternateFunctionManglings() argument
397 const auto start_size = alternates.size(); in FindAlternateFunctionManglings()
410 alternates.insert(ConstString(fixed_scratch)); in FindAlternateFunctionManglings()
418 alternates.insert(ConstString(fixed_scratch)); in FindAlternateFunctionManglings()
428 alternates.insert(char_fixup); in FindAlternateFunctionManglings()
433 alternates.insert(long_fixup); in FindAlternateFunctionManglings()
439 alternates.insert(ulong_fixup); in FindAlternateFunctionManglings()
443 alternates.insert(ctor_fixup); in FindAlternateFunctionManglings()
445 return alternates.size() - start_size; in FindAlternateFunctionManglings()
/external/rust/crates/regex-automata/src/
Ddeterminize.rs206 nfa::State::Union { ref alternates } => { in epsilon_closure()
207 id = match alternates.get(0) { in epsilon_closure()
211 self.stack.extend(alternates[1..].iter().rev()); in epsilon_closure()
/external/harfbuzz_ng/src/
Dhb-ot-layout-gsub-table.hh521 { return hb_any (alternates, glyphs); } in intersects()
524 { c->output->add_array (alternates.arrayZ, alternates.len); } in closure()
527 { c->output->add_array (alternates.arrayZ, alternates.len); } in collect_glyphs()
532 unsigned int count = alternates.len; in apply()
549 c->replace_glyph (alternates[alt_index - 1]); in apply()
560 return_trace (alternates.serialize (c, alts)); in serialize()
570 + hb_iter (alternates) in subset()
577 out->alternates); in subset()
583 return_trace (alternates.sanitize (c)); in sanitize()
588 alternates; /* Array of alternate GlyphIDs--in member
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DUnlocode.java368 Map<String, Boolean> alternates = nameToAlternate.get(name); in load() local
369 if (alternates != null) { in load()
370 for (String alt : alternates.keySet()) { in load()
376 alternates = nameToAlternate.get(name2); in load()
377 if (alternates != null) { in load()
378 for (String alt : alternates.keySet()) { in load()
DCldrUtility.java741 StringBuilder alternates = new StringBuilder(); in toRegex() local
747 alternates.append('|').append(escaper.transliterate(it.string)); in toRegex()
779 alternates.append('|').append(toRegex(lastToFirst.get(last), escaper, onlyBmp)) in toRegex()
788 return "(?:" + base + "|" + alternates.substring(1) + ")"; in toRegex()
790 return alternates.substring(1); in toRegex()
792 return "(?:" + alternates.substring(1) + ")"; in toRegex()
/external/llvm-project/lldb/source/Expression/
DIRExecutionUnit.cpp658 std::vector<ConstString> alternates; in FindBestAlternateMangledName() local
659 sym_file->GetMangledNamesForFunction(scope_qualified_name, alternates); in FindBestAlternateMangledName()
663 for (size_t i = 0; i < alternates.size(); i++) { in FindBestAlternateMangledName()
664 ConstString alternate_mangled_name = alternates[i]; in FindBestAlternateMangledName()
726 std::set<ConstString> alternates; in CollectCandidateCPlusPlusNames() local
727 CPlusPlusLanguage::FindAlternateFunctionManglings(name, alternates); in CollectCandidateCPlusPlusNames()
728 CPP_specs.insert(CPP_specs.end(), alternates.begin(), alternates.end()); in CollectCandidateCPlusPlusNames()
/external/cldr/tools/java/org/unicode/cldr/draft/
DIdentifierInfo.java293 public static String displayAlternates(Collection<BitSet> alternates) { in displayAlternates() argument
295 for (BitSet item : alternates) { in displayAlternates()
/external/python/cpython3/Lib/idlelib/
Dcolorizer.py11 def any(name, alternates): argument
13 return "(?P<%s>" % name + "|".join(alternates) + ")"
/external/python/cpython2/Lib/idlelib/
DColorDelegator.py10 def any(name, alternates): argument
12 return "(?P<%s>" % name + "|".join(alternates) + ")"
/external/fonttools/Tests/ttLib/tables/
DotTables_test.py317 self.assertEqual(table.alternates, {
329 table.alternates = {"G": ["G.alt2", "G.alt1"], "Z": ["Z.fina"]}
342 table.alternates = {"G": ["G.alt2", "G.alt1"], "Z": ["Z.fina"]}
365 self.assertEqual(table.alternates, {
/external/fonttools/Lib/fontTools/feaLib/
Dbuilder.py269 alternates = {g: set(a) for g, a in self.aalt_alternates_.items()}
287 alternates.setdefault(glyph, set()).update(alts)
289 glyph: list(repl)[0] for glyph, repl in alternates.items() if len(repl) == 1
295 for glyph, repl in alternates.items()
313 multi_lookup.alternates = multi
1160 if glyph in lookup.alternates:
1164 lookup.alternates[glyph] = replacement
/external/fonttools/Lib/fontTools/otlLib/
Dbuilder.py245 self.alternates = OrderedDict()
248 return LookupBuilder.equals(self, other) and self.alternates == other.alternates
258 self.alternates, buildAlternateSubstSubtable
263 return self.alternates
266 self.alternates[(self.SUBTABLE_BREAK_, location)] = self.SUBTABLE_BREAK_
1515 self.alternates = dict(mapping)
/external/perfetto/ui/src/controller/
Dadb.ts161 for (const alt of interface_.alternates) {
/external/fonttools/Lib/fontTools/subset/
D__init__.py472 s.glyphs.update(*(vlist for g,vlist in self.alternates.items()
477 self.alternates = {g:[v for v in vlist if v in s.glyphs]
478 for g,vlist in self.alternates.items()
481 return bool(self.alternates)

12