Lines Matching refs:dir
221 _enterdir(Crle_desc *crle, const char *dir, Hash_ent *ent, Hash_obj *obj)
223 size_t size = strlen(dir) + 1;
232 (void) strcpy(ndir, dir);
258 (void) printf(fmt, ent->e_id, dir);
349 enternoexistdir(Crle_desc *crle, const char *dir)
356 if ((ent = get_hash(crle->c_strtbl, (Addr)dir, 0,
371 if (_enterdir(crle, dir, ent, obj) == 0)
848 DIR *dir;
884 if ((dir = opendir(name)) == NULL)
890 while ((dirent = readdir(dir)) != NULL) {
923 * Inspect a file/dir name. A stat(name) results in the following actions:
939 const char *file, *dir;
1023 dir = MSG_ORIG(MSG_DIR_DOT);
1032 dir = MSG_ORIG(MSG_DIR_ROOT);
1036 dir = (const char *)_dir;
1046 (Addr)dir, 0, HASH_FND_ENT)) == NULL) {
1049 if (stat(dir, &_status) != 0) {
1062 if ((ent = enternoexistdir(crle, dir)) == NULL)
1067 if ((ent = enterdir(crle, dir, nflags,