Lines Matching defs:formatPtr
416 Tk_CreatePhotoImageFormat(formatPtr)
417 Tk_PhotoImageFormat *formatPtr;
426 *copyPtr = *formatPtr;
427 copyPtr->name = (char *) ckalloc((unsigned) (strlen(formatPtr->name) + 1));
428 strcpy(copyPtr->name, formatPtr->name);
3034 Tk_PhotoImageFormat *formatPtr;
3042 for (formatPtr = formatList; formatPtr != NULL;
3043 formatPtr = formatPtr->nextPtr) {
3045 if (strncasecmp(formatString, formatPtr->name,
3046 strlen(formatPtr->name)) != 0) {
3050 if (formatPtr->fileMatchProc == NULL) {
3056 if (formatPtr->fileMatchProc != NULL) {
3058 if ((*formatPtr->fileMatchProc)(f, fileName, formatString,
3071 if (formatPtr == NULL) {
3083 *imageFormatPtr = formatPtr;
3124 Tk_PhotoImageFormat *formatPtr;
3132 for (formatPtr = formatList; formatPtr != NULL;
3133 formatPtr = formatPtr->nextPtr) {
3135 if (strncasecmp(formatString, formatPtr->name,
3136 strlen(formatPtr->name)) != 0) {
3140 if (formatPtr->stringMatchProc == NULL) {
3146 if ((formatPtr->stringMatchProc != NULL)
3147 && (*formatPtr->stringMatchProc)(string, formatString,
3153 if (formatPtr == NULL) {
3164 *imageFormatPtr = formatPtr;