Home
last modified time | relevance | path

Searched refs:the_pathp (Results 1 – 2 of 2) sorted by relevance

/xnu-8796.141.3/tests/
H A Dxnu_quick_test_helpers.c64 create_random_name( char *the_pathp, int do_open ) in create_random_name() argument
76 T_ASSERT_LT_ULONG((strlen( &my_name[0] ) + strlen( the_pathp ) + 2), (unsigned long)PATH_MAX, in create_random_name()
80 myp = strrchr( the_pathp, '/' ); in create_random_name()
82 strcat( the_pathp, &my_name[0] ); in create_random_name()
85 my_fd = open( the_pathp, (O_RDWR | O_CREAT | O_EXCL), in create_random_name()
87 T_EXPECT_TRUE((my_fd != -1 || errno == EEXIST), "open file with name %s", the_pathp); in create_random_name()
95 my_err = stat( the_pathp, &my_sb ); in create_random_name()
H A Dxnu_quick_test_helpers.h12 int create_random_name( char *the_pathp, int do_open );