Home
last modified time | relevance | path

Searched refs:bitp (Results 1 – 6 of 6) sorted by relevance

/external/zopfli/src/zopflipng/lodepng/
Dlodepng_util.cpp294 unsigned long readBitFromStream(size_t& bitp, const unsigned char* bits) in readBitFromStream()
296 unsigned long result = (bits[bitp >> 3] >> (bitp & 0x7)) & 1; in readBitFromStream()
297 bitp++; in readBitFromStream()
301 unsigned long readBitsFromStream(size_t& bitp, const unsigned char* bits, size_t nbits) in readBitsFromStream()
304 for(size_t i = 0; i < nbits; i++) result += (readBitFromStream(bitp, bits)) << i; in readBitsFromStream()
623 unsigned long readBitFromReversedStream(size_t& bitp, const unsigned char* bits) in readBitFromReversedStream()
625 unsigned long result = (bits[bitp >> 3] >> (7 - (bitp & 0x7))) & 1; in readBitFromReversedStream()
626 bitp++; in readBitFromReversedStream()
630 …unsigned long readBitsFromReversedStream(size_t& bitp, const unsigned char* bits, unsigned long nb… in readBitsFromReversedStream()
633 …for(size_t i = nbits - 1; i < nbits; i--) result += ((readBitFromReversedStream(bitp, bits)) << i); in readBitsFromReversedStream()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/test/
DtestG711.cc39 FILE* bitp = NULL; in main() local
96 if ((bitp = fopen(bitname, "wb")) == NULL) { in main()
131 if (fwrite(streamdata, sizeof(unsigned char), stream_len, bitp) != in main()
142 if (fwrite(streamdata, sizeof(unsigned char), stream_len, bitp) != in main()
/external/tcpdump/
Dprint-domain.c91 const u_char *bitp, *lim; in blabel_print() local
103 for (bitp = cp + 1, b = bitlen; bitp < lim && b > 7; b -= 8, bitp++) { in blabel_print()
104 ND_TCHECK(*bitp); in blabel_print()
105 ND_PRINT((ndo, "%02x", *bitp)); in blabel_print()
108 ND_TCHECK(*bitp); in blabel_print()
109 tc = *bitp++; in blabel_print()
112 ND_TCHECK(*bitp); in blabel_print()
113 tc = *bitp++; in blabel_print()
/external/llvm/lib/Target/XCore/
DXCoreInstrFormats.td72 // 2RUS with bitp operand
89 // L2RUS with bitp operand
188 // RUS with bitp operand
195 // RUS with first operand as both a source and a destination and a bitp second
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreInstrFormats.td72 // 2RUS with bitp operand
89 // L2RUS with bitp operand
188 // RUS with bitp operand
195 // RUS with first operand as both a source and a destination and a bitp second
/external/u-boot/drivers/gpio/
Dsh_pfc.c229 struct pinmux_data_reg **drp, int *bitp) in get_data_reg() argument
240 *bitp = n; in get_data_reg()