Lines Matching defs:file
3 // found in the LICENSE file.
15 bool ots_cblc_parse(OpenTypeFile *file, const uint8_t *data, size_t length) {
20 file->cblc = new OpenTypeCBLC;
21 file->cblc->data = data;
22 file->cblc->length = length;
26 bool ots_cblc_should_serialise(OpenTypeFile *file) {
27 return file->cblc != NULL && file->cbdt != NULL;
30 bool ots_cblc_serialise(OTSStream *out, OpenTypeFile *file) {
31 if (!out->Write(file->cblc->data, file->cblc->length)) {
37 void ots_cblc_free(OpenTypeFile *file) {
38 delete file->cblc;