Home
last modified time | relevance | path

Searched refs:as_array (Results 1 – 25 of 29) sorted by relevance

12

/external/harfbuzz_ng/src/
Dhb-vector.hh105 bool operator == (const hb_vector_t &o) const { return as_array () == o.as_array (); } in operator ==()
107 uint32_t hash () const { return as_array ().hash (); } in hash()
134 hb_array_t< Type> as_array () { return hb_array (arrayZ, length); } in as_array() function
135 hb_array_t<const Type> as_array () const { return hb_array (arrayZ, length); } in as_array() function
140 iter_t iter () const { return as_array (); } in iter()
141 writer_t writer () { return as_array (); } in writer()
146 { return as_array ().sub_array (start_offset, count); } in sub_array()
148 { return as_array ().sub_array (start_offset, count); } in sub_array()
150 { return as_array ().sub_array (start_offset, count); } in sub_array()
152 { return as_array ().sub_array (start_offset, count); } in sub_array()
[all …]
Dhb-open-type.hh422 hb_array_t<Type> as_array (unsigned int len) in as_array() function
424 hb_array_t<const Type> as_array (unsigned int len) const in as_array() function
426 operator hb_array_t< Type> () { return as_array (); } in operator hb_array_t<Type>()
427 operator hb_array_t<const Type> () const { return as_array (); } in operator hb_array_t<const Type>()
431 { return *as_array (len).lsearch (x, &not_found); } in lsearch()
434 { return *as_array (len).lsearch (x, &not_found); } in lsearch()
437 { as_array (len).qsort (start, end); } in qsort()
463 if (unlikely (!as_array (count).copy (c))) return_trace (nullptr); in copy()
527 hb_sorted_array_t<Type> as_array (unsigned int len) in as_array() function
529 hb_sorted_array_t<const Type> as_array (unsigned int len) const in as_array() function
[all …]
Dhb-ot-color-cpal-table.hh57 (base+paletteFlagsZ).as_array (palette_count)[palette_index]; in get_palette_flags()
65 return (base+paletteLabelsZ).as_array (palette_count)[palette_index]; in get_palette_name_id()
73 return (base+colorLabelsZ).as_array (color_count)[color_index]; in get_color_name_id()
Dhb-ot-kern-table.hh49 hb_array_t<const FWORD> kernValue = kernValueZ.as_array (kernValueCount); in get_kerning()
50 … HBUINT8> leftClass = StructAfter<const UnsizedArrayOf<HBUINT8>> (kernValue).as_array (glyphCount); in get_kerning()
51 …HBUINT8> rightClass = StructAfter<const UnsizedArrayOf<HBUINT8>> (leftClass).as_array (glyphCount); in get_kerning()
52 …T8> kernIndex = StructAfter<const UnsizedArrayOf<HBUINT8>> (rightClass).as_array (leftClassCount *… in get_kerning()
Dhb-aat-layout-feat-table.hh103 hb_array_t< const SettingName> settings_table = (base+settingTableZ).as_array (nSettings); in get_selector_infos()
167 + namesZ.as_array (featureNameCount).sub_array (start_offset, count) in get_feature_types()
Dhb-ot-hdmx-table.hh63 | hb_sink (widthsZ.as_array (length)); in serialize()
141 return device_record->widthsZ.as_array (get_num_glyphs ()) [_]; in subset()
Dhb-ot-stat-table.hh300 { return (this+designAxesOffset).as_array (designAxisCount); } in get_design_axes()
303 { return (this+offsetToAxisValueOffsets).as_array (axisValueCount); } in get_axis_value_offsets()
Dhb-ot-var-gvar-table.hh590 …scalar = iterator.current_tuple->calculate_scalar (coords, coord_count, shared_tuples.as_array ()); in apply_deltas_to_points()
666 … deltas[i].x = infer_delta<x_getter> (orig_points.as_array (), deltas.as_array (), i, prev, next); in apply_deltas_to_points()
667 … deltas[i].y = infer_delta<y_getter> (orig_points.as_array (), deltas.as_array (), i, prev, next); in apply_deltas_to_points()
Dhb-ot-color-colr-table.hh103 hb_array_t<const LayerRecord> all_layers = (this+layersZ).as_array (numLayers); in get_glyph_layers()
Dhb-ot-vorg-table.hh97 + vertYOrigins.as_array () in subset()
Dhb-aat-layout-trak-table.hh53 { return (base+valuesZ).as_array (table_size)[index]; } in get_value()
Dhb-ot-layout-gsubgpos.hh1307 (inputZ.as_array ((inputCount ? inputCount - 1 : 0))); in closure()
1318 (inputZ.as_array (inputCount ? inputCount - 1 : 0)); in collect_glyphs()
1329 (inputZ.as_array (inputCount ? inputCount - 1 : 0)); in would_apply()
1341 (inputZ.as_array (inputCount ? inputCount - 1 : 0)); in apply()
1687 const LookupRecord *lookupRecord = &StructAfter<LookupRecord> (coverageZ.as_array (glyphCount)); in closure()
1702 const LookupRecord *lookupRecord = &StructAfter<LookupRecord> (coverageZ.as_array (glyphCount)); in collect_glyphs()
1716 const LookupRecord *lookupRecord = &StructAfter<LookupRecord> (coverageZ.as_array (glyphCount)); in would_apply()
1735 const LookupRecord *lookupRecord = &StructAfter<LookupRecord> (coverageZ.as_array (glyphCount)); in apply()
1759 const LookupRecord *lookupRecord = &StructAfter<LookupRecord> (coverageZ.as_array (glyphCount)); in sanitize()
Dhb-ot-cmap-table.hh706 for (const UnicodeValueRange& _ : as_array ()) in copy()
781 + as_array () in closure_glyphs()
797 + as_array () in copy()
1422 return encodingRecord.as_array ().bsearch (key); in find_encodingrec()
Dtest-iter.cc179 pa->as_array (); in main()
Dhb-ot-glyf-table.hh857 …r->apply_deltas_to_points (gid, coords, coord_count, points.as_array (), end_points.as_array ())))… in get_points_var()
861 all_points.extend (points.as_array ()); in get_points_var()
Dhb-ot-name-table.hh211 + nameRecordZ.as_array (count) in subset()
Dhb-ot-var-fvar-table.hh48 { return coordinatesZ.as_array (axis_count); } in get_coordinates()
/external/openscreen/util/
Dyet_another_bit_vector.cc41 delete[] bits_.as_array; in ~YetAnotherBitVector()
57 delete[] bits_.as_array; in operator =()
86 delete[] bits_.as_array; in Resize()
99 uint64_t* const last = &bits_.as_array[last_index]; in SetAll()
100 std::fill(&bits_.as_array[0], last, kAllBitsSet); in SetAll()
109 std::fill(&bits_.as_array[0], &bits_.as_array[array_size()], kNoBitsSet); in ClearAll()
129 bits_.as_array[i - integer_steps] = bits_.as_array[i]; in ShiftRight()
131 std::fill(&bits_.as_array[num_integers - integer_steps], in ShiftRight()
132 &bits_.as_array[num_integers], kNoBitsSet); in ShiftRight()
142 const uint64_t outgoing_carry_bits = bits_.as_array[i] & outgoing_mask; in ShiftRight()
[all …]
Dyet_another_bit_vector.h93 uint64_t* as_array; member
/external/rust/crates/ahash/src/
Dconvert.rs79 macro_rules! as_array { macro
83 fn as_array<T>(slice: &[T]) -> &[T; $len] {
87 as_array($input)
111 (as_array!(value, 2).convert(), rest) in read_u16()
117 (as_array!(value, 4).convert(), rest) in read_u32()
123 (as_array!(value, 8).convert(), rest) in read_u64()
129 (as_array!(value, 16).convert(), rest) in read_u128()
135 (as_array!(value, 32).convert(), rest)
141 (as_array!(value, 64).convert(), rest)
147 as_array!(value, 2).convert() in read_last_u16()
[all …]
Dlib.rs186 let bytes: u64 = as_array!(input, 8).convert(); in test_conversion()
Dfallback_hash.rs223 let bytes: u64 = as_array!(input, 8).convert(); in test_conversion()
Daes_hash.rs292 let bytes: u64 = as_array!(input, 8).convert(); in test_conversion()
/external/rust/crates/ring/tests/
Daead_tests.rs368 let mut as_array = [0u8; aead::chacha20_poly1305_openssh::KEY_LEN]; in aead_chacha20_poly1305_openssh() localVariable
369 as_array.copy_from_slice(&as_vec); in aead_chacha20_poly1305_openssh()
370 as_array in aead_chacha20_poly1305_openssh()
/external/rust/crates/serde_json/src/value/
Dmod.rs405 self.as_array().is_some() in is_array()
422 pub fn as_array(&self) -> Option<&Vec<Value>> { in as_array() method

12