Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dcstring.h47 #define uprv_strncmp(s1, s2, n) ( \ macro
58 #define uprv_strncmp(s1, s2, n) U_STANDARD_CPP_NAMESPACE strncmp(s1, s2, n) macro
Dudata.cpp557 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix, 4)==0 && /* suffix matches */ in next()
558uprv_strncmp(findBasename(pathBuffer.data()), basename, basenameLen)==0 && /* base matches */ in next()
570 uprv_strncmp(pathBuffer.data()+(pathLen-4), ".dat", 4) == 0) in next()
1130 !uprv_strncmp(path, U_ICUDATA_NAME U_TREE_SEPARATOR_STRING, /* "icudt26e-" */ in doOpenChoice()
1132 !uprv_strncmp(path, U_ICUDATA_ALIAS U_TREE_SEPARATOR_STRING, /* "ICUDATA-" */ in doOpenChoice()
Dputil.cpp720 if (uprv_strncmp(*id, "posix/", 6) == 0 in skipZoneIDPrefix()
721 || uprv_strncmp(*id, "right/", 6) == 0) in skipZoneIDPrefix()
1022 if (uprv_strncmp(gTimeZoneBuffer, TZZONEINFO, tzZoneInfoLen) == 0 in uprv_tzname()
1031 if (uprv_strncmp(gTimeZoneBuffer, TZZONEINFO2, tzZoneInfoLen) == 0 in uprv_tzname()
1629 (uprv_strncmp("QLGPGCMA", correctedLocale, 8) == 0)) in uprv_getDefaultLocaleID()
1663 else if (uprv_strncmp(correctedLocale, "zh_HK", 5) == 0) in uprv_getDefaultLocaleID()
Ducnv_bld.cpp701 if(uprv_strncmp(inName, "locale=", 7)==0) { in parseConverterOptions()
720 } else if(uprv_strncmp(inName, "version=", 8)==0) { in parseConverterOptions()
731 } else if(uprv_strncmp(inName, "swaplfnl", 8)==0) { in parseConverterOptions()
Duloc.cpp1436 if (uprv_strncmp(variants, toDelete, toDeleteLen) == 0 && in _deleteVariant()
1665 if(len == I_DEFAULT_LENGTH && uprv_strncmp(origLocaleID, i_default, len) == 0) { in _canonicalize()
1822 if (len == n && uprv_strncmp(name, id, n) == 0) { in _canonicalize()
Duresbund.cpp463 *isDefault = (UBool)(uprv_strncmp(name, defaultLoc, uprv_strlen(name)) == 0); in findFirstExisting()
611 … UBool usingUSRData = U_USE_USRDATA && ( path == NULL || uprv_strncmp(path,U_ICUDATA_NAME,8) == 0); in entryOpen()
2781 uprv_strcmp(k, DEFAULT_TAG) == 0 || uprv_strncmp(k, "private-", 8) == 0) { in ures_getKeywordValues()
2851 if(uprv_strncmp(res1->fResPath, res2->fResPath, res1->fResPathLen)!=0){
Dlocdispnames.cpp318 if (!uprv_strncmp(tableKey, "Languages", 9) && uprv_strtol(itemKey, NULL, 10)) { in _getStringOrCopyKey()
Ducnv_lmb.c550 if (uprv_strncmp(pTable->LocaleID, LocaleID, strlen(pTable->LocaleID)) == 0) in FindLMBCSLocale()
Duloc_tag.c2077 … if (uprv_strncmp(pSubtag, PRIVUSE_VARIANT_PREFIX, uprv_strlen(PRIVUSE_VARIANT_PREFIX)) == 0) { in ultag_parse()
/external/icu/icu4c/source/tools/gensprep/
Dgensprep.c358 && uprv_strncmp(s, NORMALIZE_DIRECTIVE, NORMALIZE_DIRECTIVE_LEN) == 0) { in strprepProfileLineFn()
363 && uprv_strncmp(s, CHECK_BIDI_DIRECTIVE, CHECK_BIDI_DIRECTIVE_LEN) == 0) { in strprepProfileLineFn()
/external/icu/icu4c/source/tools/toolutil/
Dflagparser.c143 if (uprv_strncmp(buffer, flagNames[i], offset) == 0) { in extractFlag()
Ducmstate.c64 if(uprv_strncmp("initial", s, 7)==0) { in parseState()
70 } else if(*pFlags==0 && uprv_strncmp("surrogates", s, 10)==0) { in parseState()
/external/icu/icu4c/source/i18n/
Ducol_res.cpp322 typeLength > 6 && uprv_strncmp(type, "search", 6) == 0) { in loadFromCollations()
690 } else if (uprv_strncmp(key, "private-", 8) != 0) { in ucol_getKeywordValuesForLocale()
/external/icu/icu4c/source/test/cintltst/
Dcrestst.c865 if(uprv_strncmp(testline, buf,uprv_strlen(buf))!=0){ in TestFileStream()
873 if(uprv_strncmp(testline, buf,retLen)!=0){ in TestFileStream()
Dnccbtst.c2933 if(uprv_strncmp(errChars,start,errLen)!=0){ in testConvertToUnicode()
Dcloctst.c2411 int32_t c = uprv_strncmp(string, prefix, plen); in _loccmp()
/external/icu/icu4c/source/test/intltest/
Ddcfmtest.cpp516 if (fileSize<3 || uprv_strncmp(fileBuf, "\xEF\xBB\xBF", 3) != 0) { in ReadAndConvertFile()
Dintltest.cpp2043 && uprv_strncmp(proplines[i], prop, plen) == 0) { in getProperty()
Dtztest.cpp2365 if (uprv_strncmp(region2, "US", 2) != 0) { in TestGetRegion()
Dloctest.cpp1799 int32_t c = uprv_strncmp(string, prefix, plen); in _loccmp()
/external/icu/icu4c/source/tools/genrb/
Dparse.cpp988 if (uprv_strncmp(collationType, "private-", 8) == 0) { in addCollation()
1012 if(uprv_strncmp(collationType, "search", 6) == 0) { in addCollation()