Home
last modified time | relevance | path

Searched refs:int_type (Results 1 – 25 of 167) sorted by relevance

1234567

/external/mesa3d/src/compiler/glsl/
Dir_expression_operation.py81 int_type = type("int", "i", "GLSL_TYPE_INT") variable
88 all_types = (uint_type, int_type, float_type, double_type, uint64_type, int64_type, bool_type)
89 numeric_types = (uint_type, int_type, float_type, double_type, uint64_type, int64_type)
90 signed_numeric_types = (int_type, float_type, double_type, int64_type)
91 integer_types = (uint_type, int_type, uint64_type, int64_type)
430 operation("f2i", 1, source_types=(float_type,), dest_type=int_type, c_expression="(int) {src0}"),
434 …operation("i2f", 1, source_types=(int_type,), dest_type=float_type, c_expression="(float) {src0}"),
440 …operation("i2b", 1, source_types=(uint_type, int_type), dest_type=bool_type, c_expression="{src0} …
442 … operation("b2i", 1, source_types=(bool_type,), dest_type=int_type, c_expression="{src0} ? 1 : 0"),
446 operation("i2u", 1, source_types=(int_type,), dest_type=uint_type, c_expression="{src0}"),
[all …]
/external/deqp-deps/glslang/SPIRV/
Dhex_float.h182 typedef void int_type;
205 typedef int32_t int_type;
219 typedef int64_t int_type;
233 typedef int16_t int_type;
256 typedef typename Traits::int_type int_type;
319 static const int_type max_exponent =
322 static const int_type min_exponent = -static_cast<int_type>(exponent_bias);
342 const int_type getUnbiasedExponent() const {
343 return static_cast<int_type>(getExponentBits() - exponent_bias);
353 const int_type getUnbiasedNormalizedExponent() const {
[all …]
/external/deqp-deps/SPIRV-Tools/source/util/
Dhex_float.h215 using int_type = void;
238 using int_type = int32_t;
252 using int_type = int64_t;
266 using int_type = int16_t;
290 using int_type = typename Traits::int_type;
352 static const int_type max_exponent =
355 static const int_type min_exponent = -static_cast<int_type>(exponent_bias);
374 const int_type getUnbiasedExponent() const {
375 return static_cast<int_type>(getExponentBits() - exponent_bias);
385 const int_type getUnbiasedNormalizedExponent() const {
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dhex_float.h215 using int_type = void;
238 using int_type = int32_t;
252 using int_type = int64_t;
266 using int_type = int16_t;
290 using int_type = typename Traits::int_type;
352 static const int_type max_exponent =
355 static const int_type min_exponent = -static_cast<int_type>(exponent_bias);
374 const int_type getUnbiasedExponent() const {
375 return static_cast<int_type>(getExponentBits() - exponent_bias);
385 const int_type getUnbiasedNormalizedExponent() const {
[all …]
/external/libcxx/include/
Dstreambuf27 typedef typename traits_type::int_type int_type;
48 int_type snextc();
49 int_type sbumpc();
50 int_type sgetc();
54 int_type sputbackc(char_type c);
55 int_type sungetc();
58 int_type sputc(char_type c);
96 virtual int_type underflow();
97 virtual int_type uflow();
100 virtual int_type pbackfail(int_type c = traits_type::eof());
[all …]
D__string24 typedef ... int_type;
41 static constexpr int_type not_eof(int_type c) noexcept;
42 static constexpr char_type to_char_type(int_type c) noexcept;
43 static constexpr int_type to_int_type(char_type c) noexcept;
44 static constexpr bool eq_int_type(int_type c1, int_type c2) noexcept;
45 static constexpr int_type eof() noexcept;
79 typedef int int_type;
103 static inline _LIBCPP_CONSTEXPR int_type not_eof(int_type __c) _NOEXCEPT
105 static inline _LIBCPP_CONSTEXPR char_type to_char_type(int_type __c) _NOEXCEPT
107 static inline _LIBCPP_CONSTEXPR int_type to_int_type(char_type __c) _NOEXCEPT
[all …]
D__std_stream41 typedef typename traits_type::int_type int_type;
49 virtual int_type underflow();
50 virtual int_type uflow();
51 virtual int_type pbackfail(int_type __c = traits_type::eof());
60 int_type __last_consumed_;
67 int_type __getchar(bool __consume);
92 typename __stdinbuf<_CharT>::int_type
99 typename __stdinbuf<_CharT>::int_type
106 typename __stdinbuf<_CharT>::int_type
111 int_type __result = __last_consumed_;
[all …]
Dstrstream43 virtual int_type overflow (int_type c = EOF);
44 virtual int_type pbackfail(int_type c = EOF);
45 virtual int_type underflow();
106 typedef char_traits<char>::int_type int_type;
170 virtual int_type overflow (int_type __c = EOF);
171 virtual int_type pbackfail(int_type __c = EOF);
172 virtual int_type underflow();
343 typedef char_traits<char>::int_type int_type;
Dsstream24 typedef typename traits_type::int_type int_type;
45 virtual int_type underflow();
46 virtual int_type pbackfail(int_type c = traits_type::eof());
47 virtual int_type overflow (int_type c = traits_type::eof());
69 typedef typename traits_type::int_type int_type;
105 typedef typename traits_type::int_type int_type;
141 typedef typename traits_type::int_type int_type;
197 typedef typename traits_type::int_type int_type;
231 virtual int_type underflow();
232 virtual int_type pbackfail(int_type __c = traits_type::eof());
[all …]
Distream25 typedef typename traits_type::int_type int_type;
63 int_type get();
73 basic_istream& ignore(streamsize n = 1, int_type delim = traits_type::eof());
74 int_type peek();
129 typedef typename traits_type::int_type int_type;
185 typedef typename traits_type::int_type int_type;
251 int_type get();
255 int_type __ch = get();
279 basic_istream& ignore(streamsize __n = 1, int_type __dlm = traits_type::eof());
280 int_type peek();
[all …]
/external/libchrome/base/strings/
Dstring16.h73 typedef int int_type; typedef
77 static_assert(sizeof(int_type) > sizeof(char_type),
120 static int_type not_eof(const int_type& c) { in not_eof()
124 static char_type to_char_type(const int_type& c) { in to_char_type()
128 static int_type to_int_type(const char_type& c) { in to_int_type()
129 return int_type(c); in to_int_type()
132 static bool eq_int_type(const int_type& c1, const int_type& c2) { in eq_int_type()
136 static int_type eof() { in eof()
137 return static_cast<int_type>(EOF); in eof()
/external/libcxx/test/support/
Dconstexpr_char_traits.hpp23 typedef int int_type; typedef
44 static TEST_CONSTEXPR int_type not_eof(int_type __c) TEST_NOEXCEPT in not_eof()
47 static TEST_CONSTEXPR char_type to_char_type(int_type __c) TEST_NOEXCEPT in to_char_type()
50 static TEST_CONSTEXPR int_type to_int_type(char_type __c) TEST_NOEXCEPT in to_int_type()
51 {return int_type(__c);} in to_int_type()
53 static TEST_CONSTEXPR bool eq_int_type(int_type __c1, int_type __c2) TEST_NOEXCEPT in eq_int_type()
56 static TEST_CONSTEXPR int_type eof() TEST_NOEXCEPT in eof()
57 {return int_type(EOF);} in eof()
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/
Dpbackfail.pass.cpp25 typedef typename base::int_type int_type; typedef
33 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} in pbackfail()
44 typename test_buf<char>::int_type pbackResult = f.pbackfail('a'); in main()
57 typename test_buf<char>::int_type pbackResult = f.pbackfail('a'); in main()
Dunderflow.pass.cpp30 typedef typename base::int_type int_type; typedef
37 virtual int_type underflow() {return base::underflow();} in underflow()
123 assert(f.sbumpc() == static_cast<Traits::int_type>(-1)); in main()
Doverflow.pass.cpp29 typedef typename base::int_type int_type; typedef
37 virtual int_type overflow(int_type c = traits_type::eof()) {return base::overflow(c);} in overflow()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dliteral_util_test.cc55 using int_type = typename TypeParam::first_type; in TYPED_TEST() typedef
59 std::vector<int_type> int_values = {10, 11}; in TYPED_TEST()
61 xla::LiteralUtil::CreateR1(absl::Span<const int_type>(int_values)); in TYPED_TEST()
63 DataTypeToEnum<int_type>::value, &host_tensor) in TYPED_TEST()
65 test::ExpectTensorEqual<int_type>(host_tensor, in TYPED_TEST()
66 test::AsTensor<int_type>(int_values)); in TYPED_TEST()
/external/libcxx/src/
Dstrstream.cpp153 strstreambuf::int_type
154 strstreambuf::overflow(int_type __c) in overflow()
157 return int_type(0); in overflow()
161 return int_type(EOF); in overflow()
172 return int_type(EOF); in overflow()
194 return int_type(static_cast<unsigned char>(__c)); in overflow()
197 strstreambuf::int_type
198 strstreambuf::pbackfail(int_type __c) in pbackfail()
205 return int_type(0); in pbackfail()
221 strstreambuf::int_type
[all …]
/external/tensorflow/tensorflow/core/lib/gtl/
Dint_type_test.cc253 constexpr typename TestFixture::T int_type(i); in TYPED_TEST() local
254 EXPECT_EQ(i, int_type.value()); in TYPED_TEST()
255 static_assert(int_type.value() == i, "value() failed"); in TYPED_TEST()
259 EXPECT_EQ(static_cast<int>(i), int_type.template value<int>()); in TYPED_TEST()
260 EXPECT_EQ(static_cast<int8>(i), int_type.template value<int8>()); in TYPED_TEST()
261 EXPECT_EQ(static_cast<int16>(i), int_type.template value<int16>()); in TYPED_TEST()
262 EXPECT_EQ(static_cast<int32>(i), int_type.template value<int32>()); in TYPED_TEST()
263 EXPECT_EQ(static_cast<uint32>(i), int_type.template value<uint32>()); in TYPED_TEST()
264 EXPECT_EQ(static_cast<int64>(i), int_type.template value<int64>()); in TYPED_TEST()
265 EXPECT_EQ(static_cast<uint64>(i), int_type.template value<uint64>()); in TYPED_TEST()
[all …]
/external/libcxx/test/std/input.output/stream.buffers/streambuf/
Dtypes.pass.cpp30 …static_assert((std::is_same<std::streambuf::int_type, std::char_traits<char>::int_type>::value), "… in main()
36 …static_assert((std::is_same<std::wstreambuf::int_type, std::char_traits<wchar_t>::int_type>::value… in main()
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/
Dpbackfail.pass.cpp28 typedef base::int_type int_type; typedef
38 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} in pbackfail()
Doverflow.pass.cpp28 typedef base::int_type int_type; typedef
38 virtual int_type overflow(int_type c = traits_type::eof()) {return base::overflow(c);} in overflow()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_const.h141 LLVMTypeRef int_type; in lp_build_const_int_pointer() local
145 int_type = LLVMIntTypeInContext(gallivm->context, 8 * sizeof(void *)); in lp_build_const_int_pointer()
146 v = LLVMConstInt(int_type, (uintptr_t) ptr, 0); in lp_build_const_int_pointer()
148 LLVMPointerType(int_type, 0), in lp_build_const_int_pointer()
/external/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/
Dfailed.pass.cpp22 typedef typename std::basic_streambuf<Char,Traits>::int_type int_type; typedef
26 int_type sputc(char_type) { return Traits::eof(); } in sputc()
/external/u-boot/arch/x86/include/asm/arch-braswell/
Dgpio.h68 enum int_type { enum
179 gpio_light_mode, int_type, int_sel, term, open_drain, current_source,\ argument
200 (((int_type) != NA) ? int_type : 0)), \
204 (((int_type) != NA) ? THREE_BIT : 0)), \
/external/libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/
Dtypes.pass.cpp48 static_assert((std::is_same<I1::int_type, I1::traits_type::int_type>::value), ""); in main()
63 static_assert((std::is_same<I2::int_type, I2::traits_type::int_type>::value), ""); in main()

1234567