Lines Matching refs:obj

77     Hash_obj *obj)  in enteralt()  argument
83 if (obj->o_alter) { in enteralt()
88 if (strcmp(path, obj->o_path)) in enteralt()
104 if (strcmp(alter, obj->o_path) == 0) { in enteralt()
106 obj->o_path); in enteralt()
109 obj->o_flags |= RTC_OBJ_DUMP; in enteralt()
114 obj->o_flags |= RTC_OBJ_ALTER; in enteralt()
120 if (obj->o_alter) { in enteralt()
131 if ((obj->o_alter = malloc(altsz)) == NULL) in enteralt()
133 (void) strcpy(obj->o_alter, alter); in enteralt()
138 (void) printf(fmt, alter, obj->o_path); in enteralt()
152 Hash_obj *obj; in enterino() local
196 if ((obj = ent->e_obj) == NULL) { in enterino()
197 if ((obj = calloc(1, sizeof (Hash_obj))) == NULL) in enterino()
199 obj->o_tbl = tbl; in enterino()
200 obj->o_flags = flags; in enterino()
201 obj->o_info = info; in enterino()
207 if ((obj->o_path = strdup(name)) == NULL) in enterino()
213 ent->e_obj = obj; in enterino()
223 _enterdir(Crle_desc *crle, const char *dir, Hash_ent *ent, Hash_obj *obj) in _enterdir() argument
238 ent->e_obj = obj; in _enterdir()
255 if (obj->o_flags & RTC_OBJ_NOEXIST) in _enterdir()
273 Hash_obj *obj; in enterdir() local
302 obj = ent->e_obj; in enterdir()
316 if (_enterdir(crle, ndir, ent, obj) == 0) in enterdir()
339 if (_enterdir(crle, odir, ent, obj) == 0) in enterdir()
367 Hash_obj * obj; in enternoexistdir() local
369 if ((obj = calloc(1, sizeof (Hash_obj))) == NULL) in enternoexistdir()
371 obj->o_flags = (RTC_OBJ_NOEXIST | RTC_OBJ_DIRENT); in enternoexistdir()
373 if (_enterdir(crle, dir, ent, obj) == 0) in enternoexistdir()
386 Hash_ent *rent, Hash_ent *dent, Hash_obj *obj) in _enterfile() argument
425 fent->e_obj = obj; in _enterfile()
453 Hash_obj *obj; in enternoexistfile() local
468 if ((obj = calloc(1, sizeof (Hash_obj))) == NULL) in enternoexistfile()
470 obj->o_flags = RTC_OBJ_NOEXIST; in enternoexistfile()
472 if (_enterfile(crle, path, 0, rent, 0, dent, obj) == 0) in enternoexistfile()
475 obj = rent->e_obj; in enternoexistfile()
476 if ((obj->o_path = strdup(path)) == NULL) in enternoexistfile()
495 if (_enterfile(crle, file, off, ent, rent, dent, obj) == 0) in enternoexistfile()
511 Hash_obj *obj; in enterfile() local
558 obj = ent->e_obj; in enterfile()
567 if (_enterfile(crle, npath, 0, rent, 0, ndent, obj) == 0) in enterfile()
596 if (_enterfile(crle, nfile, off, ent, rent, ndent, obj) == 0) in enterfile()
613 obj = ent->e_obj; in enterfile()
622 if (_enterfile(crle, opath, 0, rent, 0, odent, obj) == 0) in enterfile()
641 if (_enterfile(crle, ofile, off, ent, rent, odent, obj) == 0) in enterfile()
656 Hash_obj *obj; in inspect_file() local
682 obj = ent->e_obj; in inspect_file()
689 ((obj->o_flags & RTC_OBJ_NOALTER) == 0)) { in inspect_file()
690 if (enteralt(crle, path, file, flags, obj) == 0) in inspect_file()
787 obj = ent->e_obj; in inspect_file()
796 obj->o_flags |= RTC_OBJ_NOALTER; in inspect_file()
797 obj->o_flags &= ~(RTC_OBJ_ALTER | RTC_OBJ_DUMP); in inspect_file()
799 if (enteralt(crle, path, file, flags, obj) == 0) { in inspect_file()
812 obj->o_flags |= RTC_OBJ_EXEC; in inspect_file()
825 obj->o_flags |= RTC_OBJ_APP; in inspect_file()