Lines Matching refs:raw_maxp
32 static void check_maxp_field (uint8_t *raw_maxp, unsigned int offset, uint16_t expected_value) in check_maxp_field() argument
34 uint16_t actual_value = (raw_maxp[offset] << 8) + raw_maxp[offset + 1]; in check_maxp_field()
43 uint8_t *raw_maxp = (uint8_t *) hb_blob_get_data(maxp_blob, &maxp_len); in check_maxp_num_glyphs() local
45 check_maxp_field (raw_maxp, 4, expected_num_glyphs); // numGlyphs in check_maxp_num_glyphs()
48 check_maxp_field (raw_maxp, 14, 1); // maxZones in check_maxp_num_glyphs()
49 check_maxp_field (raw_maxp, 16, 0); // maxTwilightPoints in check_maxp_num_glyphs()
50 check_maxp_field (raw_maxp, 18, 0); // maxStorage in check_maxp_num_glyphs()
51 check_maxp_field (raw_maxp, 20, 0); // maxFunctionDefs in check_maxp_num_glyphs()
52 check_maxp_field (raw_maxp, 22, 0); // maxInstructionDefs in check_maxp_num_glyphs()
53 check_maxp_field (raw_maxp, 24, 0); // maxStackElements in check_maxp_num_glyphs()
54 check_maxp_field (raw_maxp, 26, 0); // maxSizeOfInstructions in check_maxp_num_glyphs()