Home
last modified time | relevance | path

Searched refs:keyword (Results 1 – 25 of 308) sorted by relevance

12345678910>>...13

/external/llvm/utils/vim/
Dllvm.vim17 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/
Dkeywords-and-reserved_words-expected.txt32 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/
Dobject-literal.js142 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/
DPluralSamples.java88 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 …]
DPluralRules.java1363 String keyword = description.substring(0, x).trim(); in parseRule() local
1364 if (!isValidKeyword(keyword)) { in parseRule()
1365 throw new ParseException("keyword '" + keyword + in parseRule()
1397 boolean isOther = keyword.equals("other"); in parseRule()
1408 return new Rule(keyword, constraint, integerSamples, decimalSamples); in parseRule()
1606 private final String keyword; field in PluralRules.Rule
1611 …public Rule(String keyword, Constraint constraint, FixedDecimalSamples integerSamples, FixedDecima… in Rule() argument
1612 this.keyword = keyword; in Rule()
1620 … return new Rule(keyword, new AndConstraint(constraint, c), integerSamples, decimalSamples); in and()
1625 … return new Rule(keyword, new OrConstraint(constraint, c), integerSamples, decimalSamples); in or()
[all …]
DSelectFormat.java222 /*package*/ 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()
DPluralFormat.java465 String keyword=null; in findSubMessage() local
504 if(keyword!=null && keyword.equals("other")) { in findSubMessage()
512 if(keyword==null) { in findSubMessage()
513 keyword=selector.select(context, number-offset); in findSubMessage()
514 if(msgStart!=0 && keyword.equals("other")) { in findSubMessage()
521 if(!haveKeywordMatch && pattern.partSubstringMatches(part, keyword)) { in findSubMessage()
724 String keyword = null; in parseType() local
760 keyword = pattern.substring(partStart.getLimit(), partLimit.getIndex()); in parseType()
763 if (keyword != null) { in parseType()
766 return keyword; in parseType()
/external/messageformat/java/com/ibm/icu/simple/
DPluralRules.java1353 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 …]
DPluralFormat.java302 String keyword=null; in findSubMessage() local
341 if(keyword!=null && keyword.equals("other")) { in findSubMessage()
349 if(keyword==null) { in findSubMessage()
350 keyword=selector.select(context, number-offset); in findSubMessage()
351 if(msgStart!=0 && keyword.equals("other")) { in findSubMessage()
358 if(!haveKeywordMatch && pattern.partSubstringMatches(part, keyword)) { in findSubMessage()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java180 …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/libxml2/doc/tutorial/
Dincludeaddkeyword.c9 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);
Dincludexpath.c51 xmlChar *keyword;
64 keyword = xmlNodeListGetString(doc, nodeset->nodeTab[i]->xmlChildrenNode, 1);
65 printf("keyword: %s\n", keyword);
66 xmlFree(keyword);
/external/icu/icu4c/source/test/cintltst/
Dcpluralrulestest.c70 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()
Dcloctst.c1719 const char *keyword = NULL; in TestKeywordVariants() local
1739 while((keyword = uenum_next(keywords, &keywordLen, &status))) { in TestKeywordVariants()
1740 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants()
1741 … log_err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants()
1747 while((keyword = uenum_next(keywords, &keywordLen, &status))) { in TestKeywordVariants()
1748 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants()
1749 … log_err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants()
1775 const char *keyword; in TestKeywordVariantParsing() member
1792 …resultLen = uloc_getKeywordValue(testCases[i].localeID, testCases[i].keyword, buffer, 256, &status… in TestKeywordVariantParsing()
1796 testCases[i].expectedValue, testCases[i].localeID, testCases[i].keyword, buffer); in TestKeywordVariantParsing()
[all …]
/external/deqp/modules/gles3/scripts/
Dgen-keywords.py89 for keyword in KEYWORDS:
90 keywords.append(IdentifierCase(keyword, keyword)) # Keywords
92 for keyword in RESERVED_KEYWORDS:
93 reservedKeywords.append(IdentifierCase(keyword, keyword)) # Reserved keywords
/external/deqp/modules/gles2/scripts/
Dgen-keywords.py75 for keyword in KEYWORDS:
76 keywords.append(IdentifierCase(keyword, keyword)) # Keywords
78 for keyword in RESERVED_KEYWORDS:
79 reservedKeywords.append(IdentifierCase(keyword, keyword)) # Reserved keywords
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
DMaterialLoader.java159 String keyword = split[0]; in readTextureUnitStatement() local
160 if (keyword.equals("texture")){ in readTextureUnitStatement()
162 }else if (keyword.equals("tex_address_mode")){ in readTextureUnitStatement()
173 }else if (keyword.equals("filtering")){ in readTextureUnitStatement()
175 }else if (keyword.equals("tex_coord_set")){ in readTextureUnitStatement()
180 }else if (keyword.equals("max_anisotropy")){ in readTextureUnitStatement()
184 logger.log(Level.WARNING, "Unsupported texture_unit directive: {0}", keyword); in readTextureUnitStatement()
212 String keyword = split[0]; in readPassStatement() local
213 if (keyword.equals("diffuse")){ in readPassStatement()
221 }else if(keyword.equals("ambient")) { in readPassStatement()
[all …]
/external/messageformat/java/com/ibm/icu/text/
DSelectFormat.java222 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/
Dproto.vim53 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 …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DKeywordsBox.java57 for (String keyword : keywords) { in getContentSize()
58 contentSize += 1 + Utf8.utf8StringLengthInBytes(keyword) + 1; in getContentSize()
80 for (String keyword : keywords) { in getContent()
81 IsoTypeWriter.writeUInt8(byteBuffer, Utf8.utf8StringLengthInBytes(keyword) + 1); in getContent()
82 byteBuffer.put(Utf8.convert(keyword)); in getContent()
/external/icu/icu4c/source/i18n/
Dselfmt.cpp86 SelectFormat::format(const UnicodeString& keyword, in format() argument
94 if (!PatternProps::isIdentifier(keyword.getBuffer(), keyword.length())) { in format()
101 int32_t msgStart = findSubMessage(msgPattern, 0, keyword, status); in format()
126 const UnicodeString& keyword, UErrorCode& ec) { in findSubMessage() argument
141 if(pattern.partSubstringMatches(part, keyword)) { in findSubMessage()
/external/pdfium/third_party/freetype/src/cid/
Dcidload.c72 const T1_Field keyword ) in cid_load_keyword() argument
82 if ( keyword->type == T1_FIELD_TYPE_CALLBACK ) in cid_load_keyword()
84 keyword->reader( (FT_Face)face, parser ); in cid_load_keyword()
90 switch ( keyword->location ) in cid_load_keyword()
116 keyword->ident )); in cid_load_keyword()
122 switch ( keyword->location ) in cid_load_keyword()
137 if ( keyword->type == T1_FIELD_TYPE_INTEGER_ARRAY || in cid_load_keyword()
138 keyword->type == T1_FIELD_TYPE_FIXED_ARRAY ) in cid_load_keyword()
139 error = cid_parser_load_field_table( &loader->parser, keyword, in cid_load_keyword()
143 keyword, &dummy_object ); in cid_load_keyword()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dplurrule.h374 double getUniqueKeywordValue(const UnicodeString& keyword);
396 int32_t getAllKeywordValues(const UnicodeString &keyword,
419 int32_t getSamples(const UnicodeString &keyword,
432 UBool isKeyword(const UnicodeString& keyword) const;
495 RuleChain *rulesForKeyword(const UnicodeString &keyword) const;
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollator.java635 private static final boolean getYesOrNo(String keyword, String s) { in getYesOrNo() argument
642 throw new IllegalArgumentException("illegal locale keyword=value: " + keyword + "=" + s); in getYesOrNo()
645 private static final int getIntValue(String keyword, String s, String... values) { in getIntValue() argument
651 throw new IllegalArgumentException("illegal locale keyword=value: " + keyword + "=" + s); in getIntValue()
654 private static final int getReorderCode(String keyword, String s) { in getReorderCode() argument
656 getIntValue(keyword, s, "space", "punct", "symbol", "currency", "digit"); in getReorderCode()
964 public static final String[] getKeywordValues(String keyword) { in getKeywordValues() argument
965 if (!keyword.equals(KEYWORDS[0])) { in getKeywordValues()
966 throw new IllegalArgumentException("Invalid keyword: " + keyword); in getKeywordValues()
1055 public static final ULocale getFunctionalEquivalent(String keyword, in getFunctionalEquivalent() argument
[all …]
/external/icu/icu4c/source/test/intltest/
Dplurults.cpp401 const UnicodeString* keyword; in testGetSamples() local
402 while (NULL != (keyword = keywords->snext(status))) { in testGetSamples()
403 int32_t count = rules->getSamples(*keyword, values, UPRV_LENGTHOF(values), status); in testGetSamples()
407 UNICODE_STRING_SIMPLE(", keyword ") + *keyword); in testGetSamples()
418 UNICODE_STRING_SIMPLE(", keyword ") + *keyword); in testGetSamples()
429 if (*keyword != resultKeyword) { in testGetSamples()
431 …__FILE__, __LINE__, locales[i].getName(), US(*keyword).cstr(), values[j], values[j], US(resultKeyw… in testGetSamples()
451 UnicodeString keyword = rules->select((int32_t)26); in testWithin() local
452 if (keyword != "a") { in testWithin()
456 keyword = rules->select(26.5); in testWithin()
[all …]

12345678910>>...13