/external/llvm-project/libcxx/test/std/numerics/bit/bitops.count/ |
D | countl_zero.pass.cpp | 34 const int dig = std::numeric_limits<T>::digits; in constexpr_test() local 35 return std::countl_zero(T(0)) == dig in constexpr_test() 36 && std::countl_zero(T(1)) == dig - 1 in constexpr_test() 37 && std::countl_zero(T(2)) == dig - 2 in constexpr_test() 38 && std::countl_zero(T(3)) == dig - 2 in constexpr_test() 39 && std::countl_zero(T(4)) == dig - 3 in constexpr_test() 40 && std::countl_zero(T(5)) == dig - 3 in constexpr_test() 41 && std::countl_zero(T(6)) == dig - 3 in constexpr_test() 42 && std::countl_zero(T(7)) == dig - 3 in constexpr_test() 43 && std::countl_zero(T(8)) == dig - 4 in constexpr_test() [all …]
|
D | countl_one.pass.cpp | 34 const int dig = std::numeric_limits<T>::digits; in constexpr_test() local 36 return std::countl_one(max) == dig in constexpr_test() 37 && std::countl_one(T(max - 1)) == dig - 1 in constexpr_test() 38 && std::countl_one(T(max - 2)) == dig - 2 in constexpr_test() 39 && std::countl_one(T(max - 3)) == dig - 2 in constexpr_test() 40 && std::countl_one(T(max - 4)) == dig - 3 in constexpr_test() 41 && std::countl_one(T(max - 5)) == dig - 3 in constexpr_test() 42 && std::countl_one(T(max - 6)) == dig - 3 in constexpr_test() 43 && std::countl_one(T(max - 7)) == dig - 3 in constexpr_test() 44 && std::countl_one(T(max - 8)) == dig - 4 in constexpr_test() [all …]
|
D | countr_zero.pass.cpp | 34 const int dig = std::numeric_limits<T>::digits; in constexpr_test() local 35 return std::countr_zero(T(0)) == dig in constexpr_test()
|
D | countr_one.pass.cpp | 34 const int dig = std::numeric_limits<T>::digits; in constexpr_test() local 45 && std::countr_one(std::numeric_limits<T>::max()) == dig in constexpr_test()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/bc/ |
D | BcDigestCalculatorProvider.java | 20 Digest dig = digestProvider.get(algorithm); in get() local 22 final DigestOutputStream stream = new DigestOutputStream(dig); in get() 46 private Digest dig; 48 DigestOutputStream(Digest dig) 50 this.dig = dig; 56 dig.update(bytes, off, len); 62 dig.update(bytes, 0, bytes.length); 68 dig.update((byte)b); 73 byte[] d = new byte[dig.getDigestSize()]; 75 dig.doFinal(d, 0);
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
D | JcaDigestCalculatorProviderBuilder.java | 51 MessageDigest dig = helper.createDigest(algorithm); in build() local 53 stream = new DigestOutputStream(dig); in build() 84 private MessageDigest dig; 86 DigestOutputStream(MessageDigest dig) 88 this.dig = dig; 94 dig.update(bytes, off, len); 100 dig.update(bytes); 106 dig.update((byte)b); 111 return dig.digest();
|
D | OperatorHelper.java | 359 MessageDigest dig; in createDigest() local 365 …dig = helper.createMessageDigest("SHAKE256-" + ASN1Integer.getInstance(digAlgId.getParameters()).g… in createDigest() 369 … dig = helper.createMessageDigest(MessageDigestUtils.getDigestName(digAlgId.getAlgorithm())); in createDigest() 381 dig = helper.createMessageDigest(digestAlgorithm); in createDigest() 389 return dig; in createDigest()
|
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/ta_prod_signing_scripts/ |
D | stitch_ta.py | 56 assert_file_exists(args.dig) 77 print('Digest Filename:', args.dig) 81 dig_in = open(args.dig, 'r') 82 dig = base64.b64decode(dig_in.read()) 85 print("Digest is", dig) 86 print("Digest is", base64.b64encode(dig)) 98 f.write(dig)
|
D | README.md | 9 …gned TA. The digest will be stored in `6b51f84e-a93d-456c-ab0e29ad8f264a47.dig` in the same folder… 13 3. Send the `*.dig` file to the Security team for them to sign. They will return a `*.dig.signed` f… 16 …e29ad8f264a47.stripped.elf" --dig "6b51f84e-a93d-456c-ab0e29ad8f264a47.dig" --sig "6b51f84e-a93d-4…
|
D | generate_digest.py | 74 dig = h.digest() 78 print("Digest is:", base64.b64encode(dig)) 86 dig_out.write(base64.b64encode(dig))
|
/external/mtools/ |
D | missFuncs.c | 177 int dig; in getdigit() local 182 dig = a - '0'; in getdigit() 184 dig = a - 'a' + 10; in getdigit() 186 dig = a - 'A' + 10; in getdigit() 187 if(dig >= max) in getdigit() 190 return dig; in getdigit() 195 int accu, dig; in strtoul() local 220 while( (dig = getdigit(*string, base)) != -1 ) { in strtoul() 221 accu = accu * base + dig; in strtoul()
|
/external/ltp/testcases/network/stress/dns/ |
D | dns-stress01-rmt.sh | 51 dig @$srv_ipaddr -p $port node${min_id}.${domain} $record > ans.log 2>&1 || \ 59 dig @$srv_ipaddr -p $port node${id}.${domain} $record \ 67 dig @$srv_ipaddr -p $port node${id}.${domain} $record > ans.log 2>&1 || \
|
D | dns-stress02-rmt.sh | 54 dig @$srv_ipaddr $opt -p $port -x ${net}${sep}${min_id} $record \ 63 dig @$srv_ipaddr $opt -p $port -x ${net}${sep}${id} $record \ 71 dig @$srv_ipaddr $opt -p $port -x ${net}${sep}${min_id} $record \
|
/external/llvm-project/flang/lib/Decimal/ |
D | binary-to-decimal.cpp | 104 Digit dig{digit_[digits_ - 1]}; in ConvertToDecimal() local 107 Digit newDig{dig / 100}; in ConvertToDecimal() 108 auto d{static_cast<std::uint32_t>(dig) - in ConvertToDecimal() 110 dig = newDig; in ConvertToDecimal() 122 Digit dig{digit_[j]}; in ConvertToDecimal() local 125 Digit newDig{dig / 100}; in ConvertToDecimal() 126 auto d{static_cast<std::uint32_t>(dig) - in ConvertToDecimal() 128 dig = newDig; in ConvertToDecimal()
|
/external/llvm-project/clang/test/Analysis/ |
D | conversion.c | 166 int dig; in libraryFunction2() local 172 dig = n = code = 0; in libraryFunction2() 174 if (dig < 4 && dostuff()) in libraryFunction2()
|
/external/bc/src/ |
D | num.c | 414 static void bc_num_shift(BcNum *restrict n, BcBigDig dig) { in bc_num_shift() argument 420 assert(dig < BC_BASE_DIGS); in bc_num_shift() 422 pow = bc_num_pow10[dig]; in bc_num_shift() 423 dig = bc_num_pow10[BC_BASE_DIGS - dig]; in bc_num_shift() 428 temp = carry * dig; in bc_num_shift() 438 BcBigDig dig; in bc_num_shiftLeft() local 453 dig = (BcBigDig) (places % BC_BASE_DIGS); in bc_num_shiftLeft() 454 shift = (dig != 0); in bc_num_shiftLeft() 466 revdig = dig ? BC_BASE_DIGS - dig : 0; in bc_num_shiftLeft() 490 if (shift) bc_num_shift(n, BC_BASE_DIGS - dig); in bc_num_shiftLeft() [all …]
|
/external/linux-kselftest/tools/testing/selftests/tpm2/ |
D | tpm2.py | 432 def extend_pcr(self, i, dig, bank_alg = TPM2_ALG_SHA1): argument 434 assert(ds == len(dig)) 447 1, bank_alg, dig) 484 dig = self.__calc_pcr_digest(pcrs, bank_alg, name_alg) 485 if not dig: 500 len(dig), str(dig),
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/ |
D | MSOutlookKeyIdCalculator.java | 16 SHA1Digest dig = new SHA1Digest(); in calculateKeyId() local 17 byte[] hash = new byte[dig.getDigestSize()]; in calculateKeyId() 29 dig.update(spkiEnc, 0, spkiEnc.length); in calculateKeyId() 31 dig.doFinal(hash, 0); in calculateKeyId()
|
/external/ppp/pppd/ |
D | eap.c | 321 u_char dig[SHA_DIGESTSIZE]; in pncrypt_setkey() local 332 SHA1Final(dig, &ctxt); in pncrypt_setkey() 333 return (DesSetkey(dig)); in pncrypt_setkey() 651 u_char clear[8], cipher[8], dig[SHA_DIGESTSIZE], *optr, *cp; local 824 SHA1Final(dig, &ctxt); 825 cp = dig; 826 while (cp < dig + SHA_DIGESTSIZE) 1256 u_char dig[SHA_DIGESTSIZE]; local 1278 SHA1Final(dig, &ctxt); 1279 for (digp = dig; digp < dig + SHA_DIGESTSIZE; digp++) [all …]
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/keystore/bc/ |
D | BcKeyStoreSpi.java | 1009 Digest dig = new SHA1Digest(); in engineLoad() local 1010 DigestInputStream dgIn = new DigestInputStream(cIn, dig); in engineLoad() 1015 byte[] hash = new byte[dig.getDigestSize()]; in engineLoad() 1016 dig.doFinal(hash, 0); in engineLoad() 1020 byte[] oldHash = new byte[dig.getDigestSize()]; in engineLoad() 1052 byte[] dig = dgOut.getDigest(); in engineStore() 1054 cOut.write(dig); in engineStore()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/ |
D | BcKeyStoreSpi.java | 1004 Digest dig = new SHA1Digest(); in engineLoad() local 1005 DigestInputStream dgIn = new DigestInputStream(cIn, dig); in engineLoad() 1010 byte[] hash = new byte[dig.getDigestSize()]; in engineLoad() 1011 dig.doFinal(hash, 0); in engineLoad() 1015 byte[] oldHash = new byte[dig.getDigestSize()]; in engineLoad() 1047 byte[] dig = dgOut.getDigest(); in engineStore() 1049 cOut.write(dig); in engineStore()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/bc/ |
D | BcKeyStoreSpi.java | 1009 Digest dig = new SHA1Digest(); in engineLoad() local 1010 DigestInputStream dgIn = new DigestInputStream(cIn, dig); in engineLoad() 1015 byte[] hash = new byte[dig.getDigestSize()]; in engineLoad() 1016 dig.doFinal(hash, 0); in engineLoad() 1020 byte[] oldHash = new byte[dig.getDigestSize()]; in engineLoad() 1052 byte[] dig = dgOut.getDigest(); in engineStore() 1054 cOut.write(dig); in engineStore()
|
/external/python/cpython3/Python/ |
D | dtoa.c | 2284 int bbits, b2, b5, be, dig, i, ieps, ilim, ilim0, ilim1, in _Py_dg_dtoa() local 2727 dig = quorem(b,S) + '0'; in _Py_dg_dtoa() 2739 if (dig == '9') in _Py_dg_dtoa() 2742 dig++; in _Py_dg_dtoa() 2743 *s++ = dig; in _Py_dg_dtoa() 2757 if ((j1 > 0 || (j1 == 0 && dig & 1)) in _Py_dg_dtoa() 2758 && dig++ == '9') in _Py_dg_dtoa() 2762 *s++ = dig; in _Py_dg_dtoa() 2766 if (dig == '9') { /* possible if i == 1 */ in _Py_dg_dtoa() 2771 *s++ = dig + 1; in _Py_dg_dtoa() [all …]
|
/external/llvm-project/clang/test/Modules/ |
D | inferred-submodules.m | 13 void dig() { function
|
/external/clang/test/Modules/ |
D | inferred-submodules.m | 13 void dig() { function
|