Searched refs:RTBIGNUM_ELEMENT_SIZE (Results 1 - 4 of 4) sorted by relevance
/vbox/src/VBox/Runtime/common/math/ |
H A D | bignum.cpp | 70 ((a_pBigNum)->cAllocated - (a_pBigNum)->cUsed) * RTBIGNUM_ELEMENT_SIZE, 0) == NULL); \ 88 #if defined(IPRT_BIGINT_WITH_ASM) && ARCH_BITS == 64 && RTBIGNUM_ELEMENT_SIZE == 4 && defined(RT_LITTLE_ENDIAN) 141 #if RTBIGNUM_ELEMENT_SIZE == 8 145 #elif RTBIGNUM_ELEMENT_SIZE == 4 148 # error "Bad RTBIGNUM_ELEMENT_SIZE value" 311 int rc = RTMemSaferScramble(pBigNum->pauElements, pBigNum->cAllocated * RTBIGNUM_ELEMENT_SIZE); AssertRC(rc); 333 int rc = RTMemSaferUnscramble(pBigNum->pauElements, pBigNum->cAllocated * RTBIGNUM_ELEMENT_SIZE); AssertRC(rc); 370 uint32_t const cbOld = pBigNum->cAllocated * RTBIGNUM_ELEMENT_SIZE; 372 uint32_t const cbNew = cNew * RTBIGNUM_ELEMENT_SIZE; 386 RT_BZERO((RTBIGNUMELEMENT *)pvNew + cNewUsed, (pBigNum->cUsed - cNewUsed) * RTBIGNUM_ELEMENT_SIZE); [all...] |
H A D | bignum-amd64-x86.asm | 69 %if RTBIGNUM_ELEMENT_SIZE == 4 249 %if RTBIGNUM_ELEMENT_SIZE == 4 428 %if RTBIGNUM_ELEMENT_SIZE == 8 473 %if RTBIGNUM_ELEMENT_SIZE == 8 517 %if RTBIGNUM_ELEMENT_SIZE == 4 570 mov RTBIGNUM_ELEMENT_PRE [puQuotient + RTBIGNUM_ELEMENT_SIZE], 0 577 mov RTBIGNUM_ELEMENT_PRE [puQuotient + RTBIGNUM_ELEMENT_SIZE], xAX 616 %if RTBIGNUM_ELEMENT_SIZE == 4 691 mov xAX, [pauMultiplicand + iMultiplicand * RTBIGNUM_ELEMENT_SIZE] 693 add [pauResult + iMultiplicand * RTBIGNUM_ELEMENT_SIZE], xA [all...] |
/vbox/include/iprt/ |
H A D | bignum.h | 52 # define RTBIGNUM_ELEMENT_SIZE 8 macro 54 # define RTBIGNUM_ELEMENT_SIZE 4 macro 57 #define RTBIGNUM_ELEMENT_BITS (RTBIGNUM_ELEMENT_SIZE * 8)
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTBigNum.cpp | 782 ExpectedQ.cUsed * RTBIGNUM_ELEMENT_SIZE, ExpectedQ.pauElements, 783 Quotient.cUsed * RTBIGNUM_ELEMENT_SIZE, Quotient.pauElements, 784 ExpectedR.cUsed * RTBIGNUM_ELEMENT_SIZE, ExpectedR.pauElements, 785 Remainder.cUsed * RTBIGNUM_ELEMENT_SIZE, Remainder.pauElements);
|
Completed in 48 milliseconds