/external/libnl/lib/route/ |
D | rule.c | 55 struct rtnl_rule *rule = nl_object_priv(c); in rule_free_data() local 57 if (!rule) in rule_free_data() 60 nl_addr_put(rule->r_src); in rule_free_data() 61 nl_addr_put(rule->r_dst); in rule_free_data() 101 struct rtnl_rule *rule; in rule_msg_parser() local 106 rule = rtnl_rule_alloc(); in rule_msg_parser() 107 if (!rule) { in rule_msg_parser() 112 rule->ce_msgtype = n->nlmsg_type; in rule_msg_parser() 119 rule->r_family = family = frh->family; in rule_msg_parser() 120 rule->r_table = frh->table; in rule_msg_parser() [all …]
|
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/src/ |
D | style-properties.js | 49 StyleUtil.forEachRule(rules, function(rule) { argument 50 self.decorateRule(rule); 52 rule.index = ruleIndex++; 53 self.collectPropertiesInCssText(rule.propertyInfo.cssText, props); 54 }, function onKeyframesRule(rule) { argument 55 keyframes.push(rule); 68 decorateRule(rule) { argument 69 if (rule.propertyInfo) { 70 return rule.propertyInfo; 73 let hasProperties = this.collectProperties(rule, properties); [all …]
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | StateMachineBuilder.java | 102 for (String rule : rules.split("[\n]")) { in add() 103 rule = rule.trim(); in add() 105 int commentPos = rule.indexOf('#'); in add() 106 if (commentPos >= 0 && !rule.startsWith("'#")) { in add() 107 rule = rule.substring(0, commentPos).trim(); in add() 109 if (rule.length() == 0) { in add() 113 if (rule.endsWith(":")) { in add() 117 String stateString = scanForVariable(rule, parsePosition); in add() 118 scanOver(rule, WHITESPACE, parsePosition); in add() 119 checkAndSkip(rule, ":", "Malformed state label: "); in add() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | zrule.cpp | 33 zrule_close(ZRule* rule) { in zrule_close() argument 34 delete (TimeZoneRule*)rule; in zrule_close() 43 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength) { in zrule_getName() argument 45 s = ((TimeZoneRule*)rule)->TimeZoneRule::getName(s); in zrule_getName() 52 zrule_getRawOffset(ZRule* rule) { in zrule_getRawOffset() argument 53 return ((TimeZoneRule*)rule)->TimeZoneRule::getRawOffset(); in zrule_getRawOffset() 57 zrule_getDSTSavings(ZRule* rule) { in zrule_getDSTSavings() argument 58 return ((TimeZoneRule*)rule)->TimeZoneRule::getDSTSavings(); in zrule_getDSTSavings() 77 izrule_close(IZRule* rule) { in izrule_close() argument 78 delete (InitialTimeZoneRule*)rule; in izrule_close() [all …]
|
D | rbt_pars.cpp | 305 int32_t parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status); 307 int32_t parseSection(const UnicodeString& rule, int32_t pos, int32_t limit, 331 const UnicodeString& rule, in syntaxError() argument 334 return parser.syntaxError(code, rule, start, status); in syntaxError() 364 int32_t RuleHalf::parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) { in parse() argument 367 pos = parseSection(rule, pos, limit, text, UnicodeString(TRUE, ILLEGAL_TOP, -1), FALSE, status); in parse() 370 return syntaxError(U_MISPLACED_CURSOR_OFFSET, rule, start, status); in parse() 399 int32_t RuleHalf::parseSection(const UnicodeString& rule, int32_t pos, int32_t limit, in parseSection() argument 416 UChar c = rule.charAt(pos++); in parseSection() 426 return syntaxError(U_UNCLOSED_SEGMENT, rule, start, status); in parseSection() [all …]
|
D | zrule.h | 58 zrule_close(ZRule* rule); 77 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength); 85 zrule_getRawOffset(ZRule* rule); 94 zrule_getDSTSavings(ZRule* rule); 129 izrule_close(IZRule* rule); 137 izrule_clone(IZRule *rule); 156 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength); 164 izrule_getRawOffset(IZRule* rule); 173 izrule_getDSTSavings(IZRule* rule); 198 izrule_getFirstStart(IZRule* rule, int32_t prevRawOffset, int32_t prevDSTSavings, [all …]
|
/external/tensorflow/tensorflow/compiler/xla/g3doc/images/ |
D | ops_xla_gather_1.svg | 1 …rule="nonzero"/></clipPath><g clip-path="url(#p.0)"><path fill="#000000" fill-opacity="0.0" d="m0 …
|
D | ops_xla_gather_0.svg | 1 …rule="nonzero"/></clipPath><g clip-path="url(#p.0)"><path fill="#000000" fill-opacity="0.0" d="m0 …
|
D | ops_xla_gather_2.svg | 1 …rule="nonzero"/></clipPath><g clip-path="url(#p.0)"><path fill="#000000" fill-opacity="0.0" d="m0 …
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/ |
D | RuleTest.java | 31 private Rule rule; field in RuleTest 35 rule = new Rule(); in setup() 40 assertEquals(ElementType.BUNDLE, rule.getElement()); in testDefaults() 41 assertEquals(Collections.emptyList(), rule.getLimits()); in testDefaults() 42 assertEquals("*", rule.getIncludes()); in testDefaults() 43 assertEquals("", rule.getExcludes()); in testDefaults() 48 rule.setElement(ElementType.PACKAGE); in testSetElement() 49 assertEquals(ElementType.PACKAGE, rule.getElement()); in testSetElement() 57 rule.setLimits(Arrays.asList(l1, l2, l3)); in testSetLimits() 58 assertEquals(Arrays.asList(l1, l2, l3), rule.getLimits()); in testSetLimits() [all …]
|
/external/libtextclassifier/native/actions/ |
D | zlib-utils.cc | 37 RulesModel_::RegexRuleT* rule = model->rules->regex_rule[i].get(); in CompressActionsModel() local 38 rule->compressed_pattern.reset(new CompressedBufferT); in CompressActionsModel() 39 zlib_compressor->Compress(rule->pattern, rule->compressed_pattern.get()); in CompressActionsModel() 40 rule->pattern.clear(); in CompressActionsModel() 46 RulesModel_::RegexRuleT* rule = in CompressActionsModel() local 48 if (!rule->pattern.empty()) { in CompressActionsModel() 49 rule->compressed_pattern.reset(new CompressedBufferT); in CompressActionsModel() 50 zlib_compressor->Compress(rule->pattern, in CompressActionsModel() 51 rule->compressed_pattern.get()); in CompressActionsModel() 52 rule->pattern.clear(); in CompressActionsModel() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | TransliteratorParser.java | 410 public int parse(String rule, int pos, int limit, in parse() argument 414 pos = parseSection(rule, pos, limit, parser, buf, ILLEGAL_TOP, false); in parse() 418 syntaxError("Misplaced " + CURSOR_POS, rule, start); in parse() 447 private int parseSection(String rule, int pos, int limit, in parseSection() argument 465 char c = rule.charAt(pos++); in parseSection() 474 syntaxError("Unclosed segment", rule, start); in parseSection() 481 syntaxError("Malformed variable reference", rule, start); in parseSection() 483 if (UnicodeSet.resemblesPattern(rule, pos-1)) { in parseSection() 488 buf.append(parser.parseSet(rule, pp)); in parseSection() 495 syntaxError("Trailing backslash", rule, start); in parseSection() [all …]
|
D | NFRuleSet.java | 201 for (NFRule rule : tempRules) { in parseRules() 202 long baseValue = rule.getBaseValue(); in parseRules() 209 rule.setBaseValue(defaultBaseValue); in parseRules() 236 void setNonNumericalRule(NFRule rule) { in setNonNumericalRule() argument 237 long baseValue = rule.getBaseValue(); in setNonNumericalRule() 239 nonNumericalRules[NFRuleSet.NEGATIVE_RULE_INDEX] = rule; in setNonNumericalRule() 242 setBestFractionRule(NFRuleSet.IMPROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule() 245 setBestFractionRule(NFRuleSet.PROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule() 248 setBestFractionRule(NFRuleSet.DEFAULT_RULE_INDEX, rule, true); in setNonNumericalRule() 251 nonNumericalRules[NFRuleSet.INFINITY_RULE_INDEX] = rule; in setNonNumericalRule() [all …]
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | TransliteratorParser.java | 409 public int parse(String rule, int pos, int limit, in parse() argument 413 pos = parseSection(rule, pos, limit, parser, buf, ILLEGAL_TOP, false); in parse() 417 syntaxError("Misplaced " + CURSOR_POS, rule, start); in parse() 446 private int parseSection(String rule, int pos, int limit, in parseSection() argument 464 char c = rule.charAt(pos++); in parseSection() 473 syntaxError("Unclosed segment", rule, start); in parseSection() 480 syntaxError("Malformed variable reference", rule, start); in parseSection() 482 if (UnicodeSet.resemblesPattern(rule, pos-1)) { in parseSection() 487 buf.append(parser.parseSet(rule, pp)); in parseSection() 494 syntaxError("Trailing backslash", rule, start); in parseSection() [all …]
|
/external/google-fruit/extras/scripts/ |
D | parser.out | 128 $end reduce using rule 3 (optional_balanced_string -> .) 129 COMMA reduce using rule 3 (optional_balanced_string -> .) 130 GREATER_THAN reduce using rule 3 (optional_balanced_string -> .) 131 RBRACKET reduce using rule 3 (optional_balanced_string -> .) 132 RPAREN reduce using rule 3 (optional_balanced_string -> .) 133 RBRACE reduce using rule 3 (optional_balanced_string -> .) 164 $end reduce using rule 3 (optional_balanced_string -> .) 165 COMMA reduce using rule 3 (optional_balanced_string -> .) 166 GREATER_THAN reduce using rule 3 (optional_balanced_string -> .) 167 RBRACKET reduce using rule 3 (optional_balanced_string -> .) [all …]
|
/external/apache-harmony/jdwp/ |
D | jarjar-rules.txt | 1 rule org.apache.harmony.jpda.tests.jdwp.A*.* org.apache.harmony.jpda.tests.jdwp.A@1_@2 2 rule org.apache.harmony.jpda.tests.jdwp.B*.* org.apache.harmony.jpda.tests.jdwp.B@1_@2 3 rule org.apache.harmony.jpda.tests.jdwp.C*.* org.apache.harmony.jpda.tests.jdwp.C@1_@2 4 rule org.apache.harmony.jpda.tests.jdwp.D*.* org.apache.harmony.jpda.tests.jdwp.D@1_@2 5 rule org.apache.harmony.jpda.tests.jdwp.E*.* org.apache.harmony.jpda.tests.jdwp.E@1_@2 6 rule org.apache.harmony.jpda.tests.jdwp.F*.* org.apache.harmony.jpda.tests.jdwp.F@1_@2 7 rule org.apache.harmony.jpda.tests.jdwp.G*.* org.apache.harmony.jpda.tests.jdwp.G@1_@2 8 rule org.apache.harmony.jpda.tests.jdwp.H*.* org.apache.harmony.jpda.tests.jdwp.H@1_@2 9 rule org.apache.harmony.jpda.tests.jdwp.I*.* org.apache.harmony.jpda.tests.jdwp.I@1_@2 10 rule org.apache.harmony.jpda.tests.jdwp.J*.* org.apache.harmony.jpda.tests.jdwp.J@1_@2 [all …]
|
/external/icu/libicu/cts_headers/ |
D | zrule.h | 58 zrule_close(ZRule* rule); 77 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength); 85 zrule_getRawOffset(ZRule* rule); 94 zrule_getDSTSavings(ZRule* rule); 129 izrule_close(IZRule* rule); 137 izrule_clone(IZRule *rule); 156 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength); 164 izrule_getRawOffset(IZRule* rule); 173 izrule_getDSTSavings(IZRule* rule); 198 izrule_getFirstStart(IZRule* rule, int32_t prevRawOffset, int32_t prevDSTSavings, [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NFRuleSet.java | 200 for (NFRule rule : tempRules) { in parseRules() 201 long baseValue = rule.getBaseValue(); in parseRules() 208 rule.setBaseValue(defaultBaseValue); in parseRules() 235 void setNonNumericalRule(NFRule rule) { in setNonNumericalRule() argument 236 long baseValue = rule.getBaseValue(); in setNonNumericalRule() 238 nonNumericalRules[NFRuleSet.NEGATIVE_RULE_INDEX] = rule; in setNonNumericalRule() 241 setBestFractionRule(NFRuleSet.IMPROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule() 244 setBestFractionRule(NFRuleSet.PROPER_FRACTION_RULE_INDEX, rule, true); in setNonNumericalRule() 247 setBestFractionRule(NFRuleSet.DEFAULT_RULE_INDEX, rule, true); in setNonNumericalRule() 250 nonNumericalRules[NFRuleSet.INFINITY_RULE_INDEX] = rule; in setNonNumericalRule() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | RangeDateRule.java | 43 public void add(DateRule rule) { in add() argument 44 add(new Date(Long.MIN_VALUE), rule); in add() 50 public void add(Date start, DateRule rule) { in add() argument 53 ranges.add(new Range(start, rule)); in add() 72 if (r != null && r.rule != null) in firstAfter() 75 result = r.rule.firstBetween(start, e.start); in firstAfter() 77 result = r.rule.firstAfter(start); in firstAfter() 102 if (r.rule != null) { in firstBetween() 105 result = r.rule.firstBetween(start, e); in firstBetween() 116 return r != null && r.rule != null && r.rule.isOn(date); in isOn() [all …]
|
D | Holiday.java | 76 return rule.firstAfter(start); in firstAfter() 94 return rule.firstBetween(start, end); in firstBetween() 109 return rule.isOn(date); in isOn() 119 return rule.isBetween(start, end); in isBetween() 135 protected Holiday(String name, DateRule rule) in Holiday() argument 138 this.rule = rule; in Holiday() 194 return rule; in getRule() 200 public void setRule(DateRule rule) { in setRule() argument 201 this.rule = rule; in setRule() 205 private DateRule rule; field in Holiday
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | RangeDateRule.java | 44 public void add(DateRule rule) { in add() argument 45 add(new Date(Long.MIN_VALUE), rule); in add() 52 public void add(Date start, DateRule rule) { in add() argument 55 ranges.add(new Range(start, rule)); in add() 75 if (r != null && r.rule != null) in firstAfter() 78 result = r.rule.firstBetween(start, e.start); in firstAfter() 80 result = r.rule.firstAfter(start); in firstAfter() 106 if (r.rule != null) { in firstBetween() 109 result = r.rule.firstBetween(start, e); in firstBetween() 121 return r != null && r.rule != null && r.rule.isOn(date); in isOn() [all …]
|
/external/antlr/gunit/src/main/java/org/antlr/gunit/ |
D | gUnitTestSuite.java | 35 protected String rule = null; // paeser rule name for unit testing field in gUnitTestSuite 49 public gUnitTestSuite(String rule) { in gUnitTestSuite() argument 50 this.rule = rule; in gUnitTestSuite() 53 public gUnitTestSuite(String treeRule, String rule) { in gUnitTestSuite() argument 54 this.rule = rule; in gUnitTestSuite() 58 public void setRuleName(String ruleName) { this.rule = ruleName; } in setRuleName() 62 public String getRuleName() { return this.rule; } in getRuleName() 74 expect.setTestedRuleName(this.rule ==null ? this.lexicalRule : this.rule); in addTestCase()
|
/external/rust/crates/grpcio-sys/grpc/src/abseil-cpp/ |
D | preprocessed_builds.yaml.gen.py | 95 def parse_cmake_rule(rule, package): argument 101 lines = rule.splitlines() 109 raise ValueError("Illegal syntax: {}".format(rule)) 151 for rule in bazel_rules: 155 set(rule.srcs + rule.hdrs + rule.textual_hdrs).intersection( 160 pair_map[(rule.package, rule.name)] = best_crule.name 186 for rule in sorted(bazel_rules, key=lambda r: r.package[2:] + ":" + r.name): 189 rule.package[2:] + ":" + rule.name, 191 pair_map.get((rule.package, rule.name)) or "", 193 sorted(resolve_hdrs(rule.srcs + rule.hdrs + rule.textual_hdrs)), [all …]
|
/external/python/cpython2/Parser/ |
D | spark.py | 170 def preprocess(self, rule, func): return rule, func argument 185 rule = (lhs, tuple(rhs)) 188 rule, fn = self.preprocess(rule, func) 191 self.rules[lhs].append(rule) 193 self.rules[lhs] = [ rule ] 194 self.rule2func[rule] = fn 195 self.rule2name[rule] = func.__name__[2:] 206 rule = '%s ::= %s %s' % (self._START, self._BOF, start) 207 self.addRule(rule, lambda args: args[1], 0) 216 for rule in rulelist: [all …]
|
/external/junit/src/main/java/org/junit/runners/ |
D | RuleContainer.java | 29 public void setOrder(Object rule, int order) { in setOrder() argument 30 orderValues.put(rule, order); in setOrder() 58 for (MethodRule rule : methodRules) { in getSortedEntries() 59 ruleEntries.add(new RuleEntry(rule, RuleEntry.TYPE_METHOD_RULE, orderValues.get(rule))); in getSortedEntries() 61 for (TestRule rule : testRules) { in getSortedEntries() 62 ruleEntries.add(new RuleEntry(rule, RuleEntry.TYPE_TEST_RULE, orderValues.get(rule))); in getSortedEntries() 79 result = ((TestRule) ruleEntry.rule).apply(result, description); in apply() 81 result = ((MethodRule) ruleEntry.rule).apply(result, method, target); in apply() 94 result.add(entry.rule); in getSortedRules() 103 final Object rule; field in RuleContainer.RuleEntry [all …]
|