/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/ |
D | scrypt.c | 31 typedef struct { uint32_t words[16]; } block_t; member 45 x.words[4] ^= R(x.words[0] + x.words[12], 7); in salsa208_word_specification() 46 x.words[8] ^= R(x.words[4] + x.words[0], 9); in salsa208_word_specification() 47 x.words[12] ^= R(x.words[8] + x.words[4], 13); in salsa208_word_specification() 48 x.words[0] ^= R(x.words[12] + x.words[8], 18); in salsa208_word_specification() 49 x.words[9] ^= R(x.words[5] + x.words[1], 7); in salsa208_word_specification() 50 x.words[13] ^= R(x.words[9] + x.words[5], 9); in salsa208_word_specification() 51 x.words[1] ^= R(x.words[13] + x.words[9], 13); in salsa208_word_specification() 52 x.words[5] ^= R(x.words[1] + x.words[13], 18); in salsa208_word_specification() 53 x.words[14] ^= R(x.words[10] + x.words[6], 7); in salsa208_word_specification() [all …]
|
/external/boringssl/src/crypto/evp/ |
D | scrypt.c | 31 typedef struct { uint32_t words[16]; } block_t; member 45 x.words[4] ^= R(x.words[0] + x.words[12], 7); in salsa208_word_specification() 46 x.words[8] ^= R(x.words[4] + x.words[0], 9); in salsa208_word_specification() 47 x.words[12] ^= R(x.words[8] + x.words[4], 13); in salsa208_word_specification() 48 x.words[0] ^= R(x.words[12] + x.words[8], 18); in salsa208_word_specification() 49 x.words[9] ^= R(x.words[5] + x.words[1], 7); in salsa208_word_specification() 50 x.words[13] ^= R(x.words[9] + x.words[5], 9); in salsa208_word_specification() 51 x.words[1] ^= R(x.words[13] + x.words[9], 13); in salsa208_word_specification() 52 x.words[5] ^= R(x.words[1] + x.words[13], 18); in salsa208_word_specification() 53 x.words[14] ^= R(x.words[10] + x.words[6], 7); in salsa208_word_specification() [all …]
|
/external/mesa3d/src/compiler/spirv/tests/ |
D | volatile.cpp | 54 static const uint32_t words[] = { in TEST_F() local 74 get_nir(sizeof(words) / sizeof(words[0]), words); in TEST_F() 110 static const uint32_t words[] = { in TEST_F() local 130 get_nir(sizeof(words) / sizeof(words[0]), words); in TEST_F() 165 static const uint32_t words[] = { in TEST_F() local 184 get_nir(sizeof(words) / sizeof(words[0]), words); in TEST_F() 223 static const uint32_t words[] = { in TEST_F() local 242 get_nir(sizeof(words) / sizeof(words[0]), words); in TEST_F() 281 static const uint32_t words[] = { in TEST_F() local 300 get_nir(sizeof(words) / sizeof(words[0]), words); in TEST_F() [all …]
|
D | avail_vis.cpp | 57 static const uint32_t words[] = { in TEST_F() local 78 get_nir(sizeof(words) / sizeof(words[0]), words); in TEST_F() 121 static const uint32_t words[] = { in TEST_F() local 142 get_nir(sizeof(words) / sizeof(words[0]), words); in TEST_F() 185 static const uint32_t words[] = { in TEST_F() local 206 get_nir(sizeof(words) / sizeof(words[0]), words); in TEST_F() 256 static const uint32_t words[] = { in TEST_F() local 278 get_nir(sizeof(words) / sizeof(words[0]), words); in TEST_F() 327 static const uint32_t words[] = { in TEST_F() local 348 get_nir(sizeof(words) / sizeof(words[0]), words); in TEST_F() [all …]
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | random.c | 149 int words = (bits + BN_BITS2 - 1) / BN_BITS2; in BN_rand() local 154 if (!bn_wexpand(rnd, words)) { in BN_rand() 158 RAND_bytes((uint8_t *)rnd->d, words * sizeof(BN_ULONG)); in BN_rand() 159 rnd->d[words - 1] &= mask; in BN_rand() 163 rnd->d[words - 1] |= 1; in BN_rand() 164 rnd->d[words - 2] |= kOne << (BN_BITS2 - 1); in BN_rand() 166 rnd->d[words - 1] |= kThree << (bit - 1); in BN_rand() 169 rnd->d[words - 1] |= kOne << bit; in BN_rand() 177 rnd->width = words; in BN_rand() 220 size_t words = len; in bn_range_to_mask() local [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/ |
D | random.c | 149 int words = (bits + BN_BITS2 - 1) / BN_BITS2; in BN_rand() local 154 if (!bn_wexpand(rnd, words)) { in BN_rand() 158 RAND_bytes((uint8_t *)rnd->d, words * sizeof(BN_ULONG)); in BN_rand() 159 rnd->d[words - 1] &= mask; in BN_rand() 163 rnd->d[words - 1] |= 1; in BN_rand() 164 rnd->d[words - 2] |= kOne << (BN_BITS2 - 1); in BN_rand() 166 rnd->d[words - 1] |= kThree << (bit - 1); in BN_rand() 169 rnd->d[words - 1] |= kOne << bit; in BN_rand() 177 rnd->width = words; in BN_rand() 220 size_t words = len; in bn_range_to_mask() local [all …]
|
/external/flac/src/libFLAC/ |
D | crc.c | 398 FLAC__uint16 FLAC__crc16_update_words32(const FLAC__uint32 *words, uint32_t len, FLAC__uint16 crc) in FLAC__crc16_update_words32() argument 401 crc ^= words[0] >> 16; in FLAC__crc16_update_words32() 404 … FLAC__crc16_table[5][(words[0] >> 8) & 0xFF] ^ FLAC__crc16_table[4][ words[0] & 0xFF] ^ in FLAC__crc16_update_words32() 405 … FLAC__crc16_table[3][ words[1] >> 24 ] ^ FLAC__crc16_table[2][(words[1] >> 16) & 0xFF] ^ in FLAC__crc16_update_words32() 406 … FLAC__crc16_table[1][(words[1] >> 8) & 0xFF] ^ FLAC__crc16_table[0][ words[1] & 0xFF]; in FLAC__crc16_update_words32() 408 words += 2; in FLAC__crc16_update_words32() 413 crc ^= words[0] >> 16; in FLAC__crc16_update_words32() 416 … FLAC__crc16_table[1][(words[0] >> 8) & 0xFF] ^ FLAC__crc16_table[0][words[0] & 0xFF]; in FLAC__crc16_update_words32() 422 FLAC__uint16 FLAC__crc16_update_words64(const FLAC__uint64 *words, uint32_t len, FLAC__uint16 crc) in FLAC__crc16_update_words64() argument 425 crc ^= words[0] >> 48; in FLAC__crc16_update_words64() [all …]
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | scalar.c | 26 if (!bn_copy_words(out->words, group->order.width, in) || in ec_bignum_to_scalar() 27 !bn_less_than_words(out->words, group->order.d, group->order.width)) { in ec_bignum_to_scalar() 36 return OPENSSL_memcmp(a->words, b->words, in ec_scalar_equal_vartime() 43 mask |= a->words[i]; in ec_scalar_is_zero() 50 return bn_rand_range_words(out->words, 1, group->order.d, group->order.width, in ec_random_nonzero_scalar() 76 if (!bn_less_than_words(out->words, group->order.d, group->order.width)) { in ec_scalar_from_bytes() 85 const BN_ULONG *words, size_t num) { in ec_scalar_reduce() argument 87 bn_from_montgomery_small(out->words, group->order.width, words, num, in ec_scalar_reduce() 97 bn_mod_add_words(r->words, a->words, b->words, order->d, tmp, order->width); in ec_scalar_add() 105 bn_mod_sub_words(r->words, a->words, b->words, order->d, tmp, order->width); in ec_scalar_sub() [all …]
|
D | felem.c | 61 bn_sub_words(out->words, group->field.d, a->words, group->field.width); in ec_felem_neg() 65 out->words[i] &= mask; in ec_felem_neg() 72 bn_mod_add_words(out->words, a->words, b->words, group->field.d, tmp.words, in ec_felem_add() 79 bn_mod_sub_words(out->words, a->words, b->words, group->field.d, tmp.words, in ec_felem_sub() 86 mask |= a->words[i]; in ec_felem_non_zero_mask() 93 bn_select_words(out->words, mask, a->words, b->words, group->field.width); in ec_felem_select() 98 return CRYPTO_memcmp(a->words, b->words, in ec_felem_equal()
|
D | p256-x86_64.c | 213 OPENSSL_memcpy(row[1 - 1].X, p->X.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_windowed_mul() 214 OPENSSL_memcpy(row[1 - 1].Y, p->Y.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_windowed_mul() 215 OPENSSL_memcpy(row[1 - 1].Z, p->Z.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_windowed_mul() 315 OPENSSL_memcpy(r->X.words, out.X, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul() 316 OPENSSL_memcpy(r->Y.words, out.Y, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul() 317 OPENSSL_memcpy(r->Z.words, out.Z, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul() 356 OPENSSL_memcpy(r->X.words, p.p.X, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul_base() 357 OPENSSL_memcpy(r->Y.words, p.p.Y, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul_base() 358 OPENSSL_memcpy(r->Z.words, p.p.Z, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul_base() 417 OPENSSL_memcpy(r->X.words, p.p.X, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_points_mul_public() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/ |
D | scalar.c | 26 if (!bn_copy_words(out->words, group->order.width, in) || in ec_bignum_to_scalar() 27 !bn_less_than_words(out->words, group->order.d, group->order.width)) { in ec_bignum_to_scalar() 36 return OPENSSL_memcmp(a->words, b->words, in ec_scalar_equal_vartime() 43 mask |= a->words[i]; in ec_scalar_is_zero() 50 return bn_rand_range_words(out->words, 1, group->order.d, group->order.width, in ec_random_nonzero_scalar() 76 if (!bn_less_than_words(out->words, group->order.d, group->order.width)) { in ec_scalar_from_bytes() 85 const BN_ULONG *words, size_t num) { in ec_scalar_reduce() argument 87 bn_from_montgomery_small(out->words, group->order.width, words, num, in ec_scalar_reduce() 97 bn_mod_add_words(r->words, a->words, b->words, order->d, tmp, order->width); in ec_scalar_add() 105 bn_mod_sub_words(r->words, a->words, b->words, order->d, tmp, order->width); in ec_scalar_sub() [all …]
|
D | felem.c | 61 bn_sub_words(out->words, group->field.d, a->words, group->field.width); in ec_felem_neg() 65 out->words[i] &= mask; in ec_felem_neg() 72 bn_mod_add_words(out->words, a->words, b->words, group->field.d, tmp.words, in ec_felem_add() 79 bn_mod_sub_words(out->words, a->words, b->words, group->field.d, tmp.words, in ec_felem_sub() 86 mask |= a->words[i]; in ec_felem_non_zero_mask() 93 bn_select_words(out->words, mask, a->words, b->words, group->field.width); in ec_felem_select() 98 return CRYPTO_memcmp(a->words, b->words, in ec_felem_equal()
|
D | p256-x86_64.c | 213 OPENSSL_memcpy(row[1 - 1].X, p->X.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_windowed_mul() 214 OPENSSL_memcpy(row[1 - 1].Y, p->Y.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_windowed_mul() 215 OPENSSL_memcpy(row[1 - 1].Z, p->Z.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_windowed_mul() 314 OPENSSL_memcpy(r->X.words, out.X, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul() 315 OPENSSL_memcpy(r->Y.words, out.Y, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul() 316 OPENSSL_memcpy(r->Z.words, out.Z, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul() 355 OPENSSL_memcpy(r->X.words, p.p.X, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul_base() 356 OPENSSL_memcpy(r->Y.words, p.p.Y, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul_base() 357 OPENSSL_memcpy(r->Z.words, p.p.Z, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul_base() 416 OPENSSL_memcpy(r->X.words, p.p.X, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_points_mul_public() [all …]
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | binary_parse_test.cpp | 56 : words(inst.words, inst.words + inst.num_words), in ParsedInstruction() 63 std::vector<uint32_t> words; member 71 return words == b.words && opcode == b.opcode && in operator ==() 81 spvtest::PrintTo(spvtest::WordVector(inst.words), &os); in operator <<() 203 void Parse(const SpirvVector& words, spv_result_t expected_result, in Parse() argument 205 SpirvVector flipped_words(words); in Parse() 239 const auto words = CompileSuccessfully(""); in TEST_F() local 242 Parse(words, SPV_SUCCESS, endian_swap); in TEST_F() 248 const auto words = CompileSuccessfully(""); in TEST_F() local 253 spvBinaryParse(ScopedContext().context, &client_, words.data(), in TEST_F() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/ |
D | binary_parse_test.cpp | 56 : words(inst.words, inst.words + inst.num_words), in ParsedInstruction() 63 std::vector<uint32_t> words; member 71 return words == b.words && opcode == b.opcode && in operator ==() 81 spvtest::PrintTo(spvtest::WordVector(inst.words), &os); in operator <<() 203 void Parse(const SpirvVector& words, spv_result_t expected_result, in Parse() argument 205 SpirvVector flipped_words(words); in Parse() 239 const auto words = CompileSuccessfully(""); in TEST_F() local 242 Parse(words, SPV_SUCCESS, endian_swap); in TEST_F() 248 const auto words = CompileSuccessfully(""); in TEST_F() local 253 spvBinaryParse(ScopedContext().context, &client_, words.data(), in TEST_F() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | binary_parse_test.cpp | 56 : words(inst.words, inst.words + inst.num_words), in ParsedInstruction() 63 std::vector<uint32_t> words; member 71 return words == b.words && opcode == b.opcode && in operator ==() 81 spvtest::PrintTo(spvtest::WordVector(inst.words), &os); in operator <<() 203 void Parse(const SpirvVector& words, spv_result_t expected_result, in Parse() argument 205 SpirvVector flipped_words(words); in Parse() 239 const auto words = CompileSuccessfully(""); in TEST_F() local 242 Parse(words, SPV_SUCCESS, endian_swap); in TEST_F() 248 const auto words = CompileSuccessfully(""); in TEST_F() local 253 spvBinaryParse(ScopedContext().context, &client_, words.data(), in TEST_F() [all …]
|
/external/mesa3d/src/panfrost/bifrost/ |
D | disassemble.c | 431 static bool dump_clause(FILE *fp, uint32_t *words, unsigned *size, unsigned offset, bool verbose) in dump_clause() argument 442 for (i = 0; ; i++, words += 4) { in dump_clause() 446 fprintf(fp, "%08x ", words[3 - j]); // low bit on the right in dump_clause() 449 unsigned tag = bits(words[0], 0, 8); in dump_clause() 454 main_instr.add_bits = bits(words[2], 2, 32 - 13); in dump_clause() 456 main_instr.fma_bits = bits(words[1], 11, 32) | bits(words[2], 0, 2) << (32 - 11); in dump_clause() 458 … main_instr.reg_bits = ((uint64_t) bits(words[1], 0, 11)) << 24 | (uint64_t) bits(words[0], 8, 32); in dump_clause() 460 …uint64_t const0 = bits(words[0], 8, 32) << 4 | (uint64_t) words[1] << 28 | bits(words[2], 0, 4) <<… in dump_clause() 461 uint64_t const1 = bits(words[2], 4, 32) << 4 | (uint64_t) words[3] << 32; in dump_clause() 474 instrs[idx].add_bits = bits(words[3], 0, 17) | ((tag & 0x7) << 17); in dump_clause() [all …]
|
/external/toolchain-utils/android_bench_suite/ |
D | parse_result.py | 30 words = line.split() 31 if 'elapsed' in words: 33 result_dict['total_time_s'] = float(words[3]) 45 words = line.split() 46 if 'normalized' in words: 48 accum += float(words[-1]) 63 words = line.split() 64 for word in words: 81 words = line.split() 82 if 'elapsed' in words: [all …]
|
/external/deqp-deps/amber/src/ |
D | clspv_helper.cc | 70 auto ext_inst = inst->words[inst->operands[3].offset]; in ParseExtendedInst() 74 const auto& name = helper->strings[inst->words[inst->operands[5].offset]]; in ParseExtendedInst() 80 const auto& name = helper->strings[inst->words[inst->operands[4].offset]]; in ParseExtendedInst() 90 auto kernel_id = inst->words[inst->operands[4].offset]; in ParseExtendedInst() 91 auto ordinal_id = inst->words[inst->operands[5].offset]; in ParseExtendedInst() 92 auto ds_id = inst->words[inst->operands[6].offset]; in ParseExtendedInst() 93 auto binding_id = inst->words[inst->operands[7].offset]; in ParseExtendedInst() 96 arg_name = helper->strings[inst->words[inst->operands[8].offset]]; in ParseExtendedInst() 114 auto kernel_id = inst->words[inst->operands[4].offset]; in ParseExtendedInst() 115 auto ordinal_id = inst->words[inst->operands[5].offset]; in ParseExtendedInst() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | types.cpp | 185 void Type::GetHashWords(std::vector<uint32_t>* words, in GetHashWords() argument 191 words->push_back(kind_); in GetHashWords() 194 words->push_back(w); in GetHashWords() 201 As##type()->GetExtraHashWords(words, seen); \ in GetHashWords() 240 std::vector<uint32_t> words; in HashValue() local 241 GetHashWords(&words); in HashValue() 242 for (auto w : words) { in HashValue() 261 void Integer::GetExtraHashWords(std::vector<uint32_t>* words, in GetExtraHashWords() argument 263 words->push_back(width_); in GetExtraHashWords() 264 words->push_back(signed_); in GetExtraHashWords() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | types.cpp | 185 void Type::GetHashWords(std::vector<uint32_t>* words, in GetHashWords() argument 191 words->push_back(kind_); in GetHashWords() 194 words->push_back(w); in GetHashWords() 201 As##type()->GetExtraHashWords(words, seen); \ in GetHashWords() 240 std::vector<uint32_t> words; in HashValue() local 241 GetHashWords(&words); in HashValue() 242 for (auto w : words) { in HashValue() 261 void Integer::GetExtraHashWords(std::vector<uint32_t>* words, in GetExtraHashWords() argument 263 words->push_back(width_); in GetExtraHashWords() 264 words->push_back(signed_); in GetExtraHashWords() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | types.cpp | 185 void Type::GetHashWords(std::vector<uint32_t>* words, in GetHashWords() argument 191 words->push_back(kind_); in GetHashWords() 194 words->push_back(w); in GetHashWords() 201 As##type()->GetExtraHashWords(words, seen); \ in GetHashWords() 240 std::vector<uint32_t> words; in HashValue() local 241 GetHashWords(&words); in HashValue() 242 for (auto w : words) { in HashValue() 261 void Integer::GetExtraHashWords(std::vector<uint32_t>* words, in GetExtraHashWords() argument 263 words->push_back(width_); in GetExtraHashWords() 264 words->push_back(signed_); in GetExtraHashWords() [all …]
|
/external/python/cpython2/Modules/ |
D | cgen.py | 450 words = string.split(line) variable 457 if words == ['%%']: 466 if words and words[0][0] == '%': 467 func = words[0][1:] 468 if (not func) and words[1:]: 469 func = words[1] 475 if not words: 477 elif words[0] == 'if': 480 if words[1][0] == '!': 481 if words[1][1:] in defined_archs: [all …]
|
/external/rust/crates/bstr/src/unicode/ |
D | word.rs | 328 let given = test.words.concat(); in forward_ucd() 329 let got = words(given.as_bytes()); in forward_ucd() 331 test.words, in forward_ucd() 339 strs_to_bstrs(&test.words), in forward_ucd() 352 assert_eq!(vec!["a", ".", " ", "Y"], words(b"a. Y")); in forward_additional() 353 assert_eq!(vec!["r", ".", " ", "Yo"], words(b"r. Yo")); in forward_additional() 356 words(b"whatsoever. You may") in forward_additional() 360 words(b"21stcentury'syesterday") in forward_additional() 363 assert_eq!(vec!["Bonta_", "'", "s"], words(b"Bonta_'s")); in forward_additional() 364 assert_eq!(vec!["_vhat's"], words(b"_vhat's")); in forward_additional() [all …]
|
/external/flac/src/test_libFLAC/ |
D | crc.c | 36 static FLAC__bool test_crc16_32bit_words(const FLAC__uint32 *words, size_t size); 37 static FLAC__bool test_crc16_64bit_words(const FLAC__uint64 *words, size_t size); 192 static FLAC__bool test_crc16_32bit_words(const FLAC__uint32 *words, size_t size) in test_crc16_32bit_words() argument 205 crc0 = crc16_update_ref( words[i + k] >> 24, crc0); in test_crc16_32bit_words() 206 crc0 = crc16_update_ref((words[i + k] >> 16) & 0xFF, crc0); in test_crc16_32bit_words() 207 crc0 = crc16_update_ref((words[i + k] >> 8) & 0xFF, crc0); in test_crc16_32bit_words() 208 crc0 = crc16_update_ref( words[i + k] & 0xFF, crc0); in test_crc16_32bit_words() 211 crc1 = FLAC__crc16_update_words32(words + i, n, crc1); in test_crc16_32bit_words() 219 crc1 = FLAC__crc16_update_words32(words, 0, crc1); in test_crc16_32bit_words() 232 static FLAC__bool test_crc16_64bit_words(const FLAC__uint64 *words, size_t size) in test_crc16_64bit_words() argument [all …]
|