Searched refs:pathBuffer (Results 1 – 5 of 5) sorted by relevance
/external/icu4c/common/ |
D | udata.c | 434 char *pathBuffer; /* output path for this it'ion */ member 534 iter->pathBuffer = iter->pathBufferA; in udata_pathiter_init() 536 iter->pathBuffer = (char *)uprv_malloc(maxPathLen); in udata_pathiter_init() 537 if (iter->pathBuffer == NULL) { in udata_pathiter_init() 538 iter->pathBuffer = iter->pathBufferA; in udata_pathiter_init() 614 uprv_strncpy(iter->pathBuffer, path, pathLen); in udata_pathiter_next() 615 iter->pathBuffer[pathLen] = 0; in udata_pathiter_next() 618 pathBasename = findBasename(iter->pathBuffer); in udata_pathiter_next() 622 uprv_strncmp(iter->pathBuffer +(pathLen-4),iter->suffix,4)==0 && /* suffix matches */ in udata_pathiter_next() 623 …uprv_strncmp(findBasename(iter->pathBuffer),iter->basename,iter->basenameLen)==0 && /* base match… in udata_pathiter_next() [all …]
|
D | ures_cnv.c | 32 char pathBuffer[1024]; in ures_openU() local 34 char *path = pathBuffer; in ures_openU() 44 if(length>=sizeof(pathBuffer)) { in ures_openU() 57 length=ucnv_fromUChars(cnv, path, (int32_t)sizeof(pathBuffer), myPath, length, status); in ures_openU() 62 if(length>=sizeof(pathBuffer)) { in ures_openU()
|
D | umapfile.c | 353 static char *uprv_computeDirPath(const char *path, char *pathBuffer) in uprv_computeDirPath() argument 363 *pathBuffer = 0; in uprv_computeDirPath() 370 return strcpy_returnEnd(pathBuffer, icuDataDir); in uprv_computeDirPath() 373 return pathBuffer; in uprv_computeDirPath() 380 uprv_memcpy(pathBuffer, path, pathLen); in uprv_computeDirPath() 381 *(pathBuffer+pathLen) = 0; in uprv_computeDirPath() 382 return pathBuffer+pathLen; in uprv_computeDirPath() 391 char pathBuffer[1024]; in uprv_mapFile() local 402 basename=uprv_computeDirPath(path, pathBuffer); in uprv_mapFile() 445 uprv_strcpy(pathBuffer, "IXMI" U_ICU_VERSION_SHORT "DA"); in uprv_mapFile() [all …]
|
/external/opencore/android/ |
D | mediascanner.cpp | 733 char* pathBuffer = (char *)malloc(PATH_MAX + 1); in processDirectory() local 734 if (!pathBuffer) { in processDirectory() 739 strcpy(pathBuffer, path); in processDirectory() 740 if (pathBuffer[pathLength - 1] != '/') { in processDirectory() 741 pathBuffer[pathLength] = '/'; in processDirectory() 742 pathBuffer[pathLength + 1] = 0; in processDirectory() 747 …status_t result = doProcessDirectory(pathBuffer, pathRemaining, extensions, client, exceptionCheck… in processDirectory() 749 free(pathBuffer); in processDirectory()
|
/external/webkit/WebCore/platform/ |
D | KURL.cpp | 1280 CharBuffer pathBuffer(pathEnd - pathStart + 1); in parse() local 1281 size_t length = copyPathRemovingDots(pathBuffer.data(), url, pathStart, pathEnd); in parse() 1282 appendEscapingBadChars(p, pathBuffer.data(), length); in parse()
|