Home
last modified time | relevance | path

Searched refs:uprv_strchr (Results 1 – 25 of 31) sorted by relevance

12

/external/icu4c/common/
Duscript.c45 if(uprv_strchr(nameOrAbbrOrLocale, '-')==NULL && uprv_strchr(nameOrAbbrOrLocale, '_')==NULL ){ in uscript_getCode()
Duloc.cpp567 if((result = uprv_strchr(localeID, '@')) != NULL) { in locale_getKeywordsStart()
578 if((result = uprv_strchr(localeID, *charToFind)) != NULL) { in locale_getKeywordsStart()
670 equalSign = uprv_strchr(pos, '='); in _getKeywords()
671 semicolon = uprv_strchr(pos, ';'); in _getKeywords()
836 …startSearchHere = uprv_strchr(tmpLocaleID, '@'); /* TODO: REVISIT: shouldn't this be locale_getKey… in uloc_getKeywordValue()
854 nextSeparator = uprv_strchr(startSearchHere, '='); in uloc_getKeywordValue()
874 startSearchHere = uprv_strchr(nextSeparator, ';'); in uloc_getKeywordValue()
995 nextEqualsign = uprv_strchr(keywordStart, '='); in uloc_setKeywordValue()
1015 nextSeparator = uprv_strchr(nextEqualsign, ';'); in uloc_setKeywordValue()
1747 keywordAssign = uprv_strchr(tmpLocaleID, '='); in _canonicalize()
[all …]
Dlocid.cpp362 if (uprv_strchr(newKeywords, '=')) { in Locale()
515 …while ((separator = uprv_strchr(field[fieldIdx-1], SEP_CHAR)) && fieldIdx < (int32_t)(sizeof(field… in init()
521 separator = uprv_strchr(field[fieldIdx-1], '@'); in init()
522 char* sep2 = uprv_strchr(field[fieldIdx-1], '.'); in init()
981 const char* variantStart = uprv_strchr(fullName, '@'); in createKeywords()
982 const char* assignment = uprv_strchr(fullName, '='); in createKeywords()
Dputil.cpp1162 while(p = uprv_strchr(newDataDir, U_FILE_ALT_SEP_CHAR)) { in u_setDataDirectory()
1512 if ((p = uprv_strchr(posixID, '.')) != NULL) { in uprv_getDefaultLocaleID()
1523 if ((p = uprv_strchr(correctedPOSIXLocale, '@')) != NULL) { in uprv_getDefaultLocaleID()
1547 if (uprv_strchr(correctedPOSIXLocale,'_') == NULL) { in uprv_getDefaultLocaleID()
1554 if ((q = uprv_strchr(p, '.')) != NULL) { in uprv_getDefaultLocaleID()
1669 if((p = uprv_strchr(correctedLocale, '.')) != NULL) { in uprv_getDefaultLocaleID()
1876 if (localeName != NULL && (name = (uprv_strchr(localeName, '.'))) != NULL) { in getCodepageFromPOSIXID()
1882 if ((variant = const_cast<char *>(uprv_strchr(name, '@'))) != NULL) { in getCodepageFromPOSIXID()
Dudata.cpp535 nextPath = uprv_strchr(currentPath, U_PATH_SEP_CHAR); in next()
1144 if(uprv_strchr(path,U_FILE_ALT_SEP_CHAR) != NULL) { in doOpenChoice()
1147 while((p=uprv_strchr(altSepPath.data(), U_FILE_ALT_SEP_CHAR))) { in doOpenChoice()
1171 first = uprv_strchr(path, U_FILE_SEP_CHAR); in doOpenChoice()
1180 treeChar = uprv_strchr(path, U_TREE_SEPARATOR); in doOpenChoice()
Dcstring.h38 #define uprv_strchr(s, c) U_STANDARD_CPP_NAMESPACE strchr(s, c) macro
Dpropname.cpp210 nameGroup=uprv_strchr(nameGroup, 0)+1; in getName()
Dlistformatter.cpp226 extStart = uprv_strchr(localeString, 0); in getFallbackLocale()
Duresbund.cpp893 locale = uprv_strchr(chAlias+1, RES_PATH_SEPARATOR); in init_resb_result()
895 … locale = uprv_strchr(chAlias, 0); /* avoid locale == NULL to make code below work */ in init_resb_result()
912 keyPath = uprv_strchr(locale, RES_PATH_SEPARATOR); in init_resb_result()
921 keyPath = uprv_strchr(locale, RES_PATH_SEPARATOR); in init_resb_result()
1608 pathToResource = uprv_strchr(pathToResource, RES_PATH_SEPARATOR); in ures_findResource()
1617 localeEnd = uprv_strchr(locale, RES_PATH_SEPARATOR); in ures_findResource()
Duresdata.c578 nextSepP = uprv_strchr(pathP, RES_PATH_SEPARATOR); in res_findResource()
586 *path = uprv_strchr(pathP, 0); in res_findResource()
Ducnv.c686 const char *ccsidStr = uprv_strchr(standardName, '-'); in ucnv_getCCSID()
2118 sourceLimit=uprv_strchr(*source, 0); in ucnv_convertEx()
2419 sourceLimit=uprv_strchr(source, 0); in ucnv_internalConvert()
/external/icu4c/tools/toolutil/
Dpkg_gencmn.c198 while((t = uprv_strchr(line,U_FILE_ALT_SEP_CHAR))) { in createCommonDataFile()
562 for(t=s;t=uprv_strchr(t,U_FILE_SEP_CHAR);) { in fixDirToTreePath()
567 for(t=s;t=uprv_strchr(t,U_FILE_ALT_SEP_CHAR);) { in fixDirToTreePath()
Duparse.c42 char *end=uprv_strchr(s, 0); in u_rtrim()
124 limit=uprv_strchr(start, '#'); in u_parseDelimitedFile()
/external/icu4c/tools/gensprep/
Dgensprep.c207 …if(uprv_strchr(srcDir,U_FILE_SEP_CHAR) == NULL && uprv_strchr(srcDir,U_FILE_ALT_SEP_CHAR) == NULL){ in main()
/external/icu4c/i18n/
Dnortrans.cpp61 UNormalization2Mode mode = (UNormalization2Mode)uprv_strchr(name, 0)[1]; in _create()
Duspoof_impl.cpp272 locEnd = uprv_strchr(locStart, ','); in setAllowedLocales()
/external/icu4c/tools/gencnval/
Dgencnval.c264 end = uprv_strchr(pathBuf, 0); in main()
686 if (uprv_strchr(alias, UCNV_OPTION_SEP_CHAR) != 0) in addAlias()
691 if (uprv_strchr(alias, UCNV_VALUE_SEP_CHAR) != 0) in addAlias()
900 … if (uprv_strchr(GET_ALIAS_STR(converters[currConvNum].converter), UCNV_OPTION_SEP_CHAR) != NULL) { in resolveAliases()
/external/icu4c/extra/uconv/
Duconv.cpp661 …if (uprv_strchr(translit, ':') || uprv_strchr(translit, '>') || uprv_strchr(translit, '<') || uprv… in convertFile()
/external/icu4c/test/intltest/
Dwindttst.cpp137 if (uprv_strchr(localeID, '@') > 0) { in testLocales()
Dtestidn.cpp101 if(uprv_strchr(srcDir,U_FILE_SEP_CHAR) == NULL){ in testData()
/external/icu4c/test/cintltst/
Ducnvseltst.c219 tt->limit = uprv_strchr(s, 0); in text_nextString()
251 for(s = tt->text; (s = uprv_strchr(s, 0x23)) != NULL; *s++ = 0) {} in text_open()
Dcitertst.c1036 char *semi = uprv_strchr(str, ';'); in getCodePoints()
1037 char *pipe = uprv_strchr(str, '|'); in getCodePoints()
1162 char *pStartCP = uprv_strchr(str, '['); in getCEs()
/external/icu4c/tools/pkgdata/
Dpkgtypes.c202 while ((itr = uprv_strchr(path, U_FILE_ALT_SEP_CHAR))) { in convertToNativePathSeparators()
Dpkgdata.cpp1893 lineNext = uprv_strchr(linePtr+1, '"'); in loadLists()
1911 lineNext = uprv_strchr(linePtr, ' '); in loadLists()
/external/icu4c/tools/makeconv/
Dmakeconv.c604 end=uprv_strchr(line, 0); in readFile()

12