/external/libtextclassifier/ |
D | zlib-utils_test.cc | 30 model.regex_model->patterns.emplace_back(new RegexModel_::PatternT); in TEST() 31 model.regex_model->patterns.back()->pattern = "this is a test pattern"; in TEST() 32 model.regex_model->patterns.emplace_back(new RegexModel_::PatternT); in TEST() 33 model.regex_model->patterns.back()->pattern = "this is a second test pattern"; in TEST() 36 model.datetime_model->patterns.emplace_back(new DatetimeModelPatternT); in TEST() 37 model.datetime_model->patterns.back()->regexes.emplace_back( in TEST() 39 model.datetime_model->patterns.back()->regexes.back()->pattern = in TEST() 49 EXPECT_TRUE(model.regex_model->patterns[0]->pattern.empty()); in TEST() 50 EXPECT_TRUE(model.regex_model->patterns[1]->pattern.empty()); in TEST() 51 EXPECT_TRUE(model.datetime_model->patterns[0]->regexes[0]->pattern.empty()); in TEST() [all …]
|
/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/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 | 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/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/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/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/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()
|
D | JarJarMojo.java | 39 List<PatternElement> patterns; in execute() local 41 patterns = RulesFileParser.parse(rules); in execute() 43 patterns = RulesFileParser.parse(rulesFile); in execute() 46 MainProcessor proc = new MainProcessor(patterns, verbose, true); in execute()
|
/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/autotest/client/tests/sound_infrastructure/ |
D | sound_infrastructure.py | 47 patterns = {'^controlC(\d+)': False} 49 patterns['^pcmC(\d+)D(\d+)p$'] = False 51 patterns['^pcmC(\d+)D(\d+)c$'] = False 56 for pattern in patterns: 58 patterns[pattern] = True 61 for pattern in patterns: 62 if not patterns[pattern]:
|
/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/libtextclassifier/datetime/ |
D | parser_test.cc | 380 std::vector<std::unique_ptr<DatetimeModelPatternT>>* patterns) { in AddPattern() argument 381 patterns->emplace_back(new DatetimeModelPatternT); in AddPattern() 382 patterns->back()->regexes.emplace_back(new DatetimeModelPattern_::RegexT); in AddPattern() 383 patterns->back()->regexes.back()->pattern = regex; in AddPattern() 384 patterns->back()->regexes.back()->groups.push_back( in AddPattern() 386 patterns->back()->locales.push_back(locale); in AddPattern() 402 AddPattern(/*regex=*/"en-US", /*locale=*/0, &model.patterns); in SetUp() 403 AddPattern(/*regex=*/"en-CH", /*locale=*/1, &model.patterns); in SetUp() 404 AddPattern(/*regex=*/"zh-Hant", /*locale=*/2, &model.patterns); in SetUp() 405 AddPattern(/*regex=*/"en-all", /*locale=*/3, &model.patterns); in SetUp() [all …]
|
/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 …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | CompactData.java | 32 private final String[] patterns; field in CompactData 40 patterns = new String[(CompactData.COMPACT_MAX_DIGITS + 1) * StandardPlural.COUNT]; in CompactData() 94 patterns[getIndex(magnitude, plural)] = patternString; in populate() 126 String patternString = patterns[getIndex(magnitude, plural)]; in getPattern() 129 patternString = patterns[getIndex(magnitude, StandardPlural.OTHER)]; in getPattern() 142 output.addAll(Arrays.asList(patterns)); in getUniquePatterns() 174 if (data.patterns[getIndex(magnitude, plural)] != null) { in put() 186 data.patterns[getIndex(magnitude, plural)] = patternString; in put()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | CompactData.java | 28 private final String[] patterns; field in CompactData 36 patterns = new String[(CompactData.COMPACT_MAX_DIGITS + 1) * StandardPlural.COUNT]; in CompactData() 90 patterns[getIndex(magnitude, plural)] = patternString; in populate() 122 String patternString = patterns[getIndex(magnitude, plural)]; in getPattern() 125 patternString = patterns[getIndex(magnitude, StandardPlural.OTHER)]; in getPattern() 138 output.addAll(Arrays.asList(patterns)); in getUniquePatterns() 170 if (data.patterns[getIndex(magnitude, plural)] != null) { in put() 182 data.patterns[getIndex(magnitude, plural)] = patternString; in put()
|
/external/iw/ |
D | wowlan.c | 205 struct nl_msg *patterns = NULL; in handle_wowlan_enable() local 249 patterns = nlmsg_alloc(); in handle_wowlan_enable() 250 if (!patterns) { in handle_wowlan_enable() 290 pattern = nla_nest_start(patterns, ++patnum); in handle_wowlan_enable() 291 NLA_PUT(patterns, NL80211_PKTPAT_MASK, in handle_wowlan_enable() 293 NLA_PUT(patterns, NL80211_PKTPAT_PATTERN, patlen, pat); in handle_wowlan_enable() 294 NLA_PUT_U32(patterns, NL80211_PKTPAT_OFFSET, in handle_wowlan_enable() 296 nla_nest_end(patterns, pattern); in handle_wowlan_enable() 305 if (patterns) in handle_wowlan_enable() 307 patterns); in handle_wowlan_enable() [all …]
|
/external/valgrind/ |
D | glibc-2.X-drd.supp | 2 # Suppression patterns for ld, the dynamic loader. 13 # Suppression patterns for libc. 40 # Suppression patterns for libstdc++, the implementation of the standard C++ 64 # Suppression patterns for libpthread. 152 # Suppression patterns for libgomp. 165 # Suppression patterns for libX11. 180 # Suppression patterns for libxcb. 192 # Suppression patterns for libglib. 240 # Suppression patterns for libQtCore. 286 # Suppression patterns for libboost.
|