Home | History | Annotate | Download | only in src

Lines Matching defs:bytes

307   int bytes = 0, lacing_vals, i;
312 for (i = 0; i < count; ++i) bytes += (int)iov[i].iov_len;
313 lacing_vals=bytes/255+1;
328 if(_os_body_expand(os,bytes) || _os_lacing_expand(os,lacing_vals))
346 os->lacing_vals[os->lacing_fill+i]=bytes%255;
365 iov.iov_len = op->bytes;
376 int bytes=0;
480 bytes+=os->header[i+27]=(unsigned char)(os->lacing_vals[i]&0xff);
486 og->body_len=bytes;
493 os->body_returned+=bytes;
547 ogg_sync_wrote() to tell how many bytes we just added.
619 int ogg_sync_wrote(ogg_sync_state *oy, long bytes){
621 if(oy->fill+bytes>oy->storage)return -1;
622 oy->fill+=bytes;
630 -n) skipped n bytes
631 0) page not ready; more data (no bytes skipped)
632 n) page synced at current location; page length n bytes
639 long bytes=oy->fill-oy->returned;
645 if(bytes<27)return(0); /* not enough for a header */
651 if(bytes<headerbytes)return(0); /* not enough for header + seg table */
660 if(oy->bodybytes+oy->headerbytes>bytes)return(0);
664 /* Grab the checksum bytes, set the header field to zero */
693 long bytes;
703 oy->returned+=(bytes=oy->headerbytes+oy->bodybytes);
706 return(bytes);
715 next=memchr(page+1,'O',bytes-1);
753 /* head did not start a synced page... skipped some bytes */
960 int bytes=size;
968 bytes+=size;
977 op->bytes=bytes;
981 os->body_returned+=bytes;
1015 if(op->bytes!=len){
1016 fprintf(stderr,"incorrect packet length (%d != %d)!\n",op->bytes,len);
1041 for(j=0;j<op->bytes;j++)
1483 op.bytes=len;
1570 if(memcmp(data+depacket,op_de.packet,op_de.bytes)){
1585 depacket+=op_de.bytes;
1782 op.bytes=len;