/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/include/mlir-hlo/Dialect/mhlo/transforms/ |
D | rewriters.h | 33 void populateGeneralDotOpLoweringPatterns(RewritePatternSet *patterns, 39 RewritePatternSet *patterns); 42 RewritePatternSet *patterns); 46 RewritePatternSet *patterns); 50 RewritePatternSet *patterns); 52 void populateMhloToStdPatterns(RewritePatternSet *patterns, MLIRContext *ctx); 58 RewritePatternSet *patterns); 63 RewritePatternSet *patterns); 66 void populateHloToArithmeticConversionPatterns(RewritePatternSet *patterns); 72 RewritePatternSet *patterns); [all …]
|
/external/cronet/base/substring_set_matcher/ |
D | substring_set_matcher_unittest.cc | 25 std::vector<MatcherStringPattern> patterns; in TestOnePattern() local 26 patterns.emplace_back(pattern, 1); in TestOnePattern() 28 ASSERT_TRUE(matcher.Build(patterns)); in TestOnePattern() 51 std::vector<const MatcherStringPattern*> patterns; in TestTwoPatterns() local 53 patterns.push_back(&substring_pattern_1); in TestTwoPatterns() 54 patterns.push_back(&substring_pattern_2); in TestTwoPatterns() 56 patterns.push_back(&substring_pattern_2); in TestTwoPatterns() 57 patterns.push_back(&substring_pattern_1); in TestTwoPatterns() 60 ASSERT_TRUE(matcher.Build(patterns)); in TestTwoPatterns() 141 std::vector<const MatcherStringPattern*> patterns = {&pattern_1, &pattern_2, in TEST() local [all …]
|
D | substring_set_matcher.cc | 34 const std::vector<MatcherStringPattern>& patterns) { in GetVectorOfPointers() argument 36 pattern_pointers.reserve(patterns.size()); in GetVectorOfPointers() 38 for (const MatcherStringPattern& pattern : patterns) in GetVectorOfPointers() 47 const std::vector<MatcherStringPattern>& patterns) { in Build() argument 48 return Build(GetVectorOfPointers(patterns)); in Build() 52 std::vector<const MatcherStringPattern*> patterns) { in Build() argument 58 for (const MatcherStringPattern* pattern : patterns) { in Build() 68 for (const MatcherStringPattern* pattern : patterns) { in Build() 75 std::sort(patterns.begin(), patterns.end(), ComparePatterns); in Build() 76 NodeID tree_size = GetTreeSize(patterns); in Build() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Transforms/ |
D | gpu_kernel_lowering_passes.cc | 54 RewritePatternSet& patterns) { in populateCommonPatterns() argument 55 arith::populateArithmeticToLLVMConversionPatterns(converter, patterns); in populateCommonPatterns() 56 populateMathToLLVMConversionPatterns(converter, patterns); in populateCommonPatterns() 57 populateMemRefToLLVMConversionPatterns(converter, patterns); in populateCommonPatterns() 58 populateFuncToLLVMConversionPatterns(converter, patterns); in populateCommonPatterns() 59 cf::populateControlFlowToLLVMConversionPatterns(converter, patterns); in populateCommonPatterns() 60 populateComplexToLLVMConversionPatterns(converter, patterns); in populateCommonPatterns() 64 RewritePatternSet patterns(&getContext()); in runOnOperation() local 67 populateCommonPatterns(converter, patterns); in runOnOperation() 68 populateGpuToNVVMConversionPatterns(converter, patterns); in runOnOperation() [all …]
|
D | generic_host_to_llvm.cc | 58 RewritePatternSet patterns(&getContext()); in runOnOperation() local 59 arith::populateArithmeticExpandOpsPatterns(patterns); in runOnOperation() 60 memref::populateExpandOpsPatterns(patterns); in runOnOperation() 61 arith::populateArithmeticToLLVMConversionPatterns(typeConverter, patterns); in runOnOperation() 62 populateMemRefToLLVMConversionPatterns(typeConverter, patterns); in runOnOperation() 63 populateMathToLLVMConversionPatterns(typeConverter, patterns); in runOnOperation() 64 populateFuncToLLVMConversionPatterns(typeConverter, patterns); in runOnOperation() 65 cf::populateControlFlowToLLVMConversionPatterns(typeConverter, patterns); in runOnOperation() 66 populateSCFToControlFlowConversionPatterns(patterns); in runOnOperation() 67 populateComplexToLLVMConversionPatterns(typeConverter, patterns); in runOnOperation() [all …]
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_xmllocale.cpp | 70 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/rust/crates/aho-corasick/src/packed/ |
D | api.rs | 232 patterns: Patterns, field 243 Builder { config, inert: false, patterns: Patterns::new() } in from_config() 248 if self.inert || self.patterns.is_empty() { in build() 251 let mut patterns = self.patterns.clone(); in build() localVariable 252 patterns.set_match_kind(self.config.kind); in build() 253 let rabinkarp = RabinKarp::new(&patterns); in build() 261 let teddy = match self.build_teddy(&patterns) { in build() 270 Some(Searcher { patterns, rabinkarp, search_kind, minimum_len }) in build() 273 fn build_teddy(&self, patterns: &Patterns) -> Option<Teddy> { in build_teddy() 277 .build(&patterns) in build_teddy() [all …]
|
D | rabinkarp.rs | 69 pub fn new(patterns: &Patterns) -> RabinKarp { in new() 70 assert!(patterns.len() >= 1); in new() 71 let hash_len = patterns.minimum_len(); in new() 83 max_pattern_id: patterns.max_pattern_id(), in new() 85 for (id, pat) in patterns.iter() { in new() 97 patterns: &Patterns, in find_at() 104 patterns.max_pattern_id(), in find_at() 116 if let Some(c) = self.verify(patterns, pid, haystack, at) { in find_at() 153 patterns: &Patterns, in verify() 158 let pat = patterns.get(id); in verify()
|
/external/llvm/test/TableGen/ |
D | Slice.td | 65 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/rust/crates/aho-corasick/src/packed/teddy/ |
D | compile.rs | 49 pub fn build(&self, patterns: &Patterns) -> Option<Teddy> { in build() 50 self.build_imp(patterns) in build() 75 fn build_imp(&self, patterns: &Patterns) -> Option<Teddy> { in build_imp() 86 if patterns.len() > 64 { in build_imp() 107 None => avx && patterns.len() > 32, in build_imp() 113 let mut compiler = Compiler::new(patterns, fat); in build_imp() 123 max_pattern_id: patterns.max_pattern_id(), in build_imp() 132 max_pattern_id: patterns.max_pattern_id(), in build_imp() 141 max_pattern_id: patterns.max_pattern_id(), in build_imp() 150 max_pattern_id: patterns.max_pattern_id(), in build_imp() [all …]
|
/external/cronet/third_party/icu/source/data/locales/ |
D | root.txt | 21 patterns{ 22 currencyFormat:alias{"/LOCALE/NumberElements/latn/patterns/currencyFormat"} 23 decimalFormat:alias{"/LOCALE/NumberElements/latn/patterns/decimalFormat"} 24 percentFormat:alias{"/LOCALE/NumberElements/latn/patterns/percentFormat"} 25 scientificFormat:alias{"/LOCALE/NumberElements/latn/patterns/scientificFormat"} 35 patterns{ 36 accountingFormat:alias{"/LOCALE/NumberElements/arab/patterns/currencyFormat"} 39 decimalFormat:alias{"/LOCALE/NumberElements/latn/patterns/decimalFormat"} 41 scientificFormat:alias{"/LOCALE/NumberElements/latn/patterns/scientificFormat"} 64 patterns{ [all …]
|
/external/icu/icu4c/source/data/locales/ |
D | root.txt | 21 patterns{ 22 currencyFormat:alias{"/LOCALE/NumberElements/latn/patterns/currencyFormat"} 23 decimalFormat:alias{"/LOCALE/NumberElements/latn/patterns/decimalFormat"} 24 percentFormat:alias{"/LOCALE/NumberElements/latn/patterns/percentFormat"} 25 scientificFormat:alias{"/LOCALE/NumberElements/latn/patterns/scientificFormat"} 35 patterns{ 36 accountingFormat:alias{"/LOCALE/NumberElements/arab/patterns/currencyFormat"} 39 decimalFormat:alias{"/LOCALE/NumberElements/latn/patterns/decimalFormat"} 41 scientificFormat:alias{"/LOCALE/NumberElements/latn/patterns/scientificFormat"} 64 patterns{ [all …]
|
/external/libtextclassifier/native/annotator/ |
D | zlib-utils_test.cc | 31 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() 73 compressed_model->regex_model()->patterns()->Get(0)->compressed_pattern(), in TEST() 77 compressed_model->regex_model()->patterns()->Get(1)->compressed_pattern(), in TEST() 81 ->patterns() in TEST() [all …]
|
/external/pdfium/fxbarcode/oned/ |
D | BC_OnedCode128Writer.cpp | 125 std::vector<int32_t> patterns; in Encode() local 128 checkSum = Encode128B(contents, &patterns); in Encode() 130 checkSum = Encode128C(contents, &patterns); in Encode() 133 patterns.push_back(checkSum); in Encode() 134 patterns.push_back(CODE_STOP); in Encode() 137 for (const auto& patternIndex : patterns) { in Encode() 144 for (const int32_t pattern_index : patterns) { in Encode() 153 std::vector<int32_t>* patterns) { in Encode128B() argument 155 patterns->push_back(CODE_START_B); in Encode128B() 159 patterns->push_back(patternIndex); in Encode128B() [all …]
|
D | BC_OnedCode128Writer_unittest.cpp | 16 int32_t patterns[7]; member 40 std::vector<int32_t> patterns; in TEST() local 42 CBC_OnedCode128Writer::Encode128B(test_case.input, &patterns); in TEST() 44 ASSERT_EQ(test_case.num_patterns, patterns.size()); in TEST() 45 for (size_t j = 0; j < patterns.size(); ++j) { in TEST() 48 EXPECT_EQ(test_case.patterns[j], patterns[j]); in TEST() 73 std::vector<int32_t> patterns; in TEST() local 75 CBC_OnedCode128Writer::Encode128C(test_case.input, &patterns); in TEST() 77 ASSERT_EQ(test_case.num_patterns, patterns.size()); in TEST() 78 for (size_t j = 0; j < patterns.size(); ++j) { in TEST() [all …]
|
/external/toolchain-utils/debug_info_test/ |
D | allowlist.py | 33 def prepare_allowlist(patterns): argument 42 return re.compile("|".join(patterns)) 60 patterns = f.read().splitlines() 61 patterns = [l for l in patterns if l != ""] 62 patterns = [l for l in patterns if l[0] != "#"] 63 wlist[key] = prepare_allowlist(patterns)
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | decompose_resource_ops_pass.cc | 89 Operation* op_with_regions, FrozenRewritePatternSet& patterns, in ApplyPatternsLocallyUntilConverged() argument 96 op_with_regions->walk([&patterns, &changed](Operation* operation) { in ApplyPatternsLocallyUntilConverged() 98 if (failed(applyOpPatternsAndFold(operation, patterns, &op_changed))) in ApplyPatternsLocallyUntilConverged() 114 ModuleOp module, FrozenRewritePatternSet& patterns, int max_iterations) { in ApplyPatternsInClusterAndReachableFunctions() argument 121 if (failed(applyPatternsAndFoldGreedily(op, patterns))) { in ApplyPatternsInClusterAndReachableFunctions() 140 if (failed(ApplyPatternsLocallyUntilConverged(cluster, patterns, in ApplyPatternsInClusterAndReachableFunctions() 157 RewritePatternSet patterns(&getContext()); in runOnOperation() local 158 TF::PopulateDecomposeResourceOpsPatterns(&getContext(), &patterns); in runOnOperation() 161 std::move(patterns)))) { in runOnOperation() 173 RewritePatternSet patterns(&getContext()); in runOnOperation() local [all …]
|
/external/python/cpython2/Lib/distutils/ |
D | filelist.py | 82 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/python/cpython3/Lib/distutils/ |
D | filelist.py | 80 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/python/setuptools/setuptools/_distutils/ |
D | filelist.py | 81 patterns = dir = dir_pattern = None 88 patterns = [convert_path(w) for w in words[1:]] 94 patterns = [convert_path(w) for w in words[2:]] 103 return (action, patterns, dir, dir_pattern) 111 (action, patterns, dir, dir_pattern) = self._parse_template_line(line) 117 self.debug_print("include " + ' '.join(patterns)) 118 for pattern in patterns: 124 self.debug_print("exclude " + ' '.join(patterns)) 125 for pattern in patterns: 131 self.debug_print("global-include " + ' '.join(patterns)) [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/tfrt/jit/transforms/ |
D | tf_jitrt_vectorize_tiled_ops.cc | 112 RewritePatternSet patterns(ctx); in getDefaultVectorizationPatterns() local 113 mlir::vector::populateVectorTransferPermutationMapLoweringPatterns(patterns); in getDefaultVectorizationPatterns() 114 mlir::vector::populateVectorReductionToContractPatterns(patterns); in getDefaultVectorizationPatterns() 115 patterns.add<mlir::linalg::LinalgCopyVTRForwardingPattern, in getDefaultVectorizationPatterns() 118 TransferReadOp::getCanonicalizationPatterns(patterns, ctx); in getDefaultVectorizationPatterns() 119 TransferWriteOp::getCanonicalizationPatterns(patterns, ctx); in getDefaultVectorizationPatterns() 120 return patterns; in getDefaultVectorizationPatterns() 149 RewritePatternSet patterns = getDefaultVectorizationPatterns(ctx); in runOnOperation() local 150 patterns.add<TransferReadOfOneDimExpandShape>(func.getContext()); in runOnOperation() 151 patterns.add<VectorizationPattern<FillOp>>(ctx, isFillTiledOrSmall); in runOnOperation() [all …]
|
D | tf_jitrt_fusion.cc | 130 RewritePatternSet patterns(op->getContext()); in runOnOperation() local 131 linalg::populateElementwiseOpsFusionPatterns(patterns, in runOnOperation() 134 linalg::populateFoldReshapeOpsByExpansionPatterns(patterns, in runOnOperation() 137 linalg::populateConstantFoldLinalgOperations(patterns, in runOnOperation() 140 mlir::AffineApplyOp::getCanonicalizationPatterns(patterns, context); in runOnOperation() 141 linalg::GenericOp::getCanonicalizationPatterns(patterns, context); in runOnOperation() 142 tensor::ExpandShapeOp::getCanonicalizationPatterns(patterns, context); in runOnOperation() 143 tensor::CollapseShapeOp::getCanonicalizationPatterns(patterns, context); in runOnOperation() 145 ->getCanonicalizationPatterns(patterns); in runOnOperation() 149 (void)applyPatternsAndFoldGreedily(op->getRegions(), std::move(patterns), in runOnOperation()
|
/external/tensorflow/tensorflow/compiler/mlir/tfrt/transforms/lhlo_gpu_to_tfrt_gpu/ |
D | gpu_passes.cc | 72 RewritePatternSet patterns(context); in runOnFunction() local 73 populateCclConversionPattern(patterns); in runOnFunction() 74 populateGemmConversionPattern(patterns); in runOnFunction() 75 populateFuncOpTypeConversionPattern(patterns, converter); in runOnFunction() 80 tfrt::gpu::populateGpuAsyncConversionPatterns(patterns, converter, in runOnFunction() 84 std::move(patterns)))) in runOnFunction() 99 RewritePatternSet patterns(context); in runOnFunction() local 100 tfrt::gpu::populateTfrtConversionPatterns(patterns, target); in runOnFunction() 103 std::move(patterns)))) in runOnFunction()
|
/external/hyphenation-patterns/en-US/ |
D | hyph-en-us.lic.txt | 1 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/hyphenation-patterns/ |
D | README.android | 6 The tex-hyphen package contains hyphenation patterns under several different licenses. 16 Hyphenation patterns for automatic hyphenation from TeX hyphenation patterns 26 The patterns are taken from the hyph-utf8/tex/generic/hyph-utf8/patterns/txt directory. 28 Only the following patterns are included from that directory: 75 In case hyphenation patterns are licensed under dual licenses, 79 For the German (de) patterns, the *.chr.txt has been automatically generated 83 British English (en-GB) patterns are taken from a different part of the 87 US English (en-US) patterns have been modified to remove patterns added to 95 Swedish (sv) patterns are converted to utf-8 and the first three
|