Searched refs:num_bits (Results 51 - 75 of 82) sorted by relevance

1234

/external/llvm/include/llvm/IR/
H A DTypeBuilder.h91 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);
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DTypeBuilder.h83 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);
/external/python/cpython2/Lib/ctypes/test/
H A Dtest_prototypes.py36 num_bits = struct.calcsize("P") * 8 # num bits in native machine address
37 a += 1L << num_bits
/external/python/cpython3/Lib/ctypes/test/
H A Dtest_prototypes.py36 num_bits = struct.calcsize("P") * 8 # num bits in native machine address
37 a += 1 << num_bits
/external/tensorflow/tensorflow/contrib/quantize/python/
H A Dquantize.py294 num_bits=bits,
305 num_bits=bits,
/external/tensorflow/tensorflow/core/kernels/
H A Dquantize_and_dequantize_op.cc47 OP_REQUIRES_OK(ctx, ctx->GetAttr("num_bits", &num_bits_));
49 errors::InvalidArgument("num_bits is out of range: ", num_bits_,
93 // Almost identical to QuantizeAndDequantizeV2Op, except that num_bits is a
116 errors::InvalidArgument("num_bits is out of range: ", num_bits_val,
152 OP_REQUIRES_OK(ctx, ctx->GetAttr("num_bits", &num_bits_));
154 errors::InvalidArgument("num_bits is out of range: ", num_bits_,
199 const bool signed_input, const int num_bits,
203 d, input, signed_input, num_bits, range_given, input_min_tensor,
237 .HostMemory("num_bits") \
198 operator ()(const CPUDevice& d, typename TTypes<T>::ConstVec input, const bool signed_input, const int num_bits, const bool range_given, Tensor* input_min_tensor, Tensor* input_max_tensor, typename TTypes<T>::Vec out) argument
H A Dfake_quant_ops_test.cc52 void RunTestFakeQuantWithMinMaxArgs(const int num_bits, argument
61 .Attr("num_bits", num_bits)
77 void RunTestFakeQuantWithMinMaxVars(const int num_bits, argument
86 .Attr("num_bits", num_bits)
107 const int num_bits, const bool narrow_range,
116 .Attr("num_bits", num_bits)
426 .Attr("num_bits",
106 RunTestFakeQuantWithMinMaxVarsPerChannel( const int num_bits, const bool narrow_range, const TensorShape& minmax_shape, const gtl::ArraySlice<float>& min, const gtl::ArraySlice<float>& max, const TensorShape& shape, const gtl::ArraySlice<float>& data, gtl::ArraySlice<float> expected_data) argument
[all...]
/external/v4l2_codec2/vda/
H A Dh264_parser.cc135 #define READ_BITS_OR_RETURN(num_bits, out) \
138 if (!br_.ReadBits(num_bits, &_out)) { \
418 int num_bits = -1; local
425 num_bits++;
428 if (num_bits > 31)
431 // Calculate exp-Golomb code value of size num_bits.
432 // Special case for |num_bits| == 31 to avoid integer overflow. The only
435 *val = (1u << num_bits) - 1u;
437 if (num_bits == 31) {
438 READ_BITS_OR_RETURN(num_bits,
[all...]
/external/brotli/c/enc/
H A Dentropy_encode.c455 static uint16_t BrotliReverseBits(size_t num_bits, uint16_t bits) { argument
462 for (i = 4; i < num_bits; i += 4) {
467 retval >>= ((0 - num_bits) & 0x3);
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
H A DBitSet.pm183 sub num_bits : method { subroutine
190 return $self->num_bits() / $self->BITS;
/external/libhevc/decoder/
H A Dihevcd_parse_slice_header.c351 WORD32 num_bits; local
354 num_bits = 32 - CLZ(ps_sps->i4_pic_size_in_ctb - 1);
355 BITS_PARSE("slice_address", value, ps_bitstrm, num_bits);
475 WORD32 num_bits = 32 - CLZ(ps_sps->i1_num_long_term_ref_pics_sps - 1); local
476 BITS_PARSE("lt_idx_sps[ i ]", value, ps_bitstrm, num_bits);
H A Dihevcd_parse_slice.c549 WORD32 num_bits; local
591 num_bits = ps_sps->i1_pcm_sample_bit_depth_luma;
596 BITS_PARSE("pcm_sample_luma", value, ps_bitstrm, num_bits);
599 *pu1_coeff_data++ = value << (BIT_DEPTH_LUMA - num_bits);
602 num_bits = ps_sps->i1_pcm_sample_bit_depth_chroma;
607 BITS_PARSE("pcm_sample_chroma", value, ps_bitstrm, num_bits);
610 *pu1_coeff_data++ = value << (BIT_DEPTH_CHROMA - num_bits);
/external/mesa3d/src/gallium/state_trackers/omx/
H A Dvid_dec_h265.c882 int num_bits = 0; local
885 while ((1 << num_bits) < num_st_rps)
886 num_bits++;
888 if (num_bits > 0)
890 idx = vl_rbsp_u(rbsp, num_bits);
/external/boringssl/src/crypto/fipsmodule/bn/
H A Dexponentiation.c194 int num_bits; member in struct:bn_recp_ctx_st
202 recp->num_bits = 0;
221 recp->num_bits = BN_num_bits(d);
295 j = recp->num_bits << 1;
317 if (!BN_rshift(a, m, recp->num_bits)) {
323 if (!BN_rshift(d, b, i - recp->num_bits)) {
H A Dbn_test.cc1797 const unsigned num_bits = buf[0] % (BN_BITS2 + 1); local
1798 if (num_bits == BN_BITS2) {
1800 } else if (num_bits == 0) {
1803 w &= (kOne << num_bits) - 1;
1804 w |= kOne << (num_bits - 1);
1807 EXPECT_EQ(num_bits, BN_num_bits_word(w)) << w;
/external/syslinux/gpxe/src/drivers/net/ath5k/
H A Dath5k_phy.c56 u8 offset, bank, num_bits, col, position; local
80 num_bits = rfreg->field.len;
91 if (!(col <= 3 && num_bits <= 32 && first_bit + num_bits <= 319)) {
100 data = ath5k_hw_bitswap(val, num_bits);
102 for (bits_shifted = 0, bits_left = num_bits; bits_left > 0;
124 data = set ? 1 : ath5k_hw_bitswap(data, num_bits);
/external/valgrind/VEX/priv/
H A Dhost_s390_defs.h431 HReg num_bits; /* number of leftmost '0' bits r10 */ member in struct:__anon28559::__anon28560::__anon28571
640 s390_insn *s390_insn_clz(UChar size, HReg num_bits, HReg clobber,
/external/syslinux/gpxe/src/drivers/infiniband/
H A Dhermon.c60 * @v num_bits Number of contiguous bits to allocate within bitmask
65 unsigned int num_bits ) {
70 /* Search bits for num_bits contiguous free bits */
73 if ( ++found == num_bits )
94 return ( bit - num_bits + 1 );
102 * @v num_bits Number of contiguous bits to free within bitmask
105 int bit, unsigned int num_bits ) {
108 for ( ; num_bits ; bit++, num_bits-- ) {
/external/pdfium/core/fpdfapi/render/
H A Dcpdf_dibsource.cpp1342 size_t num_bits = src_x * m_bpc * m_nComponents; local
1343 uint64_t src_bit_pos = num_bits % 8;
1344 pSrcPixel = pSrcLine + num_bits / 8;
/external/syslinux/gpxe/src/drivers/net/
H A Dtlan.c1169 * num_bits The number of bits in data that are to
1177 void TLan_MiiSendData(u16 base_port, u32 data, unsigned num_bits) argument
1182 if (num_bits == 0)
1189 for (i = (0x1 << (num_bits - 1)); i; i >>= 1) {
/external/tensorflow/tensorflow/python/ops/
H A Darray_ops.py2148 num_bits=op.get_attr("num_bits"),
2160 num_bits=op.get_attr("num_bits"),
2172 num_bits=op.get_attr("num_bits"),
/external/webp/src/dec/
H A Dvp8l_dec.c1356 const int num_bits = hdr->huffman_subsample_bits_; local
1360 hdr->huffman_xsize_ = VP8LSubSampleSize(width, num_bits);
1361 hdr->huffman_mask_ = (num_bits == 0) ? ~0 : (1 << num_bits) - 1;
/external/avb/
H A Davbtool231 def encode_long(num_bits, value):
240 num_bits: The number of bits to write, e.g. 2048.
247 for bit_pos in range(num_bits, 0, -8):
343 num_bits: The key size.
359 # self.num_bits = key.size() + 1
390 self.num_bits = round_to_pow2(int(math.ceil(math.log(self.modulus, 2))))
416 ret.extend(struct.pack('!II', key.num_bits, n0inv))
417 ret.extend(encode_long(key.num_bits, key.modulus))
418 ret.extend(encode_long(key.num_bits, rrmodn))
543 (num_bits,)
[all...]
/external/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_nir_lower_blend.c651 nir_ssa_def *num_bits = nir_f2i(b, nir_fmul(b, a, num_samples)); local
655 num_bits),
/external/mesa3d/src/compiler/glsl/tests/
H A Darray_refcount_test.cpp69 * Wrapper to access private member "num_bits" of ir_array_refcount_entry
77 return entry.num_bits;
431 /* As validated by previous tests, for non-array types, num_bits is 1. */
466 /* As validated by previous tests, for non-array types, num_bits is 1. */

Completed in 783 milliseconds

1234