Searched refs:MAX_LINE (Results 1 – 10 of 10) 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 4742 char buffer[MAX_LINE + 1]; /* overflow safe */ in process_exclude_file() 4750 while(fgets(filename = buffer, MAX_LINE + 1, fd) != NULL) { in process_exclude_file() 4753 if(len == MAX_LINE && filename[len - 1] != '\n') in process_exclude_file() 4757 "bytes\n", argv, MAX_LINE); in process_exclude_file() 4888 char buffer[MAX_LINE + 1]; /* overflow safe */ in process_whitelist_file() 4896 while(fgets(filename = buffer, MAX_LINE + 1, fd) != NULL) { in process_whitelist_file() 4899 if(len == MAX_LINE && filename[len - 1] != '\n') in process_whitelist_file() 4903 "bytes\n", argv, MAX_LINE); in process_whitelist_file()
|
/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()
|
/external/syslinux/com32/cmenu/libmenu/ |
D | passwords.c | 20 #define MAX_LINE 512 macro 84 char line[MAX_LINE], *p, *user, *pwdhash, *perms; in init_passwords()
|
/external/syslinux/com32/modules/ |
D | ethersel.c | 43 #define MAX_LINE 512 macro 110 char line[MAX_LINE], *p; in parse_config()
|
/external/syslinux/com32/lib/pci/ |
D | scan.c | 46 #define MAX_LINE 512 macro 69 char line[MAX_LINE]; in get_module_name_from_pcimap() 175 char line[MAX_LINE]; in get_class_name_from_pci_ids() 268 char line[MAX_LINE]; in get_name_from_pci_ids() 597 char line[MAX_LINE]; in get_module_name_from_alias()
|
/external/syslinux/com32/menu/ |
D | readconfig.c | 95 #define MAX_LINE 4096 macro 653 char line[MAX_LINE], *p, *ep, ch; in parse_config_file()
|
/external/syslinux/com32/elflink/ldlinux/ |
D | readconfig.c | 140 #define MAX_LINE 4096 macro 878 char line[MAX_LINE], *p, *ep, ch; in parse_config_file()
|