/external/icu/icu4c/source/i18n/ |
D | reldatefmt.cpp | 388 if (uprv_strncmp(keyword, "day", length) == 0) { in unitOrNegativeFromString() 390 } else if (uprv_strncmp(keyword, "sun", length) == 0) { in unitOrNegativeFromString() 392 } else if (uprv_strncmp(keyword, "mon", length) == 0) { in unitOrNegativeFromString() 394 } else if (uprv_strncmp(keyword, "tue", length) == 0) { in unitOrNegativeFromString() 396 } else if (uprv_strncmp(keyword, "wed", length) == 0) { in unitOrNegativeFromString() 398 } else if (uprv_strncmp(keyword, "thu", length) == 0) { in unitOrNegativeFromString() 400 } else if (uprv_strncmp(keyword, "fri", length) == 0) { in unitOrNegativeFromString() 402 } else if (uprv_strncmp(keyword, "sat", length) == 0) { in unitOrNegativeFromString() 407 if (uprv_strncmp(keyword, "hour", length) == 0) { in unitOrNegativeFromString() 409 } else if (uprv_strncmp(keyword, "week", length) == 0) { in unitOrNegativeFromString() [all …]
|
D | ucol_res.cpp | 326 typeLength > 6 && uprv_strncmp(type, "search", 6) == 0) { in loadFromCollations() 646 } else if (type == URES_TABLE && uprv_strncmp(key, "private-", 8) != 0) { in put()
|
D | dayperiodrules.cpp | 150 if (uprv_strncmp(setNumStr, "set", 3) != 0) { in parseSetNum()
|
D | measfmt.cpp | 388 if (uprv_strncmp(key, "units", 5) == 0) { in widthFromKey()
|
/external/icu/icu4c/source/common/ |
D | udata.cpp | 572 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix.data(), 4)==0 && /* suffix matches */ in next() 573 … uprv_strncmp(findBasename(pathBuffer.data()), basename, basenameLen)==0 && /* base matches */ in next() 585 uprv_strncmp(pathBuffer.data()+(pathLen-4), ".dat", 4) == 0) in next() 1174 !uprv_strncmp(path, U_ICUDATA_NAME U_TREE_SEPARATOR_STRING, /* "icudt26e-" */ in doOpenChoice() 1176 !uprv_strncmp(path, U_ICUDATA_ALIAS U_TREE_SEPARATOR_STRING, /* "ICUDATA-" */ in doOpenChoice()
|
D | cstring.h | 44 #define uprv_strncmp(s1, s2, n) U_STANDARD_CPP_NAMESPACE strncmp(s1, s2, n) macro
|
D | putil.cpp | 770 if (uprv_strncmp(*id, "posix/", 6) == 0 in skipZoneIDPrefix() 771 || uprv_strncmp(*id, "right/", 6) == 0) in skipZoneIDPrefix() 1853 (uprv_strncmp("QLGPGCMA", correctedLocale, 8) == 0)) 1887 else if (uprv_strncmp(correctedLocale, "zh_HK", 5) == 0)
|
D | ucnv_bld.cpp | 659 if(uprv_strncmp(inName, "locale=", 7)==0) { in parseConverterOptions() 678 } else if(uprv_strncmp(inName, "version=", 8)==0) { in parseConverterOptions() 689 } else if(uprv_strncmp(inName, "swaplfnl", 8)==0) { in parseConverterOptions()
|
D | uloc.cpp | 1501 if (uprv_strncmp(variants, toDelete, toDeleteLen) == 0 && in _deleteVariant() 1735 if(len == I_DEFAULT_LENGTH && uprv_strncmp(origLocaleID, i_default, len) == 0) { in _canonicalize() 1892 if (len == n && uprv_strncmp(name, id, n) == 0) { in _canonicalize() 2424 if((clen!=slen) || (uprv_strncmp(items[n].locale, tmp, slen))) { in uloc_acceptLanguageFromHTTP()
|
D | uresbund.cpp | 471 *isDefault = (UBool)(uprv_strncmp(name, defaultLoc, uprv_strlen(name)) == 0); in findFirstExisting() 624 … UBool usingUSRData = U_USE_USRDATA && ( path == NULL || uprv_strncmp(path,U_ICUDATA_NAME,8) == 0); in entryOpen() 2912 uprv_strcmp(k, DEFAULT_TAG) == 0 || uprv_strncmp(k, "private-", 8) == 0) { in ures_getKeywordValues() 2982 if(uprv_strncmp(res1->fResPath, res2->fResPath, res1->fResPathLen)!=0){
|
D | locdispnames.cpp | 320 if (!uprv_strncmp(tableKey, "Languages", 9) && uprv_strtol(itemKey, NULL, 10)) { in _getStringOrCopyKey()
|
D | ucnv_lmb.cpp | 552 if (uprv_strncmp(pTable->LocaleID, LocaleID, strlen(pTable->LocaleID)) == 0) in FindLMBCSLocale()
|
D | uloc_tag.cpp | 2393 … if (uprv_strncmp(pSubtag, PRIVUSE_VARIANT_PREFIX, uprv_strlen(PRIVUSE_VARIANT_PREFIX)) == 0) { in ultag_parse()
|
/external/icu/icu4c/source/tools/gensprep/ |
D | gensprep.c | 360 && uprv_strncmp(s, NORMALIZE_DIRECTIVE, NORMALIZE_DIRECTIVE_LEN) == 0) { in strprepProfileLineFn() 365 && uprv_strncmp(s, CHECK_BIDI_DIRECTIVE, CHECK_BIDI_DIRECTIVE_LEN) == 0) { in strprepProfileLineFn()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | flagparser.cpp | 152 if (uprv_strncmp(buffer, flagNames[i], offset) == 0) { in extractFlag()
|
D | ucmstate.cpp | 66 if(uprv_strncmp("initial", s, 7)==0) { in parseState() 72 } else if(*pFlags==0 && uprv_strncmp("surrogates", s, 10)==0) { in parseState()
|
/external/icu/icu4c/source/test/cintltst/ |
D | crestst.c | 869 if(uprv_strncmp(testline, buf,uprv_strlen(buf))!=0){ in TestFileStream() 877 if(uprv_strncmp(testline, buf,retLen)!=0){ in TestFileStream()
|
D | cldrtest.c | 997 if ((uprv_strncmp(currLoc,"lrc",3) == 0 || uprv_strncmp(currLoc,"mzn",3) == 0) && in VerifyTranslation()
|
D | cnmdptst.c | 1006 if ( uprv_strncmp(getCurrB, FORLOCALE[i], 4) != 0 ) { in TestGetKeywordValuesForLocale()
|
D | cloctst.c | 2285 if (uprv_strncmp(name, buffer, len) != 0) { in TestCanonicalizationBuffer() 2577 int32_t c = uprv_strncmp(string, prefix, plen); in _loccmp()
|
D | nccbtst.c | 2935 if(uprv_strncmp(errChars,start,errLen)!=0){ in testConvertToUnicode()
|
/external/icu/icu4c/source/test/intltest/ |
D | dcfmtest.cpp | 519 if (fileSize<3 || uprv_strncmp(fileBuf, "\xEF\xBB\xBF", 3) != 0) { in ReadAndConvertFile()
|
D | intltest.cpp | 2194 && uprv_strncmp(proplines[i], prop, plen) == 0) { in getProperty()
|
D | tztest.cpp | 2393 if (uprv_strncmp(region2, "US", 2) != 0) { in TestGetRegion()
|
/external/icu/icu4c/source/tools/genrb/ |
D | parse.cpp | 932 if (uprv_strncmp(collationType, "private-", 8) == 0) { in addCollation() 956 if(uprv_strncmp(collationType, "search", 6) == 0) { in addCollation()
|