Home
last modified time | relevance | path

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

/external/clang/test/Headers/
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 …]
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 …]
/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.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/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/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/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/u-boot/test/py/
Du_boot_console_base.py46 def __init__(self, console, check_type): argument
48 self.check_type = check_type
51 self.console.disable_check_count[self.check_type] += 1
55 self.console.disable_check_count[self.check_type] -= 1
429 def disable_check(self, check_type): argument
443 return ConsoleDisableCheck(self, check_type)
/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/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()
2597 s->block.hash.unpadded += check_sizes[s->check_type]; in dec_block()
2703 while (s->pos < check_sizes[s->check_type]) { in check_skip()
2735 s->check_type = s->temp.buf[HEADER_MAGIC_SIZE + 1]; in dec_stream_header()
2737 if (s->check_type > XZ_CHECK_MAX) in dec_stream_header()
2740 if (s->check_type > XZ_CHECK_CRC32 && !IS_CRC64(s->check_type)) in dec_stream_header()
2763 if (s->temp.buf[8] != 0 || s->temp.buf[9] != s->check_type) in dec_stream_footer()
[all …]
/external/boringssl/src/crypto/x509v3/
Dv3_utl.c950 unsigned int flags, int check_type, char **peername) in do_x509_check() argument
964 if (check_type == GEN_EMAIL) { in do_x509_check()
968 } else if (check_type == GEN_DNS) { in do_x509_check()
989 if (gen->type != check_type) in do_x509_check()
992 if (check_type == GEN_EMAIL) in do_x509_check()
994 else if (check_type == GEN_DNS) in do_x509_check()
/external/scapy/scapy/asn1/
Dber.py204 def check_type(cls, s): member in BERcodec_Object
213 s2 = cls.check_type(s)
/external/mesa3d/src/compiler/glsl/
Dast_to_hir.cpp5149 const glsl_type *check_type = var->type->without_array(); in hir() local
5151 switch (check_type->base_type) { in hir()
5162 …if (check_type->is_double() && (state->is_version(410, 0) || state->ARB_vertex_attrib_64bit_enable… in hir()
5165 if (check_type->is_sampler() && state->has_bindless()) in hir()
5168 if (check_type->is_image() && state->has_bindless()) in hir()
5176 check_type->name); in hir()
5215 const glsl_type *check_type = var->type->without_array(); in hir() local
5216 if (check_type->is_boolean() || in hir()
5217 check_type->contains_opaque()) { in hir()
5220 check_type->name); in hir()
[all …]
/external/libpcap/
DCMakeLists.txt632 # XXX - there's no check_type() macro that's like check_type_size()
786 # XXX - there's no check_type() macro that's like check_type_size()
1074 # XXX - there's no check_type() macro that's like check_type_size()
1146 # XXX - there's no check_type() macro that's like check_type_size()
1165 # XXX - there's no check_type() macro that's like check_type_size()
/external/scapy/doc/scapy/
Dadvanced_usage.rst107 s2 = cls.check_type(s)
108 File "/usr/bin/scapy", line 2065, in check_type