Searched refs:my_result (Results 1 - 5 of 5) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dxattr_tests.c26 ssize_t my_result; local
53 my_result = listxattr( my_pathp, NULL, 0, 0 );
58 if ( my_result != (strlen( XATTR_TEST_NAME ) + 1) ) {
64 my_result = getxattr( my_pathp, XATTR_TEST_NAME, &my_buffer[0], sizeof(my_buffer), 0, 0 );
69 if ( my_result != (strlen( &my_xattr_data[0] ) + 1) ||
83 my_result = listxattr( my_pathp, NULL, 0, 0 );
88 if ( my_result != 0 ) {
109 my_result = flistxattr( my_fd, NULL, 0, 0 );
114 if ( my_result != (strlen( XATTR_TEST_NAME ) + 1) ) {
120 my_result
[all...]
H A Dmemory_tests.c28 ssize_t my_result; local
94 my_result = write( my_fd, my_bufp, (my_page_size * 10) );
95 if ( my_result == -1 ) {
164 my_result = read( my_fd, my_bufp, my_page_size );
165 if ( my_result == -1 ) {
H A Dsocket_tests.c31 ssize_t my_result; local
185 my_result = sendmsg( my_child_fd, &my_msghdr, 0 );
186 if ( my_result == -1 ) {
194 my_result = recvfrom( my_child_fd, &my_buffer[0], 1,
196 if ( my_result == -1 ) {
211 my_result = write( my_child_fd, "all done", 8 );
212 if ( my_result == -1 ) {
257 my_result = recvmsg( my_accepted_socket, &my_msghdr, MSG_WAITALL );
258 if ( my_result == -1 ) {
273 my_result
[all...]
H A Dmisc.c82 int create_test_file, my_err, my_result; local
97 my_result = 0;
108 my_result = 2; /* tell caller directory exists with target name */
119 my_result = 1; /* tell caller file exists with target name */
144 my_result = -1;
147 if ( my_result == -1 && create_test_file ) {
153 return( my_result );
H A Dtests.c186 ssize_t my_result; local
221 my_result = read( my_fd, my_bufp, 10);
222 if ( my_result == -1 ) {
226 if ( my_result != 0 ) {
228 printf( "read call failed - should have read 0 bytes on empty file - read %lld \n", my_result );
231 printf( "read call failed - should have read 0 bytes on empty file - read %d \n", my_result );
237 my_result = write( my_fd, my_bufp, 10 );
239 if ( my_result != -1 ) {
241 printf( "write should have failed for read only fd - %lld \n", my_result );
244 printf( "write should have failed for read only fd - %d \n", my_result );
449 ssize_t my_result; local
629 ssize_t my_result; local
1015 ssize_t my_result; local
2978 int my_err, my_result; local
3301 int my_err, my_result, my_tmep; local
3795 ssize_t my_result; local
4100 int my_result, i; local
4229 ssize_t my_result; local
4576 ssize_t my_result; local
4663 ssize_t my_result; local
4685 ssize_t my_result; local
4736 ssize_t my_result; local
5047 ssize_t my_result; local
[all...]

Completed in 84 milliseconds