Home | History | Annotate | Download | only in toolutil

Lines Matching refs:listname

37 isListTextFile(const char *listname) {
38 const char *listNameEnd=strchr(listname, 0);
44 if((listNameEnd-listname)>length && 0==memcmp(listNameEnd-length, suffix, length)) {
53 * If the listname ends with ".txt", then read the list file
55 * If the listname ends with ".dat", then read the ICU .dat package file.
59 readList(const char *filesPath, const char *listname, UBool readContents, Package *listPkgIn) {
64 if(listname==NULL || listname[0]==0) {
77 listNameEnd=strchr(listname, 0);
78 if(isListTextFile(listname)) {
84 file=fopen(listname, "r");
86 fprintf(stderr, "icupkg: unable to open list file \"%s\"\n", listname);
136 } else if((listNameEnd-listname)>4 && 0==memcmp(listNameEnd-4, ".dat", 4)) {
140 listPkg->readPackage(listname);
144 listPkg->addFile(filesPath, listname);
146 listPkg->addItem(listname);