Searched defs:strAlias (Results 1 - 2 of 2) sorted by relevance
/external/chromium/third_party/icu/source/tools/pkgdata/ |
H A D | pkgtypes.c | 209 CharList *pkg_appendUniqueDirToList(CharList *l, CharList** end, const char *strAlias) { argument 212 rPtr = uprv_strrchr(strAlias, U_FILE_SEP_CHAR); 215 char *aPtr = uprv_strrchr(strAlias, U_FILE_ALT_SEP_CHAR); 226 if((rPtr-strAlias) >= (sizeof(aBuf)/sizeof(aBuf[0]))) { 227 fprintf(stderr, "## ERR: Path too long [%d chars]: %s\n", (int)sizeof(aBuf), strAlias); 230 strncpy(aBuf, strAlias,(rPtr-strAlias)); 231 aBuf[rPtr-strAlias]=0; /* no trailing slash */
|
/external/icu4c/tools/pkgdata/ |
H A D | pkgtypes.c | 209 CharList *pkg_appendUniqueDirToList(CharList *l, CharList** end, const char *strAlias) { argument 212 rPtr = uprv_strrchr(strAlias, U_FILE_SEP_CHAR); 215 char *aPtr = uprv_strrchr(strAlias, U_FILE_ALT_SEP_CHAR); 226 if((rPtr-strAlias) >= (sizeof(aBuf)/sizeof(aBuf[0]))) { 227 fprintf(stderr, "## ERR: Path too long [%d chars]: %s\n", (int)sizeof(aBuf), strAlias); 230 strncpy(aBuf, strAlias,(rPtr-strAlias)); 231 aBuf[rPtr-strAlias]=0; /* no trailing slash */
|
Completed in 109 milliseconds