• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/

Lines Matching refs:NULL

74 	if ( my_pathp == NULL ) {
108 if ( my_pathp != NULL ) {
184 char * my_pathp = NULL;
185 char * my_bufp = NULL;
192 if ( my_pathp == NULL ) {
198 if ( my_bufp == NULL ) {
431 if ( my_pathp != NULL ) {
435 if ( my_bufp != NULL )
448 char * my_pathp = NULL;
455 if ( my_pathp == NULL ) {
611 if ( my_pathp != NULL ) {
626 char * my_pathp = NULL;
627 char * my_path2p = NULL;
633 if ( my_pathp == NULL ) {
638 if ( my_path2p == NULL ) {
744 if ( my_pathp != NULL ) {
748 if ( my_path2p != NULL ) {
763 char * my_pathp = NULL;
768 char *cwd = getwd(NULL); /* Save current working directory so we can restore later */
771 if ( my_pathp == NULL ) {
872 if ( my_pathp != NULL ) {
889 char * my_pathp = NULL;
893 if ( my_pathp == NULL ) {
995 if ( my_pathp != NULL ) {
1011 char * my_pathp = NULL;
1012 char * my_link_pathp = NULL;
1021 if ( my_pathp == NULL ) {
1037 if ( my_link_pathp == NULL ) {
1185 if ( my_pathp != NULL ) {
1189 if ( my_link_pathp != NULL ) {
1220 void * my_bufferp = NULL;
1221 void * my_buffer64p = NULL;
1232 if ( my_bufferp == NULL ) {
1238 if ( my_buffer64p == NULL ) {
1395 if ( my_bufferp != NULL ) {
1398 if ( my_buffer64p != NULL ) {
1453 my_ppid = strtoul( &my_buffer[0], NULL, 10 );
1479 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
1720 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
1754 char * my_pathp = NULL;
1763 if ( my_pathp == NULL ) {
1793 if ( my_pathp != NULL ) {
1809 char * my_pathp = NULL;
1813 if ( my_pathp == NULL ) {
1889 if ( my_pathp != NULL ) {
1925 char * errmsg = NULL;
1926 char * argvs[2] = {"", NULL};
1947 if (do_execve_test("helpers/sleep-x86_64-4G", argvs, NULL, 1)) goto test_failed_exit;
1951 if (do_execve_test("helpers/sleep-x86_64-4K", argvs, NULL, 1)) goto test_failed_exit;
1955 if (do_execve_test("helpers/sleep-i386", argvs, NULL, 1)) goto test_failed_exit;
1960 if (do_execve_test("helpers/launch-i386", argvs, NULL, 1) != 0) goto test_failed_exit;
1963 errmsg = NULL;
1981 if (do_execve_test("helpers/sleep-i386", argvs, NULL, 0)) goto test_failed_exit;
1985 if (do_execve_test("helpers/sleep-x86_64-4G", argvs, NULL, 0)) goto test_failed_exit;
1989 if (do_execve_test("helpers/sleep-x86_64-4K", argvs, NULL, 0)) goto test_failed_exit;
1994 if (do_execve_test("helpers/launch-x86_64", argvs, NULL, 1) != 0) goto test_failed_exit;
1997 errmsg = NULL;
2011 if (do_execve_test("helpers/sleep-i386", argvs, NULL, 1)) goto test_failed_exit;
2014 errmsg = NULL;
2031 if (do_execve_test("helpers/sleep-ppc64-4G", argvs, NULL, 1)) goto test_failed_exit;
2035 if (do_execve_test("helpers/sleep-ppc64-4K", argvs, NULL, 1)) goto test_failed_exit;
2039 if (do_execve_test("helpers/sleep-ppc32", argvs, NULL, 1)) goto test_failed_exit;
2044 if (do_execve_test("helpers/launch-ppc", argvs, NULL, 1) != 0) goto test_failed_exit;
2047 errmsg = NULL;
2063 if (do_execve_test("helpers/sleep-ppc32", argvs, NULL, 0)) goto test_failed_exit;
2067 if (do_execve_test("helpers/sleep-ppc64-4G", argvs, NULL, 0)) goto test_failed_exit;
2071 if (do_execve_test("helpers/sleep-ppc64-4K", argvs, NULL, 0)) goto test_failed_exit;
2076 if (do_execve_test("helpers/launch-ppc64", argvs, NULL, 1) != 0) goto test_failed_exit;
2079 errmsg = NULL;
2091 if (do_execve_test("helpers/sleep-ppc32", argvs, NULL, 1)) goto test_failed_exit;
2093 errmsg = NULL;
2107 if (do_execve_test("helpers/sleep-arm", argvs, NULL, 1))
2111 errmsg = NULL;
2286 char * my_pathp = NULL;
2291 if ( my_pathp == NULL ) {
2396 if ( my_pathp != NULL ) {
2412 char * my_bufferp = NULL;
2416 if ( my_bufferp == NULL ) {
2459 if ( my_bufferp != NULL ) {
2494 char * my_pathp = NULL;
2498 if ( my_pathp == NULL ) {
2543 my_err = sigaltstack( NULL, &my_sigaltstack );
2558 my_err = sigaction( SIGUSR1, &my_sigaction, NULL );
2581 my_err = sigprocmask( SIG_BLOCK, &my_sigset, NULL );
2589 my_err = sigprocmask( 0, NULL, &my_sigset );
2618 my_err = sigprocmask( SIG_UNBLOCK, &my_sigset, NULL );
2631 my_err = setitimer( ITIMER_VIRTUAL, &my_timer, NULL );
2636 my_err = setitimer( ITIMER_PROF, &my_timer, NULL );
2648 my_err = sigaction( SIGALRM, &my_sigaction, NULL );
2656 my_err = setitimer( ITIMER_REAL, &my_timer, NULL );
2712 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
2731 if ( my_pathp != NULL ) {
2767 char * my_new_namep = NULL;
2770 if ( my_namep == NULL ) {
2771 printf( "getlogin returned NULL name pointer \n" );
2778 if ( my_new_namep == NULL ) {
2797 if ( my_namep == NULL ) {
2798 printf( "getlogin returned NULL name pointer \n" );
2810 if ( my_new_namep != NULL ) {
2819 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
2846 char * my_pathp = NULL;
2859 if ( my_pathp == NULL ) {
2899 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
2910 my_err = acct( NULL );
2964 if ( my_pathp != NULL ) {
3050 char * my_pathp = NULL;
3055 if ( my_pathp == NULL ) {
3107 if ( my_pathp != NULL ) {
3126 char * my_pathp = NULL;
3135 if ( my_pathp == NULL ) {
3193 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
3211 if ( my_pathp != NULL ) {
3303 char * my_pathp = NULL;
3306 if ( my_pathp == NULL ) {
3367 if ( my_pathp != NULL ) {
3438 char * my_pathp = NULL;
3452 if ( my_pathp == NULL ) {
3475 my_err = settimeofday( &my_temp_time, NULL );
3481 my_err = gettimeofday( &my_temp_time, NULL );
3495 my_err = settimeofday( &my_temp_time, NULL );
3569 if ( my_pathp != NULL ) {
3583 char * my_pathp = NULL;
3584 char * my_new_pathp = NULL;
3589 if ( my_pathp == NULL ) {
3604 if ( my_new_pathp == NULL ) {
3658 if ( my_pathp != NULL ) {
3662 if ( my_new_pathp != NULL ) {
3678 char * my_pathp = NULL;
3681 if ( my_pathp == NULL ) {
3753 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
3778 if ( my_pathp != NULL ) {
3794 char * my_pathp = NULL;
3799 if ( my_pathp == NULL ) {
3885 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
3904 if ( my_pathp != NULL ) {
4038 char * my_pathp = NULL;
4039 char * my_bufp = NULL;
4067 if ( my_bufp == NULL ) {
4073 if ( my_pathp == NULL ) {
4208 if ( my_pathp != NULL ) {
4212 if ( my_bufp != NULL ) {
4227 char * my_file1_pathp = NULL;
4228 char * my_file2_pathp = NULL;
4246 if ( my_file1_pathp == NULL ) {
4272 if ( my_file2_pathp == NULL ) {
4335 if ( my_file1_pathp != NULL ) {
4341 if ( my_file2_pathp != NULL ) {
4380 char * my_pathp = NULL;
4404 if ( my_pathp == NULL ) {
4545 if ( my_pathp != NULL ) {
4591 if ( my_buffers[ i ] == NULL ) {
4597 if ( my_file_paths[ i ] == NULL ) {
4643 my_aiocbp->aio_sigevent.sigev_notify_function = NULL;
4644 my_aiocbp->aio_sigevent.sigev_notify_attributes = NULL;
4717 my_aiocbp->aio_sigevent.sigev_notify_function = NULL;
4718 my_aiocbp->aio_sigevent.sigev_notify_attributes = NULL;
4788 my_err = lio_listio( LIO_NOWAIT, my_aiocb_list, AIO_TESTS_OUR_COUNT, NULL );
4824 if ( my_file_paths[ i ] != NULL ) {
4827 my_file_paths[ i ] = NULL;
4829 if ( my_buffers[ i ] != NULL ) {
4831 my_buffers[ i ] = NULL;
4851 char * my_pathp = NULL;
4860 if ( my_pathp == NULL ) {
4961 my_err = kevent( my_kqueue, &my_kevent, 1, NULL, 0, &my_timeout);
4976 my_err = kevent( my_kqueue, NULL, 0, &my_kevent, 1, NULL );
4998 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
5030 if ( my_pathp != NULL ) {
5122 my_err = msgctl( my_msg_queue_id, IPC_RMID, NULL );
5137 msgctl( my_msg_queue_id, IPC_RMID, NULL );
5157 char * my_pathp = NULL;
5160 if ( my_pathp == NULL ) {
5186 if ( my_pathp != NULL ) {