/external/valgrind/memcheck/tests/vbit-test/ |
D | vbits.c | 54 switch (v.num_bits) { in get_bits64() 71 switch (v.num_bits) { in print_vbits() 107 undefined_vbits(unsigned num_bits) in undefined_vbits() argument 109 vbits_t new = { .num_bits = num_bits }; in undefined_vbits() 111 switch (num_bits) { in undefined_vbits() 134 defined_vbits(unsigned num_bits) in defined_vbits() argument 136 vbits_t new = { .num_bits = num_bits }; in defined_vbits() 138 switch (num_bits) { in defined_vbits() 163 assert(v1.num_bits == v2.num_bits); in equal_vbits() 165 switch (v1.num_bits) { in equal_vbits() [all …]
|
D | binary.c | 37 assert(v1.num_bits == v2.num_bits); in and_combine() 39 vbits_t new = { .num_bits = v2.num_bits }; in and_combine() 42 switch (v2.num_bits) { in and_combine() 52 switch (v2.num_bits) { in and_combine() 83 expected_vbits = defined_vbits(result->vbits.num_bits); in check_result_for_binary() 87 expected_vbits = undefined_vbits(result->vbits.num_bits); in check_result_for_binary() 93 result->vbits.num_bits); in check_result_for_binary() 97 assert(opnd1->vbits.num_bits == opnd2->vbits.num_bits); in check_result_for_binary() 98 assert(opnd1->vbits.num_bits == result->vbits.num_bits); in check_result_for_binary() 105 assert(opnd1->vbits.num_bits == opnd2->vbits.num_bits); in check_result_for_binary() [all …]
|
D | unary.c | 37 unsigned num_bits = result->vbits.num_bits; in check_result_for_unary() local 43 expected_vbits = undefined_vbits(num_bits); in check_result_for_unary() 51 expected_vbits = truncate_vbits(opnd->vbits, num_bits); in check_result_for_unary() 55 expected_vbits = left_vbits(opnd->vbits, num_bits); in check_result_for_unary() 59 assert(num_bits * 2 == opnd->vbits.num_bits); in check_result_for_unary() 64 expected_vbits = sextend_vbits(opnd->vbits, num_bits); in check_result_for_unary() 68 expected_vbits = zextend_vbits(opnd->vbits, num_bits); in check_result_for_unary()
|
D | vbits.h | 38 unsigned num_bits; member 64 vbits_t undefined_vbits(unsigned num_bits); 65 vbits_t defined_vbits(unsigned num_bits); 67 vbits_t truncate_vbits(vbits_t, unsigned num_bits); 68 vbits_t left_vbits(vbits_t, unsigned num_bits); 73 vbits_t sextend_vbits(vbits_t, unsigned num_bits); 74 vbits_t zextend_vbits(vbits_t, unsigned num_bits); 75 vbits_t onehot_vbits(unsigned bitno, unsigned num_bits);
|
D | util.c | 82 print_value(FILE *fp, value_t val, unsigned num_bits) in print_value() argument 84 switch (num_bits) { in print_value() 125 if (equal_vbits(opnd->vbits, defined_vbits(opnd->vbits.num_bits))) { in print_opnd() 127 print_value(fp, opnd->value, opnd->vbits.num_bits); in print_opnd()
|
D | valgrind.c | 74 vbits_t actual = { .num_bits = opnd->vbits.num_bits }; in valgrind_set_vbits() 90 opnd->vbits.num_bits = bitsof_irtype(opnd->type); in valgrind_get_vbits()
|
D | ternary.c | 44 expected_vbits = undefined_vbits(result->vbits.num_bits); in check_result_for_ternary()
|
D | qernary.c | 45 expected_vbits = undefined_vbits(result->vbits.num_bits); in check_result_for_qernary()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_vlc.h | 216 vl_vlc_peekbits(struct vl_vlc *vlc, unsigned num_bits) in vl_vlc_peekbits() argument 218 assert(vl_vlc_valid_bits(vlc) >= num_bits || vlc->data >= vlc->end); in vl_vlc_peekbits() 219 return vlc->buffer >> (64 - num_bits); in vl_vlc_peekbits() 226 vl_vlc_eatbits(struct vl_vlc *vlc, unsigned num_bits) in vl_vlc_eatbits() argument 228 assert(vl_vlc_valid_bits(vlc) >= num_bits); in vl_vlc_eatbits() 230 vlc->buffer <<= num_bits; in vl_vlc_eatbits() 231 vlc->invalid_bits += num_bits; in vl_vlc_eatbits() 238 vl_vlc_get_uimsbf(struct vl_vlc *vlc, unsigned num_bits) in vl_vlc_get_uimsbf() argument 242 assert(vl_vlc_valid_bits(vlc) >= num_bits); in vl_vlc_get_uimsbf() 244 value = vlc->buffer >> (64 - num_bits); in vl_vlc_get_uimsbf() [all …]
|
/external/webp/src/utils/ |
D | random_utils.h | 39 static WEBP_INLINE int VP8RandomBits2(VP8Random* const rg, int num_bits, in VP8RandomBits2() argument 42 assert(num_bits + VP8_RANDOM_DITHER_FIX <= 31); in VP8RandomBits2() 49 diff = (int)((uint32_t)diff << 1) >> (32 - num_bits); in VP8RandomBits2() 51 diff += 1 << (num_bits - 1); // shift back to 0.5-center in VP8RandomBits2() 55 static WEBP_INLINE int VP8RandomBits(VP8Random* const rg, int num_bits) { in VP8RandomBits() argument 56 return VP8RandomBits2(rg, num_bits, rg->amp_); in VP8RandomBits()
|
D | bit_reader_utils.h | 95 uint32_t VP8GetValue(VP8BitReader* const br, int num_bits); 101 int32_t VP8GetSignedValue(VP8BitReader* const br, int num_bits);
|
D | huffman_encode_utils.c | 361 static uint32_t ReverseBits(int num_bits, uint32_t bits) { in ReverseBits() argument 364 while (i < num_bits) { in ReverseBits() 369 retval >>= (MAX_ALLOWED_CODE_LENGTH + 1 - num_bits); in ReverseBits()
|
/external/pdfium/third_party/freetype/src/pshinter/ |
D | pshrec.c | 128 mask->num_bits = 0; in ps_mask_done() 160 if ( (FT_UInt)idx >= mask->num_bits ) in ps_mask_test_bit() 175 if ( idx >= mask->num_bits ) in ps_mask_clear_bit() 193 if ( idx >= mask->num_bits ) in ps_mask_set_bit() 199 mask->num_bits = idx + 1; in ps_mask_set_bit() 271 mask->num_bits = 0; in ps_mask_table_alloc() 328 mask->num_bits = bit_count; in ps_mask_table_set_bits() 379 FT_UInt count1 = mask1->num_bits; in ps_mask_table_test_intersect() 380 FT_UInt count2 = mask2->num_bits; in ps_mask_table_test_intersect() 428 FT_UInt count1 = mask1->num_bits; in ps_mask_table_merge() [all …]
|
D | pshrec.h | 96 FT_UInt num_bits; member
|
/external/freetype/src/pshinter/ |
D | pshrec.c | 128 mask->num_bits = 0; in ps_mask_done() 160 if ( (FT_UInt)idx >= mask->num_bits ) in ps_mask_test_bit() 175 if ( idx >= mask->num_bits ) in ps_mask_clear_bit() 193 if ( idx >= mask->num_bits ) in ps_mask_set_bit() 199 mask->num_bits = idx + 1; in ps_mask_set_bit() 271 mask->num_bits = 0; in ps_mask_table_alloc() 328 mask->num_bits = bit_count; in ps_mask_table_set_bits() 379 FT_UInt count1 = mask1->num_bits; in ps_mask_table_test_intersect() 380 FT_UInt count2 = mask2->num_bits; in ps_mask_table_test_intersect() 428 FT_UInt count1 = mask1->num_bits; in ps_mask_table_merge() [all …]
|
D | pshrec.h | 96 FT_UInt num_bits; member
|
/external/boringssl/src/crypto/ecdsa/ |
D | ecdsa.c | 113 size_t num_bits; in digest_to_bn() local 115 num_bits = BN_num_bits(order); in digest_to_bn() 118 if (8 * digest_len > num_bits) { in digest_to_bn() 119 digest_len = (num_bits + 7) / 8; in digest_to_bn() 127 if ((8 * digest_len > num_bits) && in digest_to_bn() 128 !BN_rshift(out, out, 8 - (num_bits & 0x7))) { in digest_to_bn()
|
/external/libchrome/crypto/ |
D | nss_key_util.cc | 60 uint16_t num_bits, in GenerateRSAKeyPairNSS() argument 67 param.keySizeInBits = num_bits; in GenerateRSAKeyPairNSS()
|
D | rsa_private_key_nss.cc | 52 RSAPrivateKey* RSAPrivateKey::Create(uint16_t num_bits) { in Create() argument 63 if (!GenerateRSAKeyPairNSS(slot.get(), num_bits, false /* not permanent */, in Create()
|
D | nss_key_util.h | 25 uint16_t num_bits,
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
D | BitSet.pm | 183 sub num_bits : method { subroutine 190 return $self->num_bits() / $self->BITS;
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | TypeBuilder.h | 83 template<uint32_t num_bits> class i {}; 180 template<uint32_t num_bits, bool cross> 181 class TypeBuilder<types::i<num_bits>, cross> { 184 return IntegerType::get(C, num_bits); in get()
|
/external/llvm/include/llvm/IR/ |
D | TypeBuilder.h | 91 template<uint32_t num_bits> class i {}; 188 template<uint32_t num_bits, bool cross> 189 class TypeBuilder<types::i<num_bits>, cross> { 192 return IntegerType::get(C, num_bits); in get()
|
/external/libhevc/decoder/ |
D | ihevcd_parse_slice_header.c | 350 WORD32 num_bits; in ihevcd_parse_slice_header() local 353 num_bits = 32 - CLZ(ps_sps->i4_pic_size_in_ctb - 1); in ihevcd_parse_slice_header() 354 BITS_PARSE("slice_address", value, ps_bitstrm, num_bits); in ihevcd_parse_slice_header() 474 WORD32 num_bits = 32 - CLZ(ps_sps->i1_num_long_term_ref_pics_sps - 1); in ihevcd_parse_slice_header() local 475 BITS_PARSE("lt_idx_sps[ i ]", value, ps_bitstrm, num_bits); in ihevcd_parse_slice_header()
|
/external/boringssl/src/crypto/bn/ |
D | exponentiation.c | 197 int num_bits; member 205 recp->num_bits = 0; in BN_RECP_CTX_init() 224 recp->num_bits = BN_num_bits(d); in BN_RECP_CTX_set() 298 j = recp->num_bits << 1; in BN_div_recp() 320 if (!BN_rshift(a, m, recp->num_bits)) { in BN_div_recp() 326 if (!BN_rshift(d, b, i - recp->num_bits)) { in BN_div_recp()
|