Home
last modified time | relevance | path

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

/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/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/ltrace/
Ddict.c32 bitp(struct dict *dict, size_t n) in bitp() function
228 for (; bitp(dict, pos)->taken || bitp(dict, pos)->erased; in find_slot()
230 if (pos0 == (size_t)-1 && bitp(dict, pos)->erased) in find_slot()
241 if (bitp(dict, pos)->taken in find_slot()
380 assert(!bitp(dict, slot_n)->taken); in dict_insert()
391 bitp(dict, slot_n)->taken = 1; in dict_insert()
392 bitp(dict, slot_n)->erased = 0; in dict_insert()
430 bitp(dict, slot_n)->taken = 0; in dict_erase()
431 bitp(dict, slot_n)->erased = 1; in dict_erase()
455 if (bitp(dict, i)->taken && !bitp(dict, i)->erased) { in dict_each()
/external/tcpdump/
Dprint-domain.c89 const u_char *bitp, *lim; in blabel_print() local
101 for (bitp = cp + 1, b = bitlen; bitp < lim && b > 7; b -= 8, bitp++) { in blabel_print()
102 ND_TCHECK(*bitp); in blabel_print()
103 ND_PRINT((ndo, "%02x", *bitp)); in blabel_print()
106 ND_TCHECK(*bitp); in blabel_print()
107 tc = *bitp++; in blabel_print()
110 ND_TCHECK(*bitp); in blabel_print()
111 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