Lines Matching refs:storage
43 b->storage=BUFFER_INCREMENT; in oggpack_writeinit()
51 if(!b->ptr || !b->storage)return -1; in oggpack_writecheck()
83 if(b->endbyte+4>=b->storage){ in oggpack_write()
86 ret=_ogg_realloc(b->buffer,b->storage+BUFFER_INCREMENT); in oggpack_write()
92 b->storage+=BUFFER_INCREMENT; in oggpack_write()
124 if(b->endbyte+4>=b->storage){ in oggpackB_write()
127 ret=_ogg_realloc(b->buffer,b->storage+BUFFER_INCREMENT); in oggpackB_write()
133 b->storage+=BUFFER_INCREMENT; in oggpackB_write()
194 if(b->endbyte+bytes+1>=b->storage){ in oggpack_writecopy_helper()
197 b->storage=b->endbyte+bytes+BUFFER_INCREMENT; in oggpack_writecopy_helper()
198 ret=_ogg_realloc(b->buffer,b->storage); in oggpack_writecopy_helper()
252 b->storage=bytes; in oggpack_readinit()
266 if(b->endbyte+4>=b->storage){ in oggpack_look()
268 if(b->endbyte*8+bits>b->storage*8)return(-1); in oggpack_look()
293 if(b->endbyte+4>=b->storage){ in oggpackB_look()
295 if(b->endbyte*8+bits>b->storage*8)return(-1); in oggpackB_look()
314 if(b->endbyte>=b->storage)return(-1); in oggpack_look1()
319 if(b->endbyte>=b->storage)return(-1); in oggpackB_look1()
353 if(b->endbyte+4>=b->storage){ in oggpack_read()
356 if(b->endbyte*8+bits>b->storage*8)goto overflow; in oggpack_read()
389 if(b->endbyte+4>=b->storage){ in oggpackB_read()
392 if(b->endbyte*8+bits>b->storage*8)goto overflow; in oggpackB_read()
423 if(b->endbyte>=b->storage){ in oggpack_read1()
445 if(b->endbyte>=b->storage){ in oggpackB_read1()