/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | StandardPlural.java | 44 private final String keyword; field in StandardPlural 47 keyword = kw; in StandardPlural() 54 return keyword; in getKeyword() 61 public static final StandardPlural orNullFromString(CharSequence keyword) { in orNullFromString() argument 62 switch (keyword.length()) { in orNullFromString() 64 if ("one".contentEquals(keyword)) { in orNullFromString() 66 } else if ("two".contentEquals(keyword)) { in orNullFromString() 68 } else if ("few".contentEquals(keyword)) { in orNullFromString() 73 if ("many".contentEquals(keyword)) { in orNullFromString() 75 } else if ("zero".contentEquals(keyword)) { in orNullFromString() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | StandardPlural.java | 42 private final String keyword; field in StandardPlural 45 keyword = kw; in StandardPlural() 52 return keyword; in getKeyword() 59 public static final StandardPlural orNullFromString(CharSequence keyword) { in orNullFromString() argument 60 switch (keyword.length()) { in orNullFromString() 62 if ("one".contentEquals(keyword)) { in orNullFromString() 64 } else if ("two".contentEquals(keyword)) { in orNullFromString() 66 } else if ("few".contentEquals(keyword)) { in orNullFromString() 71 if ("many".contentEquals(keyword)) { in orNullFromString() 73 } else if ("zero".contentEquals(keyword)) { in orNullFromString() [all …]
|
/external/ImageMagick/coders/ |
D | msl.c | 621 *keyword; in MSLStartElement() local 669 keyword=(const char *) NULL; in MSLStartElement() 700 keyword=(const char *) attributes[i++]; in MSLStartElement() 705 switch (*keyword) in MSLStartElement() 710 if (LocaleCompare(keyword,"channel") == 0) in MSLStartElement() 720 keyword); in MSLStartElement() 726 if (LocaleCompare(keyword,"noise") == 0) in MSLStartElement() 737 keyword); in MSLStartElement() 743 keyword); in MSLStartElement() 780 keyword=(const char *) attributes[i++]; in MSLStartElement() [all …]
|
D | mpc.c | 149 keyword[MagickPathExtent], in ReadMPCImage() local 218 (void) ResetMagickMemory(keyword,0,sizeof(keyword)); in ReadMPCImage() 280 p=keyword; in ReadMPCImage() 285 if ((size_t) (p-keyword) < (MagickPathExtent-1)) in ReadMPCImage() 336 switch (*keyword) in ReadMPCImage() 341 if (LocaleCompare(keyword,"alpha-color") == 0) in ReadMPCImage() 347 if (LocaleCompare(keyword,"alpha-trait") == 0) in ReadMPCImage() 359 (void) SetImageProperty(image,keyword,options,exception); in ReadMPCImage() 365 if (LocaleCompare(keyword,"background-color") == 0) in ReadMPCImage() 371 if (LocaleCompare(keyword,"blue-primary") == 0) in ReadMPCImage() [all …]
|
D | svg.c | 795 *keyword, in SVGStartElement() local 833 keyword=(const char *) attributes[i]; in SVGStartElement() 835 switch (*keyword) in SVGStartElement() 840 if (LocaleCompare(keyword,"cx") == 0) in SVGStartElement() 846 if (LocaleCompare(keyword,"cy") == 0) in SVGStartElement() 857 if (LocaleCompare(keyword,"fx") == 0) in SVGStartElement() 863 if (LocaleCompare(keyword,"fy") == 0) in SVGStartElement() 874 if (LocaleCompare(keyword,"height") == 0) in SVGStartElement() 885 if (LocaleCompare(keyword,"id") == 0) in SVGStartElement() 895 if (LocaleCompare(keyword,"r") == 0) in SVGStartElement() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | standardplural.cpp | 32 int32_t StandardPlural::indexOrNegativeFromString(const char *keyword) { in indexOrNegativeFromString() argument 33 switch (*keyword++) { in indexOrNegativeFromString() 35 if (uprv_strcmp(keyword, "ew") == 0) { in indexOrNegativeFromString() 40 if (uprv_strcmp(keyword, "any") == 0) { in indexOrNegativeFromString() 45 if (uprv_strcmp(keyword, "ther") == 0) { in indexOrNegativeFromString() 47 } else if (uprv_strcmp(keyword, "ne") == 0) { in indexOrNegativeFromString() 52 if (uprv_strcmp(keyword, "wo") == 0) { in indexOrNegativeFromString() 57 if (uprv_strcmp(keyword, "ero") == 0) { in indexOrNegativeFromString() 74 int32_t StandardPlural::indexOrNegativeFromString(const UnicodeString &keyword) { in indexOrNegativeFromString() argument 75 switch (keyword.length()) { in indexOrNegativeFromString() [all …]
|
D | standardplural.h | 48 static Form orOtherFromString(const char *keyword) { in orOtherFromString() argument 49 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString() 56 static Form orOtherFromString(const UnicodeString &keyword) { in orOtherFromString() argument 57 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString() 66 static Form fromString(const char *keyword, UErrorCode &errorCode) { in fromString() argument 67 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString() 76 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { in fromString() argument 77 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString() 84 static int32_t indexOrNegativeFromString(const char *keyword); 90 static int32_t indexOrNegativeFromString(const UnicodeString &keyword); [all …]
|
/external/llvm/utils/vim/syntax/ |
D | llvm.vim | 17 syn keyword llvmType void half float double x86_fp80 fp128 ppc_fp128 18 syn keyword llvmType label metadata x86_mmx 19 syn keyword llvmType type label opaque 25 syn keyword llvmStatement add addrspacecast alloca and arcp ashr atomicrmw 26 syn keyword llvmStatement bitcast br call cmpxchg eq exact extractelement 27 syn keyword llvmStatement extractvalue fadd fast fcmp fdiv fence fmul fpext 28 syn keyword llvmStatement fptosi fptoui fptrunc free frem fsub getelementptr 29 syn keyword llvmStatement icmp inbounds indirectbr insertelement insertvalue 30 syn keyword llvmStatement inttoptr invoke landingpad load lshr malloc max min 31 syn keyword llvmStatement mul nand ne ninf nnan nsw nsz nuw oeq oge ogt ole [all …]
|
/external/v8/test/webkit/ |
D | keywords-and-reserved_words-expected.txt | 32 PASS classifyIdentifier("keyword") is "identifier" 51 PASS classifyIdentifier("break") is "keyword" 52 PASS classifyIdentifier("case") is "keyword" 53 PASS classifyIdentifier("catch") is "keyword" 54 PASS classifyIdentifier("continue") is "keyword" 55 PASS classifyIdentifier("debugger") is "keyword" 56 PASS classifyIdentifier("default") is "keyword" 57 PASS classifyIdentifier("delete") is "keyword" 58 PASS classifyIdentifier("do") is "keyword" 59 PASS classifyIdentifier("else") is "keyword" [all …]
|
/external/v8/test/mjsunit/ |
D | object-literal.js | 142 function testKeywordProperty(keyword) { argument 146 eval("var " + keyword + " = 42;"); 153 var x = eval("({" + keyword + ": 42})"); 154 assertEquals(42, x[keyword]); 155 assertEquals(42, eval("x." + keyword)); 156 eval("x." + keyword + " = 37"); 157 assertEquals(37, x[keyword]); 158 assertEquals(37, eval("x." + keyword)); 161 var y = eval("({value : 42, get " + keyword + "(){return this.value}," + 162 " set " + keyword + "(v) { this.value = v; }})"); [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | PluralSamples.java | 88 String keyword = pluralRules.select(s); in PluralSamples() local 89 addRelation(foundKeywords, keyword, s); in PluralSamples() 111 String keyword = pluralRules.select(s); in PluralSamples() local 112 Set<FixedDecimal> list = sampleFractionMap.get(keyword); in PluralSamples() 115 sampleFractionMap.put(keyword, list); in PluralSamples() 145 String keyword = pluralRules.select(val); in addSimpleSamples() local 146 boolean keyIsLimited = _keyLimitedMap.get(keyword); in addSimpleSamples() 148 List<Double> list = sampleMap.get(keyword); in addSimpleSamples() 151 sampleMap.put(keyword, list); in addSimpleSamples() 163 …private void addRelation(Map<String, Set<FixedDecimal>> foundKeywords, String keyword, FixedDecima… in addRelation() argument [all …]
|
D | PluralRules.java | 1408 String keyword = description.substring(0, x).trim(); in parseRule() local 1409 if (!isValidKeyword(keyword)) { in parseRule() 1410 throw new ParseException("keyword '" + keyword + in parseRule() 1442 boolean isOther = keyword.equals("other"); in parseRule() 1453 return new Rule(keyword, constraint, integerSamples, decimalSamples); in parseRule() 1651 private final String keyword; field in PluralRules.Rule 1656 …public Rule(String keyword, Constraint constraint, FixedDecimalSamples integerSamples, FixedDecima… in Rule() argument 1657 this.keyword = keyword; in Rule() 1665 … return new Rule(keyword, new AndConstraint(constraint, c), integerSamples, decimalSamples); in and() 1670 … return new Rule(keyword, new OrConstraint(constraint, c), integerSamples, decimalSamples); in or() [all …]
|
D | SelectFormat.java | 217 /*package*/ static int findSubMessage(MessagePattern pattern, int partIndex, String keyword) { in findSubMessage() argument 229 if(pattern.partSubstringMatches(part, keyword)) { in findSubMessage() 247 public final String format(String keyword) { in format() argument 249 if (!PatternProps.isIdentifier(keyword)) { in format() 258 int msgStart = findSubMessage(msgPattern, 0, keyword); in format() 309 public StringBuffer format(Object keyword, StringBuffer toAppendTo, in format() argument 311 if (keyword instanceof String) { in format() 312 toAppendTo.append(format( (String)keyword)); in format() 314 throw new IllegalArgumentException("'" + keyword + "' is not a String"); in format()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | PluralSamples.java | 86 String keyword = pluralRules.select(s); in PluralSamples() local 87 addRelation(foundKeywords, keyword, s); in PluralSamples() 109 String keyword = pluralRules.select(s); in PluralSamples() local 110 Set<FixedDecimal> list = sampleFractionMap.get(keyword); in PluralSamples() 113 sampleFractionMap.put(keyword, list); in PluralSamples() 143 String keyword = pluralRules.select(val); in addSimpleSamples() local 144 boolean keyIsLimited = _keyLimitedMap.get(keyword); in addSimpleSamples() 146 List<Double> list = sampleMap.get(keyword); in addSimpleSamples() 149 sampleMap.put(keyword, list); in addSimpleSamples() 161 …private void addRelation(Map<String, Set<FixedDecimal>> foundKeywords, String keyword, FixedDecima… in addRelation() argument [all …]
|
D | PluralRules.java | 1362 String keyword = description.substring(0, x).trim(); in parseRule() local 1363 if (!isValidKeyword(keyword)) { in parseRule() 1364 throw new ParseException("keyword '" + keyword + in parseRule() 1396 boolean isOther = keyword.equals("other"); in parseRule() 1407 return new Rule(keyword, constraint, integerSamples, decimalSamples); in parseRule() 1605 private final String keyword; field in PluralRules.Rule 1610 …public Rule(String keyword, Constraint constraint, FixedDecimalSamples integerSamples, FixedDecima… in Rule() argument 1611 this.keyword = keyword; in Rule() 1619 … return new Rule(keyword, new AndConstraint(constraint, c), integerSamples, decimalSamples); in and() 1624 … return new Rule(keyword, new OrConstraint(constraint, c), integerSamples, decimalSamples); in or() [all …]
|
D | SelectFormat.java | 221 /*package*/ static int findSubMessage(MessagePattern pattern, int partIndex, String keyword) { in findSubMessage() argument 233 if(pattern.partSubstringMatches(part, keyword)) { in findSubMessage() 252 public final String format(String keyword) { in format() argument 254 if (!PatternProps.isIdentifier(keyword)) { in format() 263 int msgStart = findSubMessage(msgPattern, 0, keyword); in format() 315 public StringBuffer format(Object keyword, StringBuffer toAppendTo, in format() argument 317 if (keyword instanceof String) { in format() 318 toAppendTo.append(format( (String)keyword)); in format() 320 throw new IllegalArgumentException("'" + keyword + "' is not a String"); in format()
|
/external/autotest/site_utils/suite_scheduler/ |
D | driver.py | 59 for keyword, event in self._events.iteritems(): 60 event.Merge(new_events[keyword]) 85 for keyword, task_list in tasks.iteritems(): 86 if keyword in events: 87 events[keyword].tasks = task_list 89 logging.warning('%s, is an unknown keyword.', keyword) 109 keyword, new_task = task.Task.CreateFromConfigSection( 114 tasks.setdefault(keyword, []).append(new_task) 153 logging.info('Handling %s event for board %s', event.keyword, board) 156 logging.info('Finished handling %s event for board %s', event.keyword, [all …]
|
/external/messageformat/java/com/ibm/icu/simple/ |
D | PluralRules.java | 1353 String keyword = description.substring(0, x).trim(); in parseRule() local 1354 if (!isValidKeyword(keyword)) { in parseRule() 1355 throw new ParseException("keyword '" + keyword + in parseRule() 1387 boolean isOther = keyword.equals("other"); in parseRule() 1398 return new Rule(keyword, constraint, integerSamples, decimalSamples); in parseRule() 1596 private final String keyword; field in PluralRules.Rule 1601 …public Rule(String keyword, Constraint constraint, FixedDecimalSamples integerSamples, FixedDecima… in Rule() argument 1602 this.keyword = keyword; in Rule() 1610 … return new Rule(keyword, new AndConstraint(constraint, c), integerSamples, decimalSamples); in and() 1615 … return new Rule(keyword, new OrConstraint(constraint, c), integerSamples, decimalSamples); in or() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralRulesTest.java | 180 …public void checkOldSamples(String description, PluralRules rules, String keyword, SampleType samp… 182 Collection<Double> oldSamples = rules.getSamples(keyword, sampleType); 183 …if (!assertEquals("getOldSamples; " + keyword + "; " + description, new HashSet(Arrays.asList(expe… 185 rules.getSamples(keyword, sampleType); 189 …public void checkNewSamples(String description, PluralRules test, String keyword, SampleType sampl… 192 FixedDecimalSamples samples = test.getDecimalSamples(keyword, sampleType); 198 assertEquals("limited: " + title, isBounded, test.isLimited(keyword, sampleType)); 319 for (String keyword : rules.getKeywords()) { 321 FixedDecimalSamples samples2 = rules.getDecimalSamples(keyword, sampleType); 326 if (keyword.equals("other")) { [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | PluralRulesTest.java | 184 …public void checkOldSamples(String description, PluralRules rules, String keyword, SampleType samp… 186 Collection<Double> oldSamples = rules.getSamples(keyword, sampleType); 187 …if (!assertEquals("getOldSamples; " + keyword + "; " + description, new HashSet(Arrays.asList(expe… 189 rules.getSamples(keyword, sampleType); 193 …public void checkNewSamples(String description, PluralRules test, String keyword, SampleType sampl… 196 FixedDecimalSamples samples = test.getDecimalSamples(keyword, sampleType); 202 assertEquals("limited: " + title, isBounded, test.isLimited(keyword, sampleType)); 323 for (String keyword : rules.getKeywords()) { 325 FixedDecimalSamples samples2 = rules.getDecimalSamples(keyword, sampleType); 330 if (keyword.equals("other")) { [all …]
|
/external/libxml2/doc/tutorial/ |
D | includeaddkeyword.c | 9 parseStory (xmlDocPtr doc, xmlNodePtr cur, char *keyword) { 11 xmlNewTextChild (cur, NULL, "keyword", keyword); 16 parseDoc(char *docname, char *keyword) { 45 parseStory (doc, cur, keyword); 57 char *keyword; 66 keyword = argv[2]; 67 doc = parseDoc (docname, keyword);
|
/external/icu/icu4c/source/test/cintltst/ |
D | cpluralrulestest.c | 70 UChar keyword[kKeywordBufLen]; in TestPluralRules() local 72 …int32_t keywdLen = uplrules_select(uplrules, testItemPtr->number, keyword, kKeywordBufLen, &status… in TestPluralRules() 74 keyword[kKeywordBufLen-1] = 0; in TestPluralRules() 78 if ( u_strcmp(keyword, keywordExpected) != 0 ) { in TestPluralRules() 81 …ItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpected, u_austrcpy(bcharBuf,keyword) ); in TestPluralRules() 96 UChar keyword[8]; in TestOrdinalRules() local 105 length = uplrules_select(upr, 2., keyword, 8, &errorCode); in TestOrdinalRules() 106 if (U_FAILURE(errorCode) || u_strCompare(keyword, length, two, 3, FALSE) != 0) { in TestOrdinalRules()
|
/external/deqp/modules/gles3/scripts/ |
D | gen-keywords.py | 111 for keyword in KEYWORDS: 112 keywords.append(IdentifierCase(keyword, keyword)) # Keywords 114 for keyword in RESERVED_KEYWORDS: 115 reservedKeywords.append(IdentifierCase(keyword, keyword)) # Reserved keywords
|
/external/deqp/modules/gles2/scripts/ |
D | gen-keywords.py | 97 for keyword in KEYWORDS: 98 keywords.append(IdentifierCase(keyword, keyword)) # Keywords 100 for keyword in RESERVED_KEYWORDS: 101 reservedKeywords.append(IdentifierCase(keyword, keyword)) # Reserved keywords
|
/external/curl/lib/ |
D | curl_fnmatch.c | 74 char keyword[KEYLEN] = { 0 }; in parsekeyword() local 85 keyword[i] = c; in parsekeyword() 101 if(strcmp(keyword, "digit") == 0) in parsekeyword() 103 else if(strcmp(keyword, "alnum") == 0) in parsekeyword() 105 else if(strcmp(keyword, "alpha") == 0) in parsekeyword() 107 else if(strcmp(keyword, "xdigit") == 0) in parsekeyword() 109 else if(strcmp(keyword, "print") == 0) in parsekeyword() 111 else if(strcmp(keyword, "graph") == 0) in parsekeyword() 113 else if(strcmp(keyword, "space") == 0) in parsekeyword() 115 else if(strcmp(keyword, "blank") == 0) in parsekeyword() [all …]
|