Home
last modified time | relevance | path

Searched refs:num_ranges (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/ots/src/
Dgasp.cc21 uint16_t num_ranges = 0; in ots_gasp_parse() local
23 !table.ReadU16(&num_ranges)) { in ots_gasp_parse()
34 if (num_ranges == 0) { in ots_gasp_parse()
40 gasp->gasp_ranges.reserve(num_ranges); in ots_gasp_parse()
41 for (unsigned i = 0; i < num_ranges; ++i) { in ots_gasp_parse()
55 if ((i == num_ranges - 1u) && // never underflow. in ots_gasp_parse()
Dcmap.cc473 uint32_t num_ranges = 0; in Parse0514() local
474 if (!subtable.ReadU32(&num_ranges)) { in Parse0514()
477 if (!num_ranges || num_ranges > kMaxCMAPGroups) { in Parse0514()
484 ranges.resize(num_ranges); in Parse0514()
486 for (unsigned j = 0; j < num_ranges; ++j) { in Parse0514()
895 const unsigned num_ranges = ranges.size(); in ots_cmap_serialise() local
897 !out->WriteU32(num_ranges)) { in ots_cmap_serialise()
900 for (unsigned j = 0; j < num_ranges; ++j) { in ots_cmap_serialise()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
Dsvga_resource_buffer_upload.c184 uint32 numBoxes = sbuf->map.num_ranges; in svga_buffer_upload_command()
260 assert(sbuf->map.num_ranges); in svga_buffer_upload_flush()
271 for (i = 0; i < sbuf->map.num_ranges; ++i) { in svga_buffer_upload_flush()
286 sbuf->map.num_ranges = 0; in svga_buffer_upload_flush()
327 if (sbuf->map.num_ranges < SVGA_BUFFER_MAX_RANGES) { in svga_buffer_add_range()
328 nearest_range = sbuf->map.num_ranges; in svga_buffer_add_range()
339 for (i = 0; i < sbuf->map.num_ranges; ++i) { in svga_buffer_add_range()
385 if (sbuf->map.num_ranges < SVGA_BUFFER_MAX_RANGES) { in svga_buffer_add_range()
390 sbuf->map.ranges[sbuf->map.num_ranges].start = start; in svga_buffer_add_range()
391 sbuf->map.ranges[sbuf->map.num_ranges].end = end; in svga_buffer_add_range()
[all …]
Dsvga_resource_buffer.h117 unsigned num_ranges; member
Dsvga_resource_buffer.c108 sbuf->map.num_ranges = 0; in svga_buffer_get_transfer()
113 if (!sbuf->map.num_ranges) { in svga_buffer_get_transfer()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer_upload.c184 uint32 numBoxes = sbuf->map.num_ranges; in svga_buffer_upload_command()
260 assert(sbuf->map.num_ranges); in svga_buffer_upload_flush()
271 for (i = 0; i < sbuf->map.num_ranges; ++i) { in svga_buffer_upload_flush()
286 sbuf->map.num_ranges = 0; in svga_buffer_upload_flush()
327 if (sbuf->map.num_ranges < SVGA_BUFFER_MAX_RANGES) { in svga_buffer_add_range()
328 nearest_range = sbuf->map.num_ranges; in svga_buffer_add_range()
339 for (i = 0; i < sbuf->map.num_ranges; ++i) { in svga_buffer_add_range()
385 if (sbuf->map.num_ranges < SVGA_BUFFER_MAX_RANGES) { in svga_buffer_add_range()
390 sbuf->map.ranges[sbuf->map.num_ranges].start = start; in svga_buffer_add_range()
391 sbuf->map.ranges[sbuf->map.num_ranges].end = end; in svga_buffer_add_range()
[all …]
Dsvga_resource_buffer.h117 unsigned num_ranges; member
Dsvga_resource_buffer.c108 sbuf->map.num_ranges = 0; in svga_buffer_get_transfer()
113 if (!sbuf->map.num_ranges) { in svga_buffer_get_transfer()
/external/chromium_org/base/metrics/
Dbucket_ranges.cc98 BucketRanges::BucketRanges(size_t num_ranges) in BucketRanges() argument
99 : ranges_(num_ranges, 0), in BucketRanges()
Dbucket_ranges.h33 explicit BucketRanges(size_t num_ranges);
/external/chromium_org/third_party/freetype/src/sfnt/
Dttload.c1217 FT_UInt j,num_ranges; in tt_face_load_gasp() local
1242 num_ranges = face->gasp.numRanges; in tt_face_load_gasp()
1243 FT_TRACE3(( "numRanges: %u\n", num_ranges )); in tt_face_load_gasp()
1245 if ( FT_QNEW_ARRAY( face->gasp.gaspRanges, num_ranges ) || in tt_face_load_gasp()
1246 FT_FRAME_ENTER( num_ranges * 4L ) ) in tt_face_load_gasp()
1251 for ( j = 0; j < num_ranges; j++ ) in tt_face_load_gasp()
Dttcmap.c649 FT_UInt num_ranges; member
669 cmap->num_ranges = FT_PEEK_USHORT( p ) >> 1; in tt_cmap4_init()
683 FT_UInt num_ranges = cmap->num_ranges; in tt_cmap4_set_range() local
686 while ( range_index < num_ranges ) in tt_cmap4_set_range()
694 p += 2 + num_ranges * 2; in tt_cmap4_set_range()
697 p += num_ranges * 2; in tt_cmap4_set_range()
700 p += num_ranges * 2; in tt_cmap4_set_range()
705 if ( range_index >= num_ranges - 1 && in tt_cmap4_set_range()
Dttsbit0.c801 FT_ULong num_ranges = decoder->strike_index_count; in tt_sbit_decoder_load_image() local
806 for ( ; num_ranges > 0; num_ranges-- ) in tt_sbit_decoder_load_image()
Dttsbit.c959 FT_ULong num_ranges = decoder->strike_index_count; in tt_sbit_decoder_load_image() local
964 for ( ; num_ranges > 0; num_ranges-- ) in tt_sbit_decoder_load_image()
/external/freetype/src/sfnt/
Dttload.c1217 FT_UInt j,num_ranges; in tt_face_load_gasp() local
1242 num_ranges = face->gasp.numRanges; in tt_face_load_gasp()
1243 FT_TRACE3(( "numRanges: %u\n", num_ranges )); in tt_face_load_gasp()
1245 if ( FT_QNEW_ARRAY( face->gasp.gaspRanges, num_ranges ) || in tt_face_load_gasp()
1246 FT_FRAME_ENTER( num_ranges * 4L ) ) in tt_face_load_gasp()
1251 for ( j = 0; j < num_ranges; j++ ) in tt_face_load_gasp()
Dttcmap.c649 FT_UInt num_ranges; member
669 cmap->num_ranges = FT_PEEK_USHORT( p ) >> 1; in tt_cmap4_init()
683 FT_UInt num_ranges = cmap->num_ranges; in tt_cmap4_set_range() local
686 while ( range_index < num_ranges ) in tt_cmap4_set_range()
694 p += 2 + num_ranges * 2; in tt_cmap4_set_range()
697 p += num_ranges * 2; in tt_cmap4_set_range()
700 p += num_ranges * 2; in tt_cmap4_set_range()
705 if ( range_index >= num_ranges - 1 && in tt_cmap4_set_range()
Dttsbit.c959 FT_ULong num_ranges = decoder->strike_index_count; in tt_sbit_decoder_load_image() local
964 for ( ; num_ranges > 0; num_ranges-- ) in tt_sbit_decoder_load_image()
/external/chromium/chrome/browser/printing/
Dprint_dialog_gtk.cc273 gint num_ranges; in OnResponse() local
275 gtk_print_settings_get_page_ranges(gtk_settings_, &num_ranges); in OnResponse()
277 for (int i = 0; i < num_ranges; ++i) { in OnResponse()
/external/chromium_org/chrome/browser/printing/
Dprint_dialog_gtk.cc336 gint num_ranges; in OnResponse() local
341 gtk_print_settings_get_page_ranges(gtk_settings_, &num_ranges); in OnResponse()
343 for (int i = 0; i < num_ranges; ++i) { in OnResponse()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-ot-layout-common-private.hh715 unsigned int num_ranges = 1; in serialize() local
718 num_ranges++; in serialize()
719 rangeRecord.len.set (num_ranges); in serialize()
821 unsigned int num_ranges = 1; in serialize() local
824 num_ranges++; in serialize()
825 u.format.set (num_glyphs * 2 < num_ranges * 3 ? 1 : 2); in serialize()
/external/harfbuzz_ng/src/
Dhb-ot-layout-common-private.hh715 unsigned int num_ranges = 1; in serialize() local
718 num_ranges++; in serialize()
719 rangeRecord.len.set (num_ranges); in serialize()
821 unsigned int num_ranges = 1; in serialize() local
824 num_ranges++; in serialize()
825 u.format.set (num_glyphs * 2 < num_ranges * 3 ? 1 : 2); in serialize()
/external/llvm/lib/DebugInfo/
DDWARFDebugAranges.cpp107 const uint32_t num_ranges = getNumRanges(); in dump() local
108 for (uint32_t i = 0; i < num_ranges; ++i) { in dump()
/external/chromium_org/third_party/leveldatabase/src/db/
Dc.cc254 int num_ranges, in leveldb_approximate_sizes() argument
258 Range* ranges = new Range[num_ranges]; in leveldb_approximate_sizes()
259 for (int i = 0; i < num_ranges; i++) { in leveldb_approximate_sizes()
263 db->rep->GetApproximateSizes(ranges, num_ranges, sizes); in leveldb_approximate_sizes()
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
Dc.h127 int num_ranges,
/external/freetype/src/cff/
Dcffload.c672 FT_UInt num_ranges; in CFF_Load_FD_Select() local
689 if ( FT_READ_USHORT( num_ranges ) ) in CFF_Load_FD_Select()
692 fdselect->data_size = num_ranges * 3 + 2; in CFF_Load_FD_Select()

12