• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/

Lines Matching refs:stat

132 		struct stat		my_sb;
135 my_err = stat( &g_target_path[0], &my_sb );
137 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
189 struct stat my_sb;
412 my_err = stat( my_pathp, &my_sb );
414 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
451 struct stat my_sb;
619 * Test link, stat and unlink system calls.
630 struct stat my_sb;
659 my_err = stat( my_pathp, &my_sb );
661 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
668 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
700 my_err = stat( my_pathp, &my_sb );
702 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
706 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
713 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
724 my_err = stat( my_pathp, &my_sb );
726 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
730 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
765 struct stat my_sb;
766 struct stat my_sb2;
785 /* test by doing a stat on the test file using a full path and a partial path.
788 my_err = stat( my_pathp, &my_sb );
790 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
794 /* now do the chdir to our test directory and then do the stat relative to that location */
803 my_err = stat( my_file_namep, &my_sb2 );
805 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
809 /* both stat buffers should contain the same data since they should be referencing the same
815 printf( "chdir call appears to have failed. stat buffer contents do not match! \n" );
827 my_err = stat( my_file_namep, &my_sb2 );
847 my_err = stat( my_file_namep, &my_sb2 );
849 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
853 /* both stat buffers should contain the same data since they should be referencing the same
859 printf( "chdir call appears to have failed. stat buffer contents do not match! \n" );
890 struct stat my_sb;
947 my_err = stat( my_pathp, &my_sb );
949 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
955 printf( "chmod call appears to have failed. stat shows incorrect values in st_mode! \n" );
973 my_err = stat( my_pathp, &my_sb );
975 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
982 printf( "fchmod call appears to have failed. stat shows incorrect values in st_mode! \n" );
1016 struct stat my_sb;
1061 my_err = stat( my_pathp, &my_sb );
1063 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1096 my_err = stat( my_pathp, &my_sb );
1098 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1121 my_err = stat( my_pathp, &my_sb );
1123 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1810 struct stat my_sb;
1829 my_err = stat( my_pathp, &my_sb );
1831 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1857 my_err = stat( my_pathp, &my_sb );
1859 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3052 struct stat my_sb;
3082 my_err = stat( my_pathp, &my_sb );
3084 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3168 struct stat my_sb;
3178 my_err = stat( "/", &my_sb );
3180 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3443 struct stat my_sb;
3502 my_err = stat( my_pathp, &my_sb );
3504 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3519 my_err = stat( my_pathp, &my_sb );
3521 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3547 my_err = stat( my_pathp, &my_sb );
3549 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3577 * Test rename, stat system calls.
3586 struct stat my_sb;
3619 my_err = stat( my_pathp, &my_sb );
3621 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3634 my_err = stat( my_pathp, &my_sb );
3641 my_err = stat( my_new_pathp, &my_sb );
3643 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );