Searched defs:new_sfnt_data (Results 1 - 2 of 2) sorted by relevance

/external/harfbuzz_ng/src/
H A Dhb-directwrite.cc115 void *new_sfnt_data = calloc(1, new_length); local
116 if (!new_sfnt_data)
122 memcpy(new_sfnt_data, orig_sfnt_data, length);
124 OT::name &name = OT::StructAtOffset<OT::name> (new_sfnt_data, name_table_offset);
148 const OT::OpenTypeFontFile &file = *(OT::OpenTypeFontFile *) (new_sfnt_data);
165 free (new_sfnt_data);
176 return hb_blob_create ((const char *)new_sfnt_data, new_length,
H A Dhb-uniscribe.cc368 void *new_sfnt_data = calloc (1, new_length); local
369 if (!new_sfnt_data)
375 memcpy(new_sfnt_data, orig_sfnt_data, length);
377 OT::name &name = OT::StructAtOffset<OT::name> (new_sfnt_data, name_table_offset);
401 const OT::OpenTypeFontFile &file = * (OT::OpenTypeFontFile *) (new_sfnt_data);
418 free (new_sfnt_data);
429 return hb_blob_create ((const char *) new_sfnt_data, new_length,

Completed in 53 milliseconds