Home
last modified time | relevance | path

Searched refs:strAlias (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/tools/pkgdata/
Dpkgtypes.c211 CharList *pkg_appendUniqueDirToList(CharList *l, CharList** end, const char *strAlias) { in pkg_appendUniqueDirToList() argument
214 rPtr = uprv_strrchr(strAlias, U_FILE_SEP_CHAR); in pkg_appendUniqueDirToList()
217 char *aPtr = uprv_strrchr(strAlias, U_FILE_ALT_SEP_CHAR); in pkg_appendUniqueDirToList()
228 if((rPtr-strAlias) >= UPRV_LENGTHOF(aBuf)) { in pkg_appendUniqueDirToList()
229 fprintf(stderr, "## ERR: Path too long [%d chars]: %s\n", (int)sizeof(aBuf), strAlias); in pkg_appendUniqueDirToList()
232 strncpy(aBuf, strAlias,(rPtr-strAlias)); in pkg_appendUniqueDirToList()
233 aBuf[rPtr-strAlias]=0; /* no trailing slash */ in pkg_appendUniqueDirToList()
Dpkgtypes.h76 CharList *pkg_appendUniqueDirToList(CharList *l, CharList** end, const char *strAlias);