Home
last modified time | relevance | path

Searched refs:patterns (Results 1 – 25 of 1221) sorted by relevance

12345678910>>...49

/external/pdfium/xfa/fxfa/parser/
Dcxfa_xmllocale.cpp70 CFX_XMLElement* patterns = locale_->GetFirstChildNamed(kNumberSymbols); in GetDecimalSymbol() local
71 return patterns ? GetPattern(patterns, kNumberSymbol, L"decimal") in GetDecimalSymbol()
76 CFX_XMLElement* patterns = locale_->GetFirstChildNamed(kNumberSymbols); in GetGroupingSymbol() local
77 return patterns ? GetPattern(patterns, kNumberSymbol, L"grouping") in GetGroupingSymbol()
82 CFX_XMLElement* patterns = locale_->GetFirstChildNamed(kNumberSymbols); in GetPercentSymbol() local
83 return patterns ? GetPattern(patterns, kNumberSymbol, L"percent") in GetPercentSymbol()
88 CFX_XMLElement* patterns = locale_->GetFirstChildNamed(kNumberSymbols); in GetMinusSymbol() local
89 return patterns ? GetPattern(patterns, kNumberSymbol, L"minus") in GetMinusSymbol()
94 CFX_XMLElement* patterns = locale_->GetFirstChildNamed(kCurrencySymbols); in GetCurrencySymbol() local
95 return patterns ? GetPattern(patterns, kCurrencySymbol, L"symbol") in GetCurrencySymbol()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/TableGen/
DSlice.td65 multiclass scalar<bits<8> opcode, string asmstr = "", list<list<dag>> patterns = []> {
68 !if(!empty(patterns),[]<dag>,patterns[0])>;
71 … !if(!empty(patterns),[]<dag>,!if(!empty(!tail(patterns)),patterns[0],patterns[1]))>;
74 multiclass vscalar<bits<8> opcode, string asmstr = "", list<list<dag>> patterns = []> {
77 !if(!empty(patterns),[]<dag>,patterns[0])>;
80 … !if(!empty(patterns),[]<dag>,!if(!empty(!tail(patterns)),patterns[0],patterns[1]))>;
83 multiclass myscalar<bits<8> opcode, string asmstr = "", list<list<dag>> patterns = []> :
84 scalar<opcode, asmstr, patterns>,
85 vscalar<opcode, asmstr, patterns>;
/external/llvm/test/TableGen/
DSlice.td65 multiclass scalar<bits<8> opcode, string asmstr = "", list<list<dag>> patterns = []> {
68 !if(!empty(patterns),[]<dag>,patterns[0])>;
71 … !if(!empty(patterns),[]<dag>,!if(!empty(!tail(patterns)),patterns[0],patterns[1]))>;
74 multiclass vscalar<bits<8> opcode, string asmstr = "", list<list<dag>> patterns = []> {
77 !if(!empty(patterns),[]<dag>,patterns[0])>;
80 … !if(!empty(patterns),[]<dag>,!if(!empty(!tail(patterns)),patterns[0],patterns[1]))>;
83 multiclass myscalar<bits<8> opcode, string asmstr = "", list<list<dag>> patterns = []> :
84 scalar<opcode, asmstr, patterns>,
85 vscalar<opcode, asmstr, patterns>;
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dmaterialize_broadcasts.cc195 OwningRewritePatternList *patterns) { in PopulateMaterializeBroadcastsPatterns() argument
197 patterns->insert<BinaryOpWithBroadcastConvert<AddOp>>(context); in PopulateMaterializeBroadcastsPatterns()
198 patterns->insert<BinaryOpWithBroadcastConvert<Atan2Op>>(context); in PopulateMaterializeBroadcastsPatterns()
199 patterns->insert<BinaryOpWithBroadcastConvert<DivOp>>(context); in PopulateMaterializeBroadcastsPatterns()
200 patterns->insert<BinaryOpWithBroadcastConvert<MaxOp>>(context); in PopulateMaterializeBroadcastsPatterns()
201 patterns->insert<BinaryOpWithBroadcastConvert<MinOp>>(context); in PopulateMaterializeBroadcastsPatterns()
202 patterns->insert<BinaryOpWithBroadcastConvert<MulOp>>(context); in PopulateMaterializeBroadcastsPatterns()
203 patterns->insert<BinaryOpWithBroadcastConvert<PowOp>>(context); in PopulateMaterializeBroadcastsPatterns()
204 patterns->insert<BinaryOpWithBroadcastConvert<RemOp>>(context); in PopulateMaterializeBroadcastsPatterns()
205 patterns->insert<BinaryOpWithBroadcastConvert<ShiftLeftOp>>(context); in PopulateMaterializeBroadcastsPatterns()
[all …]
Drewriters.h29 void PopulateGeneralDotOpLoweringPatterns(OwningRewritePatternList *patterns,
35 OwningRewritePatternList *patterns);
37 void PopulateXlaToStdPatterns(OwningRewritePatternList *patterns,
42 OwningRewritePatternList *patterns);
51 OwningRewritePatternList *patterns);
57 OwningRewritePatternList *patterns);
Dlower_complex.cc61 OwningRewritePatternList* patterns) { in PopulateComplexLoweringPatterns() argument
62 populateWithGenerated(context, patterns); in PopulateComplexLoweringPatterns()
70 OwningRewritePatternList patterns; in runOnFunction() local
71 mlir::xla::PopulateComplexLoweringPatterns(&getContext(), &patterns); in runOnFunction()
73 applyPatternsGreedily(getFunction(), patterns); in runOnFunction()
/external/pdfium/fxbarcode/oned/
DBC_OnedCode128Writer.cpp137 std::vector<int32_t> patterns; in EncodeImpl() local
140 checkSum = Encode128B(contents, &patterns); in EncodeImpl()
142 checkSum = Encode128C(contents, &patterns); in EncodeImpl()
145 patterns.push_back(checkSum); in EncodeImpl()
146 patterns.push_back(CODE_STOP); in EncodeImpl()
149 for (const auto& patternIndex : patterns) { in EncodeImpl()
157 for (size_t i = 0; i < patterns.size(); ++i) { in EncodeImpl()
158 const int8_t* pattern = CODE_PATTERNS[patterns[i]]; in EncodeImpl()
166 std::vector<int32_t>* patterns) { in Encode128B() argument
168 patterns->push_back(CODE_START_B); in Encode128B()
[all …]
DBC_OnedCode128Writer_unittest.cpp14 int32_t patterns[7]; member
38 std::vector<int32_t> patterns; in TEST() local
40 CBC_OnedCode128Writer::Encode128B(test_case.input, &patterns); in TEST()
42 ASSERT_EQ(test_case.num_patterns, patterns.size()); in TEST()
43 for (size_t j = 0; j < patterns.size(); ++j) { in TEST()
46 EXPECT_EQ(test_case.patterns[j], patterns[j]); in TEST()
71 std::vector<int32_t> patterns; in TEST() local
73 CBC_OnedCode128Writer::Encode128C(test_case.input, &patterns); in TEST()
75 ASSERT_EQ(test_case.num_patterns, patterns.size()); in TEST()
76 for (size_t j = 0; j < patterns.size(); ++j) { in TEST()
[all …]
/external/toolchain-utils/debug_info_test/
Dwhitelist.py34 def prepare_whitelist(patterns): argument
43 return re.compile('|'.join(patterns))
61 patterns = f.read().splitlines()
62 patterns = [l for l in patterns if l != '']
63 patterns = [l for l in patterns if l[0] != '#']
64 wlist[key] = prepare_whitelist(patterns)
/external/libtextclassifier/native/annotator/
Dzlib-utils_test.cc31 model.regex_model->patterns.emplace_back(new RegexModel_::PatternT); in TEST()
32 model.regex_model->patterns.back()->pattern = "this is a test pattern"; in TEST()
33 model.regex_model->patterns.emplace_back(new RegexModel_::PatternT); in TEST()
34 model.regex_model->patterns.back()->pattern = "this is a second test pattern"; in TEST()
37 model.datetime_model->patterns.emplace_back(new DatetimeModelPatternT); in TEST()
38 model.datetime_model->patterns.back()->regexes.emplace_back( in TEST()
40 model.datetime_model->patterns.back()->regexes.back()->pattern = in TEST()
81 EXPECT_TRUE(model.regex_model->patterns[0]->pattern.empty()); in TEST()
82 EXPECT_TRUE(model.regex_model->patterns[1]->pattern.empty()); in TEST()
83 EXPECT_TRUE(model.datetime_model->patterns[0]->regexes[0]->pattern.empty()); in TEST()
[all …]
Dzlib-utils.cc38 for (int i = 0; i < model->regex_model->patterns.size(); i++) { in CompressModel()
39 RegexModel_::PatternT* pattern = model->regex_model->patterns[i].get(); in CompressModel()
49 for (int i = 0; i < model->datetime_model->patterns.size(); i++) { in CompressModel()
50 DatetimeModelPatternT* pattern = model->datetime_model->patterns[i].get(); in CompressModel()
92 for (int i = 0; i < model->regex_model->patterns.size(); i++) { in DecompressModel()
93 RegexModel_::PatternT* pattern = model->regex_model->patterns[i].get(); in DecompressModel()
105 for (int i = 0; i < model->datetime_model->patterns.size(); i++) { in DecompressModel()
106 DatetimeModelPatternT* pattern = model->datetime_model->patterns[i].get(); in DecompressModel()
/external/python/cpython2/Lib/distutils/
Dfilelist.py82 patterns = dir = dir_pattern = None
90 patterns = map(convert_path, words[1:])
98 patterns = map(convert_path, words[2:])
110 return (action, patterns, dir, dir_pattern)
118 action, patterns, dir, dir_pattern = self._parse_template_line(line)
124 self.debug_print("include " + ' '.join(patterns))
125 for pattern in patterns:
131 self.debug_print("exclude " + ' '.join(patterns))
132 for pattern in patterns:
138 self.debug_print("global-include " + ' '.join(patterns))
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dcanonicalize.td31 // Add op patterns.
38 // AddV2 op patterns.
48 // BatchMatMul op patterns.
56 // BatchMatMulV2 op patterns.
65 // Bitcast op patterns.
76 // Conj op patterns.
82 // Div op patterns.
90 // Invert op patterns.
97 // Log op patterns.
103 // LogicalNot op patterns.
[all …]
/external/python/cpython3/Lib/distutils/
Dfilelist.py80 patterns = dir = dir_pattern = None
87 patterns = [convert_path(w) for w in words[1:]]
93 patterns = [convert_path(w) for w in words[2:]]
102 return (action, patterns, dir, dir_pattern)
110 (action, patterns, dir, dir_pattern) = self._parse_template_line(line)
116 self.debug_print("include " + ' '.join(patterns))
117 for pattern in patterns:
123 self.debug_print("exclude " + ' '.join(patterns))
124 for pattern in patterns:
130 self.debug_print("global-include " + ' '.join(patterns))
[all …]
/external/hyphenation-patterns/en-US/
Dhyph-en-us.lic.txt1 Hyphenation patterns for American English
6 % for consistency with other files with hyphenation patterns in hyph-utf8 package.
9 % ushyphmax.tex -- patterns for more hyphenation pattern memory (12000+).
23 % These patterns are based on the Hyphenation Exception Log
26 % If added to Liang's before the closing bracket } of \patterns,
27 % the patterns run errorfree as far as known at this moment.
29 % These patterns find all admissible hyphens of the words in
35 % only the additional patterns, without the \patterns command, etc.
38 % ushyphmax.tex now contains both the additional patterns from
39 % Dr. Kuiken, and the original patterns and hyphenations from Knuth's
/external/jarjar/src/main/com/tonicsystems/jarjar/
DJarJarTask.java27 private List<PatternElement> patterns = new ArrayList<PatternElement>(); field in JarJarTask
32 patterns.add(rule); in addConfiguredRule()
38 patterns.add(zap); in addConfiguredZap()
44 patterns.add(keep); in addConfiguredKeep()
48 MainProcessor proc = new MainProcessor(patterns, verbose, false); in execute()
59 patterns.clear(); in cleanHelper()
/external/openssh/
Dauth-options.c281 char *patterns = xmalloc(strlen(opts) + 1); in auth_parse_options() local
290 patterns[i++] = '"'; in auth_parse_options()
293 patterns[i++] = *opts++; in auth_parse_options()
300 free(patterns); in auth_parse_options()
303 patterns[i] = '\0'; in auth_parse_options()
306 patterns)) { in auth_parse_options()
308 free(patterns); in auth_parse_options()
318 free(patterns); in auth_parse_options()
335 char *patterns = xmalloc(strlen(opts) + 1); in auth_parse_options() local
344 patterns[i++] = '"'; in auth_parse_options()
[all …]
/external/python/cpython3/PC/layout/support/
Dfilesets.py12 def __init__(self, *patterns): argument
16 for p in map(os.path.normcase, patterns):
42 def __init__(self, *patterns): argument
46 for p in map(os.path.normcase, patterns):
95 def rglob(root, patterns, condition=None): argument
96 if isinstance(patterns, tuple):
97 for p in patterns:
100 yield from _rglob(root, patterns, condition or _return_true)
/external/hyphenation-patterns/
DREADME.android7 Hyphenation patterns for automatic hyphenation from TeX hyphenation patterns
11 The patterns are taken from the hyph-utf8/tex/generic/hyph-utf8/patterns/txt directory.
13 Only the following patterns are included from that directory:
54 In case hyphenation patterns are licensed under dual licenses,
58 For the German (de) patterns, the *.chr.txt has been automatically generated
62 British English (en-GB) patterns are taken from a different part of the
66 US English (en-US) patterns have been modified to remove patterns added to
/external/autotest/client/deps/fakemodem/src/
Dfakemodem.c35 GPtrArray *patterns; member
56 self->patterns = NULL; in G_DEFINE_TYPE()
81 GPtrArray *patterns; in parse_pattern_files() local
84 patterns = g_ptr_array_new(); in parse_pattern_files()
152 g_ptr_array_add (patterns, pat); in parse_pattern_files()
168 return patterns; in parse_pattern_files()
256 fakemodem->patterns = parse_pattern_files (pattern_files, &err); in main()
257 if (fakemodem->patterns == NULL) { in main()
263 fakemodem->patterns = g_ptr_array_sized_new (0); in main()
485 for (i = 0 ; i < fakemodem->patterns->len; i++) { in handle_cmd()
[all …]
/external/hyphenation-patterns/nb/
Dhyph-nb.lic.txt1 Norwegian Bokmal hyphenation patterns
8 % TeX hyphenation patterns for Norwegian Bokmal
17 % This file contains hyphenation patterns for Norwegian Bokmal.
18 % It uses the Norwegian hyphenation patterns from nohyphbx.tex,
20 % that file for copyright information on those patterns.
22 % The patterns in nohyphbx are based on both Norwegian Bokmal
/external/hyphenation-patterns/nn/
Dhyph-nn.lic.txt1 Norwegian Nynorsk hyphenation patterns
8 % TeX hyphenation patterns for Norwegian Nynorsk
17 % This file contains hyphenation patterns for Norwegian Nynorsk.
18 % It uses the Norwegian hyphenation patterns from nohyphbx.tex,
20 % that file for copyright information on those patterns.
22 % The patterns in nohyphbx are based on both Norwegian Bokmal
/external/u-boot/drivers/bootcount/
Dbootcount_ram.c13 const ulong patterns[] = { 0x00000000, variable
18 const ulong NBR_OF_PATTERNS = sizeof(patterns) / sizeof(*patterns);
35 writel(patterns[i % NBR_OF_PATTERNS], in bootcount_store()
60 if (tmp != patterns[i % NBR_OF_PATTERNS]) in bootcount_load()
/external/apache-xml/src/main/java/org/apache/xpath/patterns/
DUnionPattern.java21 package org.apache.xpath.patterns;
80 public void setPatterns(StepPattern[] patterns) in setPatterns() argument
82 m_patterns = patterns; in setPatterns()
83 if(null != patterns) in setPatterns()
85 for(int i = 0; i < patterns.length; i++) in setPatterns()
87 patterns[i].exprSetParent(this); in setPatterns()
/external/u-boot/test/py/
Du_boot_spawn.py115 def expect(self, patterns): argument
134 for pi in range(len(patterns)):
135 if type(patterns[pi]) == type(''):
136 patterns[pi] = re.compile(patterns[pi])
143 for pi in range(len(patterns)):
144 pattern = patterns[pi]

12345678910>>...49