HomeSort by relevance Sort by last modified time
    Searched defs:pathBuffer (Results 1 - 4 of 4) sorted by null

  /external/icu4c/common/
ures_cnv.c 32 char pathBuffer[1024];
34 char *path = pathBuffer;
44 if(length>=sizeof(pathBuffer)) {
57 length=ucnv_fromUChars(cnv, path, (int32_t)sizeof(pathBuffer), myPath, length, status);
62 if(length>=sizeof(pathBuffer)) {
umapfile.c 314 * pathBuffer: Output buffer. Any contents are overwritten.
317 * Pointer to null termination in returned pathBuffer.
326 static char *uprv_computeDirPath(const char *path, char *pathBuffer)
336 *pathBuffer = 0;
343 return strcpy_returnEnd(pathBuffer, icuDataDir);
345 /* there is no icuDataDir either. Just return the empty pathBuffer. */
346 return pathBuffer;
353 uprv_memcpy(pathBuffer, path, pathLen);
354 *(pathBuffer+pathLen) = 0;
355 return pathBuffer+pathLen
    [all...]
udata.cpp 404 CharString pathBuffer; /* output path for this it'ion */
467 /* pathBuffer will hold the output path strings returned by this iterator */
540 pathBuffer.clear().append(currentPath, pathLen, *pErrorCode);
543 pathBasename = findBasename(pathBuffer.data());
547 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix, 4)==0 && /* suffix matches */
548 uprv_strncmp(findBasename(pathBuffer.data()), basename, basenameLen)==0 && /* base matches */
552 fprintf(stderr, "Have %s file on the path: %s\n", suffix, pathBuffer.data());
558 if(pathBuffer[pathLen-1] != U_FILE_SEP_CHAR) {
560 uprv_strncmp(pathBuffer.data()+(pathLen-4), ".dat", 4) == 0)
563 fprintf(stderr, "skipping non-directory .dat file %s\n", pathBuffer.data())
    [all...]
  /frameworks/base/media/libmedia/
MediaScanner.cpp 87 char* pathBuffer = (char *)malloc(PATH_MAX + 1);
88 if (!pathBuffer) {
93 strcpy(pathBuffer, path);
94 if (pathLength > 0 && pathBuffer[pathLength - 1] != '/') {
95 pathBuffer[pathLength] = '/';
96 pathBuffer[pathLength + 1] = 0;
102 MediaScanResult result = doProcessDirectory(pathBuffer, pathRemaining, client, false);
104 free(pathBuffer);

Completed in 293 milliseconds