Lines Matching refs:line
52 static inline int get_hosts_str(char *line, int length, FILE *f, int *i)
55 return fgets(line, length, f);
58 memcpy(line, fixed_hosts[*i], strlen(fixed_hosts[*i]));
67 char line[512], *p, *z;
77 while (i < FIXED_HOSTS_MAX_LENGTH && get_hosts_str(line, sizeof line, f, &i)) {
78 if ((p=strchr(line, '#'))) *p++='\n', *p=0;
80 for (p=line; *p && !isspace(*p); p++);
83 if (__lookup_ipliteral(&iplit, line, AF_UNSPEC)<=0)
111 char line[128], *p, *z;
115 while (get_services_str(line, f, &indexPtr)) {
116 if ((p=strchr(line, '#'))) *p++='\n', *p=0;
118 for (p=line; *p && !isspace(*p); p++);
126 if (p-line > 32) continue;
128 memcpy(buf, line, p-line);