Home
last modified time | relevance | path

Searched refs:MAX_LINE (Results 1 – 9 of 9) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dread_file.c35 #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()
Dsort.c28 #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()
Dunsquashfs.c129 #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()
Dmksquashfs.c28 #define MAX_LINE 16384 macro
4785 char buffer[MAX_LINE + 1]; /* overflow safe */ in process_exclude_file()
4793 while(fgets(filename = buffer, MAX_LINE + 1, fd) != NULL) { in process_exclude_file()
4796 if(len == MAX_LINE && filename[len - 1] != '\n') in process_exclude_file()
4800 "bytes\n", argv, MAX_LINE); in process_exclude_file()
4931 char buffer[MAX_LINE + 1]; /* overflow safe */ in process_whitelist_file()
4939 while(fgets(filename = buffer, MAX_LINE + 1, fd) != NULL) { in process_whitelist_file()
4942 if(len == MAX_LINE && filename[len - 1] != '\n') in process_whitelist_file()
4946 "bytes\n", argv, MAX_LINE); in process_whitelist_file()
/external/libpcap/rpcapd/
Dfileconf.c62 char line[MAX_LINE + 1]; in fileconf_read()
68 while (fgets(line, MAX_LINE, fp) != NULL) in fileconf_read()
86 strlcpy(activelist[i].address, address, MAX_LINE); in fileconf_read()
89 strlcpy(activelist[i].port, RPCAP_DEFAULT_NETPORT_ACTIVE, MAX_LINE); in fileconf_read()
91 strlcpy(activelist[i].port, port, MAX_LINE); in fileconf_read()
93 activelist[i].address[MAX_LINE] = 0; in fileconf_read()
94 activelist[i].port[MAX_LINE] = 0; in fileconf_read()
Dconfig_params.h40 #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…
Drpcapd.c79 char loadfile[MAX_LINE + 1]; //!< Name of the file from which we have to load the configuration
82 static char address[MAX_LINE + 1]; //!< keeps the network address (either numeric or literal) to b…
83 static char port[MAX_LINE + 1]; //!< keeps the network port to bind to
162 char savefile[MAX_LINE + 1]; // name of the file on which we have to save the configuration in main()
186 strncpy(address, RPCAP_DEFAULT_NETADDR, MAX_LINE); in main()
187 strncpy(port, RPCAP_DEFAULT_NETPORT, MAX_LINE); in main()
202 strncpy(address, optarg, MAX_LINE); in main()
205 strncpy(port, optarg, MAX_LINE); in main()
244 strlcpy(activelist[i].address, tmpaddress, MAX_LINE); in main()
247 strlcpy(activelist[i].port, RPCAP_DEFAULT_NETPORT_ACTIVE, MAX_LINE); in main()
[all …]
/external/u-boot/cmd/
Dini.c21 #define MAX_LINE CONFIG_INI_MAX_LINE macro
23 #define MAX_LINE 200 macro
120 char line[MAX_LINE]; in ini_parse()
/external/ppp/pppd/plugins/pppoatm/
Dans.c34 #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()