/external/icu4c/i18n/ |
rbt_set.h | 31 * A set of rules for a <code>RuleBasedTransliterator</code>. 36 * Vector of rules, in the order added. This is used while the 38 * indexes the rules into rules[]. Any given rule is stored once 39 * in ruleVector, and one or more times in rules[]. ruleVector 40 * owns and deletes the rules. 45 * Sorted and indexed table of rules. This is created by freeze() 46 * from the rules in ruleVector. It contains alias pointers to 47 * the rules in ruleVector. It is zero before freeze() is called 50 TransliterationRule** rules; member in class:TransliterationRuleSet [all...] |
nfrs.h | 34 void parseRules(UnicodeString& rules, const RuleBasedNumberFormat* owner, UErrorCode& status); 71 NFRuleList rules; member in class:NFRuleSet
|
tblcoll.cpp | 34 * Modified getRules() to load rules dynamically. Changed 88 RuleBasedCollator::RuleBasedCollator(const UnicodeString& rules, 92 construct(rules, 98 RuleBasedCollator::RuleBasedCollator(const UnicodeString& rules, 102 construct(rules, 108 RuleBasedCollator::RuleBasedCollator(const UnicodeString& rules, 113 construct(rules, 119 RuleBasedCollator::RuleBasedCollator(const UnicodeString& rules, 124 construct(rules, 145 // alias the rules strin 301 UChar *rules = (UChar*) uprv_malloc( sizeof(UChar) * (rulesize) ); local 595 const UChar *rules = ucol_getRules(ucollator, &length); local [all...] |
/sdk/layoutopt/libs/uix/src/com/android/layoutopt/uix/rules/ |
Rule.java | 17 package com.android.layoutopt.uix.rules;
|
GroovyRule.java | 17 package com.android.layoutopt.uix.rules;
|
/external/bison/src/ |
parse-gram.y | 406 rules 414 rules: label
|
state.h | 30 particular positions in particular rules -- that are the possible 67 nreds rules, represented by their rule numbers. first_reduction 189 rule *rules[1]; member in struct:__anon838
|
gram.c | 38 rule *rules = NULL; variable 186 int length = rule_rhs_length (&rules[r]); 196 | Print the grammar's rules that match FILTER on OUT under TITLE. | 210 if (filter && !filter (&rules[r])) 214 else if (previous_lhs && previous_lhs != rules[r].lhs) 217 rule_lhs_print (&rules[r], previous_lhs, out); 218 rule_rhs_print (&rules[r], out); 219 previous_lhs = rules[r].lhs; 227 | Print the grammar's useful rules on OUT. | 263 fprintf (out, "Rules\n-----\n\n") [all...] |
/external/icu4c/test/intltest/ |
itrbnfp.cpp | 58 // these rules make no sense but behave rationally 102 // these rules would throw exceptions when formatting, if we could throw exceptions 111 // none of these rules should crash the formatter 119 const char** rules = allrules[j]; local 120 for (int i = 0; rules[i]; ++i) { 121 const char* rule = rules[i];
|
plurults.cpp | 104 errln("ERROR: clone plural rules test failed!"); 110 errln("ERROR: clone plural rules test failed!"); 117 // ======= Test empty plural rules 125 errln("ERROR: empty plural rules test failed! - exitting"); 132 // ======= Test simple plural rules 142 errln("ERROR: simple plural rules failed! - exitting"); 152 // ======= Test complex plural rules 175 errln("ERROR: complex plural rules failed! - exitting"); 185 errln("ERROR: complex plural rules failed! - exitting"); 194 // ======= Test decimal fractions plural rules 305 PluralRules* rules[MAX_EQ_COL]; local [all...] |
trnserr.cpp | 155 errln("FAIL: The rules is malformed but error was not reported."); 214 UnicodeString rules="ab>y"; local 224 Transliterator *t = Transliterator::createFromRules(id, rules, UTRANS_REVERSE, parseErr, status);
|
thcoll.cpp | 445 UnicodeString rules; local 447 parseChars(rules, rule); 448 RuleBasedCollator *rcoll = new RuleBasedCollator(rules, status); 453 errln("Couldn't instantiate collator from rules");
|
/external/icu4c/test/cintltst/ |
cg7coll.c | 17 * Sample Rules: & Z < p , P 20 * Sample Rules: & c < ch , cH, Ch, CH 25 * Sample Rules: & Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&' 28 * Sample Rules: & aa ; a'-' & ee ; e'-' & ii ; i'-' & oo ; o'-' & uu ; u'-' 116 /* new table collation with rules "& Z < p, P" loop to FIXEDTESTSET */ 118 /* new table collation with rules "& C < ch , cH, Ch, CH " loop to TOTALTESTSET */ 120 /* new table collation with rules "& Question-mark ; ? & Hash-mark ; # & Ampersand ; '&' " loop to TOTALTESTSET */ 122 /* analogous to Japanese rules " & aa ; a- & ee ; e- & ii ; i- & oo ; o- & uu ; u- " */ /* loop to TOTALTESTSET */ 191 static const char rules[] = "& Z < p, P"; local 192 int32_t len=(int32_t)strlen(rules); 222 static const char rules[] = "& C < ch , cH, Ch, CH"; local 251 static const char rules[] = "& Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&'"; local 281 static const char rules[] = " & aa ; a'-' & ee ; e'-' & ii ; i'-' & oo ; o'-' & uu ; u'-' "; local [all...] |
cbiapts.c | 499 // Open a break iterator from char * rules. Take care of conversion 500 // of the rules and error checking. 502 static UBreakIterator * testOpenRules(char *rules) { 509 ruleSourceU = toUChar(rules, &strCleanUp); 511 bi = ubrk_openRules(ruleSourceU, -1, /* The rules */ 526 * a set of source rules. 529 /* Rules will keep together any run of letters not including 'a', OR 533 char rules[] = "abc{666}/def;\n [\\p{L} - [a]]* {2}; . {1};"; local 546 UBreakIterator *bi = testOpenRules(rules); 580 * TestBreakIteratorRuleError - Try to create a BI from rules with syntax errors 583 char rules[] = " # This is a rule comment on line 1\\n" local 614 UChar rules[RULE_STRING_LENGTH]; local [all...] |
utransts.c | 341 UTransliterator* rules=NULL, *rules2; local 363 rules=utrans_open("TestA-TestB",UTRANS_FORWARD, rule, 4, NULL, &status); 370 rules2=utrans_clone(rules, &status); 378 utrans_register(rules, &status); 434 /* Test rules */ 435 /* Example: rules 1. ab>x|y 448 /* Another set of rules: 577 UChar rules[CAP]; local 582 u_uastrcpy(rules, crules); 584 trans = utrans_open(crules /*use rules as ID*/, UTRANS_FORWARD, rules, -1, [all...] |
/external/webkit/WebCore/css/ |
CSSStyleSheet.h | 72 PassRefPtr<CSSRuleList> rules() { return cssRules(true); } function in class:WebCore::CSSStyleSheet
|
/development/pdk/pndk/ |
Pndk.mk | 21 # A macro to make rules to copy all newer files in a directory tree matching an 29 define define-tree-copy-rules 102 # Destinations of all common files (not picked up by tree rules below) 140 $(call define-tree-copy-rules,$(samplejni_src_dir),$(samplejni_dest_dir),$(listvar)) 141 $(call define-tree-copy-rules,$(config_src_dir),$(config_dest_dir),$(listvar)) 142 $(call define-tree-copy-rules,$(kernel_common_src_dir),$(kernel_dest_dir),$(listvar)) 143 $(call define-tree-copy-rules,$(kernel_arch_src_dir),$(kernel_dest_dir),$(listvar)) 144 $(call define-tree-copy-rules,$(jni_src_dir),$(jni_dest_dir),$(listvar), -name jni.h) 148 $(call define-tree-copy-rules,$(sample_src_dir),$(sample_dest_dir),$(listvar)) 152 $(call define-tree-copy-rules,$(bionic_src_dir),$(bionic_no_src_dest_dir),$(listvar),-name '*.h' [all...] |
/external/clearsilver/python/ |
setup.py | 28 ## Actually, forget that, I'm just going to load and parse the rules.mk 31 if not os.path.exists("../rules.mk"): 32 raise "You need to run configure first to generate the rules.mk file!" 35 rules = open("../rules.mk").read() variable 36 for line in string.split(rules, "\n"):
|
/external/icu4c/samples/coll/ |
coll.cpp | 15 "-rules rule Collation rules file (overrides locale)\n" 25 "Example coll -rules \\u0026b\\u003ca -source a -target b\n" 26 "The format \\uXXXX is supported for the rules and comparison strings\n" 67 {"-rules", OptSpec::STRING, &opt_rules}, 160 UChar rules[100]; local 163 u_unescape(opt_rules, rules, 100); 164 collator = ucol_openRules(rules, -1, UCOL_OFF, UCOL_TERTIARY,
|
/external/icu4c/samples/strsrch/ |
strsrch.cpp | 15 "-rules rule Collation rules file (overrides locale)\n" 27 "Example strsrch -rules \\u0026b\\u003ca -source a\\u0020b\\u0020bc -pattern b\n" 28 "The format \\uXXXX is supported for the rules and comparison strings\n" 61 UChar rules[100]; variable 76 {"-rules", OptSpec::STRING, &opt_rules}, 154 u_unescape(opt_rules, rules, 100); 155 collator = ucol_openRules(rules, -1, UCOL_OFF, UCOL_TERTIARY,
|
/sdk/anttasks/src/com/android/ant/ |
SetupTask.java | 59 * <li>Imports the build rules located in the resolved target so that the build actually does 67 /** current max version of the Ant rules that is supported */ 70 // legacy main rules file. 72 // legacy test rules file - depends on android_rules.xml 75 // main rules file 77 // test rules file - depends on android_rules.xml 79 // library rules file. 263 // older names. This sets those properties to make sure the rules will work. 284 throw new BuildException(String.format("Rules directory '%s' is missing.", 298 // now check the rules file exists 299 File rules = new File(rulesFolder, importedRulesFileName); local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
RelativeLayout_LayoutParamsTest.java | 88 int rules[]; local 101 rules = layoutParams.getRules(); 102 assertEquals(RelativeLayout.TRUE, rules[RelativeLayout.CENTER_IN_PARENT]); 110 rules = layoutParams.getRules(); 111 assertEquals(R.id.relative_view1, rules[RelativeLayout.BELOW]); 112 assertEquals(R.id.relative_view1, rules[RelativeLayout.ALIGN_LEFT]); 122 rules = layoutParams.getRules(); 123 assertEquals(R.id.relative_view1, rules[RelativeLayout.ALIGN_TOP]); 124 assertEquals(R.id.relative_view2, rules[RelativeLayout.ALIGN_BOTTOM]); 125 assertEquals(R.id.relative_view1, rules[RelativeLayout.RIGHT_OF]) 211 int rules[]= layoutParams.getRules(); local 255 int rules[]; local [all...] |
/dalvik/libcore/icu/src/main/native/ |
NativeCollation.cpp | 19 * Closing a C UCollator with the argument locale rules. 116 * in a string, using the collation rules defined in this RuleBasedCollatorJNI 214 * Get the collation rules from a UCollator. 215 * The rules will follow the rule syntax. 219 * @return collation rules. 226 const UChar *rules = ucol_getRules(collator, &length); local 227 return env->NewString(rules, length); 304 const UChar *rules = ucol_getRules(collator, &length); local 306 * return uhash_hashUCharsN(rules, length); 347 * Opening a new C UCollator with the argument locale rules [all...] |
/external/dbus/bus/ |
policy.c | 57 /* allow rules default to TRUE (only requested replies allowed) 58 * deny rules default to FALSE (only unrequested replies denied) 64 /* allow rules default to TRUE (only requested replies allowed) 65 * deny rules default to FALSE (only unrequested replies denied) 128 DBusList *default_rules; /**< Default policy rules */ 129 DBusList *mandatory_rules; /**< Mandatory policy rules */ 130 DBusHashTable *rules_by_uid; /**< per-UID policy rules */ 131 DBusHashTable *rules_by_gid; /**< per-GID policy rules */ 132 DBusList *at_console_true_rules; /**< console user policy rules where at_console="true"*/ 133 DBusList *at_console_false_rules; /**< console user policy rules where at_console="false"* 683 DBusList *rules; member in struct:BusClientPolicy [all...] |
/system/extras/tests/fstest/ |
perm_checker.c | 68 static perm_rule_t *rules[NUM_PR_TYPES]; variable 145 pr->next = rules[pr->type]; 146 rules[pr->type] = pr; 229 pr = rules[EXACT_FILE]; 241 printf("# WARNING # Multiple exact rules for file: %s\n", name); 249 pr = rules[WILDCARD]; 263 pr = rules[RECURSIVE]; 275 retval++; // In case no rules either matched or failed, be sure to fail 290 // For now, we match links against "exact" file rules only 291 pr = rules[EXACT_FILE] [all...] |