Home
last modified time | relevance | path

Searched refs:uprv_strncmp (Results 1 – 25 of 26) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Dreldatefmt.cpp388 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 …]
Ducol_res.cpp326 typeLength > 6 && uprv_strncmp(type, "search", 6) == 0) { in loadFromCollations()
646 } else if (type == URES_TABLE && uprv_strncmp(key, "private-", 8) != 0) { in put()
Ddayperiodrules.cpp150 if (uprv_strncmp(setNumStr, "set", 3) != 0) { in parseSetNum()
Dmeasfmt.cpp388 if (uprv_strncmp(key, "units", 5) == 0) { in widthFromKey()
/external/icu/icu4c/source/common/
Dudata.cpp572 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix.data(), 4)==0 && /* suffix matches */ in next()
573uprv_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()
Dcstring.h44 #define uprv_strncmp(s1, s2, n) U_STANDARD_CPP_NAMESPACE strncmp(s1, s2, n) macro
Dputil.cpp770 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)
Ducnv_bld.cpp659 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()
Duloc.cpp1501 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()
Duresbund.cpp471 *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){
Dlocdispnames.cpp320 if (!uprv_strncmp(tableKey, "Languages", 9) && uprv_strtol(itemKey, NULL, 10)) { in _getStringOrCopyKey()
Ducnv_lmb.cpp552 if (uprv_strncmp(pTable->LocaleID, LocaleID, strlen(pTable->LocaleID)) == 0) in FindLMBCSLocale()
Duloc_tag.cpp2393 … if (uprv_strncmp(pSubtag, PRIVUSE_VARIANT_PREFIX, uprv_strlen(PRIVUSE_VARIANT_PREFIX)) == 0) { in ultag_parse()
/external/icu/icu4c/source/tools/gensprep/
Dgensprep.c360 && 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/
Dflagparser.cpp152 if (uprv_strncmp(buffer, flagNames[i], offset) == 0) { in extractFlag()
Ducmstate.cpp66 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/
Dcrestst.c869 if(uprv_strncmp(testline, buf,uprv_strlen(buf))!=0){ in TestFileStream()
877 if(uprv_strncmp(testline, buf,retLen)!=0){ in TestFileStream()
Dcldrtest.c997 if ((uprv_strncmp(currLoc,"lrc",3) == 0 || uprv_strncmp(currLoc,"mzn",3) == 0) && in VerifyTranslation()
Dcnmdptst.c1006 if ( uprv_strncmp(getCurrB, FORLOCALE[i], 4) != 0 ) { in TestGetKeywordValuesForLocale()
Dcloctst.c2285 if (uprv_strncmp(name, buffer, len) != 0) { in TestCanonicalizationBuffer()
2577 int32_t c = uprv_strncmp(string, prefix, plen); in _loccmp()
Dnccbtst.c2935 if(uprv_strncmp(errChars,start,errLen)!=0){ in testConvertToUnicode()
/external/icu/icu4c/source/test/intltest/
Ddcfmtest.cpp519 if (fileSize<3 || uprv_strncmp(fileBuf, "\xEF\xBB\xBF", 3) != 0) { in ReadAndConvertFile()
Dintltest.cpp2194 && uprv_strncmp(proplines[i], prop, plen) == 0) { in getProperty()
Dtztest.cpp2393 if (uprv_strncmp(region2, "US", 2) != 0) { in TestGetRegion()
/external/icu/icu4c/source/tools/genrb/
Dparse.cpp932 if (uprv_strncmp(collationType, "private-", 8) == 0) { in addCollation()
956 if(uprv_strncmp(collationType, "search", 6) == 0) { in addCollation()

12