Home
last modified time | relevance | path

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

12

/third_party/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 …]
/third_party/python/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 …]
/third_party/pulseaudio/src/pulsecore/
Dmsgobject.c29 pa_msgobject *pa_msgobject_new_internal(size_t size, const char *type_id, bool (*check_type)(const … in pa_msgobject_new_internal()
35 if (!check_type) in pa_msgobject_new_internal()
36 check_type = pa_msgobject_check_type; in pa_msgobject_new_internal()
38 pa_assert(check_type(type_id)); in pa_msgobject_new_internal()
39 pa_assert(check_type(pa_object_type_id)); in pa_msgobject_new_internal()
40 pa_assert(check_type(pa_msgobject_type_id)); in pa_msgobject_new_internal()
42 o = PA_MSGOBJECT(pa_object_new_internal(size, type_id, check_type)); in pa_msgobject_new_internal()
Dobject.c29 pa_object *pa_object_new_internal(size_t size, const char *type_id, bool (*check_type)(const char *… in pa_object_new_internal()
35 if (!check_type) in pa_object_new_internal()
36 check_type = pa_object_check_type; in pa_object_new_internal()
38 pa_assert(check_type(type_id)); in pa_object_new_internal()
39 pa_assert(check_type(pa_object_type_id)); in pa_object_new_internal()
45 o->check_type = check_type; in pa_object_new_internal()
Dobject.h36 bool (*check_type)(const char *type_name); member
39 pa_object *pa_object_new_internal(size_t size, const char *type_id, bool (*check_type)(const char *…
50 return obj ? obj->check_type(pa_object_type_id) : true; in pa_object_isinstance()
62 pa_assert(!obj || obj->check_type(pa_object_type_id)); in pa_object_cast()
73 return obj ? obj->check_type(c##_type_id) : true; \
Dmsgobject.h37 pa_msgobject *pa_msgobject_new_internal(size_t size, const char *type_id, bool (*check_type)(const …
/third_party/skia/third_party/externals/angle2/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 …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
Dglslang.l81 static int check_type(yyscan_t yyscanner);
281 return check_type(yyscanner);
291 return check_type(yyscanner);
350 return check_type(yyscanner);
449 int check_type(yyscan_t yyscanner) { in check_type() function
502 return check_type(yyscanner); in ES2_ident_ES3_reserved_ES3_1_keyword()
521 return check_type(yyscanner); in ES2_ident_ES3_keyword()
548 return check_type(yyscanner); in ES2_and_ES3_ident_ES3_1_keyword()
579 return check_type(yyscanner); in ES3_extension_keyword_else_ident()
600 return check_type(yyscanner); in ES2_ident_ES3_reserved_ES3_1_extension_keyword()
[all …]
Dglslang_lex.cpp1220 static int check_type(yyscan_t yyscanner);
2179 return check_type(yyscanner);
2191 return check_type(yyscanner);
2245 return check_type(yyscanner);
3814 int check_type(yyscan_t yyscanner) { in check_type() function
3867 return check_type(yyscanner); in ES2_ident_ES3_reserved_ES3_1_keyword()
3886 return check_type(yyscanner); in ES2_ident_ES3_keyword()
3913 return check_type(yyscanner); in ES2_and_ES3_ident_ES3_1_keyword()
3944 return check_type(yyscanner); in ES3_extension_keyword_else_ident()
3965 return check_type(yyscanner); in ES2_ident_ES3_reserved_ES3_1_extension_keyword()
[all …]
/third_party/skia/third_party/externals/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()
/third_party/gstreamer/gstreamer/libs/gst/check/libcheck/
Dcheck_pack.c70 static void check_type (int type, const char *file, int line);
106 check_type (type, __FILE__, __LINE__); in pack()
123 check_type (*type, __FILE__, __LINE__); in upack()
298 check_type (int type, const char *file, int line) in check_type() function
388 check_type (type, __FILE__, __LINE__); in get_result()
/third_party/libfuse/test/
Dtest_syscalls.c164 static int check_type(const char *path, mode_t type) in check_type() function
492 res = check_type(path, S_IFREG); in create_file()
630 res = check_type(path, S_IFDIR); in create_dir()
991 res = check_type(testfile, S_IFREG); in test_create()
1081 res = check_type(testfile, S_IFREG); in test_mknod()
1151 err += check_type(testfile, S_IFREG); in do_test_open()
1339 res = check_type(testfile2, S_IFLNK); in test_symlink()
1401 res = check_type(testfile2, S_IFREG); in test_link()
1463 res = check_type(testfile, S_IFREG); in test_link2()
1513 res = check_type(testfile2, S_IFREG); in test_rename_file()
[all …]
/third_party/node/deps/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);
/third_party/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 …]
/third_party/openssl/crypto/x509/
Dv3_utl.c877 unsigned int flags, int check_type, char **peername) in do_x509_check() argument
890 if (check_type == GEN_EMAIL) { in do_x509_check()
894 } else if (check_type == GEN_DNS) { in do_x509_check()
919 if ((gen->type == GEN_OTHERNAME) && (check_type == GEN_EMAIL)) { in do_x509_check()
939 if ((gen->type != check_type) && (gen->type != GEN_OTHERNAME)) in do_x509_check()
943 if (check_type == GEN_EMAIL) in do_x509_check()
945 else if (check_type == GEN_DNS) in do_x509_check()
/third_party/ffmpeg/
Dconfigure1497 check_type(){ function
1498 log check_type "$@"
6052 check_type netdb.h "struct addrinfo"
6053 check_type netinet/in.h "struct group_source_req" -D_BSD_SOURCE
6054 check_type netinet/in.h "struct ip_mreq_source" -D_BSD_SOURCE
6055 check_type netinet/in.h "struct ipv6_mreq" -D_DARWIN_C_SOURCE
6056 check_type poll.h "struct pollfd"
6057 check_type netinet/sctp.h "struct sctp_event_subscribe"
6060 check_type netinet/in.h "struct sockaddr_in6"
6061 check_type "sys/types.h sys/socket.h" "struct sockaddr_storage"
[all …]
/third_party/jerryscript/jerry-core/parser/js/
Djs-scanner-util.c1681 parser_check_context_type_t check_type) /**< context type */ in scanner_is_context_needed() argument
1686 JERRY_UNUSED (check_type); in scanner_is_context_needed()
1689 JERRY_ASSERT ((check_type == PARSER_CHECK_BLOCK_CONTEXT ? info_p->type == SCANNER_TYPE_BLOCK in scanner_is_context_needed()
1692 …uint32_t scope_stack_reg_top = (check_type != PARSER_CHECK_GLOBAL_CONTEXT ? context_p->scope_stack… in scanner_is_context_needed()
1695 JERRY_ASSERT (check_type == PARSER_CHECK_BLOCK_CONTEXT); in scanner_is_context_needed()
1710 JERRY_ASSERT (check_type == PARSER_CHECK_FUNCTION_CONTEXT); in scanner_is_context_needed()
1716 if (check_type == PARSER_CHECK_BLOCK_CONTEXT) in scanner_is_context_needed()
1724 else if (check_type == PARSER_CHECK_GLOBAL_CONTEXT) in scanner_is_context_needed()
1742 JERRY_ASSERT (check_type == PARSER_CHECK_FUNCTION_CONTEXT); in scanner_is_context_needed()
1779 if (JERRY_UNLIKELY (check_type == PARSER_CHECK_GLOBAL_CONTEXT) in scanner_is_context_needed()
[all …]
/third_party/pulseaudio/src/modules/
Dmodule-augment-properties.c122 static int check_type(pa_config_parser_state *state) { in check_type() function
179 { "Type", check_type, NULL, "Desktop Entry" }, in update_rule()
/third_party/rust/crates/rustix/src/
Dio_uring.rs1006 macro_rules! check_type { in io_uring_layouts() macro
1051 check_type!($name); in io_uring_layouts()
1074 check_type!(io_uring_sqe); in io_uring_layouts()
1089 check_type!(io_uring_restriction); in io_uring_layouts()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dxml_consistency.py425 def check_type(self, name, info, category): member in Checker
449 super().check_type(name, info, category)
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
Dconsistency_tools.py220 self.check_type(name, info, cat)
331 def check_type(self, name, info, category): member in XMLChecker
/third_party/openssl/ssl/
Dt1_lib.c2801 int check_type = 0; in tls1_check_chain() local
2804 check_type = TLS_CT_RSA_SIGN; in tls1_check_chain()
2806 check_type = TLS_CT_DSS_SIGN; in tls1_check_chain()
2808 check_type = TLS_CT_ECDSA_SIGN; in tls1_check_chain()
2810 if (check_type) { in tls1_check_chain()
2815 if (*ctypes == check_type) { in tls1_check_chain()
/third_party/mesa3d/src/compiler/glsl/
Dast_to_hir.cpp5442 const glsl_type *check_type = var->type->without_array(); in hir() local
5445 switch (check_type->base_type) { in hir()
5472 check_type->name); in hir()
5507 const glsl_type *check_type = var->type->without_array(); in hir() local
5508 if (check_type->is_boolean() || in hir()
5509 check_type->contains_opaque()) { in hir()
5512 check_type->name); in hir()
5543 const glsl_type *check_type = var->type->without_array(); in hir() local
5557 if (check_type->is_struct() || check_type->is_matrix()) in hir()
5561 switch (check_type->base_type) { in hir()
[all …]

12