Home
last modified time | relevance | path

Searched refs:get_size (Results 1 – 25 of 176) sorted by relevance

12345678

/third_party/elfio/elfio/
Delfio_section.hpp163 if ( get_size() + size < data_size ) { in append_data()
164 std::copy( raw_data, raw_data + size, data.get() + get_size() ); in append_data()
172 std::copy( data.get(), data.get() + get_size(), in append_data()
175 new_data.get() + get_size() ); in append_data()
182 set_size( get_size() + size ); in append_data()
244 Elf_Xword size = get_size(); in load()
263 Elf_Xword size = get_size(); in load_data()
278 size = get_size(); in load_data()
303 get_size() != 0 && data != nullptr ) { in save()
327 Elf_Xword decompressed_size = get_size(); in save_data()
[all …]
Delfio_strings.hpp47 if ( index < string_section->get_size() && nullptr != data ) { in get_string()
49 strnlen( data + index, string_section->get_size() - index ); in get_string()
50 if ( string_length < ( string_section->get_size() - index ) ) in get_string()
66 static_cast<Elf_Word>( string_section->get_size() ); in add_string()
Delfio_modinfo.hpp79 current_position = (Elf_Word)modinfo_section->get_size(); in add_attribute()
97 while ( i < modinfo_section->get_size() ) { in process_section()
98 while ( i < modinfo_section->get_size() && !pdata[i] ) in process_section()
100 if ( i < modinfo_section->get_size() ) { in process_section()
Delfio.hpp329 && ( a->get_size() > 0 ) in validate()
330 && ( b->get_size() > 0 ) in validate()
334 || is_offset_in_section( a->get_offset()+a->get_size()-1, b ) in validate()
336 || is_offset_in_section( b->get_offset()+b->get_size()-1, a ) ) ) { in validate()
382 ( offset < ( sec->get_offset() + sec->get_size() ) ); in is_offset_in_section()
609 psec->get_size(), segVBaseAddr, in load_segments()
611 : is_sect_in_seg( psec->get_offset(), psec->get_size(), in load_segments()
757 current_file_pos += sec->get_size(); in layout_sections_without_segments()
879 0 != sec->get_size() ) { in write_segment_data()
915 segment_memory += sec->get_size() + section_align; in write_segment_data()
[all …]
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl35.c71 int get_size; in verify_pipe_size() local
76 get_size = fcntl(fds[1], F_GETPIPE_SZ); in verify_pipe_size()
77 if (get_size == -1) { in verify_pipe_size()
82 if (get_size != exp_pip_sz) { in verify_pipe_size()
84 "unexpectedly, expected %d", desp, get_size, in verify_pipe_size()
/third_party/mesa3d/src/compiler/isaspec/
Disa.py131 return ((1 << self.get_size()) - 1) << self.low
133 def get_size(self): member in BitSetField
335 def get_size(self): member in BitSet
338 return parent.get_size()
499 assert field.get_size() == 32 or field.get_size() == 16
502 assert field.high < bitset.get_size(), \
504 … bitset_name, field_name, field.low, field.high, 0, bitset.get_size() - 1)
513 … assert field.get_size() == bs.get_size(), "{}.{}: invalid size: {} vs {}".format(
514 bitset_name, field_name, field.get_size(), bs.get_size())
521 sz = bitset.get_size()
/third_party/harfbuzz/src/
Dhb-ot-cff-common.hh98 unsigned int size = get_size (); in copy()
108 unsigned int size = src.get_size (); in serialize()
141 offset += byteArray[i].get_size (); in serialize()
278 unsigned int get_size () const in get_size() function
486 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
512 unsigned int get_size () const in get_size() function
513 { return GID_TYPE::static_size * 2 + ranges.get_size (); } in get_size()
561 unsigned int size = src.get_size (num_glyphs); in serialize()
568 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
572 case 0: return format.static_size + u.format0.get_size (num_glyphs); in get_size()
[all …]
Dhb-ot-hdmx-table.hh44 static unsigned int get_size (unsigned count) in get_size() function
87 unsigned int get_size () const in get_size() function
108 this->sizeDeviceRecord = DeviceRecord::get_size (it ? (*it).second.len () : 0); in serialize()
160 c->check_range (this, get_size ())); in sanitize()
Dhb-machinery.hh73 { return StructAtOffset<Type>(&X, X.get_size()); } in StructAfter()
76 { return StructAtOffset<Type>(&X, X.get_size()); } in StructAfter()
105 unsigned int get_size () const { return (size); } \
132 unsigned int get_size () const { return (size - (array).min_size + (array).get_size ()); } \
Dhb-ot-cff2-table.hh56 unsigned int size = src.get_size (num_glyphs); in serialize()
63 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
67 case 0: return format.static_size + u.format0.get_size (num_glyphs); in get_size()
68 case 3: return format.static_size + u.format3.get_size (); in get_size()
69 case 4: return format.static_size + u.format4.get_size (); in get_size()
124 unsigned int size_ = varStore->get_size (); in serialize()
131 unsigned int get_size () const { return HBUINT16::static_size + size; } in get_size() function
Dhb-ot-os2-table.hh258 unsigned get_size () const in get_size() function
261 if (version >= 1) result += v1X.get_size (); in get_size()
262 if (version >= 2) result += v2X.get_size (); in get_size()
263 if (version >= 5) result += v5X.get_size (); in get_size()
Dhb-ot-cff1-table.hh175 unsigned int size = src.get_size (); in serialize()
243 unsigned int get_size () const in get_size() function
248 case 0: size += u.format0.get_size (); break; in get_size()
249 case 1: size += u.format1.get_size (); break; in get_size()
252 size += suppEncData ().get_size (); in get_size()
342 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
414 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
446 unsigned int size = src.get_size (num_glyphs); in serialize()
511 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
515 case 0: return min_size + u.format0.get_size (num_glyphs); in get_size()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-cff-common.hh98 unsigned int size = get_size (); in copy()
108 unsigned int size = src.get_size (); in serialize()
141 offset += byteArray[i].get_size (); in serialize()
278 unsigned int get_size () const in get_size() function
486 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
512 unsigned int get_size () const in get_size() function
513 { return GID_TYPE::static_size * 2 + ranges.get_size (); } in get_size()
561 unsigned int size = src.get_size (num_glyphs); in serialize()
568 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
572 case 0: return format.static_size + u.format0.get_size (num_glyphs); in get_size()
[all …]
Dhb-ot-hdmx-table.hh44 static unsigned int get_size (unsigned count) in get_size() function
87 unsigned int get_size () const in get_size() function
108 this->sizeDeviceRecord = DeviceRecord::get_size (it ? (*it).second.len () : 0); in serialize()
160 c->check_range (this, get_size ())); in sanitize()
Dhb-machinery.hh73 { return StructAtOffset<Type>(&X, X.get_size()); } in StructAfter()
76 { return StructAtOffset<Type>(&X, X.get_size()); } in StructAfter()
105 unsigned int get_size () const { return (size); } \
132 unsigned int get_size () const { return (size - (array).min_size + (array).get_size ()); } \
Dhb-ot-cff2-table.hh56 unsigned int size = src.get_size (num_glyphs); in serialize()
63 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
67 case 0: return format.static_size + u.format0.get_size (num_glyphs); in get_size()
68 case 3: return format.static_size + u.format3.get_size (); in get_size()
69 case 4: return format.static_size + u.format4.get_size (); in get_size()
124 unsigned int size_ = varStore->get_size (); in serialize()
131 unsigned int get_size () const { return HBUINT16::static_size + size; } in get_size() function
Dhb-ot-os2-table.hh241 unsigned get_size () const in get_size() function
244 if (version >= 1) result += v1X.get_size (); in get_size()
245 if (version >= 2) result += v2X.get_size (); in get_size()
246 if (version >= 5) result += v5X.get_size (); in get_size()
Dhb-ot-cff1-table.hh175 unsigned int size = src.get_size (); in serialize()
243 unsigned int get_size () const in get_size() function
248 case 0: size += u.format0.get_size (); break; in get_size()
249 case 1: size += u.format1.get_size (); break; in get_size()
252 size += suppEncData ().get_size (); in get_size()
342 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
414 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
446 unsigned int size = src.get_size (num_glyphs); in serialize()
511 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
515 case 0: return min_size + u.format0.get_size (num_glyphs); in get_size()
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-hdmx-table.hh44 static unsigned int get_size (unsigned count) in get_size() function
87 unsigned int get_size () const in get_size() function
108 this->sizeDeviceRecord = DeviceRecord::get_size (it ? (*it).second.len () : 0); in serialize()
163 c->check_range (this, get_size ())); in sanitize()
Dhb-ot-cff-common.hh111 unsigned int size = src.get_size (); in serialize()
144 offset += byteArray[i].get_size (); in serialize()
222 unsigned int get_size () const in get_size() function
582 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
606 unsigned int get_size () const in get_size() function
607 { return GID_TYPE::static_size * 2 + ranges.get_size (); } in get_size()
666 unsigned int size = src.get_size (num_glyphs); in serialize()
674 { return get_size (num_glyphs); } in calculate_serialized_size()
676 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
680 size += u.format0.get_size (num_glyphs); in get_size()
[all …]
Dhb-ot-cff2-table.hh69 unsigned int size = src.get_size (num_glyphs); in serialize()
77 { return get_size (num_glyphs); } in calculate_serialized_size()
79 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
83 size += u.format0.get_size (num_glyphs); in get_size()
85 size += u.format3.get_size (); in get_size()
87 size += u.format4.get_size (); in get_size()
124 unsigned int size_ = varStore->get_size (); in serialize()
131 unsigned int get_size () const { return HBUINT16::static_size + size; } in get_size() function
Dhb-ot-os2-table.hh212 unsigned get_size () const in get_size() function
215 if (version >= 1) result += v1X.get_size (); in get_size()
216 if (version >= 2) result += v2X.get_size (); in get_size()
217 if (version >= 5) result += v5X.get_size (); in get_size()
Dhb-machinery.hh89 { return StructAtOffset<Type>(&X, X.get_size()); } in StructAfter()
92 { return StructAtOffset<Type>(&X, X.get_size()); } in StructAfter()
116 unsigned int get_size () const { return (size); } \
143 unsigned int get_size () const { return (size - (array).min_size + (array).get_size ()); } \
Dhb-ot-cff1-table.hh183 unsigned int size = src.get_size (); in serialize()
258 unsigned int get_size () const in get_size() function
262 size += u.format0.get_size (); in get_size()
264 size += u.format1.get_size (); in get_size()
266 size += suppEncData ().get_size (); in get_size()
338 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
410 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
457 unsigned int size = src.get_size (num_glyphs); in serialize()
529 unsigned int get_size (unsigned int num_glyphs) const in get_size() function
533 size += u.format0.get_size (num_glyphs); in get_size()
[all …]
/third_party/qrcodegen/python/
Dqrcodegen-demo.py180 for y in range(qr.get_size()):
181 for x in range(qr.get_size()):
196 for y in range(-border, qrcode.get_size() + border):
197 for x in range(-border, qrcode.get_size() + border):

12345678