Lines Matching refs:pathBuffer
427 CharString pathBuffer; /* output path for this it'ion */ member in UDataPathIterator
565 pathBuffer.clear().append(currentPath, pathLen, *pErrorCode); in next()
568 pathBasename = findBasename(pathBuffer.data()); in next()
572 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix.data(), 4)==0 && /* suffix matches */ in next()
573 … uprv_strncmp(findBasename(pathBuffer.data()), basename, basenameLen)==0 && /* base matches */ in next()
577 fprintf(stderr, "Have %s file on the path: %s\n", suffix, pathBuffer.data()); in next()
583 if(pathBuffer[pathLen-1] != U_FILE_SEP_CHAR) { in next()
585 uprv_strncmp(pathBuffer.data()+(pathLen-4), ".dat", 4) == 0) in next()
588 fprintf(stderr, "skipping non-directory .dat file %s\n", pathBuffer.data()); in next()
596 … !uprv_strcmp(pathBuffer.data() + pathLen - packageStub.length(), packageStub.data())) { in next()
600 pathBuffer.truncate(pathLen - packageStub.length()); in next()
602 pathBuffer.append(U_FILE_SEP_CHAR, *pErrorCode); in next()
606 pathBuffer.append(packageStub.data()+1, packageStub.length()-1, *pErrorCode); in next()
613 pathBuffer.ensureEndsWithFileSeparator(*pErrorCode); in next()
615 pathBuffer.append(suffix, *pErrorCode); in next()
620 fprintf(stderr, " --> %s\n", pathBuffer.data()); in next()
623 return pathBuffer.data(); in next()
673 const char *pathBuffer; in openCommonData() local
762 while ((UDataMemory_isLoaded(&tData)==FALSE) && (pathBuffer = iter.next(pErrorCode)) != NULL) in openCommonData()
765 fprintf(stderr, "ocd: trying path %s - ", pathBuffer); in openCommonData()
767 uprv_mapFile(&tData, pathBuffer, pErrorCode); in openCommonData()
992 const char *pathBuffer; in doLoadFromIndividualFiles() local
1000 while ((pathBuffer = iter.next(pErrorCode)) != NULL) in doLoadFromIndividualFiles()
1003 fprintf(stderr, "UDATA: trying individual file %s\n", pathBuffer); in doLoadFromIndividualFiles()
1005 if (uprv_mapFile(&dataMemory, pathBuffer, pErrorCode)) in doLoadFromIndividualFiles()
1016 fprintf(stderr, "** Mapped file: %s\n", pathBuffer); in doLoadFromIndividualFiles()