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

/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dxattr_tests.c27 ssize_t my_result; local
57 my_result = listxattr( my_pathp, NULL, 0, 0 );
63 if ( my_result < (strlen( XATTR_TEST_NAME ) + 1) ) {
64 printf( "listxattr did not get the attribute name length: my_result %d, strlen %zu \n", my_result, (strlen(XATTR_TEST_NAME)+1) );
70 my_result = getxattr( my_pathp, XATTR_TEST_NAME, &my_buffer[0], sizeof(my_buffer), 0, 0 );
76 if ( my_result != (strlen( &my_xattr_data[0] ) + 1) ||
90 my_result = listxattr( my_pathp, NULL, 0, 0 );
91 if ( my_result == -1 ) {
97 my_result
[all...]
H A Dsocket_tests.c32 ssize_t my_result; local
188 my_result = sendmsg( my_child_fd, &my_msghdr, 0 );
189 if ( my_result == -1 ) {
197 my_result = recvfrom( my_child_fd, &my_buffer[0], 1,
199 if ( my_result == -1 ) {
245 my_result = sendfile(my_libsys_fd, my_child_fd, 3, &my_libsys_len, &my_sf_hdtr, 0);
246 if (my_result < 0 || my_libsys_len != 11) {
252 my_result = close ( my_libsys_fd );
261 my_result = write( my_child_fd, "all done", 8 );
262 if ( my_result
[all...]
H A Dmisc.c83 int create_test_file, my_err, my_result; local
100 my_result = 0;
111 my_result = 2; /* tell caller directory exists with target name */
122 my_result = 1; /* tell caller file exists with target name */
148 my_result = -1;
151 if ( my_result == -1 && create_test_file ) {
157 return( my_result );
H A Dtests.c190 ssize_t my_result; local
226 my_result = read( my_fd, my_bufp, 10);
227 if ( my_result == -1 ) {
231 if ( my_result != 0 ) {
233 printf( "read call failed - should have read 0 bytes on empty file - read %ld \n", (long int) my_result );
236 printf( "read call failed - should have read 0 bytes on empty file - read %d \n", (int) my_result );
242 my_result = write( my_fd, my_bufp, 10 );
244 if ( my_result != -1 ) {
246 printf( "write should have failed for read only fd - %ld \n", (long int) my_result );
249 printf( "write should have failed for read only fd - %d \n", (int) my_result );
454 ssize_t my_result; local
635 ssize_t my_result; local
1124 ssize_t my_result; local
3013 int my_err, my_result; local
3340 int my_err, my_result, my_tmep; local
3900 ssize_t my_result; local
4332 ssize_t my_result; local
4699 ssize_t my_result; local
4788 ssize_t my_result; local
4810 ssize_t my_result; local
4861 ssize_t my_result; local
4972 ssize_t my_result; local
[all...]
H A D32bit_inode_tests.c100 int my_result, i; local
104 my_result = getdirentries( my_fd, my_bufp, (1024 * 5), &my_base );
105 if ( my_result <= 0 )
107 for ( i = 0; i < my_result; ) {
H A Dmemory_tests.c109 ssize_t my_result; local
210 my_result = write( my_fd, my_bufp, (my_page_size * 10) );
211 if ( my_result == -1 ) {
311 my_result = read( my_fd, my_bufp, my_page_size );
312 if ( my_result == -1 ) {

Completed in 79 milliseconds