Lines Matching defs:basename
117 Offset(basename), XtRImmediate, (XtPointer) DefaultFilename},
678 _Xconst _XtString basename,
697 if (!basename || !strcmp(basename, "") || !strcmp(basename, "-"))
698 basename = new_basename = StripFilename(filename);
702 fprintf(file, "#define %s_width %d\n", basename, width);
703 fprintf(file, "#define %s_height %d\n", basename, height);
705 fprintf(file, "#define %s_x_hot %d\n", basename, x_hot);
706 fprintf(file, "#define %s_y_hot %d\n", basename, y_hot);
709 basename, (unsigned char) datap[0]);
949 if (!strcmp(new->bitmap.basename, "")) {
950 new->bitmap.basename = StripFilename(new->bitmap.filename);
953 new->bitmap.basename = XtNewString(new->bitmap.basename);
1014 BWStoreFile(Widget w, _Xconst _XtString filename, _Xconst _XtString *basename)
1046 (strcmp(BW->bitmap.basename, "") ? BW->bitmap.basename : "<none>"),
1069 XtFree(BW->bitmap.basename);
1070 BW->bitmap.basename = XtNewString(str);
1076 BWReadFile(Widget w, _Xconst _XtString filename, _Xconst _XtString basename) /* ARGSUSED */
1116 XtFree(BW->bitmap.basename);
1117 BW->bitmap.basename = StripFilename(filename);
1173 BWWriteFile(Widget w, _Xconst _XtString filename, _Xconst _XtString basename)
1212 XtFree(BW->bitmap.basename);
1213 BW->bitmap.basename = StripFilename(filename);
1215 if (!basename) basename = BW->bitmap.basename;
1217 XtFree(BW->bitmap.basename);
1218 BW->bitmap.basename = XtNewString(basename);
1222 fprintf(stderr, "Saving filename: %s %s\n", filename, basename);
1224 status = XmuWriteBitmapDataToFile(filename, basename,
1271 *str = XtNewString(BW->bitmap.basename);
1517 XtFree(BW->bitmap.basename);
1797 if (NE(bitmap.filename) || NE(bitmap.basename) || NE(bitmap.size))
1809 if (NE(bitmap.basename)) {
1810 if (newbw->bitmap.basename) {
1811 XtFree(oldbw->bitmap.basename);
1812 newbw->bitmap.basename = XtNewString(newbw->bitmap.basename);
1815 newbw->bitmap.basename = oldbw->bitmap.basename;