Searched defs:keyword (Results 1 - 25 of 129) sorted by relevance

123456

/external/libcups/cups/
H A Dppd-custom.c41 const char *keyword)/* I - Custom option name */
49 strlcpy(key.keyword, keyword, sizeof(key.keyword));
40 ppdFindCustomOption(ppd_file_t *ppd, const char *keyword) argument
/external/icu/icu4c/source/i18n/
H A Dstandardplural.cpp34 int32_t StandardPlural::indexOrNegativeFromString(const char *keyword) { argument
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) { argument
77 switch (keyword
105 indexFromString(const char *keyword, UErrorCode &errorCode) argument
116 indexFromString(const UnicodeString &keyword, UErrorCode &errorCode) argument
[all...]
H A Dstandardplural.h42 * @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) { argument
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) { argument
59 return static_cast<Form>(indexOrOtherIndexFromString(keyword));
63 * Sets U_ILLEGAL_ARGUMENT_ERROR if the keyword i
68 fromString(const char *keyword, UErrorCode &errorCode) argument
78 fromString(const UnicodeString &keyword, UErrorCode &errorCode) argument
98 indexOrOtherIndexFromString(const char *keyword) argument
107 indexOrOtherIndexFromString(const UnicodeString &keyword) argument
[all...]
H A Dupluralrules.cpp43 UChar *keyword, int32_t capacity,
49 if (keyword == NULL ? capacity != 0 : capacity < 0) {
54 return result.extract(keyword, capacity, *status);
41 uplrules_select(const UPluralRules *uplrules, double number, UChar *keyword, int32_t capacity, UErrorCode *status) argument
H A Dselfmt.cpp88 SelectFormat::format(const UnicodeString& keyword, argument
95 // Check for the validity of the keyword
96 if (!PatternProps::isIdentifier(keyword.getBuffer(), keyword.length())) {
103 int32_t msgStart = findSubMessage(msgPattern, 0, keyword, status);
128 const UnicodeString& keyword, UErrorCode& ec) {
143 if(pattern.partSubstringMatches(part, keyword)) {
144 // keyword matches
127 findSubMessage(const MessagePattern& pattern, int32_t partIndex, const UnicodeString& keyword, UErrorCode& ec) argument
/external/python/cpython2/Lib/idlelib/
H A DHyperParser.py9 import keyword namespace
161 keyword.iskeyword(str[i:pos]))):
/external/python/cpython2/Lib/
H A Drlcompleter.py103 import keyword namespace
107 for word in keyword.kwlist:
/external/autotest/client/cros/cellular/wardmodem/
H A Dglobal_state.py6 import keyword namespace
131 keyword.iskeyword(component_name):
145 keyword.iskeyword(component_name):
H A Dstate_machine.py5 import keyword namespace
172 keyword.iskeyword(function):
/external/icu/icu4c/source/test/cintltst/
H A Dcpluralrulestest.c72 UChar keyword[kKeywordBufLen]; local
74 int32_t keywdLen = uplrules_select(uplrules, testItemPtr->number, keyword, kKeywordBufLen, &status);
76 keyword[kKeywordBufLen-1] = 0;
80 if ( u_strcmp(keyword, keywordExpected) != 0 ) {
83 testItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpected, u_austrcpy(bcharBuf,keyword) );
98 UChar keyword[8]; local
107 length = uplrules_select(upr, 2., keyword, 8, &errorCode);
108 if (U_FAILURE(errorCode) || u_strCompare(keyword, length, two, 3, FALSE) != 0) {
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowSQLiteQueryBuilder.java43 private static void conditionallyAppend(StringBuilder sb, String keyword, String value) { argument
45 sb.append(keyword);
/external/ImageMagick/coders/
H A Dvicar.c153 keyword[MagickPathExtent],
228 Determine a keyword and its value.
230 p=keyword;
233 if ((size_t) (p-keyword) < (MagickPathExtent-1))
259 Assign a value to the specified keyword.
261 if (LocaleCompare(keyword,"Label_RECORDS") == 0)
263 if (LocaleCompare(keyword,"LBLSIZE") == 0)
265 if (LocaleCompare(keyword,"RECORD_BYTES") == 0)
267 if (LocaleCompare(keyword,"NS") == 0)
269 if (LocaleCompare(keyword,"LINE
149 keyword[MagickPathExtent], local
[all...]
/external/autotest/site_utils/suite_scheduler/
H A Dbase_event.py25 def SectionName(keyword):
28 @param keyword: Name of the event, e.g., nightly, weekly etc.
30 return keyword + _SECTION_SUFFIX
59 @var _keyword: the keyword/name of this event, e.g. new_build, nightly.
97 def __init__(self, keyword, manifest_versions, always_handle):
100 @param keyword: the keyword/name of this event, e.g. nightly.
104 self._keyword = keyword
111 def keyword(self): member in class:BaseEvent
149 keyword remain
[all...]
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
H A Dimport_statement.py6 import keyword namespace
38 if keyword.iskeyword(value_part):
39 raise ValueError('%s is a reserved keyword.' % value_part)
81 if keyword.iskeyword(value):
82 raise ValueError('%s is a reserved keyword.' % value)
280 if keyword.iskeyword(value):
281 raise ValueError('%s is a reserved keyword.' % value)
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DStandardPlural.java46 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) { argument
64 switch (keyword.length()) {
66 if ("one".contentEquals(keyword)) {
68 } else if ("two".contentEquals(keyword)) {
96 orOtherFromString(CharSequence keyword) argument
106 fromString(CharSequence keyword) argument
119 indexOrNegativeFromString(CharSequence keyword) argument
128 indexOrOtherIndexFromString(CharSequence keyword) argument
138 indexFromString(CharSequence keyword) argument
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DSelectFormat.java88 * <p>The resulting keyword is provided to <code>MessageFormat</code> as a
123 * for each user-defined keyword.
124 * The pattern is a sequence of (keyword, message) pairs.
125 * A keyword is a "pattern identifier": [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+
129 * <p>You always have to define a phrase for the default keyword
130 * <code>other</code>; this phrase is returned when the keyword
132 * the <code>format</code> method matches no other keyword.
213 * Finds the SelectFormat sub-message for the given keyword, or the "other" sub-message.
216 * @param keyword a keyword t
219 findSubMessage(MessagePattern pattern, int partIndex, String keyword) argument
249 format(String keyword) argument
311 format(Object keyword, StringBuffer toAppendTo, FieldPosition pos) argument
[all...]
H A DPluralSamples.java90 String keyword = pluralRules.select(s);
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);
114 Set<FixedDecimal> list = sampleFractionMap.get(keyword);
117 sampleFractionMap.put(keyword, list);
147 String keyword = pluralRules.select(val);
148 boolean keyIsLimited = _keyLimitedMap.get(keyword);
150 List<Double> list = sampleMap.get(keyword);
153 sampleMap.put(keyword, lis
165 addRelation(Map<String, Set<FixedDecimal>> foundKeywords, String keyword, FixedDecimal s) argument
231 getDifferentCategory(List<Integer> ints, String keyword) argument
247 getStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue) argument
315 getAllKeywordValues(String keyword) argument
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
H A DICUResourceBundleCollationTest.java138 errln("Error - 'standard' is in the keyword list twice!");
144 errln("Error - 'standard' was not in the collation tree as a keyword.");
146 logln("'standard' was found as a collation keyword.");
158 private void getFunctionalEquivalentTestCases(String path, ClassLoader cl, String resName, String keyword, argument
173 ULocale equivLocale = ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DStandardPlural.java44 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) { argument
62 switch (keyword.length()) {
64 if ("one".contentEquals(keyword)) {
66 } else if ("two".contentEquals(keyword)) {
94 orOtherFromString(CharSequence keyword) argument
104 fromString(CharSequence keyword) argument
117 indexOrNegativeFromString(CharSequence keyword) argument
126 indexOrOtherIndexFromString(CharSequence keyword) argument
136 indexFromString(CharSequence keyword) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DSelectFormat.java87 * <p>The resulting keyword is provided to <code>MessageFormat</code> as a
122 * for each user-defined keyword.
123 * The pattern is a sequence of (keyword, message) pairs.
124 * A keyword is a "pattern identifier": [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+
128 * <p>You always have to define a phrase for the default keyword
129 * <code>other</code>; this phrase is returned when the keyword
131 * the <code>format</code> method matches no other keyword.
217 * Finds the SelectFormat sub-message for the given keyword, or the "other" sub-message.
220 * @param keyword a keyword t
223 findSubMessage(MessagePattern pattern, int partIndex, String keyword) argument
254 format(String keyword) argument
317 format(Object keyword, StringBuffer toAppendTo, FieldPosition pos) argument
[all...]
H A DPluralSamples.java88 String keyword = pluralRules.select(s);
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);
112 Set<FixedDecimal> list = sampleFractionMap.get(keyword);
115 sampleFractionMap.put(keyword, list);
145 String keyword = pluralRules.select(val);
146 boolean keyIsLimited = _keyLimitedMap.get(keyword);
148 List<Double> list = sampleMap.get(keyword);
151 sampleMap.put(keyword, lis
163 addRelation(Map<String, Set<FixedDecimal>> foundKeywords, String keyword, FixedDecimal s) argument
229 getDifferentCategory(List<Integer> ints, String keyword) argument
245 getStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue) argument
314 getAllKeywordValues(String keyword) argument
[all...]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
H A DICUResourceBundleCollationTest.java137 errln("Error - 'standard' is in the keyword list twice!");
143 errln("Error - 'standard' was not in the collation tree as a keyword.");
145 logln("'standard' was found as a collation keyword.");
157 private void getFunctionalEquivalentTestCases(String path, ClassLoader cl, String resName, String keyword, argument
172 ULocale equivLocale = ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate);
/external/messageformat/java/com/ibm/icu/text/
H A DSelectFormat.java85 * <p>The resulting keyword is provided to <code>MessageFormat</code> as a
120 * for each user-defined keyword.
121 * The pattern is a sequence of (keyword, message) pairs.
122 * A keyword is a "pattern identifier": [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+</p>
126 * <p>You always have to define a phrase for the default keyword
127 * <code>other</code>; this phrase is returned when the keyword
129 * the <code>format</code> method matches no other keyword.
216 * Finds the SelectFormat sub-message for the given keyword, or the "other" sub-message.
219 * @param keyword a keyword t
222 findSubMessage(MessagePattern pattern, int partIndex, String keyword) argument
253 format(String keyword) argument
316 format(Object keyword, StringBuffer toAppendTo, FieldPosition pos) argument
[all...]
/external/python/cpython2/Misc/Vim/
H A Dvim_syntax.py3 import keyword namespace
82 [("Statement", "pythonStatement", "keyword",
83 (kw for kw in keyword.kwlist
87 ("Statement", "pythonStatement", "keyword",
92 ("Repeat", "pythonRepeat", "keyword", looping),
93 ("Conditional", "pythonConditional", "keyword",
95 ("Operator", "pythonOperator", "keyword", boolean_ops),
96 ("PreCondit", "pythonPreCondit", "keyword", import_stmts),
99 ("Todo", "pythonTodo", "keyword",
112 [("Function", "pythonBuiltin", "keyword", builtin_name
[all...]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
H A DCollator.java579 * collation. At this point, the only recognized keyword for this
591 * {@icu} Given a keyword, returns an array of all values for
592 * that keyword that are currently in use.
593 * @param keyword one of the keywords returned by getKeywords.
597 public static final String[] getKeywordValues(String keyword) { argument
606 // * plus input keyword and that value has different behavior than creation with the
624 // * requested locale, with respect to given keyword, for the
637 // * @param keyword a particular keyword as enumerated by
647 // public static final ULocale getFunctionalEquivalent(String keyword,
[all...]

Completed in 2371 milliseconds

123456