/external/icu/android_icu4j/src/main/java/android/icu/text/ |
RuleBasedNumberFormat.java | 49 * by supplying programmer-defined rule sets.</p> 54 * Each rule has a string of output text and a value or range of values it is applicable to. 55 * In a typical spellout rule set, the first twenty rules are the words for the numbers from 74 * rule's output text with a colon. The rules are in a sorted list, and a rule is applicable 75 * to all numbers from its own base value to one less than the next rule's base value. The 88 * the hundreds digit (and any digits to its left), formats it using this same rule set, and 91 * both substitutions depends on the rule's base value. The base value determines the rule's <em>divisor,</em> 97 * formatted is an even multiple of the rule's divisor. The rules are applied recursively, s [all...] |
FunctionReplacer.java | 71 StringBuilder rule = new StringBuilder("&"); local 72 rule.append(translit.getID()); 73 rule.append("( "); 74 rule.append(replacer.toReplacerPattern(escapeUnprintable)); 75 rule.append(" )"); 76 return rule.toString();
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
RuleBasedNumberFormat.java | 48 * by supplying programmer-defined rule sets.</p> 53 * Each rule has a string of output text and a value or range of values it is applicable to. 54 * In a typical spellout rule set, the first twenty rules are the words for the numbers from 73 * rule's output text with a colon. The rules are in a sorted list, and a rule is applicable 74 * to all numbers from its own base value to one less than the next rule's base value. The 87 * the hundreds digit (and any digits to its left), formats it using this same rule set, and 90 * both substitutions depends on the rule's base value. The base value determines the rule's <em>divisor,</em> 96 * formatted is an even multiple of the rule's divisor. The rules are applied recursively, s [all...] |
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
FunctionReplacer.java | 70 StringBuilder rule = new StringBuilder("&"); local 71 rule.append(translit.getID()); 72 rule.append("( "); 73 rule.append(replacer.toReplacerPattern(escapeUnprintable)); 74 rule.append(" )"); 75 return rule.toString();
|
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
JarJarTask.java | 29 public void addConfiguredRule(Rule rule) { 30 if (rule.getPattern() == null || rule.getResult() == null) 31 throw new IllegalArgumentException("The <rule> element requires both \"pattern\" and \"result\" attributes."); 32 patterns.add(rule);
|
RulesFileParser.java | 55 if (type.equals("rule")) { 58 Rule rule = new Rule(); local 59 rule.setResult(parts[2]); 60 element = rule;
|
/external/jarjar/src/test/com/tonicsystems/jarjar/ |
PackageRemapperTest.java | 29 Rule rule = new Rule(); local 30 rule.setPattern("org.**"); 31 rule.setResult("foo.@1"); 32 remapper = new PackageRemapper(Collections.singletonList(rule), false);
|
/external/mockito/src/main/java/org/mockito/junit/ |
MockitoRule.java | 16 * Mockito JUnit Rule helps keeping tests clean. 18 * Make sure to configure your rule with {@link #strictness(Strictness)} which automatically 21 * Since Mockito 2.1.0, JUnit rule emits stubbing warnings and hints to System output (see {@link MockitoHint}). 22 * The JUnit rule can be used instead of {@link MockitoJUnitRunner}. 25 * The rule adds following behavior: 43 * It is highly recommended to use the rule with {@link #strictness(Strictness)} configured to {@link Strictness#STRICT_STUBS}. 54 * //Creating new rule with recommended Strictness setting 55 * @Rule public MockitoRule rule = MockitoJUnit.rule().strictness(Strictness.STRICT_STUBS) [all...] |
/development/vndk/tools/sourcedr/sourcedr/tests/testdata/map/ |
build.ninja | 0 rule cc 6 rule ld
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/lexertest-simple/ |
TestLexer.m.old | 6 #pragma mark Rule return scopes start 7 #pragma mark Rule return scopes end 82 // rule cleanup 83 // token+rule list labels 105 // rule cleanup 106 // token+rule list labels 135 // rule cleanup 136 // token+rule list labels
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
JavaTarget.java | 32 import org.antlr.tool.Rule; 50 for (Rule rule : grammar.getRules()) { 51 rule.throwsSpec.add("RecognitionException"); 53 Set<Rule> delegatedRules = grammar.getDelegatedRules(); 55 for (Rule rule : delegatedRules) { 56 rule.throwsSpec.add("RecognitionException");
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarSanity.java | 46 protected Set<Rule> visitedDuringRecursionCheck = null; 54 * of troublesome rule cycles. This method has two side-effects: it notifies 58 public List<Set<Rule>> checkAllRulesForLeftRecursion() { 61 List<Set<Rule>> listOfRecursiveCycles = new ArrayList(); 63 Rule r = grammar.composite.ruleIndexToRuleList.elementAt(i); 79 /** From state s, look for any transition to a rule that is currently 82 * invoking rule that it is nullable, which implies that invoking 83 * rule must look at follow transition for that invoking state. 84 * The visitedStates tracks visited states within a single rule so 91 List<Set<Rule>> listOfRecursiveCycles [all...] |
NameSpaceChecker.java | 46 Rule r = grammar.composite.ruleIndexToRuleList.elementAt(i); 50 // walk all labels for Rule r 58 // walk rule scope attributes for Rule r 75 // check for missing rule, tokens 79 protected void checkForRuleArgumentAndReturnValueConflicts(Rule r) { 96 protected void checkForRuleDefinitionProblems(Rule r) { 119 /** If ref to undefined rule, give error at first occurrence. 121 * Give error if you cannot find the scope override on a rule reference. 123 * If you ref ID in a combined grammar and don't define ID as a lexer rule 133 Rule rule = grammar.getRule(ruleName); local 175 Rule rule = grammar.getRule(scopeG.name, ruleName); local [all...] |
/external/autotest/apache/conf/ |
embedded-spreadsheet-directives | 3 # This rule is meant for autotest installations under a single directory, 8 # This rule is meant for autotest installations from a package such as RPM.
|
embedded-tko-directives | 3 # This rule is meant for autotest installations under a single directory, 8 # This rule is meant for autotest installations from a package such as RPM.
|
/external/icu/icu4c/source/i18n/ |
funcrepl.cpp | 99 UnicodeString& FunctionReplacer::toReplacerPattern(UnicodeString& rule, 102 rule.truncate(0); 103 rule.append(AMPERSAND); 104 rule.append(translit->getID()); 105 rule.append(OPEN, 2); 106 rule.append(replacer->toReplacer()->toReplacerPattern(str, escapeUnprintable)); 107 rule.append(CLOSE, 2); 108 return rule;
|
/external/icu/icu4c/source/tools/genbrk/ |
genbrk.1.in | 33 .BI "\-r\fP, \fB\-\-rules" " rule\-file" 37 reads the break (boundary) rule source code from 38 .I rule-file 43 The details of the rule syntax can be found in ICU's User Guide. 77 .BI "\-r\fP, \fB\-\-rules" " rule\-file" 84 .IR rule-file 88 .IR rule-file 92 .IR rule-file
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/ |
Rule.java | 21 * A rule applies for a certain element type and can define any number of limits 24 public final class Rule { 35 * Creates a new Rule without limits. 37 public Rule() { 45 * @return element type this rule applies to 53 * element type this rule applies to 93 * @return list of {@link Limit}s configured for this rule 101 * list of {@link Limit}s configured for this rule
|
/external/junit/src/main/java/org/junit/rules/ |
TestName.java | 6 * The TestName Rule makes the current test name available inside test methods: 10 * @Rule
|
/external/libxml2/test/schematron/ |
zvon5.sct | 3 <rule context="CCC"> 9 </rule>
|
/external/mockito/src/test/java/org/mockito/internal/progress/ |
TimesTest.java | 8 import org.junit.Rule; 16 @Rule
|
/external/protobuf/util/python/ |
BUILD | 7 # add a workspace rule to their WORKSPACE files to add an external workspace 9 # includes the following local_repository rule that points to this directory:
|
/external/swiftshader/third_party/LLVM/ |
ZERO_CHECK.vcxproj.filters | 12 <CustomBuild Include="CMakeFiles\generate.stamp.rule">
15 <CustomBuild Include="CMakeFiles\ZERO_CHECK.rule">
|
/frameworks/base/tools/split-select/ |
SplitSelector.cpp | 22 #include "Rule.h" 68 KeyedVector<SplitDescription, sp<Rule> > SplitSelector::getRules() const { 69 KeyedVector<SplitDescription, sp<Rule> > rules; 76 sp<Rule> rule = Rule::simplify(RuleGenerator::generate(splits, j)); local 77 if (rule != NULL) { 78 rules.add(splits[j], rule);
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/diff/ |
fsuse.py | 26 modified_fsuse_record = namedtuple("modified_fsuse", ["rule", 65 self.log.debug("Resetting fs_use_* rule differences") 75 def __init__(self, rule): 76 self.origin = rule 77 self.ruletype = rule.ruletype 78 self.fs = rule.fs 79 self.context = ContextWrapper(rule.context) 80 self.key = hash(rule)
|