Lines Matching refs:parse

1148 	char* parse, *addr;  in ub_ctx_resolvconf()  local
1198 parse=buf; in ub_ctx_resolvconf()
1199 while(*parse == ' ' || *parse == '\t') in ub_ctx_resolvconf()
1200 parse++; in ub_ctx_resolvconf()
1201 if(strncmp(parse, "nameserver", 10) == 0) { in ub_ctx_resolvconf()
1203 parse += 10; /* skip 'nameserver' */ in ub_ctx_resolvconf()
1205 while(*parse == ' ' || *parse == '\t') in ub_ctx_resolvconf()
1206 parse++; in ub_ctx_resolvconf()
1207 addr = parse; in ub_ctx_resolvconf()
1209 while(isxdigit((unsigned char)*parse) || *parse=='.' || *parse==':') in ub_ctx_resolvconf()
1210 parse++; in ub_ctx_resolvconf()
1212 *parse = 0; in ub_ctx_resolvconf()
1233 char* parse, *addr, *name, *ins; in ub_ctx_hosts() local
1272 parse=buf; in ub_ctx_hosts()
1273 while(*parse == ' ' || *parse == '\t') in ub_ctx_hosts()
1274 parse++; in ub_ctx_hosts()
1275 if(*parse == '#') in ub_ctx_hosts()
1278 addr = parse; in ub_ctx_hosts()
1280 while(isxdigit((unsigned char)*parse) || *parse == '.' || *parse == ':') in ub_ctx_hosts()
1281 parse++; in ub_ctx_hosts()
1282 if(*parse == '\r') in ub_ctx_hosts()
1283 parse++; in ub_ctx_hosts()
1284 if(*parse == '\n' || *parse == 0) in ub_ctx_hosts()
1286 if(*parse == '%') in ub_ctx_hosts()
1288 if(*parse != ' ' && *parse != '\t') { in ub_ctx_hosts()
1294 *parse++ = 0; /* end delimiter for addr ... */ in ub_ctx_hosts()
1296 while(*parse) { in ub_ctx_hosts()
1297 while(*parse == ' ' || *parse == '\t' || *parse=='\n' in ub_ctx_hosts()
1298 || *parse=='\r') in ub_ctx_hosts()
1299 parse++; in ub_ctx_hosts()
1300 if(*parse == 0 || *parse == '#') in ub_ctx_hosts()
1303 name = parse; in ub_ctx_hosts()
1304 while('!' <= *parse && *parse <= '~') in ub_ctx_hosts()
1305 parse++; in ub_ctx_hosts()
1306 if(*parse) in ub_ctx_hosts()
1307 *parse++ = 0; /* end delimiter for name */ in ub_ctx_hosts()