Home
last modified time | relevance | path

Searched refs:shape_t (Results 1 – 25 of 156) sorted by relevance

1234567

/dports/misc/boxes/boxes-1.3/src/
H A Dshape.h31 } shape_t; typedef
41 extern shape_t north_side[SHAPES_PER_SIDE]; /* groups of shapes, clockwise */
42 extern shape_t east_side[SHAPES_PER_SIDE];
43 extern shape_t south_side[SHAPES_PER_SIDE];
44 extern shape_t west_side[SHAPES_PER_SIDE];
45 extern shape_t corners[ANZ_CORNERS];
46 extern shape_t *sides[ANZ_SIDES];
63 shape_t findshape (const sentry_t *sarr, const int num);
64 int on_side (const shape_t s, const int idx);
72 shape_t leftmost (const int aside, const int cnt);
H A Dshape.c42 shape_t east_side[SHAPES_PER_SIDE] = { NE, ENE, E, ESE, SE };
43 shape_t south_side[SHAPES_PER_SIDE] = { SE, SSE, S, SSW, SW };
44 shape_t west_side[SHAPES_PER_SIDE] = { SW, WSW, W, WNW, NW };
45 shape_t corners[ANZ_CORNERS] = { NW, NE, SE, SW };
46 shape_t *sides[] = { north_side, east_side, south_side, west_side };
51 shape_t findshape (const sentry_t *sarr, const int num) in findshape()
73 return (shape_t) i; in findshape()
78 int on_side (const shape_t s, const int idx) in on_side()
244 shape_t r = va_arg (ap, shape_t); in highest()
282 shape_t r = va_arg (ap, shape_t); in widest()
[all …]
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/server/
H A Dasteroid.h57 extern shape_t asteroid_wire1;
58 extern shape_t asteroid_wire2;
59 extern shape_t asteroid_wire3;
60 extern shape_t asteroid_wire4;
62 static inline shape_t *Asteroid_get_shape_by_size(int size) in Asteroid_get_shape_by_size()
/dports/devel/py-pythran/pythran-0.11.0/pythran/pythonic/numpy/
H A Datleast_3d.hpp32 0, typename T::shape_t>::type, in atleast_3d()
38 typename std::tuple_element<0, typename T::shape_t>::type, in atleast_3d()
50 typename std::tuple_element<0, typename T::shape_t>::type, in atleast_3d()
51 typename std::tuple_element<1, typename T::shape_t>::type, in atleast_3d()
56 types::pshape<typename std::tuple_element<0, typename T::shape_t>::type, in atleast_3d()
57 typename std::tuple_element<1, typename T::shape_t>::type, in atleast_3d()
H A Dfull.hpp15 types::ndarray<typename dtype::type, sutils::shape_t<pS>>
18 return {(sutils::shape_t<pS>)shape, typename dtype::type(fill_value)}; in full()
38 types::ndarray<F, sutils::shape_t<pS>> full(pS const &shape, F fill_value, in full()
41 return {(sutils::shape_t<pS>)shape, fill_value}; in full()
H A Dfrexp.hpp47 std::tuple<types::ndarray<typename E::dtype, typename E::shape_t>,
48 types::ndarray<int, typename E::shape_t>>>::type
52 types::ndarray<typename E::dtype, typename E::shape_t> significands( in frexp()
54 types::ndarray<int, typename E::shape_t> exps(arr_shape, builtins::None); in frexp()
/dports/devel/py-pythran/pythran-0.11.0/pythran/pythonic/numpy/fft/
H A Dc2c.hpp26 using pocketfft::shape_t;
106 T norm_fct(Inorm inorm, const shape_t &shape, const shape_t &axes, in norm_fct()
182 shape_t axes = shape_t(1); in c2r()
184 shape_t shapes = shape_t(size_t(N)); in c2r()
229 shape_t axes = shape_t(1); in c2c()
232 shape_t shapes = shape_t(size_t(N)); in c2c()
269 shape_t shapes = shape_t(size_t(N)); in r2c()
287 shape_t axes = shape_t(1); in r2c()
/dports/math/py-ducc0/ducc0-0.22.0/src/ducc0/bindings/
H A Dpybind_utils.h37 using shape_t=fmav_info::shape_t; variable
55 shape_t copy_shape(const py::array &arr) in copy_shape()
57 shape_t res(size_t(arr.ndim())); in copy_shape()
103 template<typename T> py::array_t<T> make_Pyarr(const shape_t &dims) in make_Pyarr()
106 template<typename T> py::array_t<T> make_noncritical_Pyarr(const shape_t &shape) in make_noncritical_Pyarr()
128 const shape_t &dims) in get_optional_Pyarr()
140 (py::object &arr_, const shape_t &dims) in get_optional_Pyarr_minshape()
152 const py::object &arr_, const shape_t &dims) in get_optional_const_Pyarr()
154 if (arr_.is_none()) return py::array_t<T>(shape_t(dims.size(), 0)); in get_optional_const_Pyarr()
/dports/math/py-ducc0/ducc0-0.22.0/src/ducc0/infra/
H A Dmav.h109 shape_t shp;
191 shape_t bcast_shape(const shape_t &shp2) const in bcast_shape()
236 shape_t nshp(ndim); in subdata()
272 shape_t shp;
470 vfmav(const shape_t &shp_) in vfmav()
562 cmav(const shape_t &shp_) in cmav()
594 shape_t tshp; in build_uniform()
633 vmav(const shape_t &shp_) in vmav()
664 shape_t nshp; in build_empty()
742 fmav_info::shape_t shp; in multiprep()
[all …]
/dports/devel/py-pythran/pythran-0.11.0/pythran/pythonic/include/numpy/
H A Darange.hpp85 using shape_t = types::pshape<long>; typedef
119 types::ndarray<dtype, shape_t> operator[](types::slice s) const in operator []()
127 types::ndarray<dtype, shape_t> operator()(types::slice s) const in operator ()()
131 types::ndarray<dtype, shape_t> operator[](types::contiguous_slice s) const in operator []()
139 types::ndarray<dtype, shape_t> operator()(types::contiguous_slice s) const in operator ()()
146 decltype(std::declval<types::ndarray<dtype, shape_t>>()(s...))>::type in operator ()()
148 return types::ndarray<dtype, shape_t>{ in operator ()()
H A Datleast_3d.hpp23 0, typename T::shape_t>::type,
32 typename std::tuple_element<0, typename T::shape_t>::type,
33 typename std::tuple_element<1, typename T::shape_t>::type,
H A Dfrexp.hpp20 std::tuple<types::ndarray<typename E::dtype, typename E::shape_t>,
21 types::ndarray<int, typename E::shape_t>>>::type
/dports/multimedia/tinyobjloader/tinyobjloader-2.0.0rc8-3-g7ba4b65/tests/
H A Dtester.cc218 std::vector<tinyobj::shape_t> shapes; in TestLoadObj()
263 std::vector<tinyobj::shape_t> shapes; in TestLoadObjFromPreopenedFile()
376 std::vector<tinyobj::shape_t> shapes; in TestStreamLoadObj()
408 std::vector<tinyobj::shape_t> shapes; in test_catmark_torus_creases0()
433 std::vector<tinyobj::shape_t> shapes; in test_pbr()
481 std::vector<tinyobj::shape_t> shapes; in test_trailing_whitespace_in_mtl_issue92()
503 std::vector<tinyobj::shape_t> shapes; in test_transmittance_filter_issue95()
527 std::vector<tinyobj::shape_t> shapes; in test_transmittance_filter_Tf_issue95()
551 std::vector<tinyobj::shape_t> shapes; in test_transmittance_filter_Kt_issue95()
575 std::vector<tinyobj::shape_t> shapes; in test_usemtl_at_last_line_issue104()
[all …]
/dports/devel/py-pythran/pythran-0.11.0/pythran/pythonic/utils/
H A Dnumpy_conversion.hpp15 return fname(types::ndarray<typename E::dtype, typename E::shape_t>{expr}, \
25 types::ndarray<typename E::dtype, typename E::shape_t>{expr}, \
28 return fname(types::ndarray<typename E::dtype, typename E::shape_t>{expr}, \
/dports/math/py-ducc0/ducc0-0.22.0/python/
H A Dhealpix_pymod.cc50 using shape_t = fmav_info::shape_t; typedef
52 template<size_t nd1, size_t nd2> shape_t repl_dim(const shape_t &s, in repl_dim()
61 shape_t snew(s.size()-nd1+nd2); in repl_dim()
207 auto res = make_Pyarr<int64_t>(shape_t({pixset.nranges(),2})); in query_disc()
221 auto theta_= make_Pyarr<double>(shape_t({nrings})); in sht_info()
223 auto phi0_ = make_Pyarr<double>(shape_t({nrings})); in sht_info()
225 auto nphi_ = make_Pyarr<size_t>(shape_t({nrings})); in sht_info()
227 auto ringstart_ = make_Pyarr<size_t>(shape_t({nrings})); in sht_info()
/dports/multimedia/tinyobjloader/tinyobjloader-2.0.0rc8-3-g7ba4b65/python/
H A Dbindings.cc52 py::class_<shape_t>(tobj_module, "shape_t") in PYBIND11_MODULE()
54 .def_readwrite("name", &shape_t::name) in PYBIND11_MODULE()
55 .def_readwrite("mesh", &shape_t::mesh) in PYBIND11_MODULE()
56 .def_readwrite("lines", &shape_t::lines) in PYBIND11_MODULE()
57 .def_readwrite("points", &shape_t::points); in PYBIND11_MODULE()
/dports/devel/bullet/bullet3-3.21/examples/Importers/ImportObjDemo/
H A DLoadMeshFromObj.cpp14 std::vector<tinyobj::shape_t> m_shapes;
36 std::vector<tinyobj::shape_t>& shapes, // [output] in LoadFromCachedOrFromObj()
65 std::vector<tinyobj::shape_t> shapes; in LoadMeshFromObj()
/dports/devel/py-bullet3/bullet3-3.21/examples/Importers/ImportObjDemo/
H A DLoadMeshFromObj.cpp14 std::vector<tinyobj::shape_t> m_shapes;
36 std::vector<tinyobj::shape_t>& shapes, // [output] in LoadFromCachedOrFromObj()
65 std::vector<tinyobj::shape_t> shapes; in LoadMeshFromObj()
/dports/devel/bullet/bullet3-3.21/examples/ThirdPartyLibs/Wavefront/
H A Dtiny_obj_loader.h66 } shape_t; typedef
84 std::vector<shape_t>& shapes, // [output]
91 std::vector<shape_t>& shapes,
/dports/devel/py-bullet3/bullet3-3.21/examples/ThirdPartyLibs/Wavefront/
H A Dtiny_obj_loader.h66 } shape_t; typedef
84 std::vector<shape_t>& shapes, // [output]
91 std::vector<shape_t>& shapes,
/dports/net/arataga/oess-2.2.3/doxygen/dox/
H A Dstdsn_shptr.dox63 {type {abstract} image::shape_t
67 {super image::shape_t}
71 {super image::shape_t}
75 {super image::shape_t}
83 {attr m_items {stl-list} {of {ptr} image::shape_t}}
/dports/graphics/nanort/nanort-b1feea8/examples/path_tracer/
H A Dtiny_obj_loader.h50 } shape_t; typedef
80 std::string LoadObj(std::vector<shape_t> &shapes, // [output]
87 std::string LoadObj(std::vector<shape_t> &shapes, // [output]
/dports/graphics/nanort/nanort-b1feea8/examples/vrcamera/
H A Dtiny_obj_loader.h50 } shape_t; typedef
80 std::string LoadObj(std::vector<shape_t> &shapes, // [output]
87 std::string LoadObj(std::vector<shape_t> &shapes, // [output]
/dports/graphics/nanort/nanort-b1feea8/examples/double_precision/
H A Dtiny_obj_loader.h50 } shape_t; typedef
80 std::string LoadObj(std::vector<shape_t> &shapes, // [output]
87 std::string LoadObj(std::vector<shape_t> &shapes, // [output]
/dports/graphics/nanort/nanort-b1feea8/examples/objrender/
H A Dtiny_obj_loader.h51 } shape_t; typedef
89 std::string LoadObj(std::vector<shape_t> &shapes, // [output]
96 std::string LoadObj(std::vector<shape_t> &shapes, // [output]

1234567