• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /xnu-2782.1.97/tools/tests/xnu_quick_test/

Lines Matching defs:directory

777 	char *cwd = getwd(NULL);	/* Save current working directory so we can restore later */
804 /* now do the chdir to our test directory and then do the stat relative to that location */
829 /* now change our current directory to "/" and use fchdir to get back to our test directory */
843 /* get a file descriptor to the test directory for use with fchdir */
886 if ( chdir(cwd) != 0) /* Changes back to original directory, don't screw up the env. */
980 * the same directory as the other files not owned by the current user.
3123 /* create a directory with RWX for user, group, other (which should be limited by umask) */
3141 /* get rid of our test directory */
3194 /* get a unique name for our test directory */
3200 /* create a test directory */
3221 /* change our root to our new test directory */
3228 /* verify root directory is now an empty directory */
4230 /* check out the test directory */
5220 } directory;
5285 /* No more entries in directory */
5332 * create_random_name_at - creates a file with a random / unique name in the given directory.
5334 * given directory (we do not create anything when do_open is 0).
5335 * A name is generated relative to the directory fd. If both a directory path and
5368 *If the caller has passed in a path pointer and directory path
5508 * If pathname is not absolute, an openat relative to a invalid directory fd
5530 * try to open relative to non-directory fd.
5534 printf( "openat call succeded with fd being a non-directory fd\n");
5639 * try to stat relative to non-directory fd.
5643 printf( "fstatat call succeded with fd being a non-directory fd\n");
6037 * the same directory as the other files not owned by the current user.
6492 /* create a directory with RWX for user, group, other (which should be limited by umask) */
6510 /* get rid of our test directory */