Lines Matching refs:pathBuffer
426 CharString pathBuffer; /* output path for this it'ion */ member in UDataPathIterator
562 pathBuffer.clear().append(currentPath, pathLen, *pErrorCode); in next()
565 pathBasename = findBasename(pathBuffer.data()); in next()
569 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix, 4)==0 && /* suffix matches */ in next()
570 … uprv_strncmp(findBasename(pathBuffer.data()), basename, basenameLen)==0 && /* base matches */ in next()
574 fprintf(stderr, "Have %s file on the path: %s\n", suffix, pathBuffer.data()); in next()
580 if(pathBuffer[pathLen-1] != U_FILE_SEP_CHAR) { in next()
582 uprv_strncmp(pathBuffer.data()+(pathLen-4), ".dat", 4) == 0) in next()
585 fprintf(stderr, "skipping non-directory .dat file %s\n", pathBuffer.data()); in next()
593 … !uprv_strcmp(pathBuffer.data() + pathLen - packageStub.length(), packageStub.data())) { in next()
597 pathBuffer.truncate(pathLen - packageStub.length()); in next()
599 pathBuffer.append(U_FILE_SEP_CHAR, *pErrorCode); in next()
603 pathBuffer.append(packageStub.data()+1, packageStub.length()-1, *pErrorCode); in next()
607 pathBuffer.append(suffix, *pErrorCode); in next()
612 fprintf(stderr, " --> %s\n", pathBuffer.data()); in next()
615 return pathBuffer.data(); in next()
665 const char *pathBuffer; in openCommonData() local
754 while((UDataMemory_isLoaded(&tData)==FALSE) && (pathBuffer = iter.next(pErrorCode)) != NULL) in openCommonData()
757 fprintf(stderr, "ocd: trying path %s - ", pathBuffer); in openCommonData()
759 uprv_mapFile(&tData, pathBuffer); in openCommonData()
981 const char *pathBuffer; in doLoadFromIndividualFiles() local
989 while((pathBuffer = iter.next(pErrorCode)) != NULL) in doLoadFromIndividualFiles()
992 fprintf(stderr, "UDATA: trying individual file %s\n", pathBuffer); in doLoadFromIndividualFiles()
994 if(uprv_mapFile(&dataMemory, pathBuffer)) in doLoadFromIndividualFiles()
1005 fprintf(stderr, "** Mapped file: %s\n", pathBuffer); in doLoadFromIndividualFiles()