Lines Matching full:charptr
79 bits->charPtr=0;
97 bits->charPtr=0;
104 bits->charPtr=0;
142 bits->charPtr=0;
150 if (bits->charPtr>0)
151 SPEEX_MOVE(bits->chars, &bits->chars[bits->charPtr], nchars-bits->charPtr);
152 bits->nbBits -= bits->charPtr<<LOG2_BITS_PER_CHAR;
153 bits->charPtr=0;
192 int charPtr, bitPtr, nbBits;
196 charPtr=bits->charPtr;
200 bits->charPtr=charPtr;
224 bits->charPtr=0;
233 if (bits->charPtr+((nbBits+bits->bitPtr)>>LOG2_BITS_PER_CHAR) >= bits->buf_size)
258 bits->chars[bits->charPtr] |= bit<<(BITS_PER_CHAR-1-bits->bitPtr);
264 bits->charPtr++;
265 bits->chars[bits->charPtr] = 0;
286 if ((bits->charPtr<<LOG2_BITS_PER_CHAR)+bits->bitPtr+nbBits>bits->nbBits)
293 d |= (bits->chars[bits->charPtr]>>(BITS_PER_CHAR-1 - bits->bitPtr))&1;
298 bits->charPtr++;
308 int bitPtr, charPtr;
311 if ((bits->charPtr<<LOG2_BITS_PER_CHAR)+bits->bitPtr+nbBits>bits->nbBits)
317 charPtr=bits->charPtr;
322 d |= (chars[charPtr]>>(BITS_PER_CHAR-1 - bitPtr))&1;
327 charPtr++;
336 if ((bits->charPtr<<LOG2_BITS_PER_CHAR)+bits->bitPtr+1>bits->nbBits)
340 return (bits->chars[bits->charPtr]>>(BITS_PER_CHAR-1 - bits->bitPtr))&1;
345 if (((bits->charPtr<<LOG2_BITS_PER_CHAR)+bits->bitPtr+n>bits->nbBits) || bits->overflow){
349 bits->charPtr += (bits->bitPtr+n) >> LOG2_BITS_PER_CHAR; /* divide by BITS_PER_CHAR */
358 return bits->nbBits-((bits->charPtr<<LOG2_BITS_PER_CHAR)+bits->bitPtr);