Lines Matching refs:parse

1134 	char* parse, *addr;  in ub_ctx_resolvconf()  local
1184 parse=buf; in ub_ctx_resolvconf()
1185 while(*parse == ' ' || *parse == '\t') in ub_ctx_resolvconf()
1186 parse++; in ub_ctx_resolvconf()
1187 if(strncmp(parse, "nameserver", 10) == 0) { in ub_ctx_resolvconf()
1189 parse += 10; /* skip 'nameserver' */ in ub_ctx_resolvconf()
1191 while(*parse == ' ' || *parse == '\t') in ub_ctx_resolvconf()
1192 parse++; in ub_ctx_resolvconf()
1193 addr = parse; in ub_ctx_resolvconf()
1195 while(isxdigit((unsigned char)*parse) || *parse=='.' || *parse==':') in ub_ctx_resolvconf()
1196 parse++; in ub_ctx_resolvconf()
1198 *parse = 0; in ub_ctx_resolvconf()
1219 char* parse, *addr, *name, *ins; in ub_ctx_hosts() local
1258 parse=buf; in ub_ctx_hosts()
1259 while(*parse == ' ' || *parse == '\t') in ub_ctx_hosts()
1260 parse++; in ub_ctx_hosts()
1261 if(*parse == '#') in ub_ctx_hosts()
1264 addr = parse; in ub_ctx_hosts()
1266 while(isxdigit((unsigned char)*parse) || *parse == '.' || *parse == ':') in ub_ctx_hosts()
1267 parse++; in ub_ctx_hosts()
1268 if(*parse == '\r') in ub_ctx_hosts()
1269 parse++; in ub_ctx_hosts()
1270 if(*parse == '\n' || *parse == 0) in ub_ctx_hosts()
1272 if(*parse == '%') in ub_ctx_hosts()
1274 if(*parse != ' ' && *parse != '\t') { in ub_ctx_hosts()
1280 *parse++ = 0; /* end delimiter for addr ... */ in ub_ctx_hosts()
1282 while(*parse) { in ub_ctx_hosts()
1283 while(*parse == ' ' || *parse == '\t' || *parse=='\n' in ub_ctx_hosts()
1284 || *parse=='\r') in ub_ctx_hosts()
1285 parse++; in ub_ctx_hosts()
1286 if(*parse == 0 || *parse == '#') in ub_ctx_hosts()
1289 name = parse; in ub_ctx_hosts()
1290 while('!' <= *parse && *parse <= '~') in ub_ctx_hosts()
1291 parse++; in ub_ctx_hosts()
1292 if(*parse) in ub_ctx_hosts()
1293 *parse++ = 0; /* end delimiter for name */ in ub_ctx_hosts()