Lines Matching refs:obj

77     Hash_obj *obj)
83 if (obj->o_alter) {
88 if (strcmp(path, obj->o_path))
104 if (strcmp(alter, obj->o_path) == 0) {
106 obj->o_path);
109 obj->o_flags |= RTC_OBJ_DUMP;
113 obj->o_flags |= RTC_OBJ_ALTER;
119 if (obj->o_alter) {
129 if ((obj->o_alter = malloc(altsz)) == NULL)
131 (void) strcpy(obj->o_alter, alter);
136 (void) printf(fmt, alter, obj->o_path);
150 Hash_obj *obj;
194 if ((obj = ent->e_obj) == NULL) {
195 if ((obj = calloc(sizeof (Hash_obj), 1)) == NULL)
197 obj->o_tbl = tbl;
198 obj->o_flags = flags;
199 obj->o_info = info;
205 if ((obj->o_path = strdup(name)) == NULL)
211 ent->e_obj = obj;
221 _enterdir(Crle_desc *crle, const char *dir, Hash_ent *ent, Hash_obj *obj)
236 ent->e_obj = obj;
253 if (obj->o_flags & RTC_OBJ_NOEXIST)
271 Hash_obj *obj;
300 obj = ent->e_obj;
314 if (_enterdir(crle, ndir, ent, obj) == 0)
337 if (_enterdir(crle, odir, ent, obj) == 0)
365 Hash_obj * obj;
367 if ((obj = calloc(sizeof (Hash_obj), 1)) == NULL)
369 obj->o_flags = (RTC_OBJ_NOEXIST | RTC_OBJ_DIRENT);
371 if (_enterdir(crle, dir, ent, obj) == 0)
384 Hash_ent *rent, Hash_ent *dent, Hash_obj *obj)
422 fent->e_obj = obj;
450 Hash_obj *obj;
465 if ((obj = calloc(sizeof (Hash_obj), 1)) == NULL)
467 obj->o_flags = RTC_OBJ_NOEXIST;
469 if (_enterfile(crle, path, 0, rent, 0, dent, obj) == 0)
472 obj = rent->e_obj;
473 if ((obj->o_path = strdup(path)) == NULL)
492 if (_enterfile(crle, file, off, ent, rent, dent, obj) == 0)
508 Hash_obj *obj;
554 obj = ent->e_obj;
563 if (_enterfile(crle, npath, 0, rent, 0, ndent, obj) == 0)
592 if (_enterfile(crle, nfile, off, ent, rent, ndent, obj) == 0)
609 obj = ent->e_obj;
618 if (_enterfile(crle, opath, 0, rent, 0, odent, obj) == 0)
637 if (_enterfile(crle, ofile, off, ent, rent, odent, obj) == 0)
652 Hash_obj *obj;
678 obj = ent->e_obj;
685 ((obj->o_flags & RTC_OBJ_NOALTER) == 0)) {
686 if (enteralt(crle, path, file, flags, obj) == 0)
783 obj = ent->e_obj;
792 obj->o_flags |= RTC_OBJ_NOALTER;
793 obj->o_flags &= ~(RTC_OBJ_ALTER | RTC_OBJ_DUMP);
795 if (enteralt(crle, path, file, flags, obj) == 0) {
808 obj->o_flags |= RTC_OBJ_EXEC;
821 obj->o_flags |= RTC_OBJ_APP;