Home | History | Annotate | Download | only in common

Lines Matching full:pathbuffer

418     CharString  pathBuffer;                        /* output path for this it'ion */
481 /* pathBuffer will hold the output path strings returned by this iterator */
554 pathBuffer.clear().append(currentPath, pathLen, *pErrorCode);
557 pathBasename = findBasename(pathBuffer.data());
561 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix, 4)==0 && /* suffix matches */
562 uprv_strncmp(findBasename(pathBuffer.data()), basename, basenameLen)==0 && /* base matches */
566 fprintf(stderr, "Have %s file on the path: %s\n", suffix, pathBuffer.data());
572 if(pathBuffer[pathLen-1] != U_FILE_SEP_CHAR) {
574 uprv_strncmp(pathBuffer.data()+(pathLen-4), ".dat", 4) == 0)
577 fprintf(stderr, "skipping non-directory .dat file %s\n", pathBuffer.data());
585 !uprv_strcmp(pathBuffer.data() + pathLen - packageStub.length(), packageStub.data())) {
589 pathBuffer.truncate(pathLen - packageStub.length());
591 pathBuffer.append(U_FILE_SEP_CHAR, *pErrorCode);
595 pathBuffer.append(packageStub.data()+1, packageStub.length()-1, *pErrorCode);
599 pathBuffer.append(suffix, *pErrorCode);
604 fprintf(stderr, " --> %s\n", pathBuffer.data());
607 return pathBuffer.data();
655 const char *pathBuffer;
740 while((UDataMemory_isLoaded(&tData)==FALSE) && (pathBuffer = iter.next(pErrorCode)) != NULL)
743 fprintf(stderr, "ocd: trying path %s - ", pathBuffer);
745 uprv_mapFile(&tData, pathBuffer);
964 const char *pathBuffer;
972 while((pathBuffer = iter.next(pErrorCode)))
975 fprintf(stderr, "UDATA: trying individual file %s\n", pathBuffer);
977 if(uprv_mapFile(&dataMemory, pathBuffer))
988 fprintf(stderr, "** Mapped file: %s\n", pathBuffer);