Home
last modified time | relevance | path

Searched refs:size2 (Results 1 – 25 of 207) sorted by relevance

123456789

/third_party/gettext/gettext-runtime/intl/
Dxsize.h63 xsum (size_t size1, size_t size2) in xsum() argument
65 size_t sum = size1 + size2; in xsum()
71 xsum3 (size_t size1, size_t size2, size_t size3) in xsum3() argument
73 return xsum (xsum (size1, size2), size3); in xsum3()
78 xsum4 (size_t size1, size_t size2, size_t size3, size_t size4) in xsum4() argument
80 return xsum (xsum (xsum (size1, size2), size3), size4); in xsum4()
85 xmax (size_t size1, size_t size2) in xmax() argument
89 return (size1 >= size2 ? size1 : size2); in xmax()
/third_party/boost/boost/numeric/ublas/detail/
Dmatrix_assign.hpp50 BOOST_UBLAS_CHECK (m.size2 () == e ().size2 (), bad_size ()); in make_conformant()
154 BOOST_UBLAS_CHECK (m.size2 () == e ().size2 (), bad_size ()); in make_conformant()
264 difference_type size2 (m.size2 ()); in iterating_matrix_assign_scalar() local
266 BOOST_UBLAS_CHECK (size2 == 0 || m.end1 () - it1 == size1, bad_size ()); in iterating_matrix_assign_scalar()
273 BOOST_UBLAS_CHECK (it1.end () - it2 == size2, bad_size ()); in iterating_matrix_assign_scalar()
274 difference_type temp_size2 (size2); in iterating_matrix_assign_scalar()
290 difference_type size2 (m.size2 ()); in iterating_matrix_assign_scalar() local
293 BOOST_UBLAS_CHECK (size1 == 0 || m.end2 () - it2 == size2, bad_size ()); in iterating_matrix_assign_scalar()
294 while (-- size2 >= 0) { in iterating_matrix_assign_scalar()
318 size_type size2 (m.size2 ()); in indexing_matrix_assign_scalar() local
[all …]
/third_party/glib/glib/gnulib/
Dxsize.h65 xsum (size_t size1, size_t size2) in xsum() argument
67 size_t sum = size1 + size2; in xsum()
76 xsum3 (size_t size1, size_t size2, size_t size3) in xsum3() argument
78 return xsum (xsum (size1, size2), size3); in xsum3()
86 xsum4 (size_t size1, size_t size2, size_t size3, size_t size4) in xsum4() argument
88 return xsum (xsum (xsum (size1, size2), size3), size4); in xsum4()
96 xmax (size_t size1, size_t size2) in xmax() argument
100 return (size1 >= size2 ? size1 : size2); in xmax()
/third_party/ffmpeg/libavcodec/
Dbytestream.h183 int size2; in bytestream2_skip_p() local
186 size2 = FFMIN(p->buffer_end - p->buffer, size); in bytestream2_skip_p()
187 if (size2 != size) in bytestream2_skip_p()
189 p->buffer += size2; in bytestream2_skip_p()
271 int size2 = FFMIN(g->buffer_end - g->buffer, size); in bytestream2_get_buffer() local
272 memcpy(dst, g->buffer, size2); in bytestream2_get_buffer()
273 g->buffer += size2; in bytestream2_get_buffer()
274 return size2; in bytestream2_get_buffer()
290 int size2; in bytestream2_put_buffer() local
293 size2 = FFMIN(p->buffer_end - p->buffer, size); in bytestream2_put_buffer()
[all …]
/third_party/boost/libs/numeric/odeint/examples/
Dtwo_dimensional_phase_lattice.cpp37 size_t size1 = x.size1() , size2 = x.size2(); in operator ()() local
41 for( size_t j=1 ; j<size2-1 ; ++j ) in operator ()()
51 for( size_t i=0 ; i<x.size1() ; ++i ) dxdt( i , 0 ) = dxdt( i , x.size2() -1 ) = 0.0; in operator ()()
52 for( size_t j=0 ; j<x.size2() ; ++j ) dxdt( 0 , j ) = dxdt( x.size1() -1 , j ) = 0.0; in operator ()()
80 for( size_t j=0 ; j<x.size2() ; ++j ) in operator ()()
109 for( size_t j=0 ; j<x.size2() ; ++j ) in operator ()()
131 size_t size1 = 128 , size2 = 128; in main() local
132 state_type x( size1 , size2 , 0.0 ); in main()
135 for( size_t j=(size2/2-10) ; j<(size2/2+10) ; ++j ) in main()
/third_party/boost/boost/numeric/ublas/
Dio.hpp154 size_type size2 = m ().size2 (); in operator <<() local
159 s << '[' << size1 << ',' << size2 << "]("; in operator <<()
162 if (size2 > 0) in operator <<()
164 for (size_type j = 1; j < size2; ++ j) in operator <<()
170 if (size2 > 0) in operator <<()
172 for (size_type j = 1; j < size2; ++ j) in operator <<()
205 size_type size1, size2; in operator >>() local
212 } else if (is >> size2 >> ch && ch != ']') { in operator >>()
216 matrix<MT, MF, MA> s (size1, size2); in operator >>()
227 for (size_type j = 0; j < size2; j ++) { in operator >>()
[all …]
Dtriangular.hpp35 const size_type msize2 (m.size2 ()); in matrix_resize_preserve()
37 const size_type size2 (temporary.size2 ()); in matrix_resize_preserve() local
40 const size_type size2_min = (std::min) (size2, msize2); in matrix_resize_preserve()
51 … temporary.data () [triangular_type::element (layout_type (), i1, size1, i2, size2)] = in matrix_resize_preserve()
109 triangular_matrix (size_type size1, size_type size2): in triangular_matrix() argument
111 …size1_ (size1), size2_ (size2), data_ (triangular_type::packed_size (layout_type (), size1, size2)… in triangular_matrix()
114 triangular_matrix (size_type size1, size_type size2, const array_type &data): in triangular_matrix() argument
116 size1_ (size1), size2_ (size2), data_ (data) {} in triangular_matrix()
125 size1_ (ae ().size1 ()), size2_ (ae ().size2 ()), in triangular_matrix()
136 size_type size2 () const { in size2() function in boost::numeric::ublas::triangular_matrix
[all …]
Dexception.hpp273 T1 same_impl_ex (const T1 &size1, const T2 &size2, const char *file, int line) { in same_impl_ex() argument
274 BOOST_UBLAS_CHECK_EX (size1 == size2, file, line, bad_argument ()); in same_impl_ex()
275 return (size1 < size2)?(size1):(size2); in same_impl_ex()
279 T same_impl_ex (const T &size1, const T &size2, const char *file, int line) { in same_impl_ex() argument
280 BOOST_UBLAS_CHECK_EX (size1 == size2, file, line, bad_argument ()); in same_impl_ex()
281 return (std::min) (size1, size2); in same_impl_ex()
283 #define BOOST_UBLAS_SAME(size1, size2) same_impl_ex ((size1), (size2), __FILE__, __LINE__) argument
292 #define BOOST_UBLAS_SAME(size1, size2) (size1) argument
Dmatrix.hpp54 const size_type msize2 (m.size2 ()); in matrix_resize_preserve()
56 const size_type size2 (temporary.size2 ()); in matrix_resize_preserve() local
59 const size_type size2_min = (std::min) (size2, msize2); in matrix_resize_preserve()
69 temporary.data () [layout_type::element (i1, size1, i2, size2)] = in matrix_resize_preserve()
131 matrix (size_type size1, size_type size2): in matrix() argument
133 size1_ (size1), size2_ (size2), data_ (layout_type::storage_size (size1, size2)) { in matrix()
141 matrix (size_type size1, size_type size2, const value_type &init): in matrix() argument
143 size1_ (size1), size2_ (size2), data_ (layout_type::storage_size (size1, size2), init) { in matrix()
152 matrix (size_type size1, size_type size2, const array_type &data): in matrix() argument
154 size1_ (size1), size2_ (size2), data_ (data) {} in matrix()
[all …]
Dlu.hpp104 size_type size2 = m.size2 (); in lu_factorize() local
105 size_type size = (std::min) (size1, size2); in lu_factorize()
115 project (m, range (i + 1, size1), range (i + 1, size2)).minus_assign ( in lu_factorize()
117 project (mri, range (i + 1, size2)))); in lu_factorize()
140 size_type size2 = m.size2 (); in lu_factorize() local
141 size_type size = (std::min) (size1, size2); in lu_factorize()
159 project (m, range (i + 1, size1), range (i + 1, size2)).minus_assign ( in lu_factorize()
161 project (mri, range (i + 1, size2)))); in lu_factorize()
184 size_type size2 = m.size2 (); in axpy_lu_factorize() local
185 size_type size = (std::min) (size1, size2); in axpy_lu_factorize()
[all …]
Dbanded.hpp44 BOOST_UBLAS_INLINE static T size(T /*size1*/, T size2) { in size() argument
45 return size2; in size()
54 BOOST_UBLAS_INLINE static T get_index(T /*size1*/, T size2, T lower, T upper, T i, T j) { in get_index() argument
55 return column_major::element (upper + i - j, lower + 1 + upper, j, size2); in get_index()
133 banded_matrix (size_type size1, size_type size2, size_type lower = 0, size_type upper = 0): in banded_matrix() argument
135 size1_ (size1), size2_ (size2), in banded_matrix()
138 data_ ((std::max) (size1, size2) * (lower + 1 + upper)) in banded_matrix()
140 …data_ ( hidden::banded_indexing<orientation_category>::size(size1, size2) * (lower + 1 + upper)) /… in banded_matrix()
145 …banded_matrix (size_type size1, size_type size2, size_type lower, size_type upper, const array_typ… in banded_matrix() argument
147 size1_ (size1), size2_ (size2), in banded_matrix()
[all …]
/third_party/boost/libs/numeric/ublas/test/
Dsize.cpp130 …BLAS_DEBUG_TRACE( "size<2>(A) = " << (boost::numeric::ublas::size<2>(A)) << " ==> " << A.size2() ); in BOOST_UBLAS_TEST_DEF()
131 BOOST_UBLAS_TEST_CHECK( (boost::numeric::ublas::size<2>(A) == A.size2()) ); in BOOST_UBLAS_TEST_DEF()
138 …" << (boost::numeric::ublas::size<boost::numeric::ublas::tag::minor>(A)) << " ==> " << A.size2() ); in BOOST_UBLAS_TEST_DEF()
139 …LAS_TEST_CHECK( (boost::numeric::ublas::size<boost::numeric::ublas::tag::minor>(A) == A.size2()) ); in BOOST_UBLAS_TEST_DEF()
142 …<< (boost::numeric::ublas::size<boost::numeric::ublas::tag::leading>(A)) << " ==> " << A.size2() ); in BOOST_UBLAS_TEST_DEF()
143 …S_TEST_CHECK( (boost::numeric::ublas::size<boost::numeric::ublas::tag::leading>(A) == A.size2()) ); in BOOST_UBLAS_TEST_DEF()
168 …BLAS_DEBUG_TRACE( "size<2>(A) = " << (boost::numeric::ublas::size<2>(A)) << " ==> " << A.size2() ); in BOOST_UBLAS_TEST_DEF()
169 BOOST_UBLAS_TEST_CHECK( (boost::numeric::ublas::size<2>(A) == A.size2()) ); in BOOST_UBLAS_TEST_DEF()
172 …" << (boost::numeric::ublas::size<boost::numeric::ublas::tag::major>(A)) << " ==> " << A.size2() ); in BOOST_UBLAS_TEST_DEF()
173 …LAS_TEST_CHECK( (boost::numeric::ublas::size<boost::numeric::ublas::tag::major>(A) == A.size2()) ); in BOOST_UBLAS_TEST_DEF()
[all …]
Dnum_columns.cpp31 …EBUG_TRACE( "num_columns(A) = " << boost::numeric::ublas::num_columns(A) << " ==> " << A.size2() ); in BOOST_UBLAS_TEST_DEF()
32 BOOST_UBLAS_TEST_CHECK( boost::numeric::ublas::num_columns(A) == A.size2() ); in BOOST_UBLAS_TEST_DEF()
52 …EBUG_TRACE( "num_columns(A) = " << boost::numeric::ublas::num_columns(A) << " ==> " << A.size2() ); in BOOST_UBLAS_TEST_DEF()
53 BOOST_UBLAS_TEST_CHECK( boost::numeric::ublas::num_columns(A) == A.size2() ); in BOOST_UBLAS_TEST_DEF()
73 …m_columns(boost::numeric::ublas::trans(A)) << " ==> " << boost::numeric::ublas::trans(A).size2() ); in BOOST_UBLAS_TEST_DEF()
74 …::ublas::num_columns(boost::numeric::ublas::trans(A)) == boost::numeric::ublas::trans(A).size2() ); in BOOST_UBLAS_TEST_DEF()
95 …ric::ublas::num_columns(matrix_reference_type(A)) << " ==> " << matrix_reference_type(A).size2() ); in BOOST_UBLAS_TEST_DEF()
96 …boost::numeric::ublas::num_columns(matrix_reference_type(A)) == matrix_reference_type(A).size2() ); in BOOST_UBLAS_TEST_DEF()
/third_party/boost/boost/numeric/ublas/opencl/
Dprod.hpp34 assert(a.size2() == b.size1()); in prod()
49 bl1.reset(new ublas::matrix<T, L1, opencl::storage>(b.size1(), b.size2(), queue.get_context())); in prod()
55 size_t lda = Order == clblasRowMajor ? a.size2() : a.size1(); in prod()
56 size_t ldb = Order == clblasRowMajor ? b.size2() : a.size2(); in prod()
57 size_t ldc = Order == clblasRowMajor ? b.size2() : a.size1(); in prod()
61 a.size1(), b.size2(), a.size2(), in prod()
68 a.size1(), b.size2(), a.size2(), in prod()
75 a.size1(), b.size2(), a.size2(), in prod()
82 a.size1(), b.size2(), a.size2(), in prod()
99 ublas::matrix<T, L1, opencl::storage> rdev(a.size1(), b.size2(), queue.get_context()); in prod()
[all …]
Dmatrix.hpp40 matrix(size_type size1, size_type size2, compute::context c) in matrix() argument
42 size1_(size1), size2_(size2), device_(c.get_device()) in matrix()
45 data_ = allocator.allocate(layout_type::storage_size(size1, size2)).get_buffer(); in matrix()
48 matrix(size_type size1, size_type size2, T const &value, compute::command_queue &q) in matrix() argument
50 size1_(size1), size2_(size2), device_(q.get_device()) in matrix()
53 data_ = allocator.allocate(layout_type::storage_size(size1, size2)).get_buffer(); in matrix()
60 : matrix(m.size1(), m.size2(), queue.get_context()) in matrix()
66 size_type size2() const { return size2_;} in size2() function in boost::numeric::ublas::matrix
Dtranspose.hpp40 assert(m.size1() == result.size1() && m.size2() == result.size2()); in change_layout()
58 size_t width = std::is_same < L1, ublas::basic_row_major<>>::value ? m.size2() : m.size1(); in change_layout()
59 size_t height = std::is_same < L1, ublas::basic_row_major<>>::value ? m.size1() : m.size2(); in change_layout()
78 ublas::matrix<T, L2, opencl::storage> rdev(result.size1(), result.size2(), queue.get_context()); in change_layout()
89 assert(m.size1() == result.size2() && m.size2() == result.size1()); in trans()
106 size_t width = std::is_same <L, ublas::basic_row_major<>>::value ? m.size2() : m.size1(); in trans()
107 size_t height = std::is_same <L, ublas::basic_row_major<>>::value ? m.size1() : m.size2(); in trans()
126 ublas::matrix<T, L, opencl::storage> rdev(result.size1(), result.size2(), queue.get_context()); in trans()
135 ublas::matrix<T, L, A> result(m.size2(), m.size1()); in trans()
/third_party/boost/libs/multiprecision/test/ublas_interop/common/
Dinit.hpp69 typename M::size_type size2 = m.size2(); in initialize_matrix_impl() local
71 for (typename M::size_type j = 0; j < size2; ++j) in initialize_matrix_impl()
85 typename M::size_type size2 = m.size2(); in initialize_matrix() local
91 for (; j < size2; ++j) in initialize_matrix()
99 typename M::size_type size2 = m.size2(); in initialize_matrix() local
105 for (; j < size2; ++j) in initialize_matrix()
/third_party/boost/libs/numeric/ublas/test/common/
Dinit.hpp66 typename M::size_type size2 = m.size2 (); in initialize_matrix_impl() local
68 for (typename M::size_type j = 0; j < size2; ++ j) in initialize_matrix_impl()
80 typename M::size_type size2 = m.size2 (); in initialize_matrix() local
85 for (; j < size2; ++ j) in initialize_matrix()
92 typename M::size_type size2 = m.size2 (); in initialize_matrix() local
97 for (; j < size2; ++ j) in initialize_matrix()
Dtesthelper.hpp65 (m1().size2() != m2().size2())) { in compare()
70 size_t size2 = m1().size2(); in compare() local
72 for (size_t j=0; j < size2; ++j) { in compare()
123 for (j=0; j!= me().size2(); j++) { in mean_square()
127 return s / (me().size1() * me().size2()); in mean_square()
146 (m1().size2() != m2().size2())) { in compare_distance()
/third_party/ltp/testcases/lib/
Dtst_get_median.c33 const size_t size2 = size / 2; in main() local
34 printf("%d", (size & 1) ? arr[size2] : ((arr[size2 - 1] + arr[size2]) / 2)); in main()
/third_party/mindspore/mindspore/lite/src/common/
Dlog_util.h48 #define CHECK_LESS_RETURN(size1, size2) \ argument
50 if ((size1) < (size2)) { \
51 MS_LOG(ERROR) << #size1 << " must not less than " << #size2; \
58 #define CHECK_LESS_RETURN(size1, size2) argument
/third_party/libuv/test/
Dtest-cwd-and-chdir.c32 size_t size2; in TEST_IMPL() local
49 size2 = sizeof buffer_new; in TEST_IMPL()
50 err = uv_cwd(buffer_new, &size2); in TEST_IMPL()
53 ASSERT(size1 == size2); in TEST_IMPL()
/third_party/openGLES/specs/katex/
Dkatex.min.css1size2,.katex .sizing.reset-size1.size2{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size3,…
/third_party/openGLES/specs/gl/katex/
Dkatex.min.css1size2,.katex .sizing.reset-size1.size2{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size3,…
/third_party/openGLES/specs/es/3.2/katex/
Dkatex.min.css1size2,.katex .sizing.reset-size1.size2{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size3,…

123456789