• Home
  • Raw
  • Download

Lines Matching refs:NEWLINE

81 #define NEWLINE     "\r\n"  macro
158 …<filename>] [-m] [-svr:<name>] [-x:<ext_list>] [-xc:<ext_list>" USAGE_ARG_DEFLATE NEWLINE NEWLINE); in print_usage()
159 printf(" targetdir: relative or absolute path to files to convert" NEWLINE); in print_usage()
160 printf(" switch -s: toggle processing of subdirectories (default is on)" NEWLINE); in print_usage()
161 … switch -e: exclude HTTP header from file (header is created at runtime, default is off)" NEWLINE); in print_usage()
162 printf(" switch -11: include HTTP 1.1 header (1.0 is default)" NEWLINE); in print_usage()
163 printf(" switch -nossi: no support for SSI (cannot calculate Content-Length for SSI)" NEWLINE); in print_usage()
164 …tf(" switch -ssi: ssi filename (ssi support controlled by file list, not by extension)" NEWLINE); in print_usage()
165 printf(" switch -c: precalculate checksums for all pages (default is off)" NEWLINE); in print_usage()
166 printf(" switch -f: target filename (default is \"fsdata.c\")" NEWLINE); in print_usage()
167 printf(" switch -m: include \"Last-Modified\" header based on file time" NEWLINE); in print_usage()
168 printf(" switch -svr: server identifier sent in HTTP response header ('Server' field)" NEWLINE); in print_usage()
169 … switch -x: comma separated list of extensions of files to exclude (e.g., -x:json,txt)" NEWLINE); in print_usage()
170 …tch -xc: comma separated list of extensions of files to not compress (e.g., -xc:mp3,jpg)" NEWLINE); in print_usage()
172 … switch -defl: deflate-compress all non-SSI files (with opt. compr.-level, default=10)" NEWLINE); in print_usage()
173 …rintf(" ATTENTION: browser has to support \"Content-Encoding: deflate\"!" NEWLINE); in print_usage()
175 printf(" if targetdir not specified, htmlgen will attempt to" NEWLINE); in print_usage()
176 printf(" process files in subdirectory 'fs'" NEWLINE); in print_usage()
193 printf(NEWLINE " makefsdata - HTML to C source converter" NEWLINE); in main()
194 printf(" by Jim Pettinato - circa 2003 " NEWLINE); in main()
195 printf(" extended by Simon Goldschmidt - 2009 " NEWLINE NEWLINE); in main()
241 printf("ERROR: deflate level must be [0..10]" NEWLINE); in main()
247 …printf("Deflating all non-SSI files with level %d (but only if size is reduced)" NEWLINE, deflate_… in main()
253 printf("Excluding files with extensions %s" NEWLINE, exclude_list); in main()
256 printf("Skipping compresion for files with extensions %s" NEWLINE, ncompress_list); in main()
271 printf("Invalid path: \"%s\"." NEWLINE, path); in main()
279 printf(" Failed to open directory \"%s\"." NEWLINE NEWLINE, path); in main()
285 printf("HTTP %sheader will %s statically included." NEWLINE, in main()
292 printf(" and subdirectories..." NEWLINE NEWLINE); in main()
294 printf("..." NEWLINE NEWLINE); in main()
311 fprintf(data_file, "#include \"lwip/apps/fs.h\"" NEWLINE); in main()
312 fprintf(data_file, "#include \"lwip/def.h\"" NEWLINE NEWLINE NEWLINE); in main()
314 fprintf(data_file, "#define file_NULL (struct fsdata_file *) NULL" NEWLINE NEWLINE NEWLINE); in main()
316 …#ifndef FS_FILE_FLAGS_HEADER_INCLUDED" NEWLINE "#define FS_FILE_FLAGS_HEADER_INCLUDED 1" NEWLINE "… in main()
318 …ndef FS_FILE_FLAGS_HEADER_PERSISTENT" NEWLINE "#define FS_FILE_FLAGS_HEADER_PERSISTENT 0" NEWLINE in main()
322 …able, 2=by include */" NEWLINE "#ifndef FSDATA_FILE_ALIGNMENT" NEWLINE "#define FSDATA_FILE_ALIGNM… in main()
324 …printf(data_file, "#ifndef FSDATA_ALIGN_PRE" NEWLINE "#define FSDATA_ALIGN_PRE" NEWLINE "#endif"… in main()
325 …printf(data_file, "#ifndef FSDATA_ALIGN_POST" NEWLINE "#define FSDATA_ALIGN_POST" NEWLINE "#endif"… in main()
327 …(data_file, "#if FSDATA_FILE_ALIGNMENT==2" NEWLINE "#include \"fsdata_alignment.h\"" NEWLINE "#end… in main()
336 fprintf(data_file, NEWLINE NEWLINE); in main()
337 fprintf(struct_file, "#define FS_ROOT file_%s" NEWLINE, lastFileVar); in main()
338 fprintf(struct_file, "#define FS_NUMFILES %d" NEWLINE NEWLINE, filesProcessed); in main()
345 printf(NEWLINE "Creating target file..." NEWLINE NEWLINE); in main()
356 printf(NEWLINE "Processed %d files - done." NEWLINE, filesProcessed); in main()
359 printf("(Deflated total byte reduction: %d bytes -> %d bytes (%.02f%%)" NEWLINE, in main()
363 printf(NEWLINE); in main()
476 printf("processing subdirectory %s/..." NEWLINE, curSubdir); in process_sub()
512 printf("skipping %s/%s by exclude list (-x option)..." NEWLINE, curSubdir, curName); in process_sub()
516 printf("processing %s/%s..." NEWLINE, curSubdir, curName); in process_sub()
519 printf(NEWLINE "Error... aborting" NEWLINE); in process_sub()
610 …printf(" - deflate: %d bytes -> %d bytes (%.02f%%)" NEWLINE, (int)fsize, (int)out_bytes, (float)((… in get_file_data()
614 …printf(" - uncompressed: (would be %d bytes larger using deflate)" NEWLINE, (int)(out_bytes - fsiz… in get_file_data()
617 printf(" - uncompressed: (file is larger than deflate bufer)" NEWLINE); in get_file_data()
620 printf(" - cannot be compressed" NEWLINE); in get_file_data()
641 memcpy(&file_buffer_c[off], NEWLINE, NEWLINE_LEN); in process_file_data()
666 fprintf(struct_file, "#if HTTPD_PRECALCULATED_CHECKSUM" NEWLINE); in write_checksums()
667 fprintf(struct_file, "const struct fsdata_chksum chksums_%s[] = {" NEWLINE, varname); in write_checksums()
671 fprintf(struct_file, "{%d, 0x%04x, %d}," NEWLINE, 0, hdr_chksum, hdr_len); in write_checksums()
684 fprintf(struct_file, "{%d, 0x%04x, %"SZT_F"}," NEWLINE, offset, chksum, len); in write_checksums()
687 fprintf(struct_file, "};" NEWLINE); in write_checksums()
688 fprintf(struct_file, "#endif /* HTTPD_PRECALCULATED_CHECKSUM */" NEWLINE); in write_checksums()
931 fprintf(data_file, "#if FSDATA_FILE_ALIGNMENT==1" NEWLINE); in process_file()
932 …fprintf(data_file, "static const " PAYLOAD_ALIGN_TYPE " dummy_align_%s = %d;" NEWLINE, varname, pa… in process_file()
933 fprintf(data_file, "#endif" NEWLINE); in process_file()
935 …e, "static const unsigned char FSDATA_ALIGN_PRE data_%s[] FSDATA_ALIGN_POST = {" NEWLINE, varname); in process_file()
937 fprintf(data_file, "/* %s (%"SZT_F" chars) */" NEWLINE, qualifiedName, strlen(qualifiedName) + 1); in process_file()
946 fprintf(data_file, NEWLINE); in process_file()
970 fprintf(struct_file, "const struct fsdata_file file_%s[] = { {" NEWLINE, varname); in process_file()
971 fprintf(struct_file, "file_%s," NEWLINE, lastFileVar); in process_file()
972 fprintf(struct_file, "data_%s," NEWLINE, varname); in process_file()
973 fprintf(struct_file, "data_%s + %d," NEWLINE, varname, i); in process_file()
974 fprintf(struct_file, "sizeof(data_%s) - %d," NEWLINE, varname, i); in process_file()
1005 fputs("," NEWLINE, struct_file); in process_file()
1007 fprintf(struct_file, "#if HTTPD_PRECALCULATED_CHECKSUM" NEWLINE); in process_file()
1008 fprintf(struct_file, "%d, chksums_%s," NEWLINE, chksum_count, varname); in process_file()
1009 fprintf(struct_file, "#endif /* HTTPD_PRECALCULATED_CHECKSUM */" NEWLINE); in process_file()
1011 fprintf(struct_file, "}};" NEWLINE NEWLINE); in process_file()
1016 fprintf(data_file, NEWLINE "/* raw file data (%d bytes) */" NEWLINE, file_size); in process_file()
1018 fprintf(data_file, "};" NEWLINE NEWLINE); in process_file()
1044 fprintf(data_file, NEWLINE "/* HTTP header */"); in file_write_http_header()
1063 fprintf(data_file, NEWLINE "/* \"%s\" (%"SZT_F" bytes) */" NEWLINE, cur_string, cur_len); in file_write_http_header()
1073 fprintf(data_file, NEWLINE "/* \"%s\" (%"SZT_F" bytes) */" NEWLINE, cur_string, cur_len); in file_write_http_header()
1114 …fprintf(data_file, NEWLINE "/* \"%s%d\r\n\" (%"SZT_F"+ bytes) */" NEWLINE, cur_string, content_len… in file_write_http_header()
1150 …fprintf(data_file, NEWLINE "/* \"%s\"\r\n\" (%"SZT_F"+ bytes) */" NEWLINE, cur_string, cur_len + 2… in file_write_http_header()
1178 fprintf(data_file, NEWLINE "/* \"%s\" (%"SZT_F" bytes) */" NEWLINE, cur_string, cur_len); in file_write_http_header()
1193 fprintf(data_file, NEWLINE "/* \"%s\" (%d bytes) */" NEWLINE, cur_string, cur_len); in file_write_http_header()
1204 fprintf(data_file, NEWLINE "/* \"%s\" (%"SZT_F" bytes) */" NEWLINE, cur_string, cur_len); in file_write_http_header()
1231 fprintf(file, NEWLINE); in file_put_ascii()
1246 sprintf(&buf[idx], NEWLINE); in s_put_ascii()