Lines Matching refs:file
228 FILE * file;
237 file = InitStringOrFile(src, src->multi_src.type == XawAsciiFile);
238 LoadPieces(src, file, NULL);
240 if (file != NULL) fclose(file);
457 * Note: While there are only 'n' characters in the file there are n+1
717 FILE * file;
736 file = InitStringOrFile(src, string_set);
742 LoadPieces(src, file, NULL);
743 if (file != NULL) fclose(file);
857 * Description: Saves all the pieces into a file or string as required.
904 "Due to illegal characters, file not saved.", NULL, NULL);
936 * Description: Save the current buffer as a file.
938 * name - name of the file to save this file into.
995 * Description: Write the string specified to the begining of the file
998 * name - the name of the file
1066 * Description: Initializes the string or file.
1077 FILE * file;
1125 "Creating a read only disk widget and no file specified.",
1162 if ((file = fopen(src->multi_src.string, open_mode)) != 0) {
1163 (void) fseek(file, (Off_t)0, 2);
1164 src->multi_src.length = ftell (file);
1165 return file;
1174 "Cannot open file %s; %s", params, &num_params);
1182 /* LoadPieces: This routine takes either the MB contents of open file `file' or the
1186 CAUTION: You must have src->multi_src.length set to file length bytes
1191 LoadPieces(src, file, string)
1193 FILE* file;
1230 fseek(file, (Off_t)0, 0);
1233 (Size_t)src->multi_src.length, file);
1254 "%s: The file `%s' contains characters not representable in this locale.",