Home
last modified time | relevance | path

Searched refs:BITS_PER_CHAR (Results 1 – 4 of 4) sorted by relevance

/external/speex/libspeex/
Dbits.c149 int nchars = ((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR); in speex_bits_flush()
161 if (((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR)+nchars > bits->buf_size) in speex_bits_read_whole_bytes()
203 if (max_nchars > ((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR)) in speex_bits_write()
204 max_nchars = ((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR); in speex_bits_write()
225 bits->nbBits &= (BITS_PER_CHAR-1); in speex_bits_write_whole_bytes()
258 bits->chars[bits->charPtr] |= bit<<(BITS_PER_CHAR-1-bits->bitPtr); in speex_bits_pack()
261 if (bits->bitPtr==BITS_PER_CHAR) in speex_bits_pack()
293 d |= (bits->chars[bits->charPtr]>>(BITS_PER_CHAR-1 - bits->bitPtr))&1; in speex_bits_unpack_unsigned()
295 if (bits->bitPtr==BITS_PER_CHAR) in speex_bits_unpack_unsigned()
322 d |= (chars[charPtr]>>(BITS_PER_CHAR-1 - bitPtr))&1; in speex_bits_peek_unsigned()
[all …]
Darch.h222 #define BITS_PER_CHAR 16 macro
228 #define BITS_PER_CHAR 8 macro
/external/e2fsprogs/lib/et/
Det_name.c37 ch = (int)((num >> BITS_PER_CHAR * i) & ((1 << BITS_PER_CHAR) - 1)); in error_table_name()
Derror_table.h24 #define BITS_PER_CHAR 6 /* # bits to shift per character in name */ macro