Lines Matching refs:STRLEN
27 #define STRLEN 512 macro
79 char **FileName = NULL, FoutTmpName[STRLEN+1], FullPath[STRLEN+1], *p; in main()
116 if ( strlen(*FileName) > STRLEN-1 ) GIF_EXIT("Filename too long."); in main()
118 strncpy(FullPath, *FileName, STRLEN); in main()
127 if ( strlen(FullPath) > STRLEN-1 ) GIF_EXIT("Filename too long."); in main()
128 strncpy(FoutTmpName, FullPath, STRLEN); /* First setup the Path */ in main()
130 …if ( (strlen(FoutTmpName) + strlen(DEFAULT_TMP_NAME)) > STRLEN-1 ) GIF_EXIT("Filename too long."); in main()
165 char DefaultName[STRLEN+1]; in main()
167 if ( (strlen(FullPath) + strlen(DEFAULT_OUT_NAME)) > STRLEN-1 ) GIF_EXIT("Filename too long."); in main()
168 strncpy(DefaultName, FullPath, STRLEN); in main()
171 char s[STRLEN]; in main()
172 snprintf(s, STRLEN, "Failed to rename out file - left as %s.", in main()