/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/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/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/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/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/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 …]
|
D | base_event.py | 21 def SectionName(keyword): argument 23 return keyword + _SECTION_SUFFIX 82 def __init__(self, keyword, manifest_versions, always_handle): argument 89 self._keyword = keyword 96 def keyword(self): member in BaseEvent 191 logging.info('Handling %s for %s', self.keyword, board)
|
/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/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/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/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/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/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/curl/lib/ |
D | curl_fnmatch.c | 72 char keyword[KEYLEN] = { 0 }; in parsekeyword() local 83 keyword[i] = c; in parsekeyword() 99 if(strcmp(keyword, "digit") == 0) in parsekeyword() 101 else if(strcmp(keyword, "alnum") == 0) in parsekeyword() 103 else if(strcmp(keyword, "alpha") == 0) in parsekeyword() 105 else if(strcmp(keyword, "xdigit") == 0) in parsekeyword() 107 else if(strcmp(keyword, "print") == 0) in parsekeyword() 109 else if(strcmp(keyword, "graph") == 0) in parsekeyword() 111 else if(strcmp(keyword, "space") == 0) in parsekeyword() 113 else if(strcmp(keyword, "blank") == 0) in parsekeyword() [all …]
|
/external/messageformat/java/com/ibm/icu/text/ |
D | SelectFormat.java | 222 public static int findSubMessage(MessagePattern pattern, int partIndex, String keyword) { in findSubMessage() argument 234 if(pattern.partSubstringMatches(part, keyword)) { in findSubMessage() 253 public final String format(String keyword) { in format() argument 255 if (!PatternProps.isIdentifier(keyword)) { in format() 264 int msgStart = findSubMessage(msgPattern, 0, keyword); in format() 316 public StringBuffer format(Object keyword, StringBuffer toAppendTo, in format() argument 318 if (keyword instanceof String) { in format() 319 toAppendTo.append(format( (String)keyword)); in format() 321 throw new IllegalArgumentException("'" + keyword + "' is not a String"); in format()
|
/external/protobuf/editors/ |
D | proto.vim | 53 syn keyword pbTodo contained TODO FIXME XXX 56 syn keyword pbSyntax syntax import option 57 syn keyword pbStructure package message group 58 syn keyword pbRepeat optional required repeated 59 syn keyword pbDefault default 60 syn keyword pbExtend extend extensions to max 61 syn keyword pbRPC service rpc returns 63 syn keyword pbType int32 int64 uint32 uint64 sint32 sint64 64 syn keyword pbType fixed32 fixed64 sfixed32 sfixed64 65 syn keyword pbType float double bool string bytes [all …]
|