Home
last modified time | relevance | path

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

12

/external/icu4c/common/
Duscript.c45 if(uprv_strchr(nameOrAbbrOrLocale, '-')==NULL && uprv_strchr(nameOrAbbrOrLocale, '_')==NULL ){ in uscript_getCode()
Duloc.c574 if((result = uprv_strchr(localeID, '@')) != NULL) { in locale_getKeywordsStart()
585 if((result = uprv_strchr(localeID, *charToFind)) != NULL) { in locale_getKeywordsStart()
677 equalSign = uprv_strchr(pos, '='); in _getKeywords()
678 semicolon = uprv_strchr(pos, ';'); in _getKeywords()
846 …startSearchHere = uprv_strchr(tmpLocaleID, '@'); /* TODO: REVISIT: shouldn't this be locale_getKey… in uloc_getKeywordValue()
864 nextSeparator = uprv_strchr(startSearchHere, '='); in uloc_getKeywordValue()
883 startSearchHere = uprv_strchr(nextSeparator, ';'); in uloc_getKeywordValue()
1004 nextEqualsign = uprv_strchr(keywordStart, '='); in uloc_setKeywordValue()
1023 nextSeparator = uprv_strchr(nextEqualsign, ';'); in uloc_setKeywordValue()
1750 keywordAssign = uprv_strchr(tmpLocaleID, '='); in _canonicalize()
[all …]
Dlocid.cpp423 if (uprv_strchr(newKeywords, '=')) { in Locale()
574 …while ((separator = uprv_strchr(field[fieldIdx-1], SEP_CHAR)) && fieldIdx < (int32_t)(sizeof(field… in init()
580 separator = uprv_strchr(field[fieldIdx-1], '@'); in init()
581 char* sep2 = uprv_strchr(field[fieldIdx-1], '.'); in init()
1045 const char* variantStart = uprv_strchr(fullName, '@'); in createKeywords()
1046 const char* assignment = uprv_strchr(fullName, '='); in createKeywords()
Dputil.c1137 while(p = uprv_strchr(newDataDir, U_FILE_ALT_SEP_CHAR)) { in u_setDataDirectory()
1485 if ((p = uprv_strchr(posixID, '.')) != NULL) { in uprv_getDefaultLocaleID()
1496 if ((p = uprv_strchr(correctedPOSIXLocale, '@')) != NULL) { in uprv_getDefaultLocaleID()
1520 if (uprv_strchr(correctedPOSIXLocale,'_') == NULL) { in uprv_getDefaultLocaleID()
1527 if ((q = uprv_strchr(p, '.')) != NULL) { in uprv_getDefaultLocaleID()
1642 if((p = uprv_strchr(correctedLocale, '.')) != NULL) { in uprv_getDefaultLocaleID()
1849 if (localeName != NULL && (name = (uprv_strchr(localeName, '.'))) != NULL) { in getCodepageFromPOSIXID()
1855 if ((variant = (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.h40 #define uprv_strchr(s, c) U_STANDARD_CPP_NAMESPACE strchr(s, c) macro
Dpropname.cpp209 nameGroup=uprv_strchr(nameGroup, 0)+1; in getName()
Duresbund.c900 locale = uprv_strchr(chAlias+1, RES_PATH_SEPARATOR); in init_resb_result()
902 … locale = uprv_strchr(chAlias, 0); /* avoid locale == NULL to make code below work */ in init_resb_result()
919 keyPath = uprv_strchr(locale, RES_PATH_SEPARATOR); in init_resb_result()
928 keyPath = uprv_strchr(locale, RES_PATH_SEPARATOR); in init_resb_result()
1615 pathToResource = uprv_strchr(pathToResource, RES_PATH_SEPARATOR); in ures_findResource()
1624 localeEnd = uprv_strchr(locale, RES_PATH_SEPARATOR); in ures_findResource()
Duresdata.c559 nextSepP = uprv_strchr(pathP, RES_PATH_SEPARATOR); in res_findResource()
567 *path = uprv_strchr(pathP, 0); in res_findResource()
Ducnv.c684 const char *ccsidStr = uprv_strchr(standardName, '-'); in ucnv_getCCSID()
2116 sourceLimit=uprv_strchr(*source, 0); in ucnv_convertEx()
2417 sourceLimit=uprv_strchr(source, 0); in ucnv_internalConvert()
/external/icu4c/tools/toolutil/
Dpkg_gencmn.c179 while((t = uprv_strchr(line,U_FILE_ALT_SEP_CHAR))) { in createCommonDataFile()
543 for(t=s;t=uprv_strchr(t,U_FILE_SEP_CHAR);) { in fixDirToTreePath()
548 for(t=s;t=uprv_strchr(t,U_FILE_ALT_SEP_CHAR);) { in fixDirToTreePath()
Duparse.c41 char *end=uprv_strchr(s, 0); in u_rtrim()
123 limit=uprv_strchr(start, '#'); in u_parseDelimitedFile()
/external/icu4c/tools/gensprep/
Dgensprep.c206 …if(uprv_strchr(srcDir,U_FILE_SEP_CHAR) == NULL && uprv_strchr(srcDir,U_FILE_ALT_SEP_CHAR) == NULL){ in main()
/external/icu4c/i18n/
Dnortrans.cpp60 UNormalization2Mode mode = (UNormalization2Mode)uprv_strchr(name, 0)[1]; in _create()
Dlocdspnm.cpp465 if (uprv_strcmp("root", lang) == 0 || uprv_strchr(lang, '_') != NULL) { in languageDisplayName()
Duspoof_impl.cpp271 locEnd = uprv_strchr(locStart, ','); in setAllowedLocales()
/external/icu4c/tools/gencnval/
Dgencnval.c263 end = uprv_strchr(pathBuf, 0); in main()
677 if (uprv_strchr(alias, UCNV_OPTION_SEP_CHAR) != 0) in addAlias()
682 if (uprv_strchr(alias, UCNV_VALUE_SEP_CHAR) != 0) in addAlias()
892 … if (uprv_strchr(GET_ALIAS_STR(converters[currConvNum].converter), UCNV_OPTION_SEP_CHAR) != NULL) { in resolveAliases()
/external/icu4c/extra/uconv/
Duconv.cpp658 …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.cpp100 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.cpp1711 lineNext = uprv_strchr(linePtr+1, '"'); in loadLists()
1729 lineNext = uprv_strchr(linePtr, ' '); in loadLists()
/external/icu4c/tools/makeconv/
Dmakeconv.c604 end=uprv_strchr(line, 0); in readFile()

12