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.cpp351 if (uprv_strncmp(keyword, "day", length) == 0) { in unitOrNegativeFromString()
353 } else if (uprv_strncmp(keyword, "sun", length) == 0) { in unitOrNegativeFromString()
355 } else if (uprv_strncmp(keyword, "mon", length) == 0) { in unitOrNegativeFromString()
357 } else if (uprv_strncmp(keyword, "tue", length) == 0) { in unitOrNegativeFromString()
359 } else if (uprv_strncmp(keyword, "wed", length) == 0) { in unitOrNegativeFromString()
361 } else if (uprv_strncmp(keyword, "thu", length) == 0) { in unitOrNegativeFromString()
363 } else if (uprv_strncmp(keyword, "fri", length) == 0) { in unitOrNegativeFromString()
365 } else if (uprv_strncmp(keyword, "sat", length) == 0) { in unitOrNegativeFromString()
370 if (uprv_strncmp(keyword, "hour", length) == 0) { in unitOrNegativeFromString()
372 } else if (uprv_strncmp(keyword, "week", length) == 0) { in unitOrNegativeFromString()
[all …]
Ducol_res.cpp326 typeLength > 6 && uprv_strncmp(type, "search", 6) == 0) { in loadFromCollations()
645 } 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.cpp380 if (uprv_strncmp(key, "units", 5) == 0) { in widthFromKey()
/external/icu/icu4c/source/common/
Dcstring.h49 #define uprv_strncmp(s1, s2, n) ( \ macro
60 #define uprv_strncmp(s1, s2, n) U_STANDARD_CPP_NAMESPACE strncmp(s1, s2, n) macro
Dudata.cpp561 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix, 4)==0 && /* suffix matches */ in next()
562uprv_strncmp(findBasename(pathBuffer.data()), basename, basenameLen)==0 && /* base matches */ in next()
574 uprv_strncmp(pathBuffer.data()+(pathLen-4), ".dat", 4) == 0) in next()
1144 !uprv_strncmp(path, U_ICUDATA_NAME U_TREE_SEPARATOR_STRING, /* "icudt26e-" */ in doOpenChoice()
1146 !uprv_strncmp(path, U_ICUDATA_ALIAS U_TREE_SEPARATOR_STRING, /* "ICUDATA-" */ in doOpenChoice()
Dputil.cpp722 if (uprv_strncmp(*id, "posix/", 6) == 0 in skipZoneIDPrefix()
723 || uprv_strncmp(*id, "right/", 6) == 0) in skipZoneIDPrefix()
1064 if (uprv_strncmp(gTimeZoneBuffer, TZZONEINFO, tzZoneInfoLen) == 0 in uprv_tzname()
1073 if (uprv_strncmp(gTimeZoneBuffer, TZZONEINFO2, tzZoneInfoLen) == 0 in uprv_tzname()
1685 (uprv_strncmp("QLGPGCMA", correctedLocale, 8) == 0))
1719 else if (uprv_strncmp(correctedLocale, "zh_HK", 5) == 0)
Ducnv_bld.cpp654 if(uprv_strncmp(inName, "locale=", 7)==0) { in parseConverterOptions()
673 } else if(uprv_strncmp(inName, "version=", 8)==0) { in parseConverterOptions()
684 } else if(uprv_strncmp(inName, "swaplfnl", 8)==0) { in parseConverterOptions()
Duloc.cpp1448 if (uprv_strncmp(variants, toDelete, toDeleteLen) == 0 && in _deleteVariant()
1682 if(len == I_DEFAULT_LENGTH && uprv_strncmp(origLocaleID, i_default, len) == 0) { in _canonicalize()
1839 if (len == n && uprv_strncmp(name, id, n) == 0) { in _canonicalize()
2357 if((clen!=slen) || (uprv_strncmp(items[n].locale, tmp, slen))) { in uloc_acceptLanguageFromHTTP()
Duresbund.cpp466 *isDefault = (UBool)(uprv_strncmp(name, defaultLoc, uprv_strlen(name)) == 0); in findFirstExisting()
614 … UBool usingUSRData = U_USE_USRDATA && ( path == NULL || uprv_strncmp(path,U_ICUDATA_NAME,8) == 0); in entryOpen()
2880 uprv_strcmp(k, DEFAULT_TAG) == 0 || uprv_strncmp(k, "private-", 8) == 0) { in ures_getKeywordValues()
2950 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.c552 if (uprv_strncmp(pTable->LocaleID, LocaleID, strlen(pTable->LocaleID)) == 0) in FindLMBCSLocale()
Duloc_tag.c2091 … 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.c152 if (uprv_strncmp(buffer, flagNames[i], offset) == 0) { in extractFlag()
Ducmstate.c66 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.c868 if(uprv_strncmp(testline, buf,uprv_strlen(buf))!=0){ in TestFileStream()
876 if(uprv_strncmp(testline, buf,retLen)!=0){ in TestFileStream()
Dcldrtest.c994 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()
Dnccbtst.c2935 if(uprv_strncmp(errChars,start,errLen)!=0){ in testConvertToUnicode()
/external/icu/icu4c/source/test/intltest/
Ddcfmtest.cpp518 if (fileSize<3 || uprv_strncmp(fileBuf, "\xEF\xBB\xBF", 3) != 0) { in ReadAndConvertFile()
Dintltest.cpp2117 && uprv_strncmp(proplines[i], prop, plen) == 0) { in getProperty()
Dtztest.cpp2368 if (uprv_strncmp(region2, "US", 2) != 0) { in TestGetRegion()
Dloctest.cpp1802 int32_t c = uprv_strncmp(string, prefix, plen); in _loccmp()
/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