Home
last modified time | relevance | path

Searched refs:check_type (Results 1 – 25 of 30) sorted by relevance

12

/external/skia/experimental/skrive/tests/
DDomTypes.cpp12 void check_type(skiatest::Reporter* reporter, const sk_sp<U>& node, bool expected) { in check_type() function
21 check_type<skrive::Component >(reporter, node, true); in DEF_TEST()
22 check_type<skrive::TransformableComponent>(reporter, node, true); in DEF_TEST()
23 check_type<skrive::Node >(reporter, node, true); in DEF_TEST()
24 check_type<skrive::Drawable >(reporter, node, false); in DEF_TEST()
25 check_type<skrive::Shape >(reporter, node, false); in DEF_TEST()
31 check_type<skrive::Component >(reporter, node, true); in DEF_TEST()
32 check_type<skrive::TransformableComponent>(reporter, node, true); in DEF_TEST()
33 check_type<skrive::Node >(reporter, node, true); in DEF_TEST()
34 check_type<skrive::Drawable >(reporter, node, true); in DEF_TEST()
[all …]
/external/clang/test/Headers/
Dx86_64-apple-macosx-types.cpp20 struct check_type { struct
29 static_assert(check_type<bool, 1, 1>::value, "bool is wrong"); argument
31 static_assert(check_type<char, 1, 1>::value, "char is wrong");
32 static_assert(check_type<signed char, 1, 1>::value, "signed char is wrong");
33 static_assert(check_type<unsigned char, 1, 1>::value, "unsigned char is wrong");
35 static_assert(check_type<char16_t, 2, 2>::value, "char16_t is wrong");
36 static_assert(check_type<char32_t, 4, 4>::value, "char32_t is wrong");
37 static_assert(check_type<wchar_t, 4, 4>::value, "wchar_t is wrong");
39 static_assert(check_type<short, 2, 2>::value, "short is wrong");
40 static_assert(check_type<unsigned short, 2, 2>::value, "unsigned short is wrong");
[all …]
Dthumbv7-apple-ios-types.cpp20 struct check_type { struct
29 static_assert(check_type<bool, 1, 1>::value, "bool is wrong"); argument
31 static_assert(check_type<char, 1, 1>::value, "char is wrong");
32 static_assert(check_type<signed char, 1, 1>::value, "signed char is wrong");
33 static_assert(check_type<unsigned char, 1, 1>::value, "unsigned char is wrong");
35 static_assert(check_type<char16_t, 2, 2>::value, "char16_t is wrong");
36 static_assert(check_type<char32_t, 4, 4>::value, "char32_t is wrong");
37 static_assert(check_type<wchar_t, 4, 4>::value, "wchar_t is wrong");
39 static_assert(check_type<short, 2, 2>::value, "short is wrong");
40 static_assert(check_type<unsigned short, 2, 2>::value, "unsigned short is wrong");
[all …]
Darm64-apple-ios-types.cpp20 struct check_type { struct
29 static_assert(check_type<bool, 1, 1>::value, "bool is wrong"); argument
31 static_assert(check_type<char, 1, 1>::value, "char is wrong");
32 static_assert(check_type<signed char, 1, 1>::value, "signed char is wrong");
33 static_assert(check_type<unsigned char, 1, 1>::value, "unsigned char is wrong");
35 static_assert(check_type<char16_t, 2, 2>::value, "char16_t is wrong");
36 static_assert(check_type<char32_t, 4, 4>::value, "char32_t is wrong");
37 static_assert(check_type<wchar_t, 4, 4>::value, "wchar_t is wrong");
39 static_assert(check_type<short, 2, 2>::value, "short is wrong");
40 static_assert(check_type<unsigned short, 2, 2>::value, "unsigned short is wrong");
[all …]
/external/llvm-project/clang/test/Headers/
Dthumbv7-apple-ios-types.cpp20 struct check_type { struct
29 static_assert(check_type<bool, 1, 1>::value, "bool is wrong"); argument
31 static_assert(check_type<char, 1, 1>::value, "char is wrong");
32 static_assert(check_type<signed char, 1, 1>::value, "signed char is wrong");
33 static_assert(check_type<unsigned char, 1, 1>::value, "unsigned char is wrong");
35 static_assert(check_type<char16_t, 2, 2>::value, "char16_t is wrong");
36 static_assert(check_type<char32_t, 4, 4>::value, "char32_t is wrong");
37 static_assert(check_type<wchar_t, 4, 4>::value, "wchar_t is wrong");
39 static_assert(check_type<short, 2, 2>::value, "short is wrong");
40 static_assert(check_type<unsigned short, 2, 2>::value, "unsigned short is wrong");
[all …]
Dx86_64-apple-macosx-types.cpp20 struct check_type { struct
29 static_assert(check_type<bool, 1, 1>::value, "bool is wrong"); argument
31 static_assert(check_type<char, 1, 1>::value, "char is wrong");
32 static_assert(check_type<signed char, 1, 1>::value, "signed char is wrong");
33 static_assert(check_type<unsigned char, 1, 1>::value, "unsigned char is wrong");
35 static_assert(check_type<char16_t, 2, 2>::value, "char16_t is wrong");
36 static_assert(check_type<char32_t, 4, 4>::value, "char32_t is wrong");
37 static_assert(check_type<wchar_t, 4, 4>::value, "wchar_t is wrong");
39 static_assert(check_type<short, 2, 2>::value, "short is wrong");
40 static_assert(check_type<unsigned short, 2, 2>::value, "unsigned short is wrong");
[all …]
Darm64-apple-ios-types.cpp20 struct check_type { struct
29 static_assert(check_type<bool, 1, 1>::value, "bool is wrong"); argument
31 static_assert(check_type<char, 1, 1>::value, "char is wrong");
32 static_assert(check_type<signed char, 1, 1>::value, "signed char is wrong");
33 static_assert(check_type<unsigned char, 1, 1>::value, "unsigned char is wrong");
35 static_assert(check_type<char16_t, 2, 2>::value, "char16_t is wrong");
36 static_assert(check_type<char32_t, 4, 4>::value, "char32_t is wrong");
37 static_assert(check_type<wchar_t, 4, 4>::value, "wchar_t is wrong");
39 static_assert(check_type<short, 2, 2>::value, "short is wrong");
40 static_assert(check_type<unsigned short, 2, 2>::value, "unsigned short is wrong");
[all …]
/external/python/cpython2/Lib/ctypes/test/
Dtest_callbacks.py18 def check_type(self, typ, arg): member in Callbacks
38 self.check_type(c_byte, 42)
39 self.check_type(c_byte, -42)
42 self.check_type(c_ubyte, 42)
45 self.check_type(c_short, 42)
46 self.check_type(c_short, -42)
49 self.check_type(c_ushort, 42)
52 self.check_type(c_int, 42)
53 self.check_type(c_int, -42)
56 self.check_type(c_uint, 42)
[all …]
/external/python/cpython3/Lib/ctypes/test/
Dtest_callbacks.py20 def check_type(self, typ, arg): member in Callbacks
40 self.check_type(c_byte, 42)
41 self.check_type(c_byte, -42)
44 self.check_type(c_ubyte, 42)
47 self.check_type(c_short, 42)
48 self.check_type(c_short, -42)
51 self.check_type(c_ushort, 42)
54 self.check_type(c_int, 42)
55 self.check_type(c_int, -42)
58 self.check_type(c_uint, 42)
[all …]
/external/llvm-project/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/
Dvoid_handle.pass.cpp41 void check_type() { in check_type() function
48 check_type<A*, A>(); in main()
49 check_type<int*, A, int>(); in main()
50 check_type<B*, B>(); in main()
51 check_type<void, C>(); in main()
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/
Dvoid_handle.pass.cpp40 void check_type() { in check_type() function
47 check_type<A*, A>(); in main()
48 check_type<int*, A, int>(); in main()
49 check_type<B*, B>(); in main()
50 check_type<void, C>(); in main()
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.traits/
Dpromise_type.pass.cpp52 void check_type() { in check_type() function
67 check_type<A*, A>(); in main()
68 check_type<int*, A, int>(); in main()
69 check_type<B*, B>(); in main()
70 check_type<void, C>(); in main()
/external/llvm-project/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.traits/
Dpromise_type.pass.cpp53 void check_type() { in check_type() function
68 check_type<A*, A>(); in main()
69 check_type<int*, A, int>(); in main()
70 check_type<B*, B>(); in main()
71 check_type<void, C>(); in main()
/external/xz-embedded/linux/lib/xz/
Dxz_dec_stream.c14 # define IS_CRC64(check_type) ((check_type) == XZ_CHECK_CRC64) argument
16 # define IS_CRC64(check_type) false argument
60 enum xz_check check_type; member
255 if (s->check_type == XZ_CHECK_CRC32) in dec_block()
259 else if (s->check_type == XZ_CHECK_CRC64) in dec_block()
279 s->block.hash.unpadded += check_sizes[s->check_type]; in dec_block()
281 if (s->check_type == XZ_CHECK_CRC32) in dec_block()
283 else if (IS_CRC64(s->check_type)) in dec_block()
392 while (s->pos < check_sizes[s->check_type]) { in check_skip()
426 s->check_type = s->temp.buf[HEADER_MAGIC_SIZE + 1]; in dec_stream_header()
[all …]
/external/angle/src/compiler/translator/
Dglslang.l86 static int check_type(yyscan_t yyscanner);
313 return check_type(yyscanner);
323 return check_type(yyscanner);
382 return check_type(yyscanner);
481 int check_type(yyscan_t yyscanner) { in check_type() function
546 return check_type(yyscanner); in ES3_reserved_ES3_1_keyword()
565 return check_type(yyscanner); in ES3_keyword()
596 return check_type(yyscanner); in ES3_1_keyword()
612 return check_type(yyscanner); in WEBGL_video_texture_extension()
632 return check_type(yyscanner); in ES2_extension_2_ES3_keyword()
[all …]
Dglslang_lex_autogen.cpp905 static int check_type(yyscan_t yyscanner);
1862 return check_type(yyscanner);
1874 return check_type(yyscanner);
1927 return check_type(yyscanner);
3321 int check_type(yyscan_t yyscanner) in check_type() function
3392 return check_type(yyscanner); in ES3_reserved_ES3_1_keyword()
3411 return check_type(yyscanner); in ES3_keyword()
3442 return check_type(yyscanner); in ES3_1_keyword()
3458 return check_type(yyscanner); in WEBGL_video_texture_extension()
3481 return check_type(yyscanner); in ES2_extension_2_ES3_keyword()
[all …]
/external/swiftshader/src/OpenGL/compiler/
Dglslang.l74 static int check_type(yyscan_t yyscanner);
256 return check_type(yyscanner);
266 return check_type(yyscanner);
326 return check_type(yyscanner);
421 int check_type(yyscan_t yyscanner) { in check_type() function
478 return check_type(yyscanner); in ES2_identifier_ES3_keyword()
Dglslang_lex.cpp1174 static int check_type(yyscan_t yyscanner);
2025 return check_type(yyscanner);
2037 return check_type(yyscanner);
2092 return check_type(yyscanner);
3653 int check_type(yyscan_t yyscanner) { in check_type() function
3710 return check_type(yyscanner); in ES2_identifier_ES3_keyword()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/m4/
Dax_cxx_compile_stdcxx_11.m458 typedef check<int> check_type;
59 check_type c;
60 check_type&& cr = static_cast<check_type&&>(c);
/external/boringssl/src/crypto/x509v3/
Dv3_utl.c965 unsigned int flags, int check_type, const char *b, in do_check_string() argument
992 if (check_type == GEN_DNS && in do_check_string()
1006 unsigned int flags, int check_type, char **peername) in do_x509_check() argument
1019 if (check_type == GEN_EMAIL) { in do_x509_check()
1023 } else if (check_type == GEN_DNS) { in do_x509_check()
1044 if (gen->type != check_type) in do_x509_check()
1046 if (check_type == GEN_EMAIL) in do_x509_check()
1048 else if (check_type == GEN_DNS) in do_x509_check()
1053 if ((rv = do_check_string(cstr, alt_type, equal, flags, check_type, in do_x509_check()
1073 if ((rv = do_check_string(str, -1, equal, flags, check_type, in do_x509_check()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/
Dv3_utl.c965 unsigned int flags, int check_type, const char *b, in do_check_string() argument
992 if (check_type == GEN_DNS && in do_check_string()
1006 unsigned int flags, int check_type, char **peername) in do_x509_check() argument
1019 if (check_type == GEN_EMAIL) { in do_x509_check()
1023 } else if (check_type == GEN_DNS) { in do_x509_check()
1044 if (gen->type != check_type) in do_x509_check()
1046 if (check_type == GEN_EMAIL) in do_x509_check()
1048 else if (check_type == GEN_DNS) in do_x509_check()
1053 if ((rv = do_check_string(cstr, alt_type, equal, flags, check_type, in do_x509_check()
1073 if ((rv = do_check_string(str, -1, equal, flags, check_type, in do_x509_check()
/external/llvm-project/mlir/test/Conversion/PDLToPDLInterp/
Dpdl-to-pdl-interp-matcher.mlir49 // CHECK-DAG: pdl_interp.check_type %[[ATTR1_TYPE]] is i64
90 // CHECK-DAG: pdl_interp.check_type %[[INPUT_TYPE]] is i64
114 // CHECK-DAG: pdl_interp.check_type %[[RESULT_TYPE]] is i32
/external/toybox/toys/pending/
Dxzcat.c2343 #define IS_CRC64(check_type) ((check_type) == XZ_CHECK_CRC64) argument
2381 enum xz_check check_type; member
2570 if (s->check_type == XZ_CHECK_CRC32) in dec_block()
2573 else if (s->check_type == XZ_CHECK_CRC64) { in dec_block()
2598 s->block.hash.unpadded += check_sizes[s->check_type]; in dec_block()
2704 while (s->pos < check_sizes[s->check_type]) { in check_skip()
2736 s->check_type = s->temp.buf[HEADER_MAGIC_SIZE + 1]; in dec_stream_header()
2738 if (s->check_type > XZ_CHECK_MAX) in dec_stream_header()
2741 if (s->check_type > XZ_CHECK_CRC32 && !IS_CRC64(s->check_type)) in dec_stream_header()
2764 if (s->temp.buf[8] != 0 || s->temp.buf[9] != s->check_type) in dec_stream_footer()
[all …]
/external/python/pybind11/tests/
Dtest_class.py30 assert m.check_type(1) == m.DerivedClass1
32 m.check_type(0)
/external/scapy/scapy/asn1/
Dber.py204 def check_type(cls, s): member in BERcodec_Object
213 s2 = cls.check_type(s)

12