Lines Matching refs:result

399     PRUint64    result, result2;
404 LL_AND( result, bigZero, bigZero );
405 if ( !LL_IS_ZERO( result ))
406 ResultFailed( "LL_AND", "0 & 0", bigZero, result );
408 LL_AND( result, bigOne, bigOne );
409 if ( LL_IS_ZERO( result ))
410 ResultFailed( "LL_AND", "1 & 1", bigOne, result );
412 LL_AND( result, bigZero, bigOne );
413 if ( !LL_IS_ZERO( result ))
414 ResultFailed( "LL_AND", "1 & 1", bigZero, result );
416 LL_AND( result, bigMinusOne, bigMinusOne );
417 if ( !LL_UCMP( result, ==, bigMinusOne ))
418 ResultFailed( "LL_AND", "-1 & -1", bigMinusOne, result );
421 LL_OR( result, bigZero, bigZero );
422 if ( !LL_IS_ZERO( result ))
423 ResultFailed( "LL_OR", "0 | 1", bigZero, result);
425 LL_OR( result, bigZero, bigOne );
426 if ( LL_IS_ZERO( result ))
427 ResultFailed( "LL_OR", "0 | 1", bigOne, result );
429 LL_OR( result, bigZero, bigMinusNumber );
430 if ( !LL_UCMP( result, ==, bigMinusNumber ))
431 ResultFailed( "LL_OR", "0 | -n", bigMinusNumber, result);
433 LL_OR( result, bigMinusNumber, bigZero );
434 if ( !LL_UCMP( result, ==, bigMinusNumber ))
435 ResultFailed( "LL_OR", "-n | 0", bigMinusNumber, result );
438 LL_XOR( result, bigZero, bigZero );
439 if ( LL_UCMP( result, !=, bigZero ))
440 ResultFailed( "LL_XOR", "0 ^ 0", bigZero, result);
442 LL_XOR( result, bigOne, bigZero );
443 if ( LL_UCMP( result, !=, bigOne ))
444 ResultFailed( "LL_XOR", "1 ^ 0", bigZero, result );
446 LL_XOR( result, bigMinusNumber, bigZero );
447 if ( LL_UCMP( result, !=, bigMinusNumber ))
448 ResultFailed( "LL_XOR", "-n ^ 0", bigMinusNumber, result );
450 LL_XOR( result, bigMinusNumber, bigMinusNumber );
451 if ( LL_UCMP( result, !=, bigZero ))
452 ResultFailed( "LL_XOR", "-n ^ -n", bigMinusNumber, result);
455 result = bigZero;
456 LL_OR2( result, bigOne );
457 if ( LL_UCMP( result, !=, bigOne ))
458 ResultFailed( "LL_OR2", "(r=0) |= 1", bigOne, result);
460 result = bigOne;
461 LL_OR2( result, bigNumber );
462 if ( LL_UCMP( result, !=, bigNumber ))
463 ResultFailed( "LL_OR2", "(r=1) |= n", bigNumber, result);
465 result = bigMinusNumber;
466 LL_OR2( result, bigMinusNumber );
467 if ( LL_UCMP( result, !=, bigMinusNumber ))
468 ResultFailed( "LL_OR2", "(r=-n) |= -n", bigMinusNumber, result);
471 LL_NOT( result, bigMinusNumber);
472 LL_NOT( result2, result);
474 ResultFailed( "LL_NOT", "r != ~(~-n)", bigMinusNumber, result);
477 LL_NEG( result, bigMinusNumber );
478 LL_NEG( result2, result );
480 ResultFailed( "LL_NEG", "r != -(-(-n))", bigMinusNumber, result);
494 PRInt64 result;
540 LL_I2L( result, one );
541 if ( LL_CMP(result, !=, bigOne ))
544 LL_I2L( result, minusOne );
545 if ( LL_CMP(result, !=, bigMinusOne ))
560 LL_F2L( result, 1.0 );
561 if ( LL_CMP(result, !=, bigOne ))
564 LL_F2L( result, -1.0 );
565 if ( LL_CMP(result, !=, bigMinusOne ))
569 LL_D2L( result, 1.0L );
570 if ( LL_CMP(result, !=, bigOne ))
573 LL_D2L( result, -1.0L );
574 if ( LL_CMP(result, !=, bigMinusOne ))
606 PRInt64 result;
612 LL_SHL( result, bigOne, one );
613 if ( LL_CMP( result, !=, bigTwo ))
614 ResultFailed( "LL_SHL", "r != 2", bigOne, result );
616 LL_SHL( result, bigTwo, thirtyTwo );
617 if ( LL_CMP( result, !=, largeTwoZero ))
618 ResultFailed( "LL_SHL", "r != twoZero", largeTwoZero, result);
621 LL_SHR( result, bigFoxZero, thirtyTwo );
622 if ( LL_CMP( result, !=, bigMinusOne ))
623 ResultFailed( "LL_SHR", "r != -1", bigMinusOne, result);
625 LL_SHR( result, bigTwo, one );
626 if ( LL_CMP( result, !=, bigOne ))
627 ResultFailed( "LL_SHR", "r != 1", bigOne, result);
629 LL_SHR( result, bigFoxFox, thirtyTwo );
630 if ( LL_CMP( result, !=, bigMinusOne ))
631 ResultFailed( "LL_SHR", "r != -1 (was ff,ff)", bigMinusOne, result);
636 ResultFailed( "LL_USHR", "r != 0 ", bigZero, result);
640 ResultFailed( "LL_USHR", "r != 0 ", bigZeroFox, result);
642 /* LL_ISHL -- Shift a 32bit integer into a 64bit result */
645 ResultFailed( "LL_ISHL", "r != ff,00 ", bigFoxZero, result);
649 ResultFailed( "LL_ISHL", "r != 80,00 ", bigEightZero, result);
673 PRInt64 result, result2;
676 LL_ADD( result, bigOne, bigOne );
677 if ( LL_CMP( result, !=, bigTwo ))
678 ResultFailed( "LL_ADD", "r != 1 + 1", bigTwo, result);
680 LL_ADD( result, bigMinusOne, bigOne );
681 if ( LL_CMP( result, !=, bigZero ))
682 ResultFailed( "LL_ADD", "r != -1 + 1", bigOne, result);
684 LL_ADD( result, largeVal, bigOne );
685 if ( LL_CMP( result, !=, largeValPlusOne ))
686 ResultFailed( "LL_ADD", "lVP1 != lV + 1", largeValPlusOne, result);
689 LL_SUB( result, bigOne, bigOne );
690 if ( LL_CMP( result, !=, bigZero ))
691 ResultFailed( "LL_SUB", "r != 1 - 1", bigZero, result);
693 LL_SUB( result, bigTwo, bigOne );
694 if ( LL_CMP( result, !=, bigOne ))
695 ResultFailed( "LL_SUB", "r != 2 - 1", bigOne, result);
697 LL_SUB( result, largeValPlusOne, bigOne );
698 if ( LL_CMP( result, !=, largeVal ))
699 ResultFailed( "LL_SUB", "r != lVP1 - 1", largeVal, result);
703 LL_MUL( result, largeVal, bigTwo );
704 if ( LL_CMP( result, !=, largeValTimesTwo ))
705 ResultFailed( "LL_MUL", "r != lV*2", largeValTimesTwo, result);
707 LL_MUL( result, largeMultCand, big64K );
708 if ( LL_CMP( result, !=, largeMultCandx64K ))
709 ResultFailed( "LL_MUL", "r != lV*64K", largeMultCandx64K, result);
712 LL_MUL( result, largeMultCand, bigMinusOne );
713 if ( LL_CMP( result, !=, result2 ))
714 ResultFailed( "LL_MUL", "r != -lMC", result2, result);
717 LL_MUL( result, bigZeroFox, bigThirtyTwo );
718 if ( LL_CMP( result, !=, largeNumSHL5 ))
719 ResultFailed( "LL_MUL", "r != 0f<<5", largeNumSHL5, result );
724 LL_DIV( result, bigOne, bigOne);
725 if ( LL_CMP( result, !=, bigOne ))
726 ResultFailed( "LL_DIV", "1 != 1", bigOne, result);
728 LL_DIV( result, bigNumber, bigOne );
729 if ( LL_CMP( result, !=, bigNumber ))
730 ResultFailed( "LL_DIV", "r != n / 1", bigNumber, result);
732 LL_DIV( result, bigNumber, bigMinusOne );
733 if ( LL_CMP( result, !=, bigMinusNumber ))
734 ResultFailed( "LL_DIV", "r != n / -1", bigMinusNumber, result);
736 LL_DIV( result, bigMinusNumber, bigMinusOne );
737 if ( LL_CMP( result, !=, bigNumber ))
738 ResultFailed( "LL_DIV", "r != -n / -1", bigNumber, result);
741 LL_DIV( result, result2, bigOne );
742 if ( LL_CMP( result, !=, result2 ))
743 ResultFailed( "LL_DIV", "0f<<5 != 0f<<5", result2, result);
747 LL_DIV( result, result2, bigOne );
748 if ( LL_CMP( result, !=, result2 ))
749 ResultFailed( "LL_DIV", "-0f<<5 != -0f<<5", result2, result);
752 LL_DIV( result, result2, bigMinusOne );
754 if ( LL_CMP( result, !=, result2 ))
755 ResultFailed( "LL_DIV", "-0f<<17 != -0f<<17", result2, result);
760 LL_MOD( result, result2, bigSixTeen );
761 if ( LL_CMP( result, !=, bigOne ))
762 ResultFailed( "LL_MOD", "r != 1", bigSixTeen, result);
767 LL_MOD( result, result2, bigThirtyTwo );
768 if ( LL_CMP( result, !=, bigSixTeen ))
769 ResultFailed( "LL_MOD", "r != 16", bigSixTeen, result);
772 LL_DIV( result, bigOne, bigOne);
773 if ( LL_CMP( result, !=, bigOne ))
774 ResultFailed( "LL_DIV", "r != 16", bigSixTeen, result);