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

Lines Matching refs:name

662 	/* now create a name for the link file */
1151 /* get a test file name for the link */
1863 /* get a unique name for our test file */
2764 printf( "getlogin returned NULL name pointer \n" );
2784 /* set new name */
2787 printf( "When setting new login name, setlogin failed with error %d - \"%s\" \n", errno, strerror( errno) );
2792 /* make sure we set new name */
2795 printf( "getlogin returned NULL name pointer \n" );
2801 printf( "setlogin failed to set the new name \n" );
2806 /* reset to original name */
2812 printf( "When resetting login name, setlogin failed with error %d - \"%s\" \n", errno, strerror( errno) );
2963 /* first letters in ac_comm should match the name of the executable */
3112 /* get a unique name to use with mkdir */
3194 /* get a unique name for our test directory */
3725 /* get a unique name for our rename test */
3746 /* make sure old name is no longer there */
3749 printf( "rename call failed - found old name \n" );
3753 /* make sure new name is there and is correct file id */
3924 /* get unique name for our fifo */
4226 /* get pointer to just the file name */
4467 struct attrreference ref; /* Offset/length of name itself */
4468 char name[ PATH_MAX ];
4529 printf( "failed to create a test file name in \"%s\" \n", my_pathp );
4535 printf( "failed to create a test file name in \"%s\" \n", my_pathp );
4541 printf( "failed to create a test file name in \"%s\" \n", my_pathp );
4547 printf( "failed to create a test file name in \"%s\" \n", my_pathp );
4555 /* search target volume for all file system objects with "foo" in the name */
4582 /* NOTE: A name appears only in searchparams1 */
4583 strcpy( my_info1.name, "foo" );
4585 my_info1.ref.attr_length = strlen(my_info1.name) + 1;
5332 * create_random_name_at - creates a file with a random / unique name in the given directory.
5333 * when do_create is true we create a file else we generaate a name that does not exist in the
5335 * A name is generated relative to the directory fd. If both a directory path and
5338 * WARNING - caller provides enough space in the_namep buffer for longest possible name (NAME_MAX).
5362 // generate name and absolute path
5379 /* create a file with this name */
5388 // name already exists, try another
5395 /* make sure the name is unique */
5408 /* name already exists, try another */
5468 /* If dirpath is absolute, we can ask for an absolute path name to file back from create_random_name_at */
5741 /* If dirpath is absolute, we can ask for an absolute path name to file back from create_random_name_at */
5764 /* now create a name for the link file */
5776 /* Double check with absolute path name */
6257 /* get a name for the link (to create the symlink later) */
6462 /* If dirpath is absolute, we can ask for an absolute path name to file back from create_random_name_at */
6482 /* get a random name to use with mkdirat (don't create) */
6583 /* If dirpath is absolute, we can ask for an absolute path name to file back from create_random_name_at */
6610 /* If dirpath is absolute, we can ask for an absolute path name to file back from create_random_name_at */
6651 /* make sure old name is no longer there */
6654 printf( "renameat call failed - found old name \n" );
6658 /* make sure new name is there and is correct file id */