/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()
|
/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.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.h | 95 uint32_t VP8GetValue(VP8BitReader* const br, int num_bits); 101 int32_t VP8GetSignedValue(VP8BitReader* const br, int num_bits);
|
D | huffman_encode.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 …]
|
/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 …]
|
/external/opencv3/3rdparty/libwebp/utils/ |
D | bit_reader.h | 138 uint32_t VP8GetValue(VP8BitReader* const br, int num_bits); 144 int32_t VP8GetSignedValue(VP8BitReader* const br, int num_bits); 320 static WEBP_INLINE void VP8LDiscardBits(VP8LBitReader* const br, int num_bits) { in VP8LDiscardBits() argument 321 br->bit_pos_ += num_bits; in VP8LDiscardBits()
|
D | huffman_encode.c | 382 static uint32_t ReverseBits(int num_bits, uint32_t bits) { in ReverseBits() argument 385 while (i < num_bits) { in ReverseBits() 390 retval >>= (MAX_ALLOWED_CODE_LENGTH + 1 - num_bits); in ReverseBits()
|
/external/libnfc-nci/src/nfc/tags/ |
D | rw_t2t_ndef.c | 662 p_t2t->lock_tlv[p_t2t->num_lock_tlvs].num_bits = p_t2t->tlv_value[1]; in rw_t2t_handle_tlv_detect_rsp() 923 p_t2t->lock_tlv[p_t2t->num_lock_tlvs].num_bits = num_dynamic_lock_bits; in rw_t2t_extract_default_locks_info() 2153 UINT8 num_bits; in rw_t2t_get_lock_bits_for_segment() local 2185 … 1) * TAG_BITS_PER_BYTE <= p_t2t->lock_tlv[p_t2t->lockbyte[num_dynamic_locks].tlv_index].num_bits); in rw_t2t_get_lock_bits_for_segment() 2186 …num_bits = b_all_bits_are_locks ? TAG_BITS_PER_BYTE : p_t2t->lock_tlv[p_t2t->lockbyte… in rw_t2t_get_lock_bits_for_segment() 2188 if (((bytes_locked_per_bit * num_bits) + byte_count) <= lower_offset) in rw_t2t_get_lock_bits_for_segment() 2191 byte_count += bytes_locked_per_bit * num_bits; in rw_t2t_get_lock_bits_for_segment() 2197 while (bit_count < num_bits) in rw_t2t_get_lock_bits_for_segment() 2223 … 1) * TAG_BITS_PER_BYTE <= p_t2t->lock_tlv[p_t2t->lockbyte[num_dynamic_locks].tlv_index].num_bits); in rw_t2t_get_lock_bits_for_segment() 2224 …num_bits = b_all_bits_are_locks ? TAG_BITS_PER_BYTE : p_t2t->lock_tlv[p_t2t->lockbyte… in rw_t2t_get_lock_bits_for_segment() [all …]
|
D | rw_t1t_ndef.c | 370 UINT8 num_bits; in rw_t1t_handle_write_rsp() local 475 …num_bits = ((p_t1t->lockbyte[num_locks].byte_index + 1)* 8 <= p_t1t->lock_tlv[p_t1t->lockbyte[num_… in rw_t1t_handle_write_rsp() 481 write_block[(UINT8) (offset%T1T_BLOCK_SIZE)] |= tags_pow (2,num_bits) - 1; in rw_t1t_handle_write_rsp() 486 …t1t->lockbyte[lock_count].tlv_index].num_bits) ? 8 : p_t1t->lock_tlv[p_t1t->lockbyte[lock_count].t… in rw_t1t_handle_write_rsp() 514 value = (UINT8) (tags_pow (2,num_bits) - 1); in rw_t1t_handle_write_rsp() 1117 p_t1t->lock_tlv[p_t1t->num_lock_tlvs].num_bits = tlv_value[1]; in rw_t1t_handle_tlv_detect_rsp() 2018 UINT8 num_bits; in rw_t1t_get_lock_bits_for_segment() local 2034 … 1) * TAG_BITS_PER_BYTE <= p_t1t->lock_tlv[p_t1t->lockbyte[num_dynamic_locks].tlv_index].num_bits); in rw_t1t_get_lock_bits_for_segment() 2035 …num_bits = b_all_bits_are_locks ? TAG_BITS_PER_BYTE : p_t1t->lock_tlv[p_t1t->lockbyte[num_dynamic_… in rw_t1t_get_lock_bits_for_segment() 2038 if (bytes_locked_per_bit * num_bits + byte_count <= lower_offset) in rw_t1t_get_lock_bits_for_segment() [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
D | hashing_helper.py | 140 def _ExtendByZeros(crc, num_bits): argument 155 while num_bits != 0: 156 if num_bits & 1: 159 num_bits >>= 1
|
/external/boringssl/src/crypto/ecdsa/ |
D | ecdsa.c | 114 size_t num_bits; in digest_to_bn() local 116 num_bits = BN_num_bits(order); in digest_to_bn() 119 if (8 * digest_len > num_bits) { in digest_to_bn() 120 digest_len = (num_bits + 7) / 8; in digest_to_bn() 128 if ((8 * digest_len > num_bits) && in digest_to_bn() 129 !BN_rshift(out, out, 8 - (num_bits & 0x7))) { in digest_to_bn()
|
/external/libchrome/crypto/ |
D | rsa_private_key_openssl.cc | 57 RSAPrivateKey* RSAPrivateKey::Create(uint16_t num_bits) { in Create() argument 65 if (!RSA_generate_key_ex(rsa_key.get(), num_bits, bn.get(), NULL)) in Create()
|
D | nss_key_util.cc | 65 uint16_t num_bits, in GenerateRSAKeyPairNSS() argument 72 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 { method in ANTLR::Runtime::BitSet 190 return $self->num_bits() / $self->BITS;
|
/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 | 349 WORD32 num_bits; in ihevcd_parse_slice_header() local 352 num_bits = 32 - CLZ(ps_sps->i4_pic_size_in_ctb - 1); in ihevcd_parse_slice_header() 353 BITS_PARSE("slice_address", value, ps_bitstrm, num_bits); in ihevcd_parse_slice_header() 471 WORD32 num_bits = 32 - CLZ(ps_sps->i1_num_long_term_ref_pics_sps); in ihevcd_parse_slice_header() local 472 BITS_PARSE("lt_idx_sps[ i ]", value, ps_bitstrm, num_bits); in ihevcd_parse_slice_header()
|