Home
last modified time | relevance | path

Searched refs:record_size (Results 1 – 14 of 14) sorted by relevance

/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/
Dttpload.c492 FT_ULong table_size, record_size; in tt_face_load_hdmx() local
510 record_size = FT_NEXT_ULONG( p ); in tt_face_load_hdmx()
523 if ( record_size >= 0xFFFF0000UL ) in tt_face_load_hdmx()
524 record_size &= 0xFFFFU; in tt_face_load_hdmx()
528 if ( version != 0 || num_records > 255 || record_size > 0x10001L ) in tt_face_load_hdmx()
539 if ( p + record_size > limit ) in tt_face_load_hdmx()
543 p += record_size; in tt_face_load_hdmx()
548 face->hdmx_record_size = record_size; in tt_face_load_hdmx()
584 FT_ULong record_size = face->hdmx_record_size; in tt_face_get_device_metrics() local
592 if ( gindex < record_size ) in tt_face_get_device_metrics()
[all …]
/external/freetype/src/truetype/
Dttpload.c490 FT_ULong table_size, record_size; in tt_face_load_hdmx() local
508 record_size = FT_NEXT_ULONG( p ); in tt_face_load_hdmx()
521 if ( record_size >= 0xFFFF0000UL ) in tt_face_load_hdmx()
522 record_size &= 0xFFFFU; in tt_face_load_hdmx()
526 if ( version != 0 || num_records > 255 || record_size > 0x10001L ) in tt_face_load_hdmx()
537 if ( p + record_size > limit ) in tt_face_load_hdmx()
541 p += record_size; in tt_face_load_hdmx()
546 face->hdmx_record_size = record_size; in tt_face_load_hdmx()
582 FT_ULong record_size = face->hdmx_record_size; in tt_face_get_device_metrics() local
590 if ( gindex < record_size ) in tt_face_get_device_metrics()
[all …]
/external/chromium_org/third_party/freetype/src/truetype/
Dttpload.c490 FT_ULong table_size, record_size; in tt_face_load_hdmx() local
508 record_size = FT_NEXT_ULONG( p ); in tt_face_load_hdmx()
521 if ( record_size >= 0xFFFF0000UL ) in tt_face_load_hdmx()
522 record_size &= 0xFFFFU; in tt_face_load_hdmx()
526 if ( version != 0 || num_records > 255 || record_size > 0x10001L ) in tt_face_load_hdmx()
537 if ( p + record_size > limit ) in tt_face_load_hdmx()
541 p += record_size; in tt_face_load_hdmx()
546 face->hdmx_record_size = record_size; in tt_face_load_hdmx()
582 FT_ULong record_size = face->hdmx_record_size; in tt_face_get_device_metrics() local
590 if ( gindex < record_size ) in tt_face_get_device_metrics()
[all …]
/external/harfbuzz_ng/src/
Dhb-open-type-private.hh230 inline bool check_array (const void *base, unsigned int record_size, unsigned int len) const in check_array()
233 bool overflows = _hb_unsigned_int_mul_overflows (len, record_size); in check_array()
238 p, p + (record_size * len), record_size, len, (unsigned long) record_size * len, in check_array()
241 return TRACE_RETURN (likely (!overflows && this->check_range (base, record_size * len))); in check_array()
Dhb-ot-layout-gpos-table.hh584 unsigned int record_size = USHORT::static_size * (1 + len1 + len2); in collect_glyphs() local
591 record = &StructAtOffset<PairValueRecord> (record, record_size); in collect_glyphs()
603 unsigned int record_size = USHORT::static_size * (1 + len1 + len2); in apply() local
621 record = &StructAtOffset<PairValueRecord> (record, record_size); in apply()
783 unsigned int record_size = valueFormat1.get_size () + valueFormat2.get_size (); in sanitize() local
785 return TRACE_RETURN (c->check_array (values, record_size, count) && in sanitize()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-open-type-private.hh230 inline bool check_array (const void *base, unsigned int record_size, unsigned int len) const in check_array()
233 bool overflows = _hb_unsigned_int_mul_overflows (len, record_size); in check_array()
238 p, p + (record_size * len), record_size, len, (unsigned long) record_size * len, in check_array()
241 return TRACE_RETURN (likely (!overflows && this->check_range (base, record_size * len))); in check_array()
Dhb-ot-layout-gpos-table.hh584 unsigned int record_size = USHORT::static_size * (1 + len1 + len2); in collect_glyphs() local
591 record = &StructAtOffset<PairValueRecord> (record, record_size); in collect_glyphs()
603 unsigned int record_size = USHORT::static_size * (1 + len1 + len2); in apply() local
621 record = &StructAtOffset<PairValueRecord> (record, record_size); in apply()
783 unsigned int record_size = valueFormat1.get_size () + valueFormat2.get_size (); in sanitize() local
785 return TRACE_RETURN (c->check_array (values, record_size, count) && in sanitize()
/external/chromium_org/mojo/android/system/
Dcore_impl.cc67 const size_t record_size = 8; in WaitMany() local
69 DCHECK_EQ(buffer_size % record_size, 0u); in WaitMany()
71 const size_t nb_handles = buffer_size / record_size; in WaitMany()
/external/chromium_org/sync/internal_api/
Dbase_node.cc297 for (int i = 0; i < metadata.record_size(); ++i) { in GetAttachmentIds()
/external/chromium_org/sync/syncable/
Dmutable_entry.cc256 for (int i = 0; i < attachment_metadata.record_size(); ++i) { in UpdateAttachmentIdWithServerInfo()
Ddirectory.cc425 for (int i = 0; i < attachment_metadata.record_size(); ++i) { in RemoveFromAttachmentIndex()
443 for (int i = 0; i < attachment_metadata.record_size(); ++i) { in AddToAttachmentIndex()
Ddirectory_unittest.cc1647 ASSERT_EQ(2, entry_metadata.record_size()); in TEST_F()
/external/chromium_org/sync/engine/
Dget_commit_ids.cc113 for (int i = 0; i < metadata.record_size(); ++i) { in HasAttachmentNotOnServer()
/external/linux-tools-perf/perf-3.12.0/tools/lib/traceevent/
Devent-parse.h45 int record_size; /* size of binary record */ member