Searched refs:nBits (Results 1 – 5 of 5) sorted by relevance
/third_party/node/deps/npm/node_modules/ieee754/ |
D | index.js | 7 var nBits = -7 14 e = s & ((1 << (-nBits)) - 1) 15 s >>= (-nBits) 16 nBits += eLen 17 for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {} 19 m = e & ((1 << (-nBits)) - 1) 20 e >>= (-nBits) 21 nBits += mLen 22 for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
/third_party/mesa3d/src/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 | 477 BitSet(unsigned int nBits, bool zero) : marker(false), data(0), size(0) in BitSet() argument 479 allocate(nBits, zero); in BitSet() 488 bool allocate(unsigned int nBits, bool zero); 489 bool resize(unsigned int nBits); // keep old data, zero additional bits
|
/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/astc-encoder/Source/ |
D | tinyexr.h | 8295 inline void outputBits(int nBits, long long bits, long long &c, int &lc, in outputBits() argument 8297 c <<= nBits; in outputBits() 8298 lc += nBits; in outputBits() 8305 inline long long getBits(int nBits, long long &c, int &lc, const char *&in) { in getBits() argument 8306 while (lc < nBits) { in getBits() 8311 lc -= nBits; in getBits() 8312 return (c >> lc) & ((1 << nBits) - 1); in getBits() 9108 int nBits = hufEncode(freq.data(), raw, nRaw, iM, dataStart); in hufCompress() local 9109 int data_length = (nBits + 7) / 8; in hufCompress() 9114 writeUInt(compressed + 12, nBits); in hufCompress() [all …]
|