Searched refs:my_result (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.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.c85 int create_test_file, my_err, my_result; local
102 my_result = 0;
113 my_result = 2; /* tell caller directory exists with target name */
124 my_result = 1; /* tell caller file exists with target name */
150 my_result = -1;
153 if ( my_result == -1 && create_test_file ) {
159 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
3033 int my_err, my_result; local
3360 int my_err, my_result, my_tmep; local
3920 ssize_t my_result; local
4352 ssize_t my_result; local
4719 ssize_t my_result; local
4808 ssize_t my_result; local
4830 ssize_t my_result; local
4881 ssize_t my_result; local
4992 ssize_t my_result; local
[all...]
H A Dmemory_tests.c43 ssize_t my_result; local
129 my_result = write( my_fd, my_bufp, (my_page_size * 10) );
130 if ( my_result == -1 ) {
230 my_result = read( my_fd, my_bufp, my_page_size );
231 if ( my_result == -1 ) {
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; ) {

Completed in 122 milliseconds