Home
last modified time | relevance | path

Searched refs:dimension (Results 1 – 25 of 666) sorted by relevance

12345678910>>...27

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
Dgen_blit11helper.py152 def format_shader_include(dimension, blitshader): argument
154 filename=blitshader[2].replace("*", dimension.lower()))
159 for dimension in supported_dimensions:
160 dimension_cases.append(format_get_blitshader_case_dimension(operation, dimension))
167 def format_get_blitshader_case_dimension(operation, dimension): argument
169 if dimension == "2D" and operation.find("TOI") != -1:
172 blitshader = dimension.upper() + "_" + operation
175 dimension=dimension.upper(), blitshader=blitshader)
178 def format_map_blitshader_case(dimension, blitshader): argument
179 blitshader_name = "BLITSHADER_" + dimension.upper() + "_" + blitshader[0]
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
Dgen_blit11helper.py153 def format_shader_include(dimension, blitshader): argument
155 filename=blitshader[2].replace("*", dimension.lower()))
160 for dimension in supported_dimensions:
161 dimension_cases.append(format_get_blitshader_case_dimension(operation, dimension))
168 def format_get_blitshader_case_dimension(operation, dimension): argument
170 if dimension == "2D" and operation.find("TOI") != -1:
173 blitshader = dimension.upper() + "_" + operation
176 dimension=dimension.upper(), blitshader=blitshader)
179 def format_map_blitshader_case(dimension, blitshader): argument
180 blitshader_name = "BLITSHADER_" + dimension.upper() + "_" + blitshader[0]
[all …]
/third_party/boost/boost/geometry/core/
Dcoordinate_dimension.hpp41 struct dimension struct
57 struct dimension : dimension<point_tag, typename point_type<T, G>::type> {}; struct
60 struct dimension<point_tag, P> struct
61 : traits::dimension<typename geometry::util::bare_type<P>::type>
64 (traits::dimension<typename geometry::util::bare_type<P>::type>::value > 0),
66 (traits::dimension<typename geometry::util::bare_type<P>::type>)
81 struct dimension struct
82 : core_dispatch::dimension
96 BOOST_STATIC_ASSERT(( static_cast<int>(dimension<Geometry>::value) == Dimensions )); in assert_dimension()
106 BOOST_STATIC_ASSERT(( static_cast<int>(dimension<Geometry>::type::value) <= Dimensions )); in assert_dimension_less_equal()
[all …]
/third_party/boost/libs/units/test/
Dtest_predicates.cpp45 typedef dimension_tag::dimension_type dimension; typedef
47 struct base_unit1 : bu::base_unit<base_unit1, dimension, 100> {};
48 struct base_unit2 : bu::base_unit<base_unit2, dimension, 101> {};
56 BOOST_MPL_ASSERT((bu::is_dimension_list<dimension>)); in main()
61 BOOST_MPL_ASSERT((bu::is_unit<bu::unit<dimension, system1> >)); in main()
65 BOOST_MPL_ASSERT((bu::is_unit_of_system<bu::unit<dimension, system1>, system1>)); in main()
67 BOOST_MPL_ASSERT_NOT((bu::is_unit_of_system<bu::unit<dimension, system1>, system2>)); in main()
72 BOOST_MPL_ASSERT((bu::is_unit_of_dimension<bu::unit<dimension, system1>, dimension>)); in main()
73 …T_MPL_ASSERT_NOT((bu::is_unit_of_dimension<bu::unit<bu::dimensionless_type, system1>, dimension>)); in main()
74 …BOOST_MPL_ASSERT_NOT((bu::is_unit_of_dimension<bu::unit<dimension, system1>, bu::dimensionless_typ… in main()
[all …]
Dtest_base_dimension.cpp26 struct dimension : boost::units::base_dimension<dimension, 1> { struct
27 typedef boost::units::base_dimension<dimension, 1> base; argument
/third_party/boost/boost/random/
Dsobol.hpp39 explicit sobol_lattice(std::size_t dimension) in sobol_lattice()
41 resize(dimension); in sobol_lattice()
46 void resize(std::size_t dimension) in resize()
48 dimension_assert("Sobol", dimension, SobolTables::max_dimension); in resize()
51 container_type cj(bit_count * dimension); in resize()
55 cj[dimension*k] = static_cast<value_type>(1); in resize()
58 for (std::size_t dim = 1; dim < dimension; ++dim) in resize()
68 cj[dimension*k + dim] = SobolTables::minit(dim-1, k); in resize()
75 const std::size_t bit_offset = dimension*j + dim; in resize()
77 cj[bit_offset] = cj[dimension*(j-degree) + dim]; in resize()
[all …]
Dniederreiter_base2.hpp101 explicit niederreiter_base2_lattice(std::size_t dimension) in niederreiter_base2_lattice()
103 resize(dimension); in niederreiter_base2_lattice()
106 void resize(std::size_t dimension) in resize()
110 dimension_assert("Niederreiter base 2", dimension, Nb2Table::max_dimension); in resize()
113 container_type cj(bit_count * dimension); in resize()
119 for (std::size_t dim = 0; dim != dimension; ++dim) in resize()
182 value_type& num = cj[dimension * r + dim]; in resize()
270 std::size_t dimension() const { return base_t::dimension(); } in dimension() function in boost::random::niederreiter_base2_engine
/third_party/boost/boost/random/detail/
Dqrng_base.hpp64 explicit qrng_base(std::size_t dimension) in qrng_base() argument
66 : lattice(prevent_zero_dimension(dimension)) in qrng_base()
67 , quasi_state(dimension) in qrng_base()
79 std::size_t dimension() const { return quasi_state.size(); } in dimension() function in boost::random::qrng_detail::qrng_base
89 return curr_elem != dimension() ? load_cached(): next_state(); in operator ()()
105 const std::size_t dimension_value = dimension(); in discard()
143 os << s.dimension() << " " << s.seq_count << " " << s.curr_elem; in BOOST_RANDOM_DETAIL_OSTREAM_OPERATOR()
158 if (s.dimension() != prevent_zero_dimension(dim)) in BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR()
173 const std::size_t dimension_value = x.dimension(); in BOOST_RANDOM_DETAIL_EQUALITY_OPERATOR()
180 return (dimension_value == y.dimension()) && in BOOST_RANDOM_DETAIL_EQUALITY_OPERATOR()
[all …]
/third_party/freetype/src/pshinter/
Dpshalgo.c399 FT_Int dimension ) in ps_simple_scale() argument
413 ps_debug_hint_func( hint, dimension ); in ps_simple_scale()
438 FT_Int dimension, in psh_hint_align() argument
441 PSH_Dimension dim = &globals->dimension[dimension]; in psh_hint_align()
457 if ( ( dimension == 0 && !glyph->do_horz_hints ) || in psh_hint_align()
458 ( dimension == 1 && !glyph->do_vert_hints ) ) in psh_hint_align()
470 do_snapping = ( dimension == 0 && glyph->do_horz_snapping ) || in psh_hint_align()
471 ( dimension == 1 && glyph->do_vert_snapping ); in psh_hint_align()
479 if ( dimension == 1 ) in psh_hint_align()
516 psh_hint_align( parent, globals, dimension, glyph ); in psh_hint_align()
[all …]
Dpshrec.c543 ps_dimension_done( PS_Dimension dimension, in ps_dimension_done() argument
546 ps_mask_table_done( &dimension->counters, memory ); in ps_dimension_done()
547 ps_mask_table_done( &dimension->masks, memory ); in ps_dimension_done()
548 ps_hint_table_done( &dimension->hints, memory ); in ps_dimension_done()
554 ps_dimension_init( PS_Dimension dimension ) in ps_dimension_init() argument
556 dimension->hints.num_hints = 0; in ps_dimension_init()
557 dimension->masks.num_masks = 0; in ps_dimension_init()
558 dimension->counters.num_masks = 0; in ps_dimension_init()
808 ps_dimension_done( &hints->dimension[0], memory ); in ps_hints_done()
809 ps_dimension_done( &hints->dimension[1], memory ); in ps_hints_done()
[all …]
/third_party/skia/third_party/externals/freetype/src/pshinter/
Dpshalgo.c400 FT_Int dimension ) in ps_simple_scale() argument
414 ps_debug_hint_func( hint, dimension ); in ps_simple_scale()
439 FT_Int dimension, in psh_hint_align() argument
442 PSH_Dimension dim = &globals->dimension[dimension]; in psh_hint_align()
458 if ( ( dimension == 0 && !glyph->do_horz_hints ) || in psh_hint_align()
459 ( dimension == 1 && !glyph->do_vert_hints ) ) in psh_hint_align()
471 do_snapping = ( dimension == 0 && glyph->do_horz_snapping ) || in psh_hint_align()
472 ( dimension == 1 && glyph->do_vert_snapping ); in psh_hint_align()
480 if ( dimension == 1 ) in psh_hint_align()
517 psh_hint_align( parent, globals, dimension, glyph ); in psh_hint_align()
[all …]
Dpshrec.c538 ps_dimension_done( PS_Dimension dimension, in ps_dimension_done() argument
541 ps_mask_table_done( &dimension->counters, memory ); in ps_dimension_done()
542 ps_mask_table_done( &dimension->masks, memory ); in ps_dimension_done()
543 ps_hint_table_done( &dimension->hints, memory ); in ps_dimension_done()
549 ps_dimension_init( PS_Dimension dimension ) in ps_dimension_init() argument
551 dimension->hints.num_hints = 0; in ps_dimension_init()
552 dimension->masks.num_masks = 0; in ps_dimension_init()
553 dimension->counters.num_masks = 0; in ps_dimension_init()
803 ps_dimension_done( &hints->dimension[0], memory ); in ps_hints_done()
804 ps_dimension_done( &hints->dimension[1], memory ); in ps_hints_done()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/pshinter/
Dpshalgo.c400 FT_Int dimension ) in ps_simple_scale() argument
414 ps_debug_hint_func( hint, dimension ); in ps_simple_scale()
439 FT_Int dimension, in psh_hint_align() argument
442 PSH_Dimension dim = &globals->dimension[dimension]; in psh_hint_align()
458 if ( ( dimension == 0 && !glyph->do_horz_hints ) || in psh_hint_align()
459 ( dimension == 1 && !glyph->do_vert_hints ) ) in psh_hint_align()
471 do_snapping = ( dimension == 0 && glyph->do_horz_snapping ) || in psh_hint_align()
472 ( dimension == 1 && glyph->do_vert_snapping ); in psh_hint_align()
480 if ( dimension == 1 ) in psh_hint_align()
517 psh_hint_align( parent, globals, dimension, glyph ); in psh_hint_align()
[all …]
Dpshrec.c544 ps_dimension_done( PS_Dimension dimension, in ps_dimension_done() argument
547 ps_mask_table_done( &dimension->counters, memory ); in ps_dimension_done()
548 ps_mask_table_done( &dimension->masks, memory ); in ps_dimension_done()
549 ps_hint_table_done( &dimension->hints, memory ); in ps_dimension_done()
555 ps_dimension_init( PS_Dimension dimension ) in ps_dimension_init() argument
557 dimension->hints.num_hints = 0; in ps_dimension_init()
558 dimension->masks.num_masks = 0; in ps_dimension_init()
559 dimension->counters.num_masks = 0; in ps_dimension_init()
809 ps_dimension_done( &hints->dimension[0], memory ); in ps_hints_done()
810 ps_dimension_done( &hints->dimension[1], memory ); in ps_hints_done()
[all …]
Dpshglob.c45 PSH_Dimension dim = &globals->dimension[direction]; in psh_globals_scale_widths()
86 psh_dimension_snap_width( PSH_Dimension dimension,
90 FT_Pos width = FT_MulFix( org_width, dimension->scale_mult );
95 for ( n = 0; n < dimension->stdw.count; n++ )
101 w = dimension->stdw.widths[n].cur;
628 globals->dimension[0].stdw.count = 0; in psh_globals_destroy()
629 globals->dimension[1].stdw.count = 0; in psh_globals_destroy()
664 PSH_Dimension dim = &globals->dimension[1]; in psh_globals_new()
684 PSH_Dimension dim = &globals->dimension[0]; in psh_globals_new()
739 globals->dimension[0].scale_mult = 0; in psh_globals_new()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DTextureViewValidationTests.cpp35 descriptor.dimension = wgpu::TextureDimension::e2D; in Create2DArrayTexture()
48 descriptor.dimension = wgpu::TextureDimension::e3D; in Create3DTexture()
67 wgpu::TextureViewDescriptor CreateDefaultViewDescriptor(wgpu::TextureViewDimension dimension) { in CreateDefaultViewDescriptor() argument
70 descriptor.dimension = dimension; in CreateDefaultViewDescriptor()
116 descriptor.dimension = wgpu::TextureViewDimension::e2DArray; in TEST_F()
124 descriptor.dimension = wgpu::TextureViewDimension::e3D; in TEST_F()
175 descriptor.dimension = wgpu::TextureViewDimension::e2D; in TEST_F()
183 descriptor.dimension = wgpu::TextureViewDimension::e2D; in TEST_F()
191 descriptor.dimension = wgpu::TextureViewDimension::e2D; in TEST_F()
206 descriptor.dimension = wgpu::TextureViewDimension::e3D; in TEST_F()
[all …]
DTextureValidationTests.cpp51 descriptor.dimension = wgpu::TextureDimension::e2D; in CreateDefaultTextureDescriptor()
116 descriptor.dimension = wgpu::TextureDimension::e1D; in TEST_F()
119 descriptor.dimension = wgpu::TextureDimension::e3D; in TEST_F()
249 descriptor.dimension = wgpu::TextureDimension::e3D; in TEST_F()
266 descriptor.dimension = wgpu::TextureDimension::e2D; in TEST_F()
367 descriptor.dimension = wgpu::TextureDimension::e2D;
380 descriptor.dimension = wgpu::TextureDimension::e3D;
395 descriptor.dimension = wgpu::TextureDimension::e3D;
410 descriptor.dimension = wgpu::TextureDimension::e3D;
421 descriptor.dimension = wgpu::TextureDimension::e3D;
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/
DTextureViewValidationTests.cpp35 descriptor.dimension = dawn::TextureDimension::e2D; in Create2DArrayTexture()
47 dawn::TextureViewDescriptor CreateDefaultViewDescriptor(dawn::TextureViewDimension dimension) { in CreateDefaultViewDescriptor() argument
50 descriptor.dimension = dimension; in CreateDefaultViewDescriptor()
83 descriptor.dimension = dawn::TextureViewDimension::e2DArray; in TEST_F()
116 descriptor.dimension = dawn::TextureViewDimension::e2D; in TEST_F()
155 descriptor.dimension = dawn::TextureViewDimension::Cube; in TEST_F()
163 descriptor.dimension = dawn::TextureViewDimension::Cube; in TEST_F()
171 descriptor.dimension = dawn::TextureViewDimension::CubeArray; in TEST_F()
179 descriptor.dimension = dawn::TextureViewDimension::CubeArray; in TEST_F()
189 descriptor.dimension = dawn::TextureViewDimension::Cube; in TEST_F()
[all …]
/third_party/boost/boost/geometry/index/detail/rtree/utilities/
Dprint.hpp79 static const size_t dimension = geometry::dimension<Indexable>::value; member
84 print_corner<Indexable, min_corner, dimension>::apply(os, i); in apply()
86 print_corner<Indexable, max_corner, dimension>::apply(os, i); in apply()
94 static const size_t dimension = geometry::dimension<Indexable>::value; member
99 print_point<Indexable, dimension>::apply(os, i); in apply()
107 static const size_t dimension = geometry::dimension<Indexable>::value; member
112 print_corner<Indexable, 0, dimension>::apply(os, i); in apply()
114 print_corner<Indexable, 1, dimension>::apply(os, i); in apply()
/third_party/flutter/flutter/packages/flutter/test/rendering/
Ddynamic_intrinsics_test.dart11 double dimension = 100.0;
14 dimension *= 2.0;
19 double computeMinIntrinsicWidth(double height) => dimension;
21 double computeMaxIntrinsicWidth(double height) => dimension;
23 double computeMinIntrinsicHeight(double width) => dimension;
25 double computeMaxIntrinsicHeight(double width) => dimension;
29 size = Size.square(dimension);
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DTexture.cpp108 DAWN_INVALID_IF(descriptor->dimension != wgpu::TextureDimension::e2D, in ValidateSampleCount()
110 descriptor->dimension); in ValidateSampleCount()
138 !IsArrayLayerValidForTextureViewDimension(descriptor->dimension, in ValidateTextureViewDimensionCompatibility()
142 descriptor->dimension, descriptor->arrayLayerCount, texture); in ValidateTextureViewDimensionCompatibility()
145 !IsTextureViewDimensionCompatibleWithTextureDimension(descriptor->dimension, in ValidateTextureViewDimensionCompatibility()
149 descriptor->dimension, texture->GetDimension(), texture); in ValidateTextureViewDimensionCompatibility()
151 switch (descriptor->dimension) { in ValidateTextureViewDimensionCompatibility()
158 descriptor->dimension, texture, texture->GetSize().width, in ValidateTextureViewDimensionCompatibility()
183 switch (descriptor->dimension) { in ValidateTextureSize()
203 if (descriptor->dimension != wgpu::TextureDimension::e1D) { in ValidateTextureSize()
[all …]
/third_party/boost/boost/geometry/index/detail/algorithms/
Dsegment_intersection.hpp37 BOOST_STATIC_ASSERT(0 <= dimension<Box>::value);
38 BOOST_STATIC_ASSERT(0 <= dimension<Point>::value);
39 BOOST_STATIC_ASSERT(I < size_t(dimension<Box>::value));
40 BOOST_STATIC_ASSERT(I < size_t(dimension<Point>::value));
41 BOOST_STATIC_ASSERT(dimension<Point>::value == dimension<Box>::value);
108 typedef dispatch::box_segment_intersection<Indexable, Point, dimension<Indexable>::value> impl;
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DStorageTextureTests.cpp165 wgpu::TextureViewDimension dimension, in GetImageDeclaration() argument
170 switch (dimension) { in GetImageDeclaration()
300 wgpu::TextureViewDimension dimension = wgpu::TextureViewDimension::e2D) { in CommonReadOnlyTestCode() argument
305 switch (dimension) { in CommonReadOnlyTestCode()
324 ostream << GetImageDeclaration(format, "read", dimension, 0) << "\n" in CommonReadOnlyTestCode()
351 wgpu::TextureViewDimension dimension = wgpu::TextureViewDimension::e2D) { in CommonWriteOnlyTestCode() argument
356 switch (dimension) { in CommonWriteOnlyTestCode()
377 ostream << GetImageDeclaration(format, "write", dimension, 0) << "\n"; in CommonWriteOnlyTestCode()
406 wgpu::TextureViewDimension dimension = wgpu::TextureViewDimension::e2D) { in CommonReadWriteTestCode() argument
409 switch (dimension) { in CommonReadWriteTestCode()
[all …]
/third_party/boost/libs/geometry/doc/generated/
Ddimension.qbk16 [section:dimension dimension]
18 '''<indexterm><primary>dimension</primary></indexterm>'''
23 struct dimension
24 …: public core_dispatch::dimension< tag< Geometry >::type, geometry::util::bare_type< Geometry >::t…
/third_party/boost/boost/numeric/ublas/detail/
Ddefinitions.hpp111 namespace dimension { namespace
114 template<unsigned dimension>
175 template<unsigned dimension, class E>
178 return dimension_properties<dimension>::size (e); in size()
181 template<unsigned dimension, class I>
186 return dimension_properties<dimension>::template index<container_type> (i); in index()

12345678910>>...27