Searched refs:the_pathp (Results 1 - 3 of 3) sorted by relevance

/macosx-10.10/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dmisc.c15 int create_random_name( char *the_pathp, int do_open ) { argument
26 if ( (strlen( &my_name[0] ) + strlen( the_pathp ) + 2) > PATH_MAX ) {
32 myp = strrchr( the_pathp, '/' );
34 strcat( the_pathp, &my_name[0] );
37 my_fd = open( the_pathp, (O_RDWR | O_CREAT | O_EXCL),
53 my_err = stat( the_pathp, &my_sb );
H A Dtests.h72 int create_file_with_name( char *the_pathp, char *the_namep, int remove_existing );
73 int create_random_name( char *the_pathp, int do_open );
H A Dtests.c5329 char *the_pathp, size_t the_pathp_len,
5339 * WARNING - caller provides enough space in the_pathp buffer for longest possible path (PATH_MAX).
5344 char *the_pathp, size_t the_pathp_len,
5371 if (the_pathp && the_dirpathp) {
5372 *the_pathp = (char)0x00;
5373 strlcat(the_pathp, the_dirpathp, the_pathp_len);
5374 strlcat(the_pathp, "/", the_pathp_len);
5375 strlcat(the_pathp, the_namep, the_pathp_len);
5342 create_random_name_at(int the_dirfd, char *the_dirpathp, char *the_namep, size_t the_namep_len, char *the_pathp, size_t the_pathp_len, int do_create ) argument

Completed in 119 milliseconds