Home
last modified time | relevance | path

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

12345678910

/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/elfio/elfio/
Delfio_section.hpp153 if ( get_size() + size < data_size ) { in append_data()
154 std::copy( raw_data, raw_data + size, data + get_size() ); in append_data()
161 std::copy( data, data + get_size(), new_data ); in append_data()
163 new_data + get_size() ); in append_data()
171 set_size( get_size() + size ); in append_data()
201 Elf_Xword size = get_size(); in load()
230 get_size() != 0 && data != 0 ) { in save()
249 stream.write( get_data(), get_size() ); in save_data()
Delfio_modinfo.hpp78 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_note.hpp64 if ( index >= note_section->get_size() ) { in get_note()
78 note_section->get_size() - note_start_positions[index]; in get_note()
126 note_start_positions.push_back( note_section->get_size() ); in add_note()
136 Elf_Xword size = note_section->get_size(); in process_section()
Delfio.hpp263 && (a->get_size() > 0) in validate()
264 && (b->get_size() > 0) in validate()
268 || is_offset_in_section( a->get_offset()+a->get_size()-1, b ) in validate()
270 || is_offset_in_section( b->get_offset()+b->get_size()-1, a )) { in validate()
311 ( offset < ( sec->get_offset() + sec->get_size() ) ); in is_offset_in_section()
519 psec->get_size(), segVBaseAddr, in load_segments()
521 : is_sect_in_seg( psec->get_offset(), psec->get_size(), in load_segments()
664 current_file_pos += sec->get_size(); in layout_sections_without_segments()
753 SHT_NULL != sec->get_type() && 0 != sec->get_size() ) { in layout_segments_and_their_sections()
789 segment_memory += sec->get_size() + secAlign; in layout_segments_and_their_sections()
[all …]
/third_party/boost/libs/interprocess/test/
Dshared_memory_mapping_test.cpp132 const std::size_t original_region_size = region.get_size(); in main()
133 … if(!region.shrink_by(region.get_size()/2, false) || region.get_size() != original_region_size/2){ in main()
136 const std::size_t shrunk_region_size = region.get_size(); in main()
137 … if(!region.shrink_by(region.get_size()/2, true) || region.get_size() != shrunk_region_size/2){ in main()
Dmanaged_shared_memory_test.cpp144 if(shmem.get_size() != (ShmemSize*2)) in main()
156 old_shmem_size = shmem.get_size(); in main()
165 next_shmem_size = shmem.get_size(); in main()
195 final_shmem_size = shmem.get_size(); in main()
Dmanaged_mapped_file_test.cpp160 if(mfile.get_size() != (FileSize*2)) in main()
172 old_file_size = mfile.get_size(); in main()
181 next_file_size = mfile.get_size(); in main()
211 final_file_size = mfile.get_size(); in main()
/third_party/qrcodegen/python/
Dqrcodegen-demo.py179 for y in range(qr.get_size()):
180 for x in range(qr.get_size()):
189 """.format(qr.get_size() + border * 2, " ".join(parts))
195 for y in range(-border, qrcode.get_size() + border):
196 for x in range(-border, qrcode.get_size() + border):
/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()
468 assert field.get_size() == 32 or field.get_size() == 16
471 assert field.high < bitset.get_size(), \
473 … bitset_name, field_name, field.low, field.high, 0, bitset.get_size() - 1)
482 … assert field.get_size() == bs.get_size(), "{}.{}: invalid size: {} vs {}".format(
483 bitset_name, field_name, field.get_size(), bs.get_size())
489 sz = bitset.get_size()
/third_party/boost/libs/interprocess/example/
Ddoc_managed_grow.cpp59 assert(shm.get_size() == 1000); in main()
90 assert(shm.get_size() == 1500); in main()
122 assert(shm.get_size() < 1000); in main()
/third_party/boost/libs/sort/test/
Dstring_sort_test.cpp38 struct get_size { struct
61 update_offset(input.begin(), input.end(), char_offset, bracket(), get_size()); in update_offset_test() argument
121 string_sort(test_vec.begin(), test_vec.end(), bracket(), get_size()); in string_test()
125 string_sort(test_vec.begin(), test_vec.end(), bracket(), get_size(), in string_test()
134 reverse_string_sort(test_vec.begin(), test_vec.end(), bracket(), get_size(), in string_test()
/third_party/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()
160 c->check_range (this, get_size ())); in sanitize()
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-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 ()); } \
/third_party/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()
160 c->check_range (this, get_size ())); in sanitize()
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-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 ()); } \
/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()
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/comp/
Darray-length.comp14 uint get_size()
21 size = get_size();
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/mkldnn/
Dlstm_grad_cpu_kernel.cc79 reserve_size_ = static_cast<size_t>(prim_forward_desc.workspace_desc().get_size()); in InitKernel()
172 if (memset_s(mem.get_data_handle(), mem.get_desc().get_size(), 0, mem.get_desc().get_size())) { in ResetMemory()
195 if (memset_s(bias_memory.get_data_handle(), prim_backward_desc_.bias_desc().get_size(), 0, in Launch()
196 prim_backward_desc_.bias_desc().get_size())) { in Launch()
215 …if (memset_s(diff_bias_memory.get_data_handle(), prim_backward_desc_.diff_bias_desc().get_size(), … in Launch()
216 prim_backward_desc_.diff_bias_desc().get_size())) { in Launch()
/third_party/e2fsprogs/tests/progs/test_data/
Dtest.icount48 get_size
113 get_size
135 get_size

12345678910