• Home
  • Raw
  • Download

Lines Matching refs:end_offset

264       unsigned int start_offset, end_offset;  in get_composite()  local
265 if (!get_offsets (glyph, &start_offset, &end_offset)) in get_composite()
269 end_offset - start_offset, in get_composite()
286 unsigned int *end_offset) const in remove_padding()
288 if (*end_offset - start_offset < GlyphHeader::static_size) return true; in remove_padding()
291 const char * const glyph_end = glyph + (*end_offset - start_offset); in remove_padding()
352 *end_offset -= glyph_end - glyph; in remove_padding()
359 unsigned int *end_offset /* OUT */) const in get_offsets()
368 *end_offset = 2 * offsets[glyph + 1]; in get_offsets()
375 *end_offset = offsets[glyph + 1]; in get_offsets()
378 if (*start_offset > *end_offset || *end_offset > glyf_table.get_length ()) in get_offsets()
385 unsigned int end_offset, in get_instruction_offsets()
389 if (end_offset - start_offset < GlyphHeader::static_size) in get_instruction_offsets()
402 end_offset - start_offset, &composite_it))) return false; in get_instruction_offsets()
411 *instruction_start = end_offset; in get_instruction_offsets()
412 *instruction_end = end_offset; in get_instruction_offsets()
415 …Invalid instruction offset, %d is outside [%d, %d]", *instruction_start, start_offset, end_offset); in get_instruction_offsets()
422 if (unlikely (instruction_length_offset + 2 > end_offset)) in get_instruction_offsets()
431 if (unlikely (end > end_offset)) // Out of bounds of the current glyph in get_instruction_offsets()
445 unsigned int start_offset, end_offset; in get_extents() local
446 if (!get_offsets (glyph, &start_offset, &end_offset)) in get_extents()
449 if (end_offset - start_offset < GlyphHeader::static_size) in get_extents()