Lines Matching refs:n_objs
88 struct object *object_cache_find_file(char *fname, int *n_objs) in object_cache_find_file() argument
97 *n_objs = cur->n_objs; in object_cache_find_file()
107 void object_cache_add_file(char *fname, struct object *objs, int n_objs) in object_cache_add_file() argument
114 new->n_objs = n_objs; in object_cache_add_file()
187 void object_write_file(char *fname, struct object *objs, int n_objs) in object_write_file() argument
206 for(c = 0; c < n_objs; c++) in object_write_file()
253 for(c = 0; c < n_objs; c++) in object_write_file()
338 file_write_values32(&n_objs, 1, fp); in object_write_file()
339 for(c = 0; c < n_objs; c++) in object_write_file()
376 struct object *object_read_file(char *fname, int *n_objs) in object_read_file() argument
386 objs = object_cache_find_file(fname, n_objs); in object_read_file()
431 file_read_values32(n_objs, 1, fp); in object_read_file()
433 fname, *n_objs, vx_num, fc_num); in object_read_file()
434 objs = malloc(sizeof(struct object) * (*n_objs)); in object_read_file()
435 for(c = 0; c < *n_objs; c++) in object_read_file()
463 object_cache_add_file(fname, objs, *n_objs); in object_read_file()
481 for(c = 0; c < cur->n_objs; c++) in object_release_dlists()
512 for(c = 0; c < cur->n_objs; c++) in object_recompile_dlists()