Home | History | Annotate | Download | only in lib

Lines Matching refs:blen

53         picoos_uint16 *blen);
57 picoos_uint16 *blen, const picoos_uint8 issd);
83 picoos_uint16 *blen);
87 picoos_uint16 *blen, const picoos_uint8 issd);
178 picoos_uint16 *blen, const picoos_uint8 issd)
183 *blen = 0;
192 *blen = PICODATA_ITEM_HEADSIZE + (picoos_uint8)(this->buf[((this->front) +
201 for (i=0; i<*blen; i++) {
206 *blen = 0;
211 if (*blen > this->len) { /* item in cb not complete? */
213 "blen=%d, len=%d", *blen, this->len));
214 *blen = 0;
217 if (blenmax < *blen) { /* buf not large enough? */
219 *blen = 0;
231 *blen -= PICODATA_ITEM_HEADSIZE;
235 for (i = 0; i < *blen; i++) {
243 PICODBG_DEBUG(("got speech data: %d samples", *blen));
248 for (i=PICODATA_ITEM_HEADSIZE; i<*blen; i++) {
263 picoos_uint16 *blen)
269 *blen = 0;
272 *blen = buf[PICODATA_ITEMIND_LEN] + PICODATA_ITEM_HEADSIZE;
273 if (*blen > (this->size - this->len)) { /* cb not enough space? */
275 *blen = 0;
278 if (*blen > blenmax) { /* item in buf not completely accessible? */
280 *blen = 0;
291 for (i=PICODATA_ITEM_HEADSIZE; i<*blen; i++) {
300 for (i = 0; i < *blen; i++) {
319 * on return, '*blen' contains the number of bytes written to 'buf'
323 picoos_uint16 *blen)
325 return this->getItem(this, buf, blenmax, blen, FALSE);
330 picoos_uint16 *blen)
333 return this->getItem(this, buf, blenmax, blen, TRUE);
339 picoos_uint16 *blen)
342 return this->putItem(this,buf,blenmax,blen);
432 picoos_uint8 *buf, const picoos_uint16 blenmax, picoos_uint16 *blen)
434 *blen = head->len + PICODATA_ITEM_HEADSIZE;
435 if (blenmax >= *blen) {
448 *blen = 0;
452 *blen = 0;