Home
last modified time | relevance | path

Searched refs:get_size (Results 126 – 150 of 6878) sorted by relevance

12345678910>>...276

/dports/devel/godot2-tools/godot-2.1.6-stable/scene/gui/
H A Dtexture_button.cpp42 size = click_mask->get_size(); in get_minimum_size()
44 size = hover->get_size(); in get_minimum_size()
46 size = pressed->get_size(); in get_minimum_size()
48 size = normal->get_size(); in get_minimum_size()
126 size = texdraw->get_size(); in _notification()
130 size = get_size(); in _notification()
133 size = get_size(); in _notification()
137 ofs = (get_size() - texdraw->get_size()) / 2; in _notification()
138 size = texdraw->get_size(); in _notification()
142 Size2 _size = get_size(); in _notification()
[all …]
H A Dslider.cpp50 double grab_width = (double)grabber->get_size().width; in _input_event()
51 double grab_height = (double)grabber->get_size().height; in _input_event()
52 …double max = orientation == VERTICAL ? get_size().height - grab_height : get_size().width - grab_w… in _input_event()
73 Size2i size = get_size(); in _input_event()
78 …= orientation == VERTICAL ? size.height - grabber->get_size().height : size.width - grabber->get_s… in _input_event()
153 Size2i size = get_size(); in _notification()
164 float areasize = size.height - grabber->get_size().height; in _notification()
173 … Point2i(size.width / 2 - grabber->get_size().width / 2, size.height - get_unit_value() * areasize… in _notification()
179 float areasize = size.width - grabber->get_size().width; in _notification()
188 …grabber->draw(ci, Point2i(get_unit_value() * areasize, size.height / 2 - grabber->get_size().heigh… in _notification()
/dports/devel/godot2/godot-2.1.6-stable/scene/gui/
H A Dtexture_button.cpp42 size = click_mask->get_size(); in get_minimum_size()
44 size = hover->get_size(); in get_minimum_size()
46 size = pressed->get_size(); in get_minimum_size()
48 size = normal->get_size(); in get_minimum_size()
126 size = texdraw->get_size(); in _notification()
130 size = get_size(); in _notification()
133 size = get_size(); in _notification()
137 ofs = (get_size() - texdraw->get_size()) / 2; in _notification()
138 size = texdraw->get_size(); in _notification()
142 Size2 _size = get_size(); in _notification()
[all …]
H A Dslider.cpp50 double grab_width = (double)grabber->get_size().width; in _input_event()
51 double grab_height = (double)grabber->get_size().height; in _input_event()
52 …double max = orientation == VERTICAL ? get_size().height - grab_height : get_size().width - grab_w… in _input_event()
73 Size2i size = get_size(); in _input_event()
78 …= orientation == VERTICAL ? size.height - grabber->get_size().height : size.width - grabber->get_s… in _input_event()
153 Size2i size = get_size(); in _notification()
164 float areasize = size.height - grabber->get_size().height; in _notification()
173 … Point2i(size.width / 2 - grabber->get_size().width / 2, size.height - get_unit_value() * areasize… in _notification()
179 float areasize = size.width - grabber->get_size().width; in _notification()
188 …grabber->draw(ci, Point2i(get_unit_value() * areasize, size.height / 2 - grabber->get_size().heigh… in _notification()
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/common/
H A Ddts_parser.cpp66 …ind_consecutive_headers(m->decode_buffer.get_buffer(), m->decode_buffer.get_size(), num_required_h… in detect()
73 …if (0 > find_header(m->decode_buffer.get_buffer() + offset, m->decode_buffer.get_size() - offset, … in detect()
92 return detect(buffer.get_buffer(), buffer.get_size(), num_required_headers); in detect()
105 if (remainder_buffer.get_size()) { in decode_step()
106 m->decode_buffer.prepend(remainder_buffer.get_buffer(), remainder_buffer.get_size()); in decode_step()
110 auto remaining_bytes = m->decode_buffer.get_size() % multiples_of; in decode_step()
112 …remainder_buffer.add(m->decode_buffer.get_buffer() + m->decode_buffer.get_size() - remaining_bytes… in decode_step()
123 …ffer(m->decode_buffer.get_buffer(), m->decode_buffer.get_buffer(), m->decode_buffer.get_size(), 2); in decode_buffer()
128 auto len_16 = m->decode_buffer.get_size(); in decode_buffer()
142 auto decoded = memory_c::clone(m->decode_buffer.get_buffer(), m->decode_buffer.get_size()); in decode()
[all …]
H A Dmemory.cpp45 auto previous_size = get_size(); in add()
56 auto previous_size = get_size(); in prepend()
69 size += blocks[i]->get_size() / 255 + 1 + blocks[i]->get_size(); in lace_memory_xiph()
70 size += blocks.back()->get_size(); in lace_memory_xiph()
79 for (n = blocks[i]->get_size(); n >= 255; n -= 255) { in lace_memory_xiph()
89 offset += blocks[i]->get_size(); in lace_memory_xiph()
97 if (1 > buffer->get_size()) in unlace_memory_xiph()
102 unsigned char *end = buffer->get_buffer() + buffer->get_size(); in unlace_memory_xiph()
103 size_t last_size = buffer->get_size(); in unlace_memory_xiph()
190 auto size = buffer.get_size(); in splice()
[all …]
H A Ddirac.cpp233 if (m_unparsed_buffer && (0 != m_unparsed_buffer->get_size())) in add_bytes()
281 unsigned int new_size = cursor.get_size() - previous_pos; in add_bytes()
293 if (m_unparsed_buffer && (4 <= m_unparsed_buffer->get_size())) { in flush()
360 …found || (packet->get_size() != m_raw_seqhdr->get_size()) || memcmp(packet->get_buffer(), m_raw_se… in handle_sequence_header_unit()
401 extra_size += mem->get_size(); in combine_extra_data_with_packet()
403 extra_size += mem->get_size(); in combine_extra_data_with_packet()
409 memcpy(ptr, mem->get_buffer(), mem->get_size()); in combine_extra_data_with_packet()
410 ptr += mem->get_size(); in combine_extra_data_with_packet()
417 ptr += m_current_frame->data->get_size(); in combine_extra_data_with_packet()
420 memcpy(ptr, mem->get_buffer(), mem->get_size()); in combine_extra_data_with_packet()
[all …]
/dports/math/py-matplotlib/matplotlib-3.4.3/lib/mpl_toolkits/axes_grid1/
H A Daxes_size.py35 def get_size(self, renderer): member in Add
45 def get_size(self, renderer): member in AddList
60 def get_size(self, renderer): member in Fixed
75 def get_size(self, renderer): member in Scaled
103 def get_size(self, renderer): member in AxesX
129 def get_size(self, renderer): member in AxesY
157 def get_size(self, renderer): member in MaxExtent
196 def get_size(self, renderer): member in Fraction
216 def get_size(self, renderer): member in Padded
217 r, a = self._size.get_size(renderer)
[all …]
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/
H A DDenseTag.cpp217 memcpy(ptr, data, get_size()); in get_data()
251 data += get_size() * count; in get_data()
272 const int len = get_size(); in get_data()
301 int len = get_size(); in get_data()
315 array += get_size(); in get_data()
348 memcpy(array, ptr, get_size()); in set_data()
372 data += get_size() * count; in set_data()
423 array += get_size(); in set_data()
512 zeros.resize(get_size(), 0); in remove_data()
526 zeros.resize(get_size(), 0); in remove_data()
[all …]
/dports/graphics/asciio/App-Asciio-1.51.3/setup/actions/
H A Dalign.pl52 my ($w, $h) = $_->get_size() ;
67 my ($w, $h) = $element->get_size() ;
84 my ($w, $h) = $element->get_size() ;
98 my ($w, $h) = $_->get_size() ;
106 my ($w, $h) = $element->get_size() ;
130 my ($w, $h) = $_->get_size() ;
145 my ($w, $h) = $element->get_size() ;
162 my ($w, $h) = $element->get_size() ;
176 my ($w, $h) = $_->get_size() ;
184 my ($w, $h) = $element->get_size() ;
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/tests/unit/common/
H A Dbit_writer.cpp41 ASSERT_EQ(2, buffer->get_size()); in TEST()
53 ASSERT_EQ(1, buffer->get_size()); in TEST()
59 ASSERT_EQ(3, buffer->get_size()); in TEST()
69 ASSERT_EQ(4, buffer->get_size()); in TEST()
79 ASSERT_EQ(0, b.get_buffer()->get_size()); in TEST()
85 ASSERT_EQ(1, buffer->get_size()); in TEST()
92 ASSERT_EQ(2, buffer->get_size()); in TEST()
106 ASSERT_EQ(0, b.get_buffer()->get_size()); in TEST()
126 ASSERT_EQ(0, b.get_buffer()->get_size()); in TEST()
148 ASSERT_EQ(104, buffer->get_size()); in TEST()
[all …]
/dports/games/battletanks/btanks-0.9.8083/engine/menu/
H A Doptions_menu.cpp89 sp->get_size(sw, sh); in OptionsMenu()
126 l->get_size(sw, sh); in OptionsMenu()
129 s->get_size(w, h); in OptionsMenu()
144 l->get_size(sw, sh); in OptionsMenu()
147 s->get_size(w, h); in OptionsMenu()
162 l->get_size(sw, sh); in OptionsMenu()
165 s->get_size(w, h); in OptionsMenu()
195 l->get_size(sw, sh); in OptionsMenu()
211 l->get_size(sw, sh); in OptionsMenu()
225 l->get_size(sw, sh); in OptionsMenu()
[all …]
/dports/math/cado-nfs/cado-nfs-f4284e2391121b2bfb97bc4880b6273c7250dc2f/linalg/bwc/
H A Dlingen_mul_substeps.hpp29 …op_mul(T const & a, T const & b, unsigned int adj = UINT_MAX) : op_mul(a.get_size(), b.get_size(),… in op_mul()
39 … adj = UINT_MAX) : op_mul(abfield_characteristic_srcptr(a.ab), a.get_size(), b.get_size(), a.n, ad… in op_mul()
64 …op_mp(T const & a, T const & b, unsigned int adj = UINT_MAX) : op_mp(a.get_size(), b.get_size(), a… in op_mp()
76 : op_mp(abfield_characteristic_srcptr(a.ab), a.get_size(), b.get_size(), a.n, adj) in op_mp()
97 …op_mul(T const & a, T const & b, unsigned int adj = UINT_MAX) : op_mul(a.get_size(), b.get_size(),… in op_mul()
107 … adj = UINT_MAX) : op_mul(abfield_characteristic_srcptr(a.ab), a.get_size(), b.get_size(), a.n, ad… in op_mul()
133 …op_mp(T const & a, T const & b, unsigned int adj = UINT_MAX) : op_mp(a.get_size(), b.get_size(), a… in op_mp()
145 : op_mp(abfield_characteristic_srcptr(a.ab), a.get_size(), b.get_size(), a.n, adj) in op_mp()
/dports/net/nbdkit/nbdkit-1.20.4/tests/
H A Dtest-sh-errors.sh71 get_size) echo 64K ;;
80 get_size) echo 64K ;;
89 get_size) echo 64K ;;
98 get_size) echo 1M ;;
107 get_size) echo 1M ;;
116 get_size) echo 1M ;;
126 get_size) echo 'EINVAL ignored' >&2; echo 1M ;;
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/common/compression/
H A Dheader_removal.cpp30 if (!m_bytes || (0 == m_bytes->get_size())) in do_decompress()
33 memory_cptr new_buffer = memory_c::alloc(size + m_bytes->get_size()); in do_decompress()
35 …memcpy(new_buffer->get_buffer(), m_bytes->get_buffer(), m_bytes->get_size()); in do_decompress()
36 memcpy(new_buffer->get_buffer() + m_bytes->get_size(), buffer, size); in do_decompress()
44 if (!m_bytes || (0 == m_bytes->get_size())) in do_compress()
47 size_t to_remove_size = m_bytes->get_size(); in do_compress()
74 …troska::KaxContentCompression>(c_encoding)).CopyBuffer(m_bytes->get_buffer(), m_bytes->get_size()); in set_track_headers()
89 else if (m_bytes->get_size() == 0) in ~analyze_header_removal_compressor_c()
93 …art of each of the {1} packet(s). Hex dump of the content:\n", m_bytes->get_size(), m_packet_count… in ~analyze_header_removal_compressor_c()
94 debugging_c::hexdump(m_bytes->get_buffer(), m_bytes->get_size()); in ~analyze_header_removal_compressor_c()
[all …]
/dports/math/ump/ump-0.8.6/src/
H A Dmath2.functionlist.cpp202 if( i == code_block_functions.get_size() ) in wrapper_code_block_functions()
224 if( right->get_array()->get_size() != code_block_functions[i]->arguments.get_size() ) in wrapper_code_block_functions()
319 for( i=0; i<list.get_size(); i++ ) in delete_function()
324 if( i == list.get_size() ) in delete_function()
362 for( i=0; i<list.get_size(); i++ ) in set_undeletable()
367 if( i == list.get_size() ) in set_undeletable()
379 for( i=0; i<list.get_size(); i++ ) in set_as_code_block_function()
384 if( i == list.get_size() ) in set_as_code_block_function()
393 for( int i=0; i<list.get_size(); i++ ) in check_for()
405 for( i=0; i<list.get_size(); i++ ) in get()
[all …]
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/foundation/meta/tests/
H A Dtest_population.cpp42 EXPECT_EQ(0, pop.get_size()); in TEST_SUITE()
55 EXPECT_EQ(1, pop.get_size()); in TEST_SUITE()
68 EXPECT_EQ(1, pop.get_size()); in TEST_SUITE()
81 EXPECT_EQ(1, pop.get_size()); in TEST_SUITE()
101 EXPECT_EQ(8, pop.get_size()); in TEST_SUITE()
118 EXPECT_EQ(8, pop.get_size()); in TEST_SUITE()
134 EXPECT_EQ(631, pop.get_size()); in TEST_SUITE()
149 EXPECT_EQ(0, pop.get_size()); in TEST_SUITE()
171 EXPECT_EQ(8, pop.get_size()); in TEST_SUITE()
193 EXPECT_EQ(8, pop.get_size()); in TEST_SUITE()
[all …]
/dports/devel/godot/godot-3.2.3-stable/scene/gui/
H A Dtexture_rect.cpp50 size = expand ? get_size() : texture->get_size(); in _notification()
53 size = get_size(); in _notification()
56 size = get_size(); in _notification()
60 size = texture->get_size(); in _notification()
63 offset = (get_size() - texture->get_size()) / 2; in _notification()
64 size = texture->get_size(); in _notification()
68 size = get_size(); in _notification()
86 size = get_size(); in _notification()
88 Size2 tex_size = texture->get_size(); in _notification()
121 return texture->get_size(); in get_minimum_size()
/dports/devel/godot-tools/godot-3.2.3-stable/scene/gui/
H A Dtexture_rect.cpp50 size = expand ? get_size() : texture->get_size(); in _notification()
53 size = get_size(); in _notification()
56 size = get_size(); in _notification()
60 size = texture->get_size(); in _notification()
63 offset = (get_size() - texture->get_size()) / 2; in _notification()
64 size = texture->get_size(); in _notification()
68 size = get_size(); in _notification()
86 size = get_size(); in _notification()
88 Size2 tex_size = texture->get_size(); in _notification()
121 return texture->get_size(); in get_minimum_size()
H A Dtexture_button.cpp46 rscale = click_mask->get_size(); in get_minimum_size()
48 rscale = hover->get_size(); in get_minimum_size()
50 rscale = pressed->get_size(); in get_minimum_size()
53 rscale = normal->get_size(); in get_minimum_size()
174 size = texdraw->get_size(); in _notification()
177 size = get_size(); in _notification()
180 size = get_size(); in _notification()
184 ofs = (get_size() - texdraw->get_size()) / 2; in _notification()
185 size = texdraw->get_size(); in _notification()
189 Size2 _size = get_size(); in _notification()
[all …]
/dports/editors/texmacs/TeXmacs-1.99.4-src/src/Plugins/Widkit/Basic/
H A Dwindow_widget.cpp58 wid << get_size (min_w, min_h, -1); in plain_window_widget()
59 wid << get_size (def_w, def_h, 0); in plain_window_widget()
60 wid << get_size (max_w, max_h, 1); in plain_window_widget()
72 wid << get_size (min_w, min_h, -1); in popup_window_widget()
73 wid << get_size (def_w, def_h, 0); in popup_window_widget()
74 wid << get_size (max_w, max_h, 1); in popup_window_widget()
91 win->get_size (old_w, old_h); in refresh_size()
95 concrete (wid) << get_size (def_w, def_h, 0); in refresh_size()
96 concrete (wid) << get_size (min_w, min_h, -1); in refresh_size()
97 concrete (wid) << get_size (max_w, max_h, 1); in refresh_size()
/dports/net/portfwd/portfwd-0.29/src/
H A Dvector.hpp43 int get_size() const;
78 capacity = v.get_size(); in vector()
97 if (capacity < v.get_size()) in operator =()
100 capacity = v.get_size(); in operator =()
116 int size = get_size(); in push()
139 syslog(LOG_EMERG, "vector::pop(): underflow: size: %d \r\n", get_size()); in pop()
149 int size = get_size(); in trim()
179 inline int vector<T>::get_size() const in get_size() function in vector
188 …(LOG_EMERG, "%s: %s: %d (size: %d)\n", "vector::get_at()", "index out of bounds", ind, get_size()); in get_at()
248 …LOG_EMERG, "%s: %s: %d (size: %d)\n", "vector::drop_at()", "index out of bounds", ind, get_size()); in drop_at()
[all …]
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/number_fields/quadratic_order/
H A Dquadratic_ideal_power_product.cc80 if (b.get_size() != e.get_size()) { in assign()
86 else if (b.get_size() == 0) { in assign()
94 n = b.get_size(); in assign()
130 if (component.get_size() == 0) in factor_refinement()
136 n = component.get_size(); in factor_refinement()
163 n = component.get_size(); in factor_refinement()
192 for (i = 0; i < component.get_size()-1; i = new_i) { in factor_refinement()
197 for (j = i+1; j < component.get_size(); j++) { in factor_refinement()
239 m = component.get_size(); in factor_refinement()
268 n = component.get_size(); in factor_refinement()
[all …]
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/input/
H A Dr_dts.cpp36 auto bytes_to_read = std::min<uint64_t>(m_current_chunk->data_size, m_af_buf[0]->get_size()); in probe_file()
43 …rs_at_start && mtx::dts::detect(m_af_buf[0]->get_buffer(), m_af_buf[0]->get_size(), convert_14_to_… in probe_file()
46 …int pos = mtx::dts::find_consecutive_headers(m_af_buf[0]->get_buffer(), m_af_buf[0]->get_size(), 5… in probe_file()
64 auto bytes_to_read = std::min<int64_t>(m_current_chunk->data_size, m_af_buf[0]->get_size()); in read_headers()
73 mtx::dts::detect(m_buf[m_cur_buf], m_af_buf[0]->get_size(), m_dts14_to_16, m_swap_bytes); in read_headers()
75 …("DTS: 14->16 {0} swap {1} buf size {2}\n", m_dts14_to_16, m_swap_bytes, m_af_buf[0]->get_size())); in read_headers()
77 if (m_swap_bytes && (m_af_buf[0]->get_size() % 2)) in read_headers()
78 m_af_buf[0]->set_size(m_af_buf[0]->get_size() - 1); in read_headers()
80 decode_buffer(m_af_buf[0]->get_size()); in read_headers()
81 …r(reinterpret_cast<const unsigned char *>(m_buf[m_cur_buf]), m_af_buf[0]->get_size(), m_dtsheader); in read_headers()
[all …]
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/output/
H A Dp_pcm.cpp94 if (packet->has_timestamp() && (packet->data->get_size() >= m_min_packet_size)) in process_impl()
97 m_buffer.add(packet->data->get_buffer(), packet->data->get_size()); in process_impl()
104 while (m_buffer.get_size() >= m_packet_size) { in flush_packets()
118 auto buffer_size = m_buffer.get_size(); in process_packaged()
121 auto data_size = packet->data->get_size(); in process_packaged()
134 auto samples_here = size_to_samples(packet->data->get_size()); in process_packaged()
161 uint32_t size = m_buffer.get_size(); in flush_impl()
182 data.resize(data.get_size() - (data.get_size() % (m_bits_per_sample / 8))); in byte_swap_data()
183 m_byte_swapper(data.get_buffer(), data.get_buffer(), data.get_size()); in byte_swap_data()

12345678910>>...276