Home
last modified time | relevance | path

Searched refs:_bits (Results 1 – 12 of 12) sorted by relevance

/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DBitSet.cs63 ulong[] _bits; field in Antlr.Runtime.BitSet
72 _bits = bits; in BitSet()
86 _bits = new ulong[((nbits - 1) >> LOG_BITS) + 1]; in BitSet()
132 if (n >= _bits.Length) { in Add()
135 _bits[n] |= BitMask(el); in Add()
142 int newSize = Math.Max(_bits.Length << 1, NumWordsToHold(bit)); in GrowToInclude()
151 if (a._bits.Length > _bits.Length) { in OrInPlace()
152 SetSize(a._bits.Length); in OrInPlace()
154 int min = Math.Min(_bits.Length, a._bits.Length); in OrInPlace()
156 _bits[i] |= a._bits[i]; in OrInPlace()
[all …]
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DBitSet.cs65 ulong[] _bits; field in Antlr.Runtime.BitSet
77 _bits = bits; in BitSet()
93 _bits = new ulong[( ( nbits - 1 ) >> LOG_BITS ) + 1]; in BitSet()
146 if ( n >= _bits.Length ) in Add()
150 _bits[n] |= BitMask( el ); in Add()
158 int newSize = Math.Max( _bits.Length << 1, NumWordsToHold( bit ) ); in GrowToInclude()
169 if ( a._bits.Length > _bits.Length ) in OrInPlace()
171 SetSize( a._bits.Length ); in OrInPlace()
173 int min = Math.Min( _bits.Length, a._bits.Length ); in OrInPlace()
176 _bits[i] |= a._bits[i]; in OrInPlace()
[all …]
/external/libopus/celt/
Dentdec.c146 unsigned ec_decode_bin(ec_dec *_this,unsigned _bits){ in ec_decode_bin() argument
148 _this->ext=_this->rng>>_bits; in ec_decode_bin()
150 return (1U<<_bits)-EC_MINI(s+1U,1U<<_bits); in ec_decode_bin()
225 opus_uint32 ec_dec_bits(ec_dec *_this,unsigned _bits){ in ec_dec_bits() argument
231 if((unsigned)available<_bits){ in ec_dec_bits()
238 ret=(opus_uint32)window&(((opus_uint32)1<<_bits)-1U); in ec_dec_bits()
239 window>>=_bits; in ec_dec_bits()
240 available-=_bits; in ec_dec_bits()
243 _this->nbits_total+=_bits; in ec_dec_bits()
Dentenc.c139 void ec_encode_bin(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned _bits){ in ec_encode_bin() argument
141 r=_this->rng>>_bits; in ec_encode_bin()
143 _this->val+=_this->rng-IMUL32(r,((1U<<_bits)-_fl)); in ec_encode_bin()
146 else _this->rng-=IMUL32(r,((1U<<_bits)-_fh)); in ec_encode_bin()
193 void ec_enc_bits(ec_enc *_this,opus_uint32 _fl,unsigned _bits){ in ec_enc_bits() argument
198 celt_assert(_bits>0); in ec_enc_bits()
199 if(used+_bits>EC_WINDOW_SIZE){ in ec_enc_bits()
208 used+=_bits; in ec_enc_bits()
211 _this->nbits_total+=_bits; in ec_enc_bits()
Dcwrs.c431 void get_required_bits(opus_int16 *_bits,int _n,int _maxk,int _frac){ in get_required_bits() argument
435 _bits[0]=0; in get_required_bits()
436 for(k=1;k<=_maxk;k++)_bits[k]=log2_frac(CELT_PVQ_V(_n,k),_frac); in get_required_bits()
670 void get_required_bits(opus_int16 *_bits,int _n,int _maxk,int _frac){ in get_required_bits() argument
674 _bits[0]=0; in get_required_bits()
678 _bits[k] = 1<<_frac; in get_required_bits()
686 _bits[k]=log2_frac(u[k]+u[k+1],_frac); in get_required_bits()
Dentdec.h54 unsigned ec_decode_bin(ec_dec *_this,unsigned _bits);
Dentenc.h53 void ec_encode_bin(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned _bits);
/external/libjpeg-turbo/release/
Drpm.spec.in14 %define _bits %{__isa_bits}
18 %define _bits 64
20 %define _bits 32
25 %if "%{_bits}" == "64"
47 %if "%{_bits}" == "64"
/external/mesa3d/src/intel/genxml/
D.gitignore1 gen*_bits.h
/external/minijail/tools/
Dbpf.py530 self._bits = arch.bits
542 if self._bits == 32:
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/
DCpp.stg2589 static ANTLR_BITWORD <bitsetname>_bits[] = { <words64:{it |ANTLR_UINT64_LIT(<it>)}; separator=", ">…
2590 static <traits>::BitsetListType <bitsetname>( <bitsetname>_bits, <length(words64)> );
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg3240 static ANTLR3_BITWORD <name>_bits[] = { <words64:{it |ANTLR3_UINT64_LIT(<it>)}; separator=", "> };
3241 static ANTLR3_BITSET_LIST <name> = { <name>_bits, <length(words64)> };