Searched refs:nBits (Results 1 – 7 of 7) sorted by relevance
/third_party/flutter/skia/third_party/externals/wuffs/lib/flatecut/ |
D | flatecut.go | 107 nBits uint32 member 110 func (b *bitstream) take(nBits uint32) int32 { 111 for b.nBits < nBits { 115 b.bits |= uint64(b.bytes[b.index]) << b.nBits 116 b.nBits += 8 120 mask := ((uint32(1)) << nBits) - 1 122 b.bits >>= nBits 123 b.nBits -= nBits 170 if b.nBits >= 8 { 176 b.bits |= u << b.nBits [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_util.cpp | 242 bool BitSet::resize(unsigned int nBits) in resize() argument 244 if (!data || !nBits) in resize() 245 return allocate(nBits, true); in resize() 247 const unsigned int n = (nBits + 31) / 32; in resize() 258 if (nBits < size && (nBits % 32)) in resize() 259 data[(nBits + 31) / 32 - 1] &= (1 << (nBits % 32)) - 1; in resize() 261 size = nBits; in resize() 265 bool BitSet::allocate(unsigned int nBits, bool zero) in allocate() argument 267 if (data && size < nBits) { in allocate() 271 size = nBits; in allocate()
|
D | nv50_ir_util.h | 481 BitSet(unsigned int nBits, bool zero) : marker(false), data(0), size(0) in BitSet() argument 483 allocate(nBits, zero); in BitSet() 492 bool allocate(unsigned int nBits, bool zero); 493 bool resize(unsigned int nBits); // keep old data, zero additional bits
|
/third_party/flutter/skia/third_party/externals/wuffs/script/ |
D | extract-giflzw.go | 311 nBits := uint32(0) 314 for nBits < width { 318 bits |= uint32(data[0]) << nBits 320 nBits += 8 325 nBits -= width
|
D | make-artificial.go | 628 nBits uint32 // Always within [0, 7]. member 636 z.bits |= b << z.nBits 637 z.nBits += n 638 for z.nBits >= 8 { 641 z.nBits -= 8 668 if z.nBits > 0 { 671 z.nBits = 0
|
/third_party/ffmpeg/libavcodec/ |
D | exr.c | 448 uint32_t nBits; in huf_uncompress() local 454 nBits = bytestream2_get_le32(gb); in huf_uncompress() 474 if (nBits > 8 * bytestream2_get_bytes_left(gb)) { in huf_uncompress() 481 return huf_decode(&td->vlc, gb, nBits, td->run_sym, dst_size, dst); in huf_uncompress()
|
/third_party/flutter/skia/third_party/externals/wuffs/lang/check/ |
D | bounds.go | 119 func bitMask(nBits int) *big.Int { 120 switch nBits { 134 z := big.NewInt(0).Lsh(one, uint(nBits))
|