/external/cronet/third_party/boringssl/src/crypto/evp/ |
D | scrypt.c | 30 typedef struct { uint32_t words[16]; } block_t; member 42 x.words[4] ^= CRYPTO_rotl_u32(x.words[0] + x.words[12], 7); in salsa208_word_specification() 43 x.words[8] ^= CRYPTO_rotl_u32(x.words[4] + x.words[0], 9); in salsa208_word_specification() 44 x.words[12] ^= CRYPTO_rotl_u32(x.words[8] + x.words[4], 13); in salsa208_word_specification() 45 x.words[0] ^= CRYPTO_rotl_u32(x.words[12] + x.words[8], 18); in salsa208_word_specification() 46 x.words[9] ^= CRYPTO_rotl_u32(x.words[5] + x.words[1], 7); in salsa208_word_specification() 47 x.words[13] ^= CRYPTO_rotl_u32(x.words[9] + x.words[5], 9); in salsa208_word_specification() 48 x.words[1] ^= CRYPTO_rotl_u32(x.words[13] + x.words[9], 13); in salsa208_word_specification() 49 x.words[5] ^= CRYPTO_rotl_u32(x.words[1] + x.words[13], 18); in salsa208_word_specification() 50 x.words[14] ^= CRYPTO_rotl_u32(x.words[10] + x.words[6], 7); in salsa208_word_specification() [all …]
|
/external/boringssl/src/crypto/evp/ |
D | scrypt.c | 30 typedef struct { uint32_t words[16]; } block_t; member 42 x.words[4] ^= CRYPTO_rotl_u32(x.words[0] + x.words[12], 7); in salsa208_word_specification() 43 x.words[8] ^= CRYPTO_rotl_u32(x.words[4] + x.words[0], 9); in salsa208_word_specification() 44 x.words[12] ^= CRYPTO_rotl_u32(x.words[8] + x.words[4], 13); in salsa208_word_specification() 45 x.words[0] ^= CRYPTO_rotl_u32(x.words[12] + x.words[8], 18); in salsa208_word_specification() 46 x.words[9] ^= CRYPTO_rotl_u32(x.words[5] + x.words[1], 7); in salsa208_word_specification() 47 x.words[13] ^= CRYPTO_rotl_u32(x.words[9] + x.words[5], 9); in salsa208_word_specification() 48 x.words[1] ^= CRYPTO_rotl_u32(x.words[13] + x.words[9], 13); in salsa208_word_specification() 49 x.words[5] ^= CRYPTO_rotl_u32(x.words[1] + x.words[13], 18); in salsa208_word_specification() 50 x.words[14] ^= CRYPTO_rotl_u32(x.words[10] + x.words[6], 7); in salsa208_word_specification() [all …]
|
/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/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/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/cronet/third_party/boringssl/src/crypto/fipsmodule/bn/ |
D | random.c | 150 int words = (bits + BN_BITS2 - 1) / BN_BITS2; in BN_rand() local 155 if (!bn_wexpand(rnd, words)) { in BN_rand() 160 RAND_bytes((uint8_t *)rnd->d, words * sizeof(BN_ULONG)); in BN_rand() 163 rnd->d[words - 1] &= mask; in BN_rand() 167 rnd->d[words - 1] |= 1; in BN_rand() 168 rnd->d[words - 2] |= kOne << (BN_BITS2 - 1); in BN_rand() 170 rnd->d[words - 1] |= kThree << (bit - 1); in BN_rand() 173 rnd->d[words - 1] |= kOne << bit; in BN_rand() 181 rnd->width = words; in BN_rand() 224 size_t words = len; in bn_range_to_mask() local [all …]
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | random.c | 150 int words = (bits + BN_BITS2 - 1) / BN_BITS2; in BN_rand() local 155 if (!bn_wexpand(rnd, words)) { in BN_rand() 160 RAND_bytes((uint8_t *)rnd->d, words * sizeof(BN_ULONG)); in BN_rand() 163 rnd->d[words - 1] &= mask; in BN_rand() 167 rnd->d[words - 1] |= 1; in BN_rand() 168 rnd->d[words - 2] |= kOne << (BN_BITS2 - 1); in BN_rand() 170 rnd->d[words - 1] |= kThree << (bit - 1); in BN_rand() 173 rnd->d[words - 1] |= kOne << bit; in BN_rand() 181 rnd->width = words; in BN_rand() 224 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/cronet/third_party/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() 57 bn_words_to_big_endian(out, len, in->words, group->order.width); in ec_scalar_to_bytes() 68 bn_big_endian_to_words(out->words, group->order.width, in, len); in ec_scalar_from_bytes() 70 if (!bn_less_than_words(out->words, group->order.d, group->order.width)) { in ec_scalar_from_bytes() 79 const BN_ULONG *words, size_t num) { in ec_scalar_reduce() argument 81 bn_from_montgomery_small(out->words, group->order.width, words, num, in ec_scalar_reduce() [all …]
|
D | p256-nistz.c | 204 OPENSSL_memcpy(p_str, p_scalar->words, 32); in ecp_nistz256_windowed_mul() 212 OPENSSL_memcpy(row[1 - 1].X, p->X.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_windowed_mul() 213 OPENSSL_memcpy(row[1 - 1].Y, p->Y.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_windowed_mul() 214 OPENSSL_memcpy(row[1 - 1].Z, p->Z.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_windowed_mul() 309 OPENSSL_memcpy(r->X.words, out.X, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul() 310 OPENSSL_memcpy(r->Y.words, out.Y, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul() 311 OPENSSL_memcpy(r->Z.words, out.Z, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul() 317 OPENSSL_memcpy(p_str, scalar->words, 32); in ecp_nistz256_point_mul_base() 353 OPENSSL_memcpy(r->X.words, p.X, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul_base() 354 OPENSSL_memcpy(r->Y.words, p.Y, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul_base() [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()
|
/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() 57 bn_words_to_big_endian(out, len, in->words, group->order.width); in ec_scalar_to_bytes() 68 bn_big_endian_to_words(out->words, group->order.width, in, len); in ec_scalar_from_bytes() 70 if (!bn_less_than_words(out->words, group->order.d, group->order.width)) { in ec_scalar_from_bytes() 79 const BN_ULONG *words, size_t num) { in ec_scalar_reduce() argument 81 bn_from_montgomery_small(out->words, group->order.width, words, num, in ec_scalar_reduce() [all …]
|
D | p256-nistz.c | 204 OPENSSL_memcpy(p_str, p_scalar->words, 32); in ecp_nistz256_windowed_mul() 212 OPENSSL_memcpy(row[1 - 1].X, p->X.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_windowed_mul() 213 OPENSSL_memcpy(row[1 - 1].Y, p->Y.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_windowed_mul() 214 OPENSSL_memcpy(row[1 - 1].Z, p->Z.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_windowed_mul() 309 OPENSSL_memcpy(r->X.words, out.X, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul() 310 OPENSSL_memcpy(r->Y.words, out.Y, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul() 311 OPENSSL_memcpy(r->Z.words, out.Z, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul() 317 OPENSSL_memcpy(p_str, scalar->words, 32); in ecp_nistz256_point_mul_base() 353 OPENSSL_memcpy(r->X.words, p.X, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul_base() 354 OPENSSL_memcpy(r->Y.words, p.Y, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul_base() [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()
|
/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() 235 void Parse(const SpirvVector& words, bool expected_result, in Parse() argument 238 SpirvVector flipped_words(words); in Parse() 264 const auto words = CompileSuccessfully(""); in TEST_F() local 267 Parse(words, SPV_SUCCESS, endian_swap); in TEST_F() [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()
|
/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() 230 const auto words = CompileSuccessfully(""); in TEST_F() local 233 Parse(words, SPV_SUCCESS, endian_swap); in TEST_F() 239 const auto words = CompileSuccessfully(""); in TEST_F() local 244 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/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() 230 const auto words = CompileSuccessfully(""); in TEST_F() local 233 Parse(words, SPV_SUCCESS, endian_swap); in TEST_F() 239 const auto words = CompileSuccessfully(""); in TEST_F() local 244 spvBinaryParse(ScopedContext().context, &client_, words.data(), in TEST_F() [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/rust/crates/bstr/src/unicode/ |
D | word.rs | 333 let given = test.words.concat(); in forward_ucd() 334 let got = words(given.as_bytes()); in forward_ucd() 336 test.words, in forward_ucd() 344 strs_to_bstrs(&test.words), in forward_ucd() 357 assert_eq!(vec!["a", ".", " ", "Y"], words(b"a. Y")); in forward_additional() 358 assert_eq!(vec!["r", ".", " ", "Yo"], words(b"r. Yo")); in forward_additional() 361 words(b"whatsoever. You may") in forward_additional() 365 words(b"21stcentury'syesterday") in forward_additional() 368 assert_eq!(vec!["Bonta_", "'", "s"], words(b"Bonta_'s")); in forward_additional() 369 assert_eq!(vec!["_vhat's"], words(b"_vhat's")); in forward_additional() [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/ktfmt/core/src/main/java/com/facebook/ktfmt/kdoc/ |
D | Paragraph.kt | 307 val words: List<String> = computeWords() in reflow() constant 310 if (words.size == 1) { in reflow() 311 return listOf(words[0]) in reflow() 319 for (i in words.indices) { in reflow() 320 val word = words[i] in reflow() 326 return reflow(words, lineWidth, hangingIndentSize) in reflow() 334 val remainingWords = words.subList(i, words.size) in reflow() 343 return reflow(words, lineWidth, hangingIndentSize) in reflow() 346 private fun reflow(words: List<String>, lineWidth: Int, hangingIndentSize: Int): List<String> { in reflow() 351 words.any { it.length > lineWidth }) { in reflow() [all …]
|