Lines Matching defs:file
4 * This file is part of the lwIP TCP/IP stack.
22 /** Makefsdata can generate *all* files deflate-compressed (where file size shrinks).
119 int file_put_ascii(FILE *file, const char *ascii_string, int len, int *i);
161 printf(" switch -e: exclude HTTP header from file (header is created at runtime, default is off)" NEWLINE);
164 printf(" switch -ssi: ssi filename (ssi support controlled by file list, not by extension)" NEWLINE);
167 printf(" switch -m: include \"Last-Modified\" header based on file time" NEWLINE);
229 printf("Writing to file \"%s\"\n", targetfile);
299 printf("Failed to create file \"fsdata.tmp\"\n");
304 printf("Failed to create file \"fshdr.tmp\"\n");
335 * file header structs to allow embedded app to search for a file name */
345 printf(NEWLINE "Creating target file..." NEWLINE NEWLINE);
411 printf("Failed to open file \"%s\"\n", filename_in);
427 printf("Failed to open file \"%s\"\n", targetfile);
452 tinydir_file file;
454 ret = tinydir_readfile_n(&dir, &file, i);
460 wcstombs_s(&num_char_converted, currName, sizeof(currName), file.name, sizeof(currName));
462 const char *currName = file.name;
468 if (!file.is_dir) {
491 tinydir_file file;
493 ret = tinydir_readfile_n(&dir, &file, i);
496 if (!file.is_dir) {
500 wcstombs_s(&num_char_converted, curName, sizeof(curName), file.name, sizeof(curName));
502 const char *curName = file.name;
542 printf("Failed to open file \"%s\"\n", filename);
617 printf(" - uncompressed: (file is larger than deflate bufer)" NEWLINE);
727 /* try next unique file name */
734 printf("Failed to get unique file name: \"%s\"\n", qualifiedName);
776 printf("failed to allocate ssi file buffer\n");
784 printf("failed to read data from ssi file\n");
841 /* build up the relative path to this file */
857 /* check file extension */
936 /* encode source file name (used by file system, not returned to browser) */
969 /* build declaration of struct fsdata_file in temp file */
1014 /* write actual file contents */
1016 fprintf(data_file, NEWLINE "/* raw file data (%d bytes) */" NEWLINE, file_size);
1089 printf("failed to get extension for file \"%s\", using default.\n", filename);
1100 printf("failed to get file type for extension \"%s\", using default.\n", file_ext);
1224 int file_put_ascii(FILE *file, const char *ascii_string, int len, int *i)
1229 fprintf(file, "0x%02x,", cur);
1231 fprintf(file, NEWLINE);