Home
last modified time | relevance | path

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

12345678910>>...53

/external/icu/icu4c/source/i18n/
Dstandardplural.cpp34 int32_t StandardPlural::indexOrNegativeFromString(const char *keyword) { in indexOrNegativeFromString() argument
35 switch (*keyword++) { in indexOrNegativeFromString()
37 if (uprv_strcmp(keyword, "ew") == 0) { in indexOrNegativeFromString()
42 if (uprv_strcmp(keyword, "any") == 0) { in indexOrNegativeFromString()
47 if (uprv_strcmp(keyword, "ther") == 0) { in indexOrNegativeFromString()
49 } else if (uprv_strcmp(keyword, "ne") == 0) { in indexOrNegativeFromString()
54 if (uprv_strcmp(keyword, "wo") == 0) { in indexOrNegativeFromString()
59 if (uprv_strcmp(keyword, "ero") == 0) { in indexOrNegativeFromString()
64 if (uprv_strcmp(keyword, "0") == 0) { in indexOrNegativeFromString()
66 } else if (uprv_strcmp(keyword, "1") == 0) { in indexOrNegativeFromString()
[all …]
Dstandardplural.h52 static Form orOtherFromString(const char *keyword) { in orOtherFromString() argument
53 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString()
60 static Form orOtherFromString(const UnicodeString &keyword) { in orOtherFromString() argument
61 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString()
70 static Form fromString(const char *keyword, UErrorCode &errorCode) { in fromString() argument
71 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString()
80 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { in fromString() argument
81 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString()
88 static int32_t indexOrNegativeFromString(const char *keyword);
94 static int32_t indexOrNegativeFromString(const UnicodeString &keyword);
[all …]
Dupluralrules.cpp83 UChar *keyword, int32_t capacity, in uplrules_select() argument
89 if (keyword == NULL ? capacity != 0 : capacity < 0) { in uplrules_select()
94 return result.extract(keyword, capacity, *status); in uplrules_select()
100 UChar *keyword, int32_t capacity, in uplrules_selectFormatted() argument
106 if (keyword == NULL ? capacity != 0 : capacity < 0) { in uplrules_selectFormatted()
116 return result.extract(keyword, capacity, *status); in uplrules_selectFormatted()
122 UChar *keyword, int32_t capacity, in uplrules_selectForRange() argument
128 if (keyword == NULL ? capacity != 0 : capacity < 0) { in uplrules_selectForRange()
135 return result.extract(keyword, capacity, *status); in uplrules_selectForRange()
142 UChar *keyword, int32_t capacity, in uplrules_selectWithFormat() argument
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DStandardPlural.java46 private final String keyword; field in StandardPlural
49 keyword = kw; in StandardPlural()
56 return keyword; in getKeyword()
63 public static final StandardPlural orNullFromString(CharSequence keyword) { in orNullFromString() argument
64 switch (keyword.length()) { in orNullFromString()
66 if (keyword.charAt(0) == '0') { in orNullFromString()
68 } else if (keyword.charAt(0) == '1') { in orNullFromString()
73 if ("=0".contentEquals(keyword)) { in orNullFromString()
75 } else if ("=1".contentEquals(keyword)) { in orNullFromString()
80 if ("one".contentEquals(keyword)) { in orNullFromString()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DStandardPlural.java48 private final String keyword; field in StandardPlural
51 keyword = kw; in StandardPlural()
58 return keyword; in getKeyword()
65 public static final StandardPlural orNullFromString(CharSequence keyword) { in orNullFromString() argument
66 switch (keyword.length()) { in orNullFromString()
68 if (keyword.charAt(0) == '0') { in orNullFromString()
70 } else if (keyword.charAt(0) == '1') { in orNullFromString()
75 if ("=0".contentEquals(keyword)) { in orNullFromString()
77 } else if ("=1".contentEquals(keyword)) { in orNullFromString()
82 if ("one".contentEquals(keyword)) { in orNullFromString()
[all …]
/external/ImageMagick/coders/
Dmsl.c626 *keyword; in MSLStartElement() local
674 keyword=(const char *) NULL; in MSLStartElement()
705 keyword=(const char *) attributes[i++]; in MSLStartElement()
710 switch (*keyword) in MSLStartElement()
715 if (LocaleCompare(keyword,"channel") == 0) in MSLStartElement()
725 keyword); in MSLStartElement()
731 if (LocaleCompare(keyword,"noise") == 0) in MSLStartElement()
742 keyword); in MSLStartElement()
748 keyword); in MSLStartElement()
785 keyword=(const char *) attributes[i++]; in MSLStartElement()
[all …]
Dmpc.c155 keyword[MagickPathExtent], in ReadMPCImage() local
225 (void) memset(keyword,0,sizeof(keyword)); in ReadMPCImage()
294 p=keyword; in ReadMPCImage()
299 if ((size_t) (p-keyword) < (MagickPathExtent-1)) in ReadMPCImage()
350 switch (*keyword) in ReadMPCImage()
355 if (LocaleCompare(keyword,"alpha-trait") == 0) in ReadMPCImage()
367 (void) SetImageProperty(image,keyword,options,exception); in ReadMPCImage()
373 if (LocaleCompare(keyword,"background-color") == 0) in ReadMPCImage()
379 if (LocaleCompare(keyword,"blue-primary") == 0) in ReadMPCImage()
389 if (LocaleCompare(keyword,"border-color") == 0) in ReadMPCImage()
[all …]
Dsvg.c1099 *keyword, in SVGProcessStyleElement() local
1122 keyword=(char *) tokens[i]; in SVGProcessStyleElement()
1124 if (LocaleCompare(keyword,"font-size") != 0) in SVGProcessStyleElement()
1134 keyword=(char *) tokens[i]; in SVGProcessStyleElement()
1136 (void) LogMagickEvent(CoderEvent,GetMagickModule()," %s: %s",keyword, in SVGProcessStyleElement()
1138 switch (*keyword) in SVGProcessStyleElement()
1154 if (LocaleCompare(keyword,"clip-path") == 0) in SVGProcessStyleElement()
1159 if (LocaleCompare(keyword,"clip-rule") == 0) in SVGProcessStyleElement()
1164 if (LocaleCompare(keyword,"clipPathUnits") == 0) in SVGProcessStyleElement()
1171 if (LocaleCompare(keyword,"color") == 0) in SVGProcessStyleElement()
[all …]
/external/deqp-deps/amber/tools/
Damber-syntax.vim27 syn keyword amberTodo contained TODO FIXME
31 syn keyword amberBlockCmd SHADER BUFFER PIPELINE ATTACH END RUN TYPE SIZE FILL
32 syn keyword amberBlockCmd DESCRIPTOR_SET BINDING IDX TO EXPECT PASSTHROUGH
33 syn keyword amberBlockCmd DATA_TYPE DATA SERIES_FROM DRAW_ARRAY IN START_IDX
34 syn keyword amberBlockCmd COUNT CLEAR CLEAR_COLOR AS POS DRAW_RECT INC_BY
35 syn keyword amberBlockCmd FRAMEBUFFER ENTRY_POINT SHADER_OPTIMIZATION
36 syn keyword amberBlockCmd FORMAT FRAMEBUFFER_SIZE LOCATION BIND SAMPLER
37 syn keyword amberBlockCmd VERTEX_DATA INDEX_DATA INDEXED IMAGE_ATTACHMENT
38 syn keyword amberBlockCmd DEPTH_STENCIL_ATTACHMENT DEVICE_FEATURE TOLERANCE
39 syn keyword amberBlockCmd REPEAT COPY DERIVE_PIPELINE FROM STD140 STD430
[all …]
/external/python/cpython2/Misc/Vim/
Dpython.vim17 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/icu/libicu/cts_headers/
Dstandardplural.h52 static Form orOtherFromString(const char *keyword) { in orOtherFromString() argument
53 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString()
60 static Form orOtherFromString(const UnicodeString &keyword) { in orOtherFromString() argument
61 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString()
70 static Form fromString(const char *keyword, UErrorCode &errorCode) { in fromString() argument
71 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString()
80 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { in fromString() argument
81 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString()
88 static int32_t indexOrNegativeFromString(const char *keyword);
94 static int32_t indexOrNegativeFromString(const UnicodeString &keyword);
[all …]
/external/python/cpython3/Lib/test/
Dtest_keyword.py1 import keyword
7 self.assertTrue(keyword.iskeyword('True'))
10 self.assertFalse(keyword.iskeyword('TRUE'))
13 self.assertFalse(keyword.iskeyword(None))
18 oldlist = keyword.kwlist
19 self.addCleanup(setattr, keyword, 'kwlist', oldlist)
20 keyword.kwlist = ['its', 'all', 'eggs', 'beans', 'and', 'a', 'slice']
21 self.assertFalse(keyword.iskeyword('eggs'))
24 for key in keyword.kwlist:
29 self.assertIn("async", keyword.kwlist)
[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.java1604 String keyword = description.substring(0, x).trim(); in parseRule() local
1605 if (!isValidKeyword(keyword)) { in parseRule()
1606 throw new ParseException("keyword '" + keyword + in parseRule()
1638 boolean isOther = keyword.equals("other"); in parseRule()
1649 return new Rule(keyword, constraint, integerSamples, decimalSamples); in parseRule()
1858 private final String keyword; field in PluralRules.Rule
1863 …public Rule(String keyword, Constraint constraint, FixedDecimalSamples integerSamples, FixedDecima… in Rule() argument
1864 this.keyword = keyword; in Rule()
1872 … return new Rule(keyword, new AndConstraint(constraint, c), integerSamples, decimalSamples); in and()
1877 … return new Rule(keyword, new OrConstraint(constraint, c), integerSamples, decimalSamples); in or()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralSamples.java90 String keyword = pluralRules.select(s); in PluralSamples() local
91 addRelation(foundKeywords, keyword, s); in PluralSamples()
113 String keyword = pluralRules.select(s); in PluralSamples() local
114 Set<FixedDecimal> list = sampleFractionMap.get(keyword); in PluralSamples()
117 sampleFractionMap.put(keyword, list); in PluralSamples()
147 String keyword = pluralRules.select(val); in addSimpleSamples() local
148 boolean keyIsLimited = _keyLimitedMap.get(keyword); in addSimpleSamples()
150 List<Double> list = sampleMap.get(keyword); in addSimpleSamples()
153 sampleMap.put(keyword, list); in addSimpleSamples()
165 …private void addRelation(Map<String, Set<FixedDecimal>> foundKeywords, String keyword, FixedDecima… in addRelation() argument
[all …]
DPluralRules.java1673 String keyword = description.substring(0, x).trim(); in parseRule() local
1674 if (!isValidKeyword(keyword)) { in parseRule()
1675 throw new ParseException("keyword '" + keyword + in parseRule()
1707 boolean isOther = keyword.equals("other"); in parseRule()
1718 return new Rule(keyword, constraint, integerSamples, decimalSamples); in parseRule()
1927 private final String keyword; field in PluralRules.Rule
1932 …public Rule(String keyword, Constraint constraint, FixedDecimalSamples integerSamples, FixedDecima… in Rule() argument
1933 this.keyword = keyword; in Rule()
1941 … return new Rule(keyword, new AndConstraint(constraint, c), integerSamples, decimalSamples); in and()
1946 … return new Rule(keyword, new OrConstraint(constraint, c), integerSamples, decimalSamples); in or()
[all …]
/external/libcups/cups/
Dppd.c92 char *keyword, char *option, char *text,
425 char keyword[PPD_MAX_NAME], in _ppdOpen() local
591 mask = ppd_read(fp, &line, keyword, name, text, &string, 0, pg); in _ppdOpen()
593 DEBUG_printf(("2_ppdOpen: mask=%x, keyword=\"%s\"...", mask, keyword)); in _ppdOpen()
596 strcmp(keyword, "PPD-Adobe") || in _ppdOpen()
612 DEBUG_printf(("2_ppdOpen: keyword=%s, string=%p", keyword, string)); in _ppdOpen()
649 while ((mask = ppd_read(fp, &line, keyword, name, text, &string, 1, pg)) != 0) in _ppdOpen()
652 "text=\"%s\", string=%d chars...", mask, keyword, name, text, in _ppdOpen()
655 if (strncmp(keyword, "Default", 7) && !string && in _ppdOpen()
694 (temp = strchr(keyword, '.')) != NULL && in _ppdOpen()
[all …]
Dppd-cache.c67 const char *keyword, /* PWG keyword */ in _cupsConvertOptions() local
93 if ((keyword = cupsGetOption("job-password-encryption", num_options, options)) == NULL) in _cupsConvertOptions()
94 keyword = "none"; in _cupsConvertOptions()
96 if (!strcmp(keyword, "none")) in _cupsConvertOptions()
113 if ((hashlen = cupsHashData(keyword, password, strlen(password), hash, sizeof(hash))) > 0) in _cupsConvertOptions()
118 …ppAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "job-password-encryption", NULL, keyword); in _cupsConvertOptions()
123 if ((keyword = cupsGetOption("job-account-id", num_options, options)) == NULL) in _cupsConvertOptions()
124 keyword = cupsGetOption("job-billing", num_options, options); in _cupsConvertOptions()
126 if (keyword) in _cupsConvertOptions()
127 ippAddString(request, IPP_TAG_JOB, IPP_TAG_NAME, "job-account-id", NULL, keyword); in _cupsConvertOptions()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DScan.cpp934 keyword = it->second; in tokenizeIdentifier()
936 switch (keyword) { in tokenizeIdentifier()
952 return keyword; in tokenizeIdentifier()
957 return keyword; in tokenizeIdentifier()
963 return keyword; in tokenizeIdentifier()
971 return keyword; in tokenizeIdentifier()
975 return keyword; in tokenizeIdentifier()
982 return keyword; in tokenizeIdentifier()
1003 return keyword; in tokenizeIdentifier()
1010 return keyword; in tokenizeIdentifier()
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
DScan.cpp934 keyword = it->second; in tokenizeIdentifier()
936 switch (keyword) { in tokenizeIdentifier()
952 return keyword; in tokenizeIdentifier()
957 return keyword; in tokenizeIdentifier()
963 return keyword; in tokenizeIdentifier()
971 return keyword; in tokenizeIdentifier()
975 return keyword; in tokenizeIdentifier()
982 return keyword; in tokenizeIdentifier()
1003 return keyword; in tokenizeIdentifier()
1010 return keyword; in tokenizeIdentifier()
[all …]
/external/python/cpython2/Doc/reference/
Dcompound_stmts.rst14 The :keyword:`if`, :keyword:`while` and :keyword:`for` statements implement
15 traditional control flow constructs. :keyword:`try` specifies exception
26 identifying keyword and ends with a colon. A suite is a group of statements
31 mostly because it wouldn't be clear to which :keyword:`if` clause a following
32 :keyword:`else` clause would belong: ::
37 that in the following example, either all or none of the :keyword:`print`
64 keyword that cannot start a statement, thus there are no ambiguities (the
65 'dangling :keyword:`else`' problem is solved in Python by requiring nested
66 :keyword:`if` statements to be indented).
76 The :keyword:`if` statement
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DModifier.java122 private Keyword keyword; field in Modifier
129 public Modifier(Keyword keyword) { in Modifier() argument
130 this(null, keyword); in Modifier()
137 public Modifier(TokenRange tokenRange, Keyword keyword) { in Modifier() argument
139 setKeyword(keyword); in Modifier()
157 return keyword; in getKeyword()
161 public Modifier setKeyword(final Keyword keyword) { in setKeyword() argument
162 assertNotNull(keyword); in setKeyword()
163 if (keyword == this.keyword) { in setKeyword()
166 notifyPropertyChange(ObservableProperty.KEYWORD, this.keyword, keyword); in setKeyword()
[all …]
/external/python/cpython3/Doc/tutorial/
Derrors.rst96 The :keyword:`try` statement works as follows.
98 * First, the *try clause* (the statement(s) between the :keyword:`try` and
99 :keyword:`except` keywords) is executed.
102 :keyword:`try` statement is finished.
104 * If an exception occurs during execution of the :keyword:`try` clause, the rest of the
106 :keyword:`except` keyword, the *except clause* is executed, and then execution
110 clause*, it is passed on to outer :keyword:`try` statements; if no handler is
114 A :keyword:`try` statement may have more than one *except clause*, to specify
117 not in other handlers of the same :keyword:`!try` statement. An *except clause*
123 A class in an :keyword:`except` clause is compatible with an exception if it is
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcpluralrulestest.c86 UChar keyword[kKeywordBufLen]; in TestPluralRules() local
88 …int32_t keywdLen = uplrules_select(uplrules, testItemPtr->number, keyword, kKeywordBufLen, &status… in TestPluralRules()
90 keyword[kKeywordBufLen-1] = 0; in TestPluralRules()
94 if ( u_strcmp(keyword, keywordExpected) != 0 ) { in TestPluralRules()
97 …ItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpected, u_austrcpy(bcharBuf,keyword) ); in TestPluralRules()
107 …dLen = uplrules_selectWithFormat(uplrules, testItemPtr->number, unumfmt, keyword, kKeywordBufLen, … in TestPluralRules()
109 keyword[kKeywordBufLen-1] = 0; in TestPluralRules()
113 if ( u_strcmp(keyword, keywordExpected) != 0 ) { in TestPluralRules()
116 …cale, testItemPtr->number, testItemPtr->keywordExpectedForDecimals, u_austrcpy(bcharBuf,keyword) ); in TestPluralRules()
136 UChar keyword[8]; in TestOrdinalRules() local
[all …]
/external/llvm/utils/vim/syntax/
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 token
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 …]

12345678910>>...53