/external/icu/android_icu4j/src/main/java/android/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/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
StandardPlural.java | 42 private final String keyword; field in class:StandardPlural 45 keyword = kw; 49 * @return the lowercase CLDR keyword string for the plural form 52 return keyword; 56 * @param keyword for example "few" or "other" 57 * @return the plural form corresponding to the keyword, or null 59 public static final StandardPlural orNullFromString(CharSequence keyword) { 60 switch (keyword.length()) { 62 if ("one".contentEquals(keyword)) { 64 } else if ("two".contentEquals(keyword)) { [all...] |
/external/icu/icu4c/source/i18n/ |
standardplural.h | 40 * @return the lowercase CLDR keyword string for the plural form 45 * @param keyword for example "few" or "other" 46 * @return the plural form corresponding to the keyword, or OTHER 48 static Form orOtherFromString(const char *keyword) { 49 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); 53 * @param keyword for example "few" or "other" 54 * @return the plural form corresponding to the keyword, or OTHER 56 static Form orOtherFromString(const UnicodeString &keyword) { 57 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); 61 * Sets U_ILLEGAL_ARGUMENT_ERROR if the keyword is not a plural form [all...] |
standardplural.cpp | 32 int32_t StandardPlural::indexOrNegativeFromString(const char *keyword) { 33 switch (*keyword++) { 35 if (uprv_strcmp(keyword, "ew") == 0) { 40 if (uprv_strcmp(keyword, "any") == 0) { 45 if (uprv_strcmp(keyword, "ther") == 0) { 47 } else if (uprv_strcmp(keyword, "ne") == 0) { 52 if (uprv_strcmp(keyword, "wo") == 0) { 57 if (uprv_strcmp(keyword, "ero") == 0) { 74 int32_t StandardPlural::indexOrNegativeFromString(const UnicodeString &keyword) { 75 switch (keyword.length()) [all...] |
upluralrules.cpp | 41 UChar *keyword, int32_t capacity, 47 if (keyword == NULL ? capacity != 0 : capacity < 0) { 52 return result.extract(keyword, capacity, *status);
|
/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>
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/env/ |
modifier.hpp | 37 nfp::keyword<struct default_value_t> default_value; 38 nfp::keyword<struct interpreter_t> interpreter;
|
/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/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 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 ol [all...] |
/external/v8/test/webkit/ |
keywords-and-reserved_words.js | 56 return "keyword"; 70 shouldBe('classifyIdentifier("keyword")', '"identifier"'); 92 shouldBe('classifyIdentifier("break")', '"keyword"'); 93 shouldBe('classifyIdentifier("case")', '"keyword"'); 94 shouldBe('classifyIdentifier("catch")', '"keyword"'); 95 shouldBe('classifyIdentifier("continue")', '"keyword"'); 96 shouldBe('classifyIdentifier("debugger")', '"keyword"'); 97 shouldBe('classifyIdentifier("default")', '"keyword"'); 98 shouldBe('classifyIdentifier("delete")', '"keyword"'); 99 shouldBe('classifyIdentifier("do")', '"keyword"'); [all...] |
/external/ImageMagick/coders/ |
msl.c | 627 *keyword; 675 keyword=(const char *) NULL; 706 keyword=(const char *) attributes[i++]; 711 switch (*keyword) 716 if (LocaleCompare(keyword,"channel") == 0) 726 keyword); 732 if (LocaleCompare(keyword,"noise") == 0) 743 keyword); 749 keyword); 786 keyword=(const char *) attributes[i++] 621 *keyword; local [all...] |
mpc.c | 153 keyword[MagickPathExtent], 222 (void) ResetMagickMemory(keyword,0,sizeof(keyword)); 281 Get the keyword. 284 p=keyword; 289 if ((size_t) (p-keyword) < (MagickPathExtent-1)) 300 Get the keyword value. 338 Assign a value to the specified keyword. 340 switch (*keyword) 345 if (LocaleCompare(keyword,"alpha-color") == 0 149 keyword[MagickPathExtent], local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cpluralrulestest.c | 70 UChar keyword[kKeywordBufLen]; local 72 int32_t keywdLen = uplrules_select(uplrules, testItemPtr->number, keyword, kKeywordBufLen, &status); 74 keyword[kKeywordBufLen-1] = 0; 78 if ( u_strcmp(keyword, keywordExpected) != 0 ) { 81 testItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpected, u_austrcpy(bcharBuf,keyword) ); 96 UChar keyword[8]; local 105 length = uplrules_select(upr, 2., keyword, 8, &errorCode); 106 if (U_FAILURE(errorCode) || u_strCompare(keyword, length, two, 3, FALSE) != 0) {
|
/system/core/init/ |
keyword_map.h | 34 const Function FindFunction(const std::string& keyword, 39 auto function_info_it = map().find(keyword); 41 *err = StringPrintf("invalid keyword '%s'", keyword.c_str()); 51 keyword.c_str(), min_args, 59 keyword.c_str(), min_args, 63 keyword.c_str(), min_args, max_args); 72 //Map of keyword ->
|
/external/v8/test/mjsunit/ |
object-literal.js | 142 function testKeywordProperty(keyword) { 145 // Sanity check that what we get is a keyword. 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}," [all...] |
/external/antlr/antlr-3.4/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/android_icu4j/src/main/java/android/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...] |
SelectFormat.java | 86 * <p>The resulting keyword is provided to <code>MessageFormat</code> as a 121 * for each user-defined keyword. 122 * The pattern is a sequence of (keyword, message) pairs. 123 * A keyword is a "pattern identifier": [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+ 127 * <p>You always have to define a phrase for the default keyword 128 * <code>other</code>; this phrase is returned when the keyword 130 * the <code>format</code> method matches no other keyword. 211 * Finds the SelectFormat sub-message for the given keyword, or the "other" sub-message. 214 * @param keyword a keyword to be matched to one of the SelectFormat argument's keywords [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
PluralSamples.java | 86 String keyword = pluralRules.select(s); local 87 addRelation(foundKeywords, keyword, s); 100 System.out.println("Failed to find sample for each keyword: " + foundKeywords + "\n\t" + pluralRules + "\n\t" + mentioned); 109 String keyword = pluralRules.select(s); local 110 Set<FixedDecimal> list = sampleFractionMap.get(keyword); 113 sampleFractionMap.put(keyword, list); 143 String keyword = pluralRules.select(val); local 144 boolean keyIsLimited = _keyLimitedMap.get(keyword); 146 List<Double> list = sampleMap.get(keyword); 149 sampleMap.put(keyword, list) 171 String keyword = pluralRules.select(numberInfo); local 201 String keyword = pluralRules.select(base); local [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/cla/ |
modifier.hpp | 56 nfp::keyword<struct default_value_t> default_value; 57 nfp::keyword<struct handler_t> handler; 58 nfp::keyword<struct interpreter_t> interpreter; 59 nfp::keyword<struct assign_to_t> assign_to;
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
KeywordsBox.java | 57 for (String keyword : keywords) { 58 contentSize += 1 + Utf8.utf8StringLengthInBytes(keyword) + 1; 80 for (String keyword : keywords) { 81 IsoTypeWriter.writeUInt8(byteBuffer, Utf8.utf8StringLengthInBytes(keyword) + 1); 82 byteBuffer.put(Utf8.convert(keyword)); 90 buffer.append(";keyword").append(i).append("=").append(keywords[i]);
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/ |
named_params.hpp | 41 template<typename unique_id,bool required> struct keyword; 132 res_type operator[]( keyword<typename NP::id,true> kw ) const { return m_param[kw]; } 133 res_type operator[]( keyword<typename NP::id,false> kw ) const { return m_param[kw]; } 136 bool has( keyword<typename NP::id,false> kw ) const { return m_param.has( kw ); } 139 void erase( keyword<typename NP::id,false> kw ) const { m_param.erase( kw ); } 190 ref_type operator[]( keyword<unique_id,true> ) const { return m_erased ? nil_t::inst().template any_cast<ref_type>() : m_value; } 191 ref_type operator[]( keyword<unique_id,false> ) const { return m_erased ? nil_t::inst().template any_cast<ref_type>() : m_value; } 193 nil_t operator[]( keyword<UnknownId,false> ) const { return nil_t::inst(); } 195 bool has( keyword<unique_id,false> ) const { return !m_erased; } 197 bool has( keyword<UnknownId,false> ) const { return false; 237 struct keyword { struct in namespace:boost::nfp [all...] |