Lines Matching defs:off_size
39 bool ReadOffset(ots::Buffer *table, uint8_t off_size, uint32_t *offset) {
40 if (off_size > 4) {
45 for (unsigned i = 0; i < off_size; ++i) {
58 index->off_size = 0;
70 if (!table->ReadU8(&(index->off_size))) {
73 if ((index->off_size == 0) ||
74 (index->off_size > 4)) {
78 const size_t array_size = (index->count + 1) * index->off_size;
89 if (!ReadOffset(table, index->off_size, &rel_offset)) {
906 uint8_t off_size = 0;
916 if (!table.ReadU8(&off_size)) {
919 if ((off_size == 0) || (off_size > 4)) {