Home | History | Annotate | Download | only in cff

Lines Matching defs:off2

482       FT_ULong   off1, off2 = 0;
503 off2 = cff_index_read_offset( idx, &error );
505 while ( off2 == 0 && element < idx->count );
516 off2 = idx->offsets[element];
518 } while ( off2 == 0 && element < idx->count );
522 /* XXX: should check off2 does not exceed the end of this entry; */
523 /* at present, only truncate off2 at the end of this stream */
524 if ( off2 > stream->size + 1 ||
525 idx->data_offset > stream->size - off2 + 1 )
530 off2, stream->size - idx->data_offset + 1 ));
531 off2 = stream->size - idx->data_offset + 1;
535 if ( off1 && off2 > off1 )
537 *pbyte_len = off2 - off1;
548 FT_FRAME_EXTRACT( off2 - off1, *pbytes ) )