Searched refs:MAX_LINE (Results 1 – 8 of 8) sorted by relevance
/external/squashfs-tools/squashfs-tools/ |
D | read_file.c | 35 #define MAX_LINE 16384 macro 64 if(total + (MAX_LINE + 1) > size) { in read_file() 65 line = realloc(line, size += (MAX_LINE + 1)); in read_file() 70 err = fgets(line + total, MAX_LINE + 1, fd); in read_file() 77 if(len == MAX_LINE && line[total - 1] != '\n') { in read_file() 81 "%d bytes\n", type, filename, MAX_LINE); in read_file()
|
D | sort.c | 28 #define MAX_LINE 16384 macro 220 char line_buffer[MAX_LINE + 1]; /* overflow safe */ in read_sort_file() 221 char sort_filename[MAX_LINE + 1]; /* overflow safe */ in read_sort_file() 231 while(fgets(line = line_buffer, MAX_LINE + 1, fd) != NULL) { in read_sort_file() 234 if(len == MAX_LINE && line[len - 1] != '\n') { in read_sort_file() 238 "bytes\n", filename, MAX_LINE); in read_sort_file()
|
D | unsquashfs.c | 129 #define MAX_LINE 16384 macro 1912 char buffer[MAX_LINE + 1]; /* overflow safe */ in process_extract_files() 1920 while(fgets(name = buffer, MAX_LINE + 1, fd) != NULL) { in process_extract_files() 1923 if(len == MAX_LINE && name[len - 1] != '\n') in process_extract_files() 1927 "bytes\n", filename, MAX_LINE); in process_extract_files()
|
D | mksquashfs.c | 28 #define MAX_LINE 16384 macro 4786 char buffer[MAX_LINE + 1]; /* overflow safe */ in process_exclude_file() 4794 while(fgets(filename = buffer, MAX_LINE + 1, fd) != NULL) { in process_exclude_file() 4797 if(len == MAX_LINE && filename[len - 1] != '\n') in process_exclude_file() 4801 "bytes\n", argv, MAX_LINE); in process_exclude_file() 4932 char buffer[MAX_LINE + 1]; /* overflow safe */ in process_whitelist_file() 4940 while(fgets(filename = buffer, MAX_LINE + 1, fd) != NULL) { in process_whitelist_file() 4943 if(len == MAX_LINE && filename[len - 1] != '\n') in process_whitelist_file() 4947 "bytes\n", argv, MAX_LINE); in process_whitelist_file()
|
/external/libpcap/rpcapd/ |
D | config_params.h | 40 #define MAX_LINE 2048 /* Maximum chars allowed for the host list (in passive mode) */ macro 46 …char address[MAX_LINE + 1]; // keeps the network address (either numeric or literal) to of the act… 47 char port[MAX_LINE + 1]; // keeps the network port to bind to 54 extern char loadfile[MAX_LINE + 1]; //!< Name of the file from which we have to load the configura…
|
D | fileconf.c | 78 char line[MAX_LINE + 1]; in fileconf_read() 85 while (fgets(line, MAX_LINE, fp) != NULL) in fileconf_read() 108 loadfile, lineno, MAX_LINE); in fileconf_read()
|
D | rpcapd.c | 84 char loadfile[MAX_LINE + 1]; //!< Name of the file from which we have to load the configuration 87 static char address[MAX_LINE + 1]; //!< keeps the network address (either numeric or literal) to b… 88 static char port[MAX_LINE + 1]; //!< keeps the network port to bind to 178 char savefile[MAX_LINE + 1]; // name of the file on which we have to save the configuration in main()
|
/external/ppp/pppd/plugins/pppoatm/ |
D | ans.c | 34 #define MAX_LINE 2048 /* in /etc/e164_cc */ macro 199 char buffer[MAX_LINE]; in cc_len() 212 while (fgets(buffer,MAX_LINE,file)) { in cc_len()
|