/external/icu/icu4c/source/i18n/ |
H A D | upluralrules.cpp | 41 UChar *keyword, int32_t capacity, 47 if (keyword == NULL ? capacity != 0 : capacity < 0) { 52 return result.extract(keyword, capacity, *status); 39 uplrules_select(const UPluralRules *uplrules, double number, UChar *keyword, int32_t capacity, UErrorCode *status) argument
|
H A D | selfmt.cpp | 86 SelectFormat::format(const UnicodeString& keyword, argument 93 // Check for the validity of the keyword 94 if (!PatternProps::isIdentifier(keyword.getBuffer(), keyword.length())) { 101 int32_t msgStart = findSubMessage(msgPattern, 0, keyword, status); 126 const UnicodeString& keyword, UErrorCode& ec) { 141 if(pattern.partSubstringMatches(part, keyword)) { 142 // keyword matches 125 findSubMessage(const MessagePattern& pattern, int32_t partIndex, const UnicodeString& keyword, UErrorCode& ec) argument
|
H A D | plurfmt.cpp | 411 // The keyword is empty until we need to match against a non-explicit, not-"other" value. 412 // Then we get the keyword from the selector. 414 // or if the only non-explicit keyword is "other".) 415 UnicodeString keyword; local 418 // to avoid matching the keyword again (duplicates are allowed) 424 // We remember the first matching-keyword sub-message if we have not seen 428 // We avoid matching the keyword twice by also setting haveKeywordMatch=true 429 // at the first keyword match. 450 // plural keyword like "few" or "other" 455 if(0 == keyword 504 UnicodeString keyword; local [all...] |
H A D | ucol_res.cpp | 437 // Remove the collation keyword if it was set. 594 ucol_getKeywordValues(const char *keyword, UErrorCode *status) { argument 598 // hard-coded to accept exactly one collation keyword 599 // modify if additional collation keyword is added later 600 if (keyword==NULL || uprv_strcmp(keyword, KEYWORDS[0])!=0) 628 * -values is the temp location for the keyword values 736 const char* keyword, const char* locale, 739 // N.B.: Resource name is "collations" but keyword is "collation" 741 "collations", keyword, local 735 ucol_getFunctionalEquivalent(char* result, int32_t resultCapacity, const char* keyword, const char* locale, UBool* isAvailable, UErrorCode* status) argument [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | 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) {
|
/external/lldb/source/Core/ |
H A D | UserSettingsController.cpp | 91 Properties::Apropos (const char *keyword, std::vector<const Property *> &matching_properties) const argument 96 properties_sp->Apropos (keyword, matching_properties);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowSQLiteQueryBuilder.java | 43 private static void conditionallyAppend(StringBuilder sb, String keyword, String value) { argument 45 sb.append(keyword);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | SelectFormat.java | 85 * <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...] |
H A D | PluralSamples.java | 88 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 256 getStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue) argument 325 getAllKeywordValues(String keyword) argument [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
H A D | ICUResourceBundleCollationTest.java | 133 errln("Error - 'standard' is in the keyword list twice!"); 139 errln("Error - 'standard' was not in the collation tree as a keyword."); 141 logln("'standard' was found as a collation keyword."); 152 private void getFunctionalEquivalentTestCases(String path, ClassLoader cl, String resName, String keyword, argument 167 ULocale equivLocale = ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate);
|
/external/messageformat/java/com/ibm/icu/text/ |
H A D | SelectFormat.java | 85 * <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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | ICUResourceBundleTest.java | 748 private void getFunctionalEquivalentTestCases(String path, ClassLoader cl, String resName, String keyword, argument 763 ULocale equivLocale = ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate);
|
/external/jetty/src/java/org/eclipse/jetty/util/security/ |
H A D | UnixCrypt.java | 308 private static long[] des_setkey(long keyword) argument 310 long K = perm6464(keyword, PC1ROT); 415 long keyword = 0L; 424 keyword = (keyword << 8) | ((i < keylen) ? 2 * key.charAt(i) : 0); 427 long[] KS = des_setkey(keyword);
|
/external/jpeg/ |
H A D | rdjpgcom.c | 408 keymatch (char * arg, const char * keyword, int minchars) argument 409 /* Case-insensitive matching of (possibly abbreviated) keyword switches. */ 410 /* keyword is the constant keyword (must be lower case already), */ 417 if ((ck = *keyword++) == '\0') 418 return 0; /* arg longer than keyword, no good */
|
H A D | wrjpgcom.c | 384 keymatch (char * arg, const char * keyword, int minchars) argument 385 /* Case-insensitive matching of (possibly abbreviated) keyword switches. */ 386 /* keyword is the constant keyword (must be lower case already), */ 393 if ((ck = *keyword++) == '\0') 394 return 0; /* arg longer than keyword, no good */
|
/external/pdfium/third_party/freetype/src/cid/ |
H A D | cidload.c | 72 const T1_Field keyword ) 81 /* if the keyword has a dedicated callback, call it */ 82 if ( keyword->type == T1_FIELD_TYPE_CALLBACK ) 84 keyword->reader( (FT_Face)face, parser ); 90 switch ( keyword->location ) 116 keyword->ident )); 122 switch ( keyword->location ) 136 /* now, load the keyword data in the object's field(s) */ 137 if ( keyword->type == T1_FIELD_TYPE_INTEGER_ARRAY || 138 keyword 354 T1_Field keyword = (T1_Field)cid_field_records; local [all...] |
/external/sepolicy/tools/sepolicy-analyze/ |
H A D | neverallow.c | 23 const char *keyword = "self"; local 24 size_t keyword_size = strlen(keyword), len; 100 if (len == keyword_size && !strncmp(start, keyword, keyword_size)) { 372 const char *keyword = "neverallow"; local 373 size_t keyword_size = strlen(keyword), len; 393 if (len != keyword_size || strncmp(start, keyword, keyword_size))
|
/external/toybox/scripts/ |
H A D | config2help.c | 25 char *keyword(char *name, char *line) function 141 // source or config keyword at left edge? 143 if ((s = keyword("config", line))) { 148 } else if ((s = keyword("source", line))) parse(s); 161 else if ((s = keyword("depends", line)) && (s = keyword("on", s))) 163 else if (keyword("help", line)) sym->help_indent = -1; 238 if (catch->help && (that = keyword("usage:", catch->help->data))) {
|
/external/lldb/source/Interpreter/ |
H A D | OptionValueProperties.cpp | 712 OptionValueProperties::Apropos (const char *keyword, std::vector<const Property *> &matching_properties) const argument 724 properties->Apropos (keyword, matching_properties); 730 if (name && ::strcasestr(name, keyword)) 735 if (desc && ::strcasestr(desc, keyword))
|
/external/vboot_reference/utility/ |
H A D | bmpblk_utility.cc | 156 string keyword; local 162 keyword = (char*)event.data.scalar.value; 163 if (keyword == "bmpblock") { 165 } else if (keyword == "compression") { 167 } else if (keyword == "images") { 169 } else if (keyword == "screens") { 171 } else if (keyword == "localizations") { 173 } else if (keyword == "locale_index") {
|
/external/icu/icu4c/source/common/ |
H A D | locdispnames.cpp | 587 UEnumeration* kenum = NULL; /* keyword enumeration */ 658 /* adjust for call to get keyword */ 766 uloc_getDisplayKeyword(const char* keyword, argument 786 keyword, 787 keyword, 798 const char* keyword, 819 /* get the keyword value */ 821 keywordValueLen = uloc_getKeywordValue(locale, keyword, keywordValue, capacity, status); 824 * if the keyword is equal to currency .. then to get the display name 827 if(uprv_stricmp(keyword, _kCurrenc 797 uloc_getDisplayKeywordValue( const char* locale, const char* keyword, const char* displayLocale, UChar* dest, int32_t destCapacity, UErrorCode* status) argument [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | plurults.cpp | 401 const UnicodeString* keyword; local 402 while (NULL != (keyword = keywords->snext(status))) { 403 int32_t count = rules->getSamples(*keyword, values, UPRV_LENGTHOF(values), status); 407 UNICODE_STRING_SIMPLE(", keyword ") + *keyword); 412 // errln(UNICODE_STRING_SIMPLE("no samples for keyword ") + *keyword + UNICODE_STRING_SIMPLE(" in locale ") + locales[i].getName() ); 418 UNICODE_STRING_SIMPLE(", keyword ") + *keyword); 429 if (*keyword ! 451 UnicodeString keyword = rules->select((int32_t)26); local 597 UnicodeString keyword = pr->select(2.); local 606 checkSelect(const LocalPointer<PluralRules> &rules, UErrorCode &status, int32_t line, const char *keyword, ...) argument 910 UnicodeString keyword = pr->select(n); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | PluralRulesTest.java | 180 public void checkOldSamples(String description, PluralRules rules, String keyword, SampleType sampleType, argument 182 Collection<Double> oldSamples = rules.getSamples(keyword, sampleType); 183 if (!assertEquals("getOldSamples; " + keyword + "; " + description, new HashSet(Arrays.asList(expected)), 185 rules.getSamples(keyword, sampleType); 189 public void checkNewSamples(String description, PluralRules test, String keyword, SampleType sampleType, argument 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 629 getAssertMessage(String message, ULocale locale, PluralRules rules, String keyword) argument [all...] |
/external/ipsec-tools/src/racoon/ |
H A D | eaytest.c | 733 char *keyword = "hehehe test secret!"; local 752 key = vmalloc(strlen(keyword)); 753 memcpy(key->v, keyword, key->l);
|
/external/netcat/ |
H A D | netcat.c | 995 const char *keyword; member in struct:toskeywords 1028 for (t = toskeywords; t->keyword != NULL; t++) { 1029 if (strcmp(s, t->keyword) == 0) {
|