Home
last modified time | relevance | path

Searched refs:new_offset (Results 1 – 18 of 18) sorted by relevance

/external/harfbuzz/src/
Dharfbuzz-gdef.c86 HB_UInt cur_offset, new_offset, base_offset; in HB_Load_GDEF_Table() local
108 new_offset = GET_UShort(); in HB_Load_GDEF_Table()
114 if ( new_offset ) in HB_Load_GDEF_Table()
116 new_offset += base_offset; in HB_Load_GDEF_Table()
121 if ( FILE_Seek( new_offset ) || in HB_Load_GDEF_Table()
131 new_offset = GET_UShort(); in HB_Load_GDEF_Table()
135 if ( new_offset ) in HB_Load_GDEF_Table()
137 new_offset += base_offset; in HB_Load_GDEF_Table()
140 if ( FILE_Seek( new_offset ) || in HB_Load_GDEF_Table()
150 new_offset = GET_UShort(); in HB_Load_GDEF_Table()
[all …]
Dharfbuzz-gpos.c84 HB_UInt cur_offset, new_offset, base_offset; in HB_Load_GPOS_Table() local
112 new_offset = GET_UShort() + base_offset; in HB_Load_GPOS_Table()
117 if ( FILE_Seek( new_offset ) || in HB_Load_GPOS_Table()
126 new_offset = GET_UShort() + base_offset; in HB_Load_GPOS_Table()
131 if ( FILE_Seek( new_offset ) || in HB_Load_GPOS_Table()
140 new_offset = GET_UShort() + base_offset; in HB_Load_GPOS_Table()
145 if ( FILE_Seek( new_offset ) || in HB_Load_GPOS_Table()
208 HB_UInt cur_offset, new_offset; in Load_ValueRecord() local
278 new_offset = GET_UShort(); in Load_ValueRecord()
282 if ( new_offset ) in Load_ValueRecord()
[all …]
Dharfbuzz-gsub.c54 HB_UInt cur_offset, new_offset, base_offset; in HB_Load_GSUB_Table() local
76 new_offset = GET_UShort() + base_offset; in HB_Load_GSUB_Table()
81 if ( FILE_Seek( new_offset ) || in HB_Load_GSUB_Table()
90 new_offset = GET_UShort() + base_offset; in HB_Load_GSUB_Table()
95 if ( FILE_Seek( new_offset ) || in HB_Load_GSUB_Table()
104 new_offset = GET_UShort() + base_offset; in HB_Load_GSUB_Table()
109 if ( FILE_Seek( new_offset ) || in HB_Load_GSUB_Table()
170 HB_UInt cur_offset, new_offset, base_offset; in Load_SingleSubst() local
181 new_offset = GET_UShort() + base_offset; in Load_SingleSubst()
186 if ( FILE_Seek( new_offset ) || in Load_SingleSubst()
[all …]
Dharfbuzz-open.c89 HB_UInt cur_offset, new_offset, base_offset; in Load_Script() local
99 new_offset = GET_UShort() + base_offset; in Load_Script()
103 if ( new_offset != base_offset ) /* not a NULL offset */ in Load_Script()
106 if ( FILE_Seek( new_offset ) || in Load_Script()
151 new_offset = GET_UShort() + base_offset; in Load_Script()
156 if ( FILE_Seek( new_offset ) || in Load_Script()
207 HB_UInt cur_offset, new_offset, base_offset; in _HB_OPEN_Load_ScriptList() local
235 new_offset = GET_UShort() + base_offset; in _HB_OPEN_Load_ScriptList()
241 if ( FILE_Seek( new_offset ) ) in _HB_OPEN_Load_ScriptList()
359 HB_UInt cur_offset, new_offset, base_offset; in _HB_OPEN_Load_FeatureList() local
[all …]
/external/harfbuzz_ng/src/hb-old/
Dharfbuzz-gdef.c86 HB_UInt cur_offset, new_offset, base_offset; in HB_Load_GDEF_Table() local
108 new_offset = GET_UShort(); in HB_Load_GDEF_Table()
114 if ( new_offset ) in HB_Load_GDEF_Table()
116 new_offset += base_offset; in HB_Load_GDEF_Table()
121 if ( FILE_Seek( new_offset ) || in HB_Load_GDEF_Table()
131 new_offset = GET_UShort(); in HB_Load_GDEF_Table()
135 if ( new_offset ) in HB_Load_GDEF_Table()
137 new_offset += base_offset; in HB_Load_GDEF_Table()
140 if ( FILE_Seek( new_offset ) || in HB_Load_GDEF_Table()
150 new_offset = GET_UShort(); in HB_Load_GDEF_Table()
[all …]
Dharfbuzz-gpos.c84 HB_UInt cur_offset, new_offset, base_offset; in HB_Load_GPOS_Table() local
112 new_offset = GET_UShort() + base_offset; in HB_Load_GPOS_Table()
117 if ( FILE_Seek( new_offset ) || in HB_Load_GPOS_Table()
126 new_offset = GET_UShort() + base_offset; in HB_Load_GPOS_Table()
131 if ( FILE_Seek( new_offset ) || in HB_Load_GPOS_Table()
140 new_offset = GET_UShort() + base_offset; in HB_Load_GPOS_Table()
145 if ( FILE_Seek( new_offset ) || in HB_Load_GPOS_Table()
208 HB_UInt cur_offset, new_offset; in Load_ValueRecord() local
278 new_offset = GET_UShort(); in Load_ValueRecord()
282 if ( new_offset ) in Load_ValueRecord()
[all …]
Dharfbuzz-gsub.c54 HB_UInt cur_offset, new_offset, base_offset; in HB_Load_GSUB_Table() local
76 new_offset = GET_UShort() + base_offset; in HB_Load_GSUB_Table()
81 if ( FILE_Seek( new_offset ) || in HB_Load_GSUB_Table()
90 new_offset = GET_UShort() + base_offset; in HB_Load_GSUB_Table()
95 if ( FILE_Seek( new_offset ) || in HB_Load_GSUB_Table()
104 new_offset = GET_UShort() + base_offset; in HB_Load_GSUB_Table()
109 if ( FILE_Seek( new_offset ) || in HB_Load_GSUB_Table()
170 HB_UInt cur_offset, new_offset, base_offset; in Load_SingleSubst() local
181 new_offset = GET_UShort() + base_offset; in Load_SingleSubst()
186 if ( FILE_Seek( new_offset ) || in Load_SingleSubst()
[all …]
Dharfbuzz-open.c89 HB_UInt cur_offset, new_offset, base_offset; in Load_Script() local
99 new_offset = GET_UShort() + base_offset; in Load_Script()
103 if ( new_offset != base_offset ) /* not a NULL offset */ in Load_Script()
106 if ( FILE_Seek( new_offset ) || in Load_Script()
151 new_offset = GET_UShort() + base_offset; in Load_Script()
156 if ( FILE_Seek( new_offset ) || in Load_Script()
207 HB_UInt cur_offset, new_offset, base_offset; in _HB_OPEN_Load_ScriptList() local
235 new_offset = GET_UShort() + base_offset; in _HB_OPEN_Load_ScriptList()
241 if ( FILE_Seek( new_offset ) ) in _HB_OPEN_Load_ScriptList()
359 HB_UInt cur_offset, new_offset, base_offset; in _HB_OPEN_Load_FeatureList() local
[all …]
/external/chromium/net/base/
Dfile_stream_unittest.cc90 int64 new_offset = stream.Seek(FROM_BEGIN, 5); in TEST_F() local
91 EXPECT_EQ(ERR_UNEXPECTED, new_offset); in TEST_F()
210 int64 new_offset = stream.Seek(FROM_BEGIN, kOffset); in TEST_F() local
211 EXPECT_EQ(kOffset, new_offset); in TEST_F()
246 int64 new_offset = stream.Seek(FROM_BEGIN, kOffset); in TEST_F() local
247 EXPECT_EQ(kOffset, new_offset); in TEST_F()
280 int64 new_offset = stream.Seek(FROM_BEGIN, kOffset); in TEST_F() local
281 EXPECT_EQ(kOffset, new_offset); in TEST_F()
283 new_offset = stream.Seek(FROM_CURRENT, kOffset); in TEST_F()
284 EXPECT_EQ(2 * kOffset, new_offset); in TEST_F()
[all …]
/external/e2fsprogs/ext2ed/
Dgeneral_com.c205 long new_offset; in set_offset() local
247 new_offset=device_offset+atol (new_offset_buffer+1)*mult; in set_offset()
255 new_offset=device_offset-atol (new_offset_buffer+1)*mult; in set_offset()
256 if (new_offset<0) new_offset=0; in set_offset()
260 new_offset=atol (new_offset_buffer)*mult; in set_offset()
262 if ( (fseek (device_handle,new_offset,SEEK_SET))==-1) { in set_offset()
263 …wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",new_offset,device_name); in set_offset()
267 device_offset=new_offset; in set_offset()
/external/chromium/chrome/browser/ui/views/tabs/
Dside_tab_strip.cc429 void SideTabStrip::SetFirstTabYOffset(int new_offset) { in SetFirstTabYOffset() argument
435 new_offset = std::max(max_offset, std::min(0, new_offset)); in SetFirstTabYOffset()
436 if (new_offset == first_tab_y_offset_) in SetFirstTabYOffset()
440 first_tab_y_offset_ = new_offset; in SetFirstTabYOffset()
Dside_tab_strip.h65 void SetFirstTabYOffset(int new_offset);
/external/harfbuzz_ng/src/
Dhb-ot-layout-common-private.hh517 Offset new_offset; in sanitize() local
519 new_offset.set (new_offset_int); in sanitize()
520 if (new_offset == new_offset_int && in sanitize()
521 featureParams.try_set (c, new_offset) && in sanitize()
/external/bluetooth/bluedroid/stack/l2cap/
Dl2c_fcr.c336 BT_HDR *l2c_fcr_clone_buf (BT_HDR *p_buf, UINT16 new_offset, UINT16 no_of_bytes, UINT8 pool) in l2c_fcr_clone_buf() argument
352 if ((no_of_bytes + sizeof(BT_HDR) + new_offset) > pool_buf_size) in l2c_fcr_clone_buf()
355 (no_of_bytes + sizeof(BT_HDR) + new_offset), in l2c_fcr_clone_buf()
357 new_offset); in l2c_fcr_clone_buf()
363 p_buf2->offset = new_offset; in l2c_fcr_clone_buf()
Dl2c_int.h742 extern BT_HDR *l2c_fcr_clone_buf (BT_HDR *p_buf, UINT16 new_offset, UINT16 no_of_bytes, UINT8 poo…
/external/opencv/cxcore/src/
Dcxpersistence.cpp1363 int new_offset; in icvYMLWrite() local
1367 new_offset = (int)(ptr - fs->buffer_start) + keylen + datalen; in icvYMLWrite()
1368 if( new_offset > fs->wrap_margin && new_offset - fs->struct_indent > 10 ) in icvYMLWrite()
2453 int new_offset = (int)(ptr - fs->buffer_start) + len; in icvXMLWriteScalar() local
2460 if( (new_offset > fs->wrap_margin && new_offset - fs->struct_indent > 10) || in icvXMLWriteScalar()
/external/qemu/
Dvnc.c615 int old_offset, new_offset, bytes_written; in send_framebuffer_update_zlib() local
632 new_offset = vs->output.offset; in send_framebuffer_update_zlib()
635 vs->output.offset = new_offset; in send_framebuffer_update_zlib()
Dvnc-android.c621 int old_offset, new_offset, bytes_written; in send_framebuffer_update_zlib() local
638 new_offset = vs->output.offset; in send_framebuffer_update_zlib()
641 vs->output.offset = new_offset; in send_framebuffer_update_zlib()