Home
last modified time | relevance | path

Searched refs:cur_offset (Results 1 – 6 of 6) sorted by relevance

/external/qemu/hw/
Dfw_cfg.c51 uint16_t cur_offset; member
61 if (s->cur_entry & FW_CFG_WRITE_CHANNEL && s->cur_offset < e->len) { in fw_cfg_write()
62 e->data[s->cur_offset++] = value; in fw_cfg_write()
63 if (s->cur_offset == e->len) { in fw_cfg_write()
65 s->cur_offset = 0; in fw_cfg_write()
74 s->cur_offset = 0; in fw_cfg_select()
94 if (s->cur_entry == FW_CFG_INVALID || !e->data || s->cur_offset >= e->len) in fw_cfg_read()
97 ret = e->data[s->cur_offset++]; in fw_cfg_read()
172 qemu_put_be16s(f, &s->cur_offset); in fw_cfg_save()
183 qemu_get_be16s(f, &s->cur_offset); in fw_cfg_load()
/external/harfbuzz/src/
Dharfbuzz-gdef.c86 HB_UInt cur_offset, new_offset, base_offset; in HB_Load_GDEF_Table() local
120 cur_offset = FILE_Pos(); in HB_Load_GDEF_Table()
125 (void)FILE_Seek( cur_offset ); in HB_Load_GDEF_Table()
139 cur_offset = FILE_Pos(); in HB_Load_GDEF_Table()
144 (void)FILE_Seek( cur_offset ); in HB_Load_GDEF_Table()
158 cur_offset = FILE_Pos(); in HB_Load_GDEF_Table()
163 (void)FILE_Seek( cur_offset ); in HB_Load_GDEF_Table()
281 HB_UInt cur_offset, new_offset, base_offset; in Load_AttachList() local
295 cur_offset = FILE_Pos(); in Load_AttachList()
299 (void)FILE_Seek( cur_offset ); in Load_AttachList()
[all …]
Dharfbuzz-gpos.c84 HB_UInt cur_offset, new_offset, base_offset; in HB_Load_GPOS_Table() local
116 cur_offset = FILE_Pos(); in HB_Load_GPOS_Table()
121 (void)FILE_Seek( cur_offset ); in HB_Load_GPOS_Table()
130 cur_offset = FILE_Pos(); in HB_Load_GPOS_Table()
135 (void)FILE_Seek( cur_offset ); in HB_Load_GPOS_Table()
144 cur_offset = FILE_Pos(); in HB_Load_GPOS_Table()
208 HB_UInt cur_offset, new_offset; in Load_ValueRecord() local
286 cur_offset = FILE_Pos(); in Load_ValueRecord()
291 (void)FILE_Seek( cur_offset ); in Load_ValueRecord()
308 cur_offset = FILE_Pos(); in Load_ValueRecord()
[all …]
Dharfbuzz-gsub.c54 HB_UInt cur_offset, new_offset, base_offset; in HB_Load_GSUB_Table() local
80 cur_offset = FILE_Pos(); in HB_Load_GSUB_Table()
85 (void)FILE_Seek( cur_offset ); in HB_Load_GSUB_Table()
94 cur_offset = FILE_Pos(); in HB_Load_GSUB_Table()
99 (void)FILE_Seek( cur_offset ); in HB_Load_GSUB_Table()
108 cur_offset = FILE_Pos(); in HB_Load_GSUB_Table()
170 HB_UInt cur_offset, new_offset, base_offset; in Load_SingleSubst() local
185 cur_offset = FILE_Pos(); in Load_SingleSubst()
189 (void)FILE_Seek( cur_offset ); in Load_SingleSubst()
381 HB_UInt cur_offset, new_offset, base_offset; in Load_MultipleSubst() local
[all …]
Dharfbuzz-open.c89 HB_UInt cur_offset, new_offset, base_offset; in Load_Script() local
105 cur_offset = FILE_Pos(); in Load_Script()
110 (void)FILE_Seek( cur_offset ); in Load_Script()
155 cur_offset = FILE_Pos(); in Load_Script()
159 (void)FILE_Seek( cur_offset ); in Load_Script()
207 HB_UInt cur_offset, new_offset, base_offset; in _HB_OPEN_Load_ScriptList() local
239 cur_offset = FILE_Pos(); in _HB_OPEN_Load_ScriptList()
250 (void)FILE_Seek( cur_offset ); in _HB_OPEN_Load_ScriptList()
359 HB_UInt cur_offset, new_offset, base_offset; in _HB_OPEN_Load_FeatureList() local
394 cur_offset = FILE_Pos(); in _HB_OPEN_Load_FeatureList()
[all …]
/external/freetype/src/cff/
Dcffload.c407 FT_ULong n, cur_offset; in cff_index_get_pointers() local
413 cur_offset = idx->offsets[0] - 1; in cff_index_get_pointers()
416 if ( cur_offset >= idx->data_size ) in cff_index_get_pointers()
420 cur_offset )); in cff_index_get_pointers()
421 cur_offset = 0; in cff_index_get_pointers()
425 t[0] = org_bytes + cur_offset; in cff_index_get_pointers()
427 t[0] = new_bytes + cur_offset; in cff_index_get_pointers()
436 next_offset < cur_offset || in cff_index_get_pointers()
438 next_offset = cur_offset; in cff_index_get_pointers()
446 if ( next_offset != cur_offset ) in cff_index_get_pointers()
[all …]