Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 241) sorted by relevance

12345678910

/ndk/sources/cxx-stl/llvm-libc++/test/language.support/support.limits/limits/numeric.limits.members/
Dconst_data_members.pass.cpp43 #define TEST_NUMERIC_LIMITS(type) \ argument
44 test(std::numeric_limits<type>::is_specialized); \
45 test(std::numeric_limits<type>::digits); \
46 test(std::numeric_limits<type>::digits10); \
47 test(std::numeric_limits<type>::max_digits10); \
48 test(std::numeric_limits<type>::is_signed); \
49 test(std::numeric_limits<type>::is_integer); \
50 test(std::numeric_limits<type>::is_exact); \
51 test(std::numeric_limits<type>::radix); \
52 test(std::numeric_limits<type>::min_exponent); \
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/meta/meta.trans/meta.trans.sign/
Dmake_unsigned.pass.cpp26 static_assert((std::is_same<std::make_unsigned<signed char>::type, unsigned char>::value), ""); in main()
27 … static_assert((std::is_same<std::make_unsigned<unsigned char>::type, unsigned char>::value), ""); in main()
28 static_assert((std::is_same<std::make_unsigned<char>::type, unsigned char>::value), ""); in main()
29 static_assert((std::is_same<std::make_unsigned<short>::type, unsigned short>::value), ""); in main()
30 …static_assert((std::is_same<std::make_unsigned<unsigned short>::type, unsigned short>::value), ""); in main()
31 static_assert((std::is_same<std::make_unsigned<int>::type, unsigned int>::value), ""); in main()
32 static_assert((std::is_same<std::make_unsigned<unsigned int>::type, unsigned int>::value), ""); in main()
33 static_assert((std::is_same<std::make_unsigned<long>::type, unsigned long>::value), ""); in main()
34 … static_assert((std::is_same<std::make_unsigned<unsigned long>::type, unsigned long>::value), ""); in main()
35 … static_assert((std::is_same<std::make_unsigned<long long>::type, unsigned long long>::value), ""); in main()
[all …]
Dmake_signed.pass.cpp26 static_assert((std::is_same<std::make_signed<signed char>::type, signed char>::value), ""); in main()
27 static_assert((std::is_same<std::make_signed<unsigned char>::type, signed char>::value), ""); in main()
28 static_assert((std::is_same<std::make_signed<char>::type, signed char>::value), ""); in main()
29 static_assert((std::is_same<std::make_signed<short>::type, signed short>::value), ""); in main()
30 static_assert((std::is_same<std::make_signed<unsigned short>::type, signed short>::value), ""); in main()
31 static_assert((std::is_same<std::make_signed<int>::type, signed int>::value), ""); in main()
32 static_assert((std::is_same<std::make_signed<unsigned int>::type, signed int>::value), ""); in main()
33 static_assert((std::is_same<std::make_signed<long>::type, signed long>::value), ""); in main()
34 static_assert((std::is_same<std::make_signed<unsigned long>::type, long>::value), ""); in main()
35 static_assert((std::is_same<std::make_signed<long long>::type, signed long long>::value), ""); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/meta/meta.trans/meta.trans.other/
Daligned_storage.pass.cpp19 typedef std::aligned_storage<10, 1 >::type T1; in main()
24 typedef std::aligned_storage<10, 2 >::type T1; in main()
29 typedef std::aligned_storage<10, 4 >::type T1; in main()
34 typedef std::aligned_storage<10, 8 >::type T1; in main()
39 typedef std::aligned_storage<10, 16 >::type T1; in main()
44 typedef std::aligned_storage<10, 32 >::type T1; in main()
49 typedef std::aligned_storage<20, 32 >::type T1; in main()
54 typedef std::aligned_storage<40, 32 >::type T1; in main()
59 typedef std::aligned_storage<12, 16 >::type T1; in main()
64 typedef std::aligned_storage<1>::type T1; in main()
[all …]
Dresult_of.pass.cpp33 static_assert((std::is_same<std::result_of<S(int)>::type, short>::value), "Error!"); in main()
34 …static_assert((std::is_same<std::result_of<S&(unsigned char, int&)>::type, double>::value), "Error… in main()
35 static_assert((std::is_same<std::result_of<PF1()>::type, bool>::value), "Error!"); in main()
36 …static_assert((std::is_same<std::result_of<PMS(std::unique_ptr<S>, int)>::type, void>::value), "Er… in main()
37 static_assert((std::is_same<std::result_of<PMS(S, int)>::type, void>::value), "Error!"); in main()
38 static_assert((std::is_same<std::result_of<PMS(const S&, int)>::type, void>::value), "Error!"); in main()
40 static_assert((std::is_same<std::result_of<PMD(S)>::type, char&&>::value), "Error!"); in main()
42 … static_assert((std::is_same<std::result_of<PMD(const S*)>::type, const char&>::value), "Error!"); in main()
Dcommon_type.pass.cpp18 static_assert((std::is_same<std::common_type<int>::type, int>::value), ""); in main()
19 static_assert((std::is_same<std::common_type<char>::type, char>::value), ""); in main()
21 static_assert((std::is_same<std::common_type<double, char>::type, double>::value), ""); in main()
22 static_assert((std::is_same<std::common_type<short, char>::type, int>::value), ""); in main()
24 … static_assert((std::is_same<std::common_type<double, char, long long>::type, double>::value), ""); in main()
25 …static_assert((std::is_same<std::common_type<unsigned, char, long long>::type, long long>::value),… in main()
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/meta/meta.trans/meta.trans.arr/
Dremove_all_extents.pass.cpp20 static_assert((std::is_same<std::remove_all_extents<int>::type, int>::value), ""); in main()
21 static_assert((std::is_same<std::remove_all_extents<const Enum>::type, const Enum>::value), ""); in main()
22 static_assert((std::is_same<std::remove_all_extents<int[]>::type, int>::value), ""); in main()
23 static_assert((std::is_same<std::remove_all_extents<const int[]>::type, const int>::value), ""); in main()
24 static_assert((std::is_same<std::remove_all_extents<int[3]>::type, int>::value), ""); in main()
25 … static_assert((std::is_same<std::remove_all_extents<const int[3]>::type, const int>::value), ""); in main()
26 static_assert((std::is_same<std::remove_all_extents<int[][3]>::type, int>::value), ""); in main()
27 …static_assert((std::is_same<std::remove_all_extents<const int[][3]>::type, const int>::value), ""); in main()
28 static_assert((std::is_same<std::remove_all_extents<int[2][3]>::type, int>::value), ""); in main()
29 …static_assert((std::is_same<std::remove_all_extents<const int[2][3]>::type, const int>::value), ""… in main()
[all …]
Dremove_extent.pass.cpp20 static_assert((std::is_same<std::remove_extent<int>::type, int>::value), ""); in main()
21 static_assert((std::is_same<std::remove_extent<const Enum>::type, const Enum>::value), ""); in main()
22 static_assert((std::is_same<std::remove_extent<int[]>::type, int>::value), ""); in main()
23 static_assert((std::is_same<std::remove_extent<const int[]>::type, const int>::value), ""); in main()
24 static_assert((std::is_same<std::remove_extent<int[3]>::type, int>::value), ""); in main()
25 static_assert((std::is_same<std::remove_extent<const int[3]>::type, const int>::value), ""); in main()
26 static_assert((std::is_same<std::remove_extent<int[][3]>::type, int[3]>::value), ""); in main()
27 … static_assert((std::is_same<std::remove_extent<const int[][3]>::type, const int[3]>::value), ""); in main()
28 static_assert((std::is_same<std::remove_extent<int[2][3]>::type, int[3]>::value), ""); in main()
29 … static_assert((std::is_same<std::remove_extent<const int[2][3]>::type, const int[3]>::value), ""); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/include/
D__functional_base_0329 typedef decltype(__test((_Tp*)0)) type;
43 typedef decltype(__test((_Tp*)0)) type;
48 : public __derives_from_unary_function<_Tp>::type
59 : public __derives_from_binary_function<_Tp>::type
85 : public __weak_result_type_imp<typename remove_reference<_Tp>::type>
242 // typedef typename _Tp::result_type type;
248 // typedef void type;
253 // : public ________ref_return0<_Tp, __has_result_type<typename remove_cv<_Tp>::type>::value>
260 // typedef typename __callable_type<_Tp>::result_type type;
266 // typedef void type;
[all …]
D__tuple50 typedef typename add_const<typename tuple_element<_Ip, _Tp>::type>::type type;
57 typedef typename add_volatile<typename tuple_element<_Ip, _Tp>::type>::type type;
64 typedef typename add_cv<typename tuple_element<_Ip, _Tp>::type>::type type;
83 typename tuple_element<_Ip, tuple<_Tp...> >::type&
88 const typename tuple_element<_Ip, tuple<_Tp...> >::type&
93 typename tuple_element<_Ip, tuple<_Tp...> >::type&&
98 typename tuple_element<_Ip, pair<_T1, _T2> >::type&
103 const typename tuple_element<_Ip, pair<_T1, _T2> >::type&
108 typename tuple_element<_Ip, pair<_T1, _T2> >::type&&
136 typedef typename __make_indices_imp<_Sp+1, __tuple_indices<_Indices..., _Sp>, _Ep>::type type;
[all …]
Dtuple88 typename tuple_element<I, tuple<T...>>::type&
91 typename tuple_element<I, tuple<T...>>::type const&
94 typename tuple_element<I, tuple<T...>>::type&&
207 typedef typename tuple_element<_Ip, __tuple_types<_Tp...> >::type type;
261 class = typename enable_if<is_constructible<_Hp, _Tp>::value>::type>
268 is_same<typename remove_reference<_Tp>::type,
270 typename remove_reference<_Hp>::type
284 is_same<typename remove_reference<_Tp>::type,
286 typename remove_reference<_Hp>::type
298 is_same<typename remove_reference<_Tp>::type,
[all …]
Dlimits140 typedef _Tp type;
143 _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type min() _NOEXCEPT {return type();}
144 _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type max() _NOEXCEPT {return type();}
145 _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type lowest() _NOEXCEPT {return type();}
154 _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return type();}
155 _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type round_error() _NOEXCEPT {return type();}
167 _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return type();}
168 _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type quiet_NaN() _NOEXCEPT {return type();}
169 … _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type signaling_NaN() _NOEXCEPT {return type();}
170 _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type denorm_min() _NOEXCEPT {return type();}
[all …]
Dtype_traits152 struct _LIBCPP_VISIBLE conditional {typedef _If type;};
154 struct _LIBCPP_VISIBLE conditional<false, _If, _Then> {typedef _Then type;};
157 template <class _Tp> struct _LIBCPP_VISIBLE enable_if<true, _Tp> {typedef _Tp type;};
168 typedef integral_constant type;
191 template <class _Tp> struct _LIBCPP_VISIBLE remove_const {typedef _Tp type;};
192 template <class _Tp> struct _LIBCPP_VISIBLE remove_const<const _Tp> {typedef _Tp type;};
196 template <class _Tp> struct _LIBCPP_VISIBLE remove_volatile {typedef _Tp type;};
197 template <class _Tp> struct _LIBCPP_VISIBLE remove_volatile<volatile _Tp> {typedef _Tp type;};
202 {typedef typename remove_volatile<typename remove_const<_Tp>::type>::type type;};
210 : public __is_void<typename remove_cv<_Tp>::type> {};
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/function.objects/refwrap/
Dtype.pass.cpp23 static_assert((std::is_same<std::reference_wrapper<C>::type, in main()
25 static_assert((std::is_same<std::reference_wrapper<void ()>::type, in main()
27 static_assert((std::is_same<std::reference_wrapper<int* (double*)>::type, in main()
29 static_assert((std::is_same<std::reference_wrapper<void(*)()>::type, in main()
31 static_assert((std::is_same<std::reference_wrapper<int*(*)(double*)>::type, in main()
33 static_assert((std::is_same<std::reference_wrapper<int*(C::*)(double*)>::type, in main()
35 static_assert((std::is_same<std::reference_wrapper<int (C::*)(double*) const volatile>::type, in main()
/ndk/tests/awk/gen-cygwin-deps-converter/
Dtest-2.in1 C:\cygwin/bin on /usr/bin type ntfs (binary,auto)
2 C:\cygwin/lib on /usr/lib type ntfs (binary,auto)
3 C:\cygwin on / type ntfs (binary,auto)
4 C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
5 D: on /cygdrive/d type udf (binary,posix=0,user,noumount,auto)
6 \\server\subdir on /home/mnt.2$ type ....
Dtest-1.in1 C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
2 C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
3 C:/cygwin on / type ntfs (binary,auto)
4 C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
5 D: on /cygdrive/d type udf (binary,posix=0,user,noumount,auto)
6 //server/subdir on /home/mnt.2$ type ....
/ndk/tests/build/issue20862-libpng-O0/jni/
Dpngconf.h232 # define PNG_EXPORT_TYPE(type) type PNG_IMPEXP argument
286 # define PNG_FUNCTION(type, name, args, attributes) attributes type name args argument
290 # define PNG_EXPORT_TYPE(type) PNG_IMPEXP type argument
299 # define PNG_EXPORTA(ordinal, type, name, args, attributes)\ argument
300 PNG_FUNCTION(PNG_EXPORT_TYPE(type),(PNGAPI name),PNGARG(args), \
309 #define PNG_EXPORT(ordinal, type, name, args)\ argument
310 PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY)
314 # define PNG_REMOVED(ordinal, type, name, args, attributes) argument
318 # define PNG_CALLBACK(type, name, args) type (PNGCBAPI name) PNGARG(args) argument
404 # define PNG_FP_EXPORT(ordinal, type, name, args)\ argument
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/ratio/ratio.arithmetic/
Dratio_subtract.pass.cpp19 typedef std::ratio_subtract<R1, R2>::type R; in main()
25 typedef std::ratio_subtract<R1, R2>::type R; in main()
31 typedef std::ratio_subtract<R1, R2>::type R; in main()
37 typedef std::ratio_subtract<R1, R2>::type R; in main()
43 typedef std::ratio_subtract<R1, R2>::type R; in main()
49 typedef std::ratio_subtract<R1, R2>::type R; in main()
55 typedef std::ratio_subtract<R1, R2>::type R; in main()
61 typedef std::ratio_subtract<R1, R2>::type R; in main()
67 typedef std::ratio_subtract<R1, R2>::type R; in main()
73 typedef std::ratio_subtract<R1, R2>::type R; in main()
Dratio_add.pass.cpp19 typedef std::ratio_add<R1, R2>::type R; in main()
25 typedef std::ratio_add<R1, R2>::type R; in main()
31 typedef std::ratio_add<R1, R2>::type R; in main()
37 typedef std::ratio_add<R1, R2>::type R; in main()
43 typedef std::ratio_add<R1, R2>::type R; in main()
49 typedef std::ratio_add<R1, R2>::type R; in main()
55 typedef std::ratio_add<R1, R2>::type R; in main()
61 typedef std::ratio_add<R1, R2>::type R; in main()
67 typedef std::ratio_add<R1, R2>::type R; in main()
73 typedef std::ratio_add<R1, R2>::type R; in main()
Dratio_multiply.pass.cpp19 typedef std::ratio_multiply<R1, R2>::type R; in main()
25 typedef std::ratio_multiply<R1, R2>::type R; in main()
31 typedef std::ratio_multiply<R1, R2>::type R; in main()
37 typedef std::ratio_multiply<R1, R2>::type R; in main()
43 typedef std::ratio_multiply<R1, R2>::type R; in main()
49 typedef std::ratio_multiply<R1, R2>::type R; in main()
55 typedef std::ratio_multiply<R1, R2>::type R; in main()
Dratio_divide.pass.cpp19 typedef std::ratio_divide<R1, R2>::type R; in main()
25 typedef std::ratio_divide<R1, R2>::type R; in main()
31 typedef std::ratio_divide<R1, R2>::type R; in main()
37 typedef std::ratio_divide<R1, R2>::type R; in main()
43 typedef std::ratio_divide<R1, R2>::type R; in main()
49 typedef std::ratio_divide<R1, R2>::type R; in main()
55 typedef std::ratio_divide<R1, R2>::type R; in main()
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/array/array.tuple/
Dtuple_element.pass.cpp22 static_assert((std::is_same<std::tuple_element<0, C>::type, T>::value), ""); in main()
23 static_assert((std::is_same<std::tuple_element<1, C>::type, T>::value), ""); in main()
24 static_assert((std::is_same<std::tuple_element<2, C>::type, T>::value), ""); in main()
29 static_assert((std::is_same<std::tuple_element<0, C>::type, T>::value), ""); in main()
30 static_assert((std::is_same<std::tuple_element<1, C>::type, T>::value), ""); in main()
31 static_assert((std::is_same<std::tuple_element<2, C>::type, T>::value), ""); in main()
/ndk/tests/awk/gen-windows-host-path/
Dtest-1.in1 C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
2 C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
3 C:/cygwin on / type ntfs (binary,auto)
4 C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
5 D: on /cygdrive/d type udf (binary,posix=0,user,noumount,auto)
/ndk/sources/cxx-stl/stlport/stlport/
Dtype_traits136 typedef integral_constant<_Tp, __v> type;
199 // [4.5.1] primary type categories:
358 // 4.5.2 composite type categories
370 // [4.5.1] primary type categories (continued):
393 // 4.5.2 composite type categories (continued)
422 // 4.5.3 type properties:
450 typedef _Tp type;
456 typedef _Tp type;
462 typedef _Tp type;
468 typedef _Tp type;
[all …]
/ndk/sources/host-tools/make-3.81/
Dvmsify.c212 vmsify (char *name, int type) in vmsify() argument
244 if (type == 1) in vmsify()
254 if ((type == 1) && (s1 != 0) && (s2 == 0)) in vmsify()
266 if ((type == 1) && (s1 != 0) && (s2 == 0)) in vmsify()
286 if ((type == 1) in vmsify()
376 if (type == 1) in vmsify()
381 copyto (&vptr, &fptr, 0, (type==1)); in vmsify()
382 if (type == 1) in vmsify()
388 if ((type == 2) in vmsify()
516 copyto (&vptr, &fptr, 0, (type == 1)); in vmsify()
[all …]

12345678910