Searched refs:remainder (Results 1 - 25 of 131) sorted by path

123456

/macosx-10.10.1/CPANInternal-159.1/Crypt-OpenSSL-Bignum-0.04/
H A DBignum.pm196 This method returns a list consisting of quotient and the remainder
203 fourth argument is set to the remainder.
H A DBignum.xs213 BIGNUM* remainder;
216 croak( "usage: $bn->add( $bn2, $ctx, [, $quotient [, $remainder ] ] )" );
218 remainder = ( items < 5 ) ? BN_new() : sv2bn( ST(4) );
219 checkOpenSslCall( BN_div( quotient, remainder, a, b, ctx ) );
221 ST(1) = ( (items < 5 ) ? proto_obj( remainder ) : ST(4) );
H A Dtest.pl106 my( $quotient, $remainder ) = $bn25->div( $bn23, $ctx );
108 ok( 2 == $remainder->get_word() );
110 $bn25->div( $bn6, $ctx, $quotient, $remainder );
112 ok( $remainder2 == $remainder );
114 ok( $remainder->is_one );
/macosx-10.10.1/CPANInternal-159.1/Template-Toolkit-2.25/lib/Template/Plugin/
H A DString.pm666 The remainder of the string is left untouched. To force the string to
/macosx-10.10.1/CommonCrypto-60061/include/
H A DCommonBigNum.h465 @param remainder A bigNum in which to place the remainder (a mod b).
473 CCBigNumDiv(CCBigNumRef quotient, CCBigNumRef remainder, const CCBigNumRef a, const CCBigNumRef b)
496 @abstract Find the remainder of a BigNum for a given modulus.
513 @abstract Find the remainder of a BigNum for a given modulus (unsigned integer version).
/macosx-10.10.1/CommonCrypto-60061/lib/
H A DCommonBigNum.c362 CCBigNumDiv(CCBigNumRef quotient, CCBigNumRef remainder, const CCBigNumRef a, const CCBigNumRef b) argument
365 ccz_divmod((ccz *)quotient, (ccz *)remainder, (ccz *)a, (ccz *)b);
H A DCommonCryptor.c547 size_t remainder, movecnt; local
567 remainder = FULLBLOCKREMAINDER(dataCount, blocksize);
568 dataCountToHold = buffsize - blocksize + remainder;
569 dataCountToHold = (remainder) ? dataCountToHold: reserve;
/macosx-10.10.1/Heimdal-398.1.2/lib/hcrypto/libtommath/
H A Dbn.tex1059 Which will divide $a$ by $2^b$, store the quotient in ``c'' and the remainder in ``d'. If $b \le 0$ then the
1061 value to signal that the remainder is not desired.
1085 This will divide $a$ in place by $x^b$ and discard the remainder. This function cannot fail as it performs the operations
1138 To perform a complete and general integer division with remainder use the following function.
1276 Modular reduction is process of taking the remainder of one quantity divided by another. Expressed
1277 as (\ref{eqn:mod}) the modular reduction is equivalent to the remainder of $b$ divided by $c$.
H A Dtommath.tex530 After a foundation is formed the remainder of the library can be designed and implemented in a hierarchical fashion.
809 After the memory has been successfully initialized the remainder of the members are initialized
995 returns succesfully then it is correct to assume that the mp\_int structure is in a valid state for the remainder of the
2311 First the algorithm will multiply $a$ by $x^{\lfloor b / lg(\beta) \rfloor}$ which will ensure that the remainder multiplicand is less than
2376 This algorithm will divide an input $a$ by $2^b$ and produce the quotient and remainder. The algorithm is designed much like algorithm
2377 mp\_mul\_2d by first using whole digit shifts then single precision shifts. This algorithm will also produce the remainder of the division
2387 The implementation of algorithm mp\_div\_2d is slightly different than the algorithm specifies. The remainder $d$ may be optionally
2389 result of the remainder operation until the end. This allows $d$ and $a$ to represent the same mp\_int without modifying $a$ before
2392 The remainder of the source code is essentially the same as the source code for mp\_mul\_2d. The only significant difference is
2397 The last algorithm in the series of polynomial basis power of two algorithms is calculating the remainder o
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Dcaniter.cpp456 Hashtable remainder(status);
457 remainder.setValueDeleter(uprv_deleteUObject);
458 if (extract(&remainder, cp2, segment, segLen, i, status) == NULL) {
467 const UHashElement *ne = remainder.nextElement(el);
481 ne = remainder.nextElement(el);
496 * If so, take the remainder, and return the equivalents
561 return fillinResult; // succeed, but no remainder
/macosx-10.10.1/ICU-531.30/icuSources/i18n/
H A Dcollationkeys.cpp376 int32_t remainder = commonSecondaries % SEC_COMMON_MAX_COUNT; local
379 b = SEC_COMMON_LOW + remainder;
381 b = SEC_COMMON_HIGH - remainder;
384 commonSecondaries -= remainder;
H A Dgregoimp.cpp33 int32_t& remainder) {
36 remainder = (int32_t) (numerator - (quotient * denominator));
41 double& remainder) {
45 remainder = dividend - (quotient * divisor);
49 if (remainder < 0 || remainder >= divisor) {
54 quotient += (remainder < 0) ? -1 : +1;
60 // can't give a correct answer, so we set the remainder to
65 remainder = 0;
67 remainder
32 floorDivide(double numerator, int32_t denominator, int32_t& remainder) argument
40 floorDivide(double dividend, double divisor, double& remainder) argument
[all...]
H A Dgregoimp.h54 * the modulus remainder. Unlike the built-in division, this is
57 * -1 with <code>remainder</code> => 3. NOTE: If numerator is
61 * @param remainder output parameter to receive the
62 * remainder. Unlike <code>numerator % denominator</code>, this
68 int32_t& remainder);
71 * For a positive divisor, return the quotient and remainder
72 * such that dividend = quotient*divisor + remainder and
73 * 0 <= remainder < divisor.
81 double& remainder);
H A Dpersncal.cpp110 int32_t remainder; local
111 ClockMath::floorDivide(25 * year + 11, 33, remainder);
112 return (remainder < 8);
/macosx-10.10.1/IOFireWireFamily-456/IOFireWireLib.CFPlugInProj/
H A DIOFireWireLibDCLCommandPool.cpp149 UInt32 remainder ; local
160 remainder = blockSize - inSize ;
167 allocatedBlock = (DCLCommand*) (foundFreeBlock + remainder) ;
172 if (remainder > 0)
178 CFArraySetValueAtIndex(mFreeBlockSizes, index, (const void*) remainder) ;
/macosx-10.10.1/JavaScriptCore-7600.1.17/ftl/
H A DFTLLowerDFGToLLVM.cpp1380 LValue remainder = m_out.rem(numerator, denominator); local
1392 speculate(NegativeZero, noValue(), 0, m_out.isZero32(remainder));
1399 results.append(m_out.anchor(remainder));
/macosx-10.10.1/JavaScriptCore-7600.1.17/runtime/
H A DBigInteger.h64 // Shift based on the remainder of the exponent.
89 uint64_t remainder = dividend % static_cast<uint64_t>(divisor); local
90 ASSERT(remainder == static_cast<uint32_t>(remainder));
93 carry = static_cast<uint32_t>(remainder);
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/exceptionFuzz/
H A Dearley-boyer.js379 var remainder = x % y;
381 if ((remainder * y) < 0)
382 return remainder + y;
384 return remainder;
/macosx-10.10.1/OpenSSL098-52/src/MacOS/GetHTTPS.src/
H A DCPStringUtils.cpp755 unsigned long tempNum,quotient,remainder; local
791 remainder = tempNum - (quotient * 10);
793 tempString[srcCharIndex] = '0' + remainder;
/macosx-10.10.1/Security-57031.1.35/Security/include/security_utilities/
H A Dblob.cpp70 size_t remainder = header.length() - sizeof(header); local
71 if (::pread(fd, blob+1, remainder, offset + sizeof(header)) == ssize_t(remainder))
86 size_t remainder = header.length() - sizeof(header); local
87 if (::read(fd, blob+1, remainder) == ssize_t(remainder))
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_apple_csp/lib/
H A DderiveKey.cpp267 uint8 *remainder = digestOut + toMove; local
275 memmove(ivDataP, remainder, toMove);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_transform/
H A Dcustom.mm3551 __block CFDataRef remainder = NULL;
3582 if (remainder)
3585 CFIndex remainder_length = CFDataGetLength(remainder);
3601 new_remainder = CFDataCreate(NULL, CFDataGetBytePtr(remainder) + d_length, remainder_length - d_length);
3606 if (bcmp(CFDataGetBytePtr(d), CFDataGetBytePtr(remainder), compare_length)) {
3611 CFRelease(remainder);
3612 remainder = new_remainder;
3621 remainder = CFDataCreateCopy(NULL, d);
3637 if (remainder)
3641 CFDataGetLength(remainder)
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dblob.cpp70 size_t remainder = header.length() - sizeof(header); local
71 if (::pread(fd, blob+1, remainder, offset + sizeof(header)) == ssize_t(remainder))
86 size_t remainder = header.length() - sizeof(header); local
87 if (::read(fd, blob+1, remainder) == ssize_t(remainder))
/macosx-10.10.1/WTF-7600.1.24/wtf/
H A DMediaTime.cpp373 int64_t remainder = m_timeValue % m_timeScale; local
374 m_timeValue = newWholePart + (remainder * timeScale) / m_timeScale;
H A DStringHasher.h96 bool remainder = length & 1; local
104 if (remainder)

Completed in 594 milliseconds

123456