Lines Matching refs:name
2337 FILE *zconf_fopen(const char *name) in zconf_fopen() argument
2342 f = fopen(name, "r"); in zconf_fopen()
2343 if (!f && name != NULL && name[0] != '/') { in zconf_fopen()
2346 sprintf(fullname, "%s/%s", env, name); in zconf_fopen()
2353 void zconf_initscan(const char *name) in zconf_initscan() argument
2355 zconfin = zconf_fopen(name); in zconf_initscan()
2357 printf("can't find file %s\n", name); in zconf_initscan()
2364 current_file = file_lookup(name); in zconf_initscan()
2368 void zconf_nextfile(const char *name) in zconf_nextfile() argument
2371 struct file *file = file_lookup(name); in zconf_nextfile()
2376 zconfin = zconf_fopen(file->name); in zconf_nextfile()
2379 zconf_curname(), zconf_lineno(), file->name); in zconf_nextfile()
2387 if (!strcmp(current_file->name,iter->name) ) { in zconf_nextfile()
2394 strcmp(iter->name,current_file->name)) { in zconf_nextfile()
2396 iter->name, iter->lineno-1); in zconf_nextfile()
2401 iter->name, iter->lineno+1); in zconf_nextfile()
2433 return current_pos.file ? current_pos.file->name : "<none>"; in zconf_curname()