Home
last modified time | relevance | path

Searched refs:ReadU16 (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium_org/third_party/ots/src/
Dlayout.cc52 if (!subtable->ReadU16(&offset_lookup_order) || in ParseLangSysTable()
53 !subtable->ReadU16(&req_feature_index) || in ParseLangSysTable()
54 !subtable->ReadU16(&feature_count)) { in ParseLangSysTable()
71 if (!subtable->ReadU16(&feature_index)) { in ParseLangSysTable()
87 if (!subtable.ReadU16(&offset_default_lang_sys) || in ParseScriptTable()
88 !subtable.ReadU16(&lang_sys_count)) { in ParseScriptTable()
111 !subtable.ReadU16(&lang_sys_records[i].offset)) { in ParseScriptTable()
144 if (!subtable.ReadU16(&offset_feature_params) || in ParseFeatureTable()
145 !subtable.ReadU16(&lookup_count)) { in ParseFeatureTable()
163 if (!subtable.ReadU16(&lookup_index)) { in ParseFeatureTable()
[all …]
Dmaxp.cc27 if (!table.ReadU16(&maxp->num_glyphs)) { in ots_maxp_parse()
37 if (!table.ReadU16(&maxp->max_points) || in ots_maxp_parse()
38 !table.ReadU16(&maxp->max_contours) || in ots_maxp_parse()
39 !table.ReadU16(&maxp->max_c_points) || in ots_maxp_parse()
40 !table.ReadU16(&maxp->max_c_contours) || in ots_maxp_parse()
41 !table.ReadU16(&maxp->max_zones) || in ots_maxp_parse()
42 !table.ReadU16(&maxp->max_t_points) || in ots_maxp_parse()
43 !table.ReadU16(&maxp->max_storage) || in ots_maxp_parse()
44 !table.ReadU16(&maxp->max_fdefs) || in ots_maxp_parse()
45 !table.ReadU16(&maxp->max_idefs) || in ots_maxp_parse()
[all …]
Dgpos.cc95 if (!subtable->ReadU16(&offset)) { in ParseValueRecord()
118 if (!subtable.ReadU16(&format) || in ParseAnchorTable()
132 if (!subtable.ReadU16(&anchor_point)) { in ParseAnchorTable()
138 if (!subtable.ReadU16(&offset_x_device) || in ParseAnchorTable()
139 !subtable.ReadU16(&offset_y_device)) { in ParseAnchorTable()
170 if (!subtable.ReadU16(&mark_count)) { in ParseMarkArrayTable()
182 if (!subtable.ReadU16(&class_value) || in ParseMarkArrayTable()
183 !subtable.ReadU16(&offset_mark_anchor)) { in ParseMarkArrayTable()
210 if (!subtable.ReadU16(&format) || in ParseSingleAdjustment()
211 !subtable.ReadU16(&offset_coverage) || in ParseSingleAdjustment()
[all …]
Dgsub.cc80 if (!subtable.ReadU16(&format) || in ParseSingleSubstitution()
81 !subtable.ReadU16(&offset_coverage)) { in ParseSingleSubstitution()
98 if (!subtable.ReadU16(&glyph_count)) { in ParseSingleSubstitution()
106 if (!subtable.ReadU16(&substitute)) { in ParseSingleSubstitution()
134 if (!subtable.ReadU16(&glyph_count)) { in ParseSequenceTable()
142 if (!subtable.ReadU16(&substitute)) { in ParseSequenceTable()
163 if (!subtable.ReadU16(&format) || in ParseMutipleSubstitution()
164 !subtable.ReadU16(&offset_coverage) || in ParseMutipleSubstitution()
165 !subtable.ReadU16(&sequence_count)) { in ParseMutipleSubstitution()
181 if (!subtable.ReadU16(&offset_sequence)) { in ParseMutipleSubstitution()
[all …]
Dmath.cc60 if (!subtable->ReadU16(&offset)) { in ParseMathValueRecord()
166 if (!subtable->ReadU16(&offset_coverage) || in ParseMathValueRecordSequenceForGlyphs()
167 !subtable->ReadU16(&sequence_count)) { in ParseMathValueRecordSequenceForGlyphs()
218 if (!subtable.ReadU16(&height_count)) { in ParseMathKernTable()
246 if (!subtable.ReadU16(&offset_coverage) || in ParseMathKernInfoTable()
247 !subtable.ReadU16(&sequence_count)) { in ParseMathKernInfoTable()
271 if (!subtable.ReadU16(&offset_math_kern)) { in ParseMathKernInfoTable()
296 if (!subtable.ReadU16(&offset_math_italics_correction_info) || in ParseMathGlyphInfoTable()
297 !subtable.ReadU16(&offset_math_top_accent_attachment) || in ParseMathGlyphInfoTable()
298 !subtable.ReadU16(&offset_extended_shaped_coverage) || in ParseMathGlyphInfoTable()
[all …]
Dgdef.cc41 if (!subtable.ReadU16(&offset_coverage) || in ParseAttachListTable()
42 !subtable.ReadU16(&glyph_count)) { in ParseAttachListTable()
62 if (!subtable.ReadU16(&attach_points[i])) { in ParseAttachListTable()
81 if (!subtable.ReadU16(&point_count)) { in ParseAttachListTable()
90 if (!subtable.ReadU16(&point_index)) { in ParseAttachListTable()
110 if (!subtable.ReadU16(&offset_coverage) || in ParseLigCaretListTable()
111 !subtable.ReadU16(&lig_glyph_count)) { in ParseLigCaretListTable()
131 if (!subtable.ReadU16(&lig_glyphs[i])) { in ParseLigCaretListTable()
149 if (!subtable.ReadU16(&caret_count)) { in ParseLigCaretListTable()
162 if (!subtable.ReadU16(&caret_values[j])) { in ParseLigCaretListTable()
[all …]
Dkern.cc22 if (!table.ReadU16(&kern->version) || in ots_kern_parse()
23 !table.ReadU16(&num_tables)) { in ots_kern_parse()
43 if (!table.ReadU16(&subtable.version) || in ots_kern_parse()
44 !table.ReadU16(&sub_length)) { in ots_kern_parse()
58 if (!table.ReadU16(&subtable.coverage)) { in ots_kern_parse()
80 if (!table.ReadU16(&num_pairs) || in ots_kern_parse()
81 !table.ReadU16(&subtable.search_range) || in ots_kern_parse()
82 !table.ReadU16(&subtable.entry_selector) || in ots_kern_parse()
83 !table.ReadU16(&subtable.range_shift)) { in ots_kern_parse()
126 if (!table.ReadU16(&kerning_pair.left) || in ots_kern_parse()
[all …]
Dname.cc66 if (!table.ReadU16(&format) || format > 1) { in ots_name_parse()
71 if (!table.ReadU16(&count)) { in ots_name_parse()
76 if (!table.ReadU16(&string_offset) || string_offset > length) { in ots_name_parse()
92 if (!table.ReadU16(&rec.platform_id) || in ots_name_parse()
93 !table.ReadU16(&rec.encoding_id) || in ots_name_parse()
94 !table.ReadU16(&rec.language_id) || in ots_name_parse()
95 !table.ReadU16(&rec.name_id) || in ots_name_parse()
96 !table.ReadU16(&name_length) || in ots_name_parse()
97 !table.ReadU16(&name_offset)) { in ots_name_parse()
168 if (!table.ReadU16(&lang_tag_count)) { in ots_name_parse()
[all …]
Dos2.cc20 if (!table.ReadU16(&os2->version) || in ots_os2_parse()
22 !table.ReadU16(&os2->weight_class) || in ots_os2_parse()
23 !table.ReadU16(&os2->width_class) || in ots_os2_parse()
24 !table.ReadU16(&os2->type) || in ots_os2_parse()
106 !table.ReadU16(&os2->selection) || in ots_os2_parse()
107 !table.ReadU16(&os2->first_char_index) || in ots_os2_parse()
108 !table.ReadU16(&os2->last_char_index) || in ots_os2_parse()
112 !table.ReadU16(&os2->win_ascent) || in ots_os2_parse()
113 !table.ReadU16(&os2->win_descent)) { in ots_os2_parse()
196 !table.ReadU16(&os2->default_char) || in ots_os2_parse()
[all …]
Dgasp.cc22 if (!table.ReadU16(&gasp->version) || in ots_gasp_parse()
23 !table.ReadU16(&num_ranges)) { in ots_gasp_parse()
44 if (!table.ReadU16(&max_ppem) || in ots_gasp_parse()
45 !table.ReadU16(&behavior)) { in ots_gasp_parse()
Dvdmx.cc20 if (!table.ReadU16(&vdmx->version) || in ots_vdmx_parse()
21 !table.ReadU16(&vdmx->num_recs) || in ots_vdmx_parse()
22 !table.ReadU16(&vdmx->num_ratios)) { in ots_vdmx_parse()
75 if (!table.ReadU16(&offset)) { in ots_vdmx_parse()
88 if (!table.ReadU16(&group.recs) || in ots_vdmx_parse()
96 if (!table.ReadU16(&vt.y_pel_height) || in ots_vdmx_parse()
Dvorg.cc23 if (!table.ReadU16(&vorg->major_version) || in ots_vorg_parse()
24 !table.ReadU16(&vorg->minor_version) || in ots_vorg_parse()
26 !table.ReadU16(&num_recs)) { in ots_vorg_parse()
50 if (!table.ReadU16(&rec.glyph_index) || in ots_vorg_parse()
Dcmap.cc77 if (!subtable.ReadU16(&language)) { in ParseFormat4()
87 if (!subtable.ReadU16(&segcountx2) || in ParseFormat4()
88 !subtable.ReadU16(&search_range) || in ParseFormat4()
89 !subtable.ReadU16(&entry_selector) || in ParseFormat4()
90 !subtable.ReadU16(&range_shift)) { in ParseFormat4()
126 if (!subtable.ReadU16(&ranges[i].end_range)) { in ParseFormat4()
132 if (!subtable.ReadU16(&padding)) { in ParseFormat4()
140 if (!subtable.ReadU16(&ranges[i].start_range)) { in ParseFormat4()
151 if (!subtable.ReadU16(&ranges[i].id_range_offset)) { in ParseFormat4()
355 if (!subtable.ReadU16(&language)) { in Parse31013()
[all …]
Dhead.cc39 if (!table.ReadU16(&file->head->flags)) { in ots_head_parse()
46 if (!table.ReadU16(&file->head->ppem)) { in ots_head_parse()
84 if (!table.ReadU16(&file->head->mac_style)) { in ots_head_parse()
91 if (!table.ReadU16(&file->head->min_ppem)) { in ots_head_parse()
Dltsh.cc28 if (!table.ReadU16(&ltsh->version) || in ots_ltsh_parse()
29 !table.ReadU16(&num_glyphs)) { in ots_ltsh_parse()
Dmetrics.cc21 !table->ReadU16(&header->adv_width_max) || in ParseMetricsHeader()
64 if (!table->ReadU16(&header->num_metrics)) { in ParseMetricsHeader()
121 if (!table->ReadU16(&adv) || !table->ReadS16(&sb)) { in ParseMetricsTable()
Dcff.cc61 if (!table->ReadU16(&(index->count))) { in ParseIndex()
704 if (!table.ReadU16(&n_ranges)) { in ParseDictData()
715 if (!table.ReadU16(&first)) { in ParseDictData()
744 if (!table.ReadU16(&sentinel)) { in ParseDictData()
841 if (!table.ReadU16(&sid)) { in ParseDictData()
856 if (!table.ReadU16(&sid)) { in ParseDictData()
872 if (!table.ReadU16(&left)) { in ParseDictData()
/external/chromium_org/cloud_print/gcp20/prototype/
Ddns_packet_parser.cc15 is_header_read_ = reader.ReadU16(&header_.id) && in DnsPacketParser()
16 reader.ReadU16(&header_.flags) && in DnsPacketParser()
17 reader.ReadU16(&header_.qdcount) && in DnsPacketParser()
18 reader.ReadU16(&header_.ancount) && in DnsPacketParser()
19 reader.ReadU16(&header_.nscount) && in DnsPacketParser()
20 reader.ReadU16(&header_.arcount); in DnsPacketParser()
31 if (reader.ReadU16(&result.qtype) && reader.ReadU16(&result.qclass) && in ReadRecord()
/external/chromium_org/media/cast/net/rtp/
Drtp_parser.cc53 if (!reader.ReadU16(&header->sequence_number) || in ParsePacket()
71 !reader.ReadU16(&header->packet_id) || in ParsePacket()
72 !reader.ReadU16(&header->max_packet_id)) { in ParsePacket()
91 if (!reader.ReadU16(&type_and_size)) in ParsePacket()
99 if (!chunk.ReadU16(&header->new_playout_delay_ms)) in ParsePacket()
Drtp_header_parser.cc92 big_endian_reader.ReadU16(&parsed_packet->packet_id); in ParseCast()
93 big_endian_reader.ReadU16(&parsed_packet->max_packet_id); in ParseCast()
/external/chromium_org/media/cast/net/rtcp/
Drtcp_utility.cc90 if (!reader->ReadU16(&bytes)) in ParseCommonHeader()
203 if (!reader->ReadU16(&delay_delta_or_packet_id) || in ParseCastReceiverLogFrameItem()
204 !reader->ReadU16(&event_type_and_timestamp_delta)) in ParseCastReceiverLogFrameItem()
259 !reader->ReadU16(&cast_message_.target_delay_ms)) in ParseFeedbackCommon()
270 !reader->ReadU16(&packet_id) || in ParseFeedbackCommon()
303 !reader->ReadU16(&block_length)) in ParseExtendedReport()
/external/chromium_org/media/cast/logging/
Dlog_deserializer.cc78 if (!reader->ReadU16(&proto_size)) in PopulateDeserializedLog()
111 if (!reader->ReadU16(&proto_size)) in PopulateDeserializedLog()
152 if (!reader.ReadU16(&proto_size)) in DoDeserializeEvents()
Dlogging_impl.cc67 cast_big_endian_reader.ReadU16(&packet_id); in InsertSinglePacketEvent()
68 cast_big_endian_reader.ReadU16(&max_packet_id); in InsertSinglePacketEvent()
/external/chromium_org/third_party/brotli/src/woff2/
Dbuffer.h100 bool ReadU16(uint16_t *value) { in ReadU16() function
111 return ReadU16(reinterpret_cast<uint16_t*>(value)); in ReadS16()
Dfont.cc44 !file.ReadU16(&font->num_tables) || in ReadFont()
154 !loca_buf.ReadU16(&offset1) || in GetGlyphData()
155 !loca_buf.ReadU16(&offset2) || in GetGlyphData()

12