Searched refs:my_pathp (Results 1 - 6 of 6) sorted by relevance

/macosx-10.9.5/xnu-2422.115.4/tools/tests/xnu_quick_test/
H A Dxattr_tests.c26 char * my_pathp = NULL; local
33 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE);
39 *my_pathp = 0x00;
40 strcat( my_pathp, &g_target_path[0] );
41 strcat( my_pathp, "/" );
44 my_err = create_random_name( my_pathp, 1 );
50 my_err = setxattr( my_pathp, XATTR_TEST_NAME, &my_xattr_data[0], sizeof(my_xattr_data), 0, 0 );
57 my_result = listxattr( my_pathp, NULL, 0, 0 );
70 my_result = getxattr( my_pathp, XATTR_TEST_NAME, &my_buffer[0], sizeof(my_buffer), 0, 0 );
83 my_err = removexattr( my_pathp, XATTR_TEST_NAM
[all...]
H A Dtests.c74 char * my_pathp; local
77 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE);
83 *my_pathp = 0x00;
84 strcpy( my_pathp, &g_target_path[0] );
85 strcat( my_pathp, "/" );
88 my_err = create_random_name( my_pathp, 1 );
96 my_fd = syscall( SYS_open, my_pathp, (O_RDWR | O_EXCL), 0 );
99 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
112 if ( my_pathp != NULL ) {
113 remove( my_pathp );
188 char * my_pathp = NULL; local
453 char * my_pathp = NULL; local
632 char * my_pathp = NULL; local
771 char * my_pathp = NULL; local
901 char * my_pathp = NULL; local
1120 char * my_pathp = NULL; local
1864 char * my_pathp = NULL; local
1920 char * my_pathp = NULL; local
2310 char * my_pathp = NULL; local
2493 char * my_pathp = NULL; local
2864 char * my_pathp = NULL; local
3105 char * my_pathp = NULL; local
3183 char * my_pathp = NULL; local
3363 char * my_pathp = NULL; local
3556 char * my_pathp = NULL; local
3703 char * my_pathp = NULL; local
3801 char * my_pathp = NULL; local
3919 char * my_pathp = NULL; local
4190 char * my_pathp = NULL; local
4508 char * my_pathp = NULL; local
4717 char * my_pathp; local
5245 char * my_pathp = NULL; local
[all...]
H A Dmisc.c87 char * my_pathp = NULL; local
92 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE);
98 strcpy( my_pathp, the_target_dirp );
99 strcat( my_pathp, the_namep );
103 my_err = stat( my_pathp, &my_sb );
115 my_err = rmdir( my_pathp );
126 my_err = unlink( my_pathp );
138 my_fd = open( my_pathp, (O_RDWR | O_CREAT | O_EXCL),
152 if ( my_pathp != NULL ) {
154 remove( my_pathp );
[all...]
H A D32bit_inode_tests.c42 char * my_pathp = NULL; local
71 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE);
77 *my_pathp = 0x00;
78 strcat( my_pathp, &g_target_path[0] );
79 strcat( my_pathp, "/" );
82 my_err = create_random_name( my_pathp, 1 );
88 my_file_namep = strrchr( my_pathp, '/' );
137 if ( my_pathp != NULL ) {
138 remove( my_pathp );
139 vm_deallocate(mach_task_self(), (vm_address_t)my_pathp, PATH_MA
[all...]
H A Dmemory_tests.c39 char * my_pathp = NULL; local
48 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE);
54 *my_pathp = 0x00;
55 strcat( my_pathp, &g_target_path[0] );
56 strcat( my_pathp, "/" );
59 my_err = create_random_name( my_pathp, 1 );
114 my_fd = open( my_pathp, O_RDWR, 0 );
324 if ( my_pathp != NULL ) {
325 remove( my_pathp );
326 vm_deallocate(mach_task_self(), (vm_address_t)my_pathp, PATH_MA
[all...]
H A Dkqueue_tests.c150 char * my_pathp = NULL; local
162 kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE);
168 *my_pathp = 0x00;
169 strcat( my_pathp, &g_target_path[0] );
170 strcat( my_pathp, "/" );
173 my_err = create_random_name( my_pathp, 1 );
178 my_fd = open( my_pathp, O_RDWR, 0 );
223 my_err = unlink( my_pathp );
535 if ( my_pathp != NULL ) {
536 remove( my_pathp );
[all...]

Completed in 128 milliseconds