/external/libtextclassifier/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() 50 EXPECT_TRUE(model.regex_model->patterns[0]->pattern.empty()); in TEST() 51 EXPECT_TRUE(model.regex_model->patterns[1]->pattern.empty()); in TEST() 52 EXPECT_TRUE(model.datetime_model->patterns[0]->regexes[0]->pattern.empty()); in TEST() [all …]
|
D | zlib-utils.cc | 38 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/swiftshader/third_party/LLVM/test/TableGen/ |
D | Slice.td | 66 multiclass scalar<bits<8> opcode, string asmstr = "", list<list<dag>> patterns = []> { 69 !if(!empty(patterns),[]<dag>,patterns[0])>; 72 … !if(!empty(patterns),[]<dag>,!if(!empty(!tail(patterns)),patterns[0],patterns[1]))>; 75 multiclass vscalar<bits<8> opcode, string asmstr = "", list<list<dag>> patterns = []> { 78 !if(!empty(patterns),[]<dag>,patterns[0])>; 81 … !if(!empty(patterns),[]<dag>,!if(!empty(!tail(patterns)),patterns[0],patterns[1]))>; 84 multiclass myscalar<bits<8> opcode, string asmstr = "", list<list<dag>> patterns = []> : 85 scalar<opcode, asmstr, patterns>, 86 vscalar<opcode, asmstr, patterns>;
|
D | MultiPat.td | 90 class MakePat<list<dag> patterns> : Pat<patterns[0], patterns[1]>; 93 list<list<dag>> patterns> 95 !foreach(Decls.pattern, patterns[0], 100 MakePat<!foreach(Decls.pattern, patterns[1], 106 multiclass arith<bits<8> opcode, string asmstr, string intr, list<list<dag>> patterns> { 108 …concat(asmstr, "\t$dst, $src1, $src2"), !cast<Intrinsic>(!subst("SUFFIX", "_ps", intr)), patterns>; 111 …concat(asmstr, "\t$dst, $src1, $src2"), !cast<Intrinsic>(!subst("SUFFIX", "_pd", intr)), patterns>;
|
/external/swiftshader/third_party/llvm-7.0/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>;
|
D | MultiPat.td | 82 class MakePat<list<dag> patterns> : Pat<patterns[0], patterns[1]>; 85 list<list<dag>> patterns> 87 !foreach(pattern, patterns[0], 92 MakePat<!foreach(pattern, patterns[1], 98 multiclass arith<bits<8> opcode, string asmstr, string intr, list<list<dag>> patterns> { 100 …concat(asmstr, "\t$dst, $src1, $src2"), !cast<Intrinsic>(!subst("SUFFIX", "_ps", intr)), patterns>; 103 …concat(asmstr, "\t$dst, $src1, $src2"), !cast<Intrinsic>(!subst("SUFFIX", "_pd", intr)), patterns>;
|
/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/pdfium/fxbarcode/oned/ |
D | BC_OnedCode128Writer.cpp | 140 std::vector<int32_t> patterns; in EncodeImpl() local 143 checkSum = Encode128B(contents, &patterns); in EncodeImpl() 145 checkSum = Encode128C(contents, &patterns); in EncodeImpl() 148 patterns.push_back(checkSum); in EncodeImpl() 149 patterns.push_back(CODE_STOP); in EncodeImpl() 152 for (const auto& patternIndex : patterns) { in EncodeImpl() 160 for (size_t i = 0; i < patterns.size(); ++i) { in EncodeImpl() 161 const int8_t* pattern = CODE_PATTERNS[patterns[i]]; in EncodeImpl() 172 std::vector<int32_t>* patterns) { in Encode128B() argument 174 patterns->push_back(CODE_START_B); in Encode128B() [all …]
|
D | BC_OnedCode128Writer_unittest.cpp | 13 int32_t patterns[7]; member 37 std::vector<int32_t> patterns; in TEST() local 39 CBC_OnedCode128Writer::Encode128B(test_case.input, &patterns); in TEST() 41 ASSERT_EQ(test_case.num_patterns, patterns.size()); in TEST() 42 for (size_t j = 0; j < patterns.size(); ++j) { in TEST() 45 EXPECT_EQ(test_case.patterns[j], patterns[j]); in TEST() 70 std::vector<int32_t> patterns; in TEST() local 72 CBC_OnedCode128Writer::Encode128C(test_case.input, &patterns); in TEST() 74 ASSERT_EQ(test_case.num_patterns, patterns.size()); in TEST() 75 for (size_t j = 0; j < patterns.size(); ++j) { in TEST() [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/toolchain-utils/debug_info_test/ |
D | whitelist.py | 26 def prepare_whitelist(patterns): argument 34 return re.compile('|'.join(patterns)) 50 patterns = f.read().splitlines() 51 patterns = [l for l in patterns if l != ''] 52 patterns = [l for l in patterns if l[0] != '#'] 53 wlist[key] = prepare_whitelist(patterns)
|
/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/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/openssh/ |
D | auth-options.c | 281 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/hyphenation-patterns/ |
D | README.android | 7 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/python/cpython3/PC/layout/support/ |
D | filesets.py | 12 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/jarjar/src/main/com/tonicsystems/jarjar/ |
D | JarJarTask.java | 27 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/autotest/client/deps/fakemodem/src/ |
D | fakemodem.c | 35 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/ |
D | hyph-nb.lic.txt | 1 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/ |
D | hyph-nn.lic.txt | 1 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/ |
D | bootcount_ram.c | 12 const ulong patterns[] = { 0x00000000, variable 17 const ulong NBR_OF_PATTERNS = sizeof(patterns) / sizeof(*patterns); 34 writel(patterns[i % NBR_OF_PATTERNS], in bootcount_store() 59 if (tmp != patterns[i % NBR_OF_PATTERNS]) in bootcount_load()
|
/external/u-boot/test/py/ |
D | u_boot_spawn.py | 118 def expect(self, patterns): argument 137 for pi in xrange(len(patterns)): 138 if type(patterns[pi]) == type(''): 139 patterns[pi] = re.compile(patterns[pi]) 146 for pi in xrange(len(patterns)): 147 pattern = patterns[pi]
|
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
D | UnionPattern.java | 21 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/python/cpython3/Doc/distutils/ |
D | commandref.rst | 64 | | patterns | 67 | | patterns | 70 | ...` | the listed patterns | 73 | ...` | the listed patterns | 76 | | matching --- & any of the listed patterns | 79 | | matching --- & any of the listed patterns | 86 The patterns here are Unix-style "glob" patterns: ``*`` matches any sequence of
|
/external/libxml2/test/relaxng/ |
D | tutorA.rng | 19 <ref name="open-patterns"/> 38 <ref name="open-patterns"/> 42 <ref name="open-patterns"/> 46 <ref name="open-patterns"/> 50 <ref name="open-patterns"/> 54 <ref name="open-patterns"/> 58 <ref name="open-patterns"/> 62 <ref name="open-patterns"/> 66 <ref name="open-patterns"/> 119 <ref name="open-patterns"/> [all …]
|