/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
StandardPlural.java | 46 private final String keyword; field in class:StandardPlural 49 keyword = kw; 53 * @return the lowercase CLDR keyword string for the plural form 56 return keyword; 60 * @param keyword for example "few" or "other" 61 * @return the plural form corresponding to the keyword, or null 63 public static final StandardPlural orNullFromString(CharSequence keyword) { 64 switch (keyword.length()) { 66 if ("one".contentEquals(keyword)) { 68 } else if ("two".contentEquals(keyword)) { [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
StandardPlural.java | 44 private final String keyword; field in class:StandardPlural 47 keyword = kw; 51 * @return the lowercase CLDR keyword string for the plural form 54 return keyword; 58 * @param keyword for example "few" or "other" 59 * @return the plural form corresponding to the keyword, or null 61 public static final StandardPlural orNullFromString(CharSequence keyword) { 62 switch (keyword.length()) { 64 if ("one".contentEquals(keyword)) { 66 } else if ("two".contentEquals(keyword)) { [all...] |
/external/icu/icu4c/source/i18n/ |
standardplural.h | 42 * @return the lowercase CLDR keyword string for the plural form 47 * @param keyword for example "few" or "other" 48 * @return the plural form corresponding to the keyword, or OTHER 50 static Form orOtherFromString(const char *keyword) { 51 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); 55 * @param keyword for example "few" or "other" 56 * @return the plural form corresponding to the keyword, or OTHER 58 static Form orOtherFromString(const UnicodeString &keyword) { 59 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); 63 * Sets U_ILLEGAL_ARGUMENT_ERROR if the keyword is not a plural form [all...] |
standardplural.cpp | 34 int32_t StandardPlural::indexOrNegativeFromString(const char *keyword) { 35 switch (*keyword++) { 37 if (uprv_strcmp(keyword, "ew") == 0) { 42 if (uprv_strcmp(keyword, "any") == 0) { 47 if (uprv_strcmp(keyword, "ther") == 0) { 49 } else if (uprv_strcmp(keyword, "ne") == 0) { 54 if (uprv_strcmp(keyword, "wo") == 0) { 59 if (uprv_strcmp(keyword, "ero") == 0) { 76 int32_t StandardPlural::indexOrNegativeFromString(const UnicodeString &keyword) { 77 switch (keyword.length()) [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/ |
ReservedKeywordValidator.java | 13 private final String keyword; field in class:ReservedKeywordValidator 16 public ReservedKeywordValidator(String keyword) { 17 this.keyword = keyword; 18 error = f("'%s' cannot be used as an identifier as it is a keyword.", keyword); 23 if (n.getIdentifier().equals(keyword)) { 31 if (n.getIdentifier().equals(keyword)) {
|
/external/deqp/modules/gles2/scripts/ |
gen-keywords.py | 91 # Keyword usage 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/ |
gen-keywords.py | 105 # Keyword usage 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/clang/test/Sema/ |
ms-keyword-system-header.c | 2 // RUN: %clang_cc1 -fms-extensions -D MS -Wno-keyword-compat -I %S/Inputs %s -fsyntax-only -verify 6 // PR17824: GNU libc uses MS keyword __uptr as an identifier in C mode 7 #include <ms-keyword-system-header.h>
|
/external/libxml2/doc/tutorial/ |
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; 61 printf("Usage: %s docname, keyword\n", argv[0]); 66 keyword = argv[2]; 67 doc = parseDoc (docname, keyword);
|
includexpath.c | 47 xmlChar *xpath = (xmlChar*) "//keyword"; 51 xmlChar *keyword; 64 keyword = xmlNodeListGetString(doc, nodeset->nodeTab[i]->xmlChildrenNode, 1); 65 printf("keyword: %s\n", keyword); 66 xmlFree(keyword);
|
/external/swiftshader/third_party/LLVM/utils/vim/ |
llvm.vim | 17 syn keyword llvmType void float double
18 syn keyword llvmType x86_fp80 fp128 ppc_fp128
19 syn keyword llvmType type label opaque
25 syn keyword llvmStatement add fadd sub fsub mul fmul
26 syn keyword llvmStatement sdiv udiv fdiv srem urem frem
27 syn keyword llvmStatement and or xor
28 syn keyword llvmStatement icmp fcmp
29 syn keyword llvmStatement eq ne ugt uge ult ule sgt sge slt sle
30 syn keyword llvmStatement oeq ogt oge olt ole one ord ueq ugt uge
31 syn keyword llvmStatement ult ule une uno [all...] |
/external/python/cpython2/Misc/Vim/ |
python.vim | 17 syn keyword pythonStatement as assert break continue del except exec finally 18 syn keyword pythonStatement global lambda pass print raise return try with 19 syn keyword pythonStatement yield 21 syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite 25 syn keyword pythonRepeat for while 27 syn keyword pythonConditional if elif else 29 syn keyword pythonOperator and in is not or 31 syn keyword pythonPreCondit import from 35 syn keyword pythonTodo TODO FIXME XXX contained 65 syn keyword pythonBuiltin Ellipsis False None NotImplemented True __debug_ [all...] |
/external/v8/tools/torque/vim-torque/syntax/ |
torque.vim | 22 syn keyword torqueAssert assert check debug unreachable 23 syn keyword torqueAtom True False Undefined Hole Null 24 syn keyword torqueBoolean true false 25 syn keyword torqueBranch break continue goto 26 syn keyword torqueConditional if else typeswitch otherwise 29 syn keyword torqueFunction macro builtin runtime 30 syn keyword torqueKeyword cast convert from_constexpr min max unsafe_cast 31 syn keyword torqueLabel case 32 syn keyword torqueMatching try label 33 syn keyword torqueModifier extern javascript constexp [all...] |
/external/ImageMagick/coders/ |
msl.c | 629 *keyword; 677 keyword=(const char *) NULL; 708 keyword=(const char *) attributes[i++]; 714 switch (*keyword) 719 if (LocaleCompare(keyword,"channel") == 0) 729 keyword); 735 if (LocaleCompare(keyword,"noise") == 0) 746 keyword); 752 keyword); 789 keyword=(const char *) attributes[i++] 623 *keyword; local [all...] |
/external/libcups/cups/ |
ppd-custom.c | 41 const char *keyword)/* I - Custom option name */ 49 strlcpy(key.keyword, keyword, sizeof(key.keyword));
|
pwg-private.h | 39 extern void _pwgGenerateSize(char *keyword, size_t keysize,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
ifdef.py | 69 keyword = words[0]
70 if keyword not in keywords:
73 if keyword in ('ifdef', 'ifndef') and len(words) == 2:
74 if keyword == 'ifdef':
88 elif keyword == 'if':
91 elif keyword == 'else' and stack:
100 elif keyword == 'endif' and stack:
107 sys.stderr.write('Unknown keyword %s\n' % keyword)
|
/external/antlr/runtime/Ruby/test/functional/parser/ |
predicates.rb | 14 /* With this true, enum is seen as a keyword. False, it's an identifier */ 24 | enumAsKeyword {$enumIs = "keyword"} 52 example "'enum' is a keyword" do 56 parser.stat.should == 'keyword'
|
/external/icu/icu4c/source/test/cintltst/ |
cpluralrulestest.c | 80 UChar keyword[kKeywordBufLen]; local 82 int32_t keywdLen = uplrules_select(uplrules, testItemPtr->number, keyword, kKeywordBufLen, &status); 84 keyword[kKeywordBufLen-1] = 0; 88 if ( u_strcmp(keyword, keywordExpected) != 0 ) { 91 testItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpected, u_austrcpy(bcharBuf,keyword) ); 101 keywdLen = uplrules_selectWithFormat(uplrules, testItemPtr->number, unumfmt, keyword, kKeywordBufLen, &status); 103 keyword[kKeywordBufLen-1] = 0; 107 if ( u_strcmp(keyword, keywordExpected) != 0 ) { 110 testItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpectedForDecimals, u_austrcpy(bcharBuf,keyword) ); 130 UChar keyword[8] local 227 const char* keyword; local [all...] |
/external/python/cpython2/Tools/scripts/ |
ifdef.py | 69 keyword = words[0] 70 if keyword not in keywords: 73 if keyword in ('ifdef', 'ifndef') and len(words) == 2: 74 if keyword == 'ifdef': 88 elif keyword == 'if': 91 elif keyword == 'else' and stack: 100 elif keyword == 'endif' and stack: 107 sys.stderr.write('Unknown keyword %s\n' % keyword)
|
/external/python/cpython3/Tools/scripts/ |
ifdef.py | 69 keyword = words[0] 70 if keyword not in keywords: 73 if keyword in ('ifdef', 'ifndef') and len(words) == 2: 74 if keyword == 'ifdef': 88 elif keyword == 'if': 91 elif keyword == 'else' and stack: 100 elif keyword == 'endif' and stack: 107 sys.stderr.write('Unknown keyword %s\n' % keyword)
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
PluralSamples.java | 90 String keyword = pluralRules.select(s); local 91 addRelation(foundKeywords, keyword, s); 104 System.out.println("Failed to find sample for each keyword: " + foundKeywords + "\n\t" + pluralRules + "\n\t" + mentioned); 113 String keyword = pluralRules.select(s); local 114 Set<FixedDecimal> list = sampleFractionMap.get(keyword); 117 sampleFractionMap.put(keyword, list); 147 String keyword = pluralRules.select(val); local 148 boolean keyIsLimited = _keyLimitedMap.get(keyword); 150 List<Double> list = sampleMap.get(keyword); 153 sampleMap.put(keyword, list) 175 String keyword = pluralRules.select(numberInfo); local 205 String keyword = pluralRules.select(base); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
PluralSamples.java | 88 String keyword = pluralRules.select(s); local 89 addRelation(foundKeywords, keyword, s); 102 System.out.println("Failed to find sample for each keyword: " + foundKeywords + "\n\t" + pluralRules + "\n\t" + mentioned); 111 String keyword = pluralRules.select(s); local 112 Set<FixedDecimal> list = sampleFractionMap.get(keyword); 115 sampleFractionMap.put(keyword, list); 145 String keyword = pluralRules.select(val); local 146 boolean keyIsLimited = _keyLimitedMap.get(keyword); 148 List<Double> list = sampleMap.get(keyword); 151 sampleMap.put(keyword, list) 173 String keyword = pluralRules.select(numberInfo); local 203 String keyword = pluralRules.select(base); local [all...] |
/external/cldr/tools/java/org/unicode/cldr/tool/ |
GeneratePluralConfirmation.java | 132 String keyword = rules.select(fd); local 133 values.showValue(keyword, fd); 135 for (String keyword : rules.getKeywords()) { 137 samples = rules.getDecimalSamples(keyword, PluralRules.SampleType.DECIMAL); 138 values.showSamples(keyword, samples); 139 samples = rules.getDecimalSamples(keyword, PluralRules.SampleType.INTEGER); 140 values.showSamples(keyword, samples); 153 private void showValue(String keyword, FixedDecimal fd) { 154 Set<FixedDecimal> soFarSet = soFar.getAll(keyword); 158 soFar.put(Count.valueOf(keyword), fd) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/utils/vim/syntax/ |
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 token 25 syn keyword llvmStatement add addrspacecast alloca and arcp ashr atomicrmw 26 syn keyword llvmStatement bitcast br catchpad catchswitch catchret call 27 syn keyword llvmStatement cleanuppad cleanupret cmpxchg eq exact extractelement 28 syn keyword llvmStatement extractvalue fadd fast fcmp fdiv fence fmul fpext 29 syn keyword llvmStatement fptosi fptoui fptrunc free frem fsub getelementptr 30 syn keyword llvmStatement icmp inbounds indirectbr insertelement insertvalue 31 syn keyword llvmStatement inttoptr invoke landingpad load lshr malloc max mi [all...] |