/third_party/e2fsprogs/lib/ext2fs/ |
D | blkmap64_ba.c | 331 unsigned long bitpos = start - bitmap->start; in ba_find_first_zero() local 338 while ((bitpos & 0x7) != 0 && count > 0) { in ba_find_first_zero() 339 if (!ext2fs_test_bit64(bitpos, bp->bitarray)) { in ba_find_first_zero() 340 *out = bitpos + bitmap->start; in ba_find_first_zero() 343 bitpos++; in ba_find_first_zero() 350 pos = ((unsigned char *)bp->bitarray) + (bitpos >> 3); in ba_find_first_zero() 359 bitpos += 8; in ba_find_first_zero() 372 bitpos += 64 * (max_loop_count - i); in ba_find_first_zero() 385 bitpos += 8 * (max_loop_count - i); in ba_find_first_zero() 390 if (!ext2fs_test_bit64(bitpos, bp->bitarray)) { in ba_find_first_zero() [all …]
|
/third_party/toybox/lib/ |
D | deflate.c | 35 int fd, bitpos, len, max; member 55 int pos = bb->bitpos + bits + (bits<0), len; in bitbuf_skip() 64 bb->bitpos = pos; in bitbuf_skip() 72 int bufpos = bb->bitpos>>3; in bitbuf_bit() 79 return (bb->buf[bufpos]>>(bb->bitpos++&7))&1; in bitbuf_bit() 88 int click = bb->bitpos >> 3, blow, blen; in bitbuf_get() 97 blow = bb->bitpos & 7; in bitbuf_get() 103 bb->bitpos += blen; in bitbuf_get() 111 if (!bb->bitpos) return; in bitbuf_flush() 113 xwrite(bb->fd, bb->buf, (bb->bitpos+7)>>3); in bitbuf_flush() [all …]
|
D | password.c | 31 int bitpos = i*6, bits = bitpos/8; in get_salt() local 33 bits = ((libbuf[i]+(libbuf[i+1]<<8)) >> (bitpos&7)) & 0x3f; in get_salt()
|
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/ |
D | astc_symbolic_physical.cpp | 186 int bitpos = 2; in physical_to_symbolic() local 190 color_formats[i] = (((encoded_type >> bitpos) & 1) + baseclass) << 2; in physical_to_symbolic() 191 bitpos++; in physical_to_symbolic() 195 color_formats[i] |= (encoded_type >> bitpos) & 3; in physical_to_symbolic() 196 bitpos += 2; in physical_to_symbolic()
|
/third_party/vulkan-headers/registry/ |
D | vkconventions.py | 268 def valid_flag_bit(self, bitpos): argument 275 return bitpos >= 0 and bitpos < 31
|
D | conventions.py | 351 def valid_flag_bit(self, bitpos): argument
|
D | generator.py | 381 bitpos = int(value, 0) 382 numVal = 1 << bitpos
|
/third_party/grpc/third_party/upb/upb/ |
D | text_encode.c | 253 int bitpos = 0; in txtenc_parsevarint() local 257 CHK(bitpos < 70 && ptr < limit); in txtenc_parsevarint() 259 *val |= (uint64_t)(byte & 0x7F) << bitpos; in txtenc_parsevarint() 261 bitpos += 7; in txtenc_parsevarint()
|
/third_party/grpc/third_party/upb/upb/pb/ |
D | decoder.c | 401 int bitpos; in upb_pbdecoder_decode_varint_slow() local 403 for(bitpos = 0; bitpos < 70 && (byte & 0x80); bitpos += 7) { in upb_pbdecoder_decode_varint_slow() 405 *u64 |= (uint64_t)(byte & 0x7F) << bitpos; in upb_pbdecoder_decode_varint_slow() 407 if(bitpos == 70 && (byte & 0x80)) { in upb_pbdecoder_decode_varint_slow()
|
/third_party/openssl/crypto/bn/ |
D | bn_exp.c | 472 static BN_ULONG bn_get_bits(const BIGNUM *a, int bitpos) in bn_get_bits() argument 477 wordpos = bitpos / BN_BITS2; in bn_get_bits() 478 bitpos %= BN_BITS2; in bn_get_bits() 481 if (bitpos) { in bn_get_bits() 482 ret >>= bitpos; in bn_get_bits() 484 ret |= a->d[wordpos] << (BN_BITS2 - bitpos); in bn_get_bits()
|
/third_party/ffmpeg/libavcodec/ |
D | agm.c | 920 static void get_tree_codes(uint32_t *codes, Node *nodes, int idx, uint32_t pfx, int bitpos) in get_tree_codes() argument 925 get_tree_codes(codes, nodes, nodes[idx].child[0], pfx + (0 << bitpos), bitpos + 1); in get_tree_codes() 926 get_tree_codes(codes, nodes, nodes[idx].child[1], pfx + (1U << bitpos), bitpos + 1); in get_tree_codes()
|
D | qcelpdata.h | 78 uint8_t bitpos; /**< position of the lowest bit in the value's byte */ member
|
D | qcelpdec.c | 728 unpacked_data[bitmaps->index] |= get_bits(&q->gb, bitmaps->bitlen) << bitmaps->bitpos; in qcelp_decode_frame()
|
/third_party/node/deps/brotli/c/enc/ |
D | compress_fragment_two_pass.c | 542 const size_t bitpos = new_storage_ix & 7; in RewindBitPosition() local 543 const size_t mask = (1u << bitpos) - 1; in RewindBitPosition()
|
D | compress_fragment.c | 366 const size_t bitpos = new_storage_ix & 7; in RewindBitPosition() local 367 const size_t mask = (1u << bitpos) - 1; in RewindBitPosition()
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
D | compress_fragment_two_pass.c | 542 const size_t bitpos = new_storage_ix & 7; in RewindBitPosition() local 543 const size_t mask = (1u << bitpos) - 1; in RewindBitPosition()
|
D | compress_fragment.c | 366 const size_t bitpos = new_storage_ix & 7; in RewindBitPosition() local 367 const size_t mask = (1u << bitpos) - 1; in RewindBitPosition()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
D | ap_config_file.c | 1227 int bitpos; in hostapd_parse_he_srg_bitmap() local 1237 bitpos = atoi(pos); in hostapd_parse_he_srg_bitmap() 1238 if (bitpos < 0 || bitpos > 64) in hostapd_parse_he_srg_bitmap() 1241 bitmap[bitpos / 8] |= BIT(bitpos % 8); in hostapd_parse_he_srg_bitmap()
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 335 int bitpos = 0; in decode_longvarint64() local 339 if (bitpos >= 70 || ptr == limit) decode_err(d); in decode_longvarint64() 341 out |= (uint64_t)(byte & 0x7F) << bitpos; in decode_longvarint64() 343 bitpos += 7; in decode_longvarint64() 7331 int bitpos; in upb_pbdecoder_decode_varint_slow() local 7333 for(bitpos = 0; bitpos < 70 && (byte & 0x80); bitpos += 7) { in upb_pbdecoder_decode_varint_slow() 7335 *u64 |= (uint64_t)(byte & 0x7F) << bitpos; in upb_pbdecoder_decode_varint_slow() 7337 if(bitpos == 70 && (byte & 0x80)) { in upb_pbdecoder_decode_varint_slow()
|
/third_party/protobuf/php/ext/google/protobuf/ |
D | php-upb.c | 384 int bitpos = 0; in decode_longvarint64() local 388 if (bitpos >= 70 || ptr == limit) decode_err(d); in decode_longvarint64() 390 out |= (uint64_t)(byte & 0x7F) << bitpos; in decode_longvarint64() 392 bitpos += 7; in decode_longvarint64()
|