Home
last modified time | relevance | path

Searched refs:validate_params (Results 1 – 16 of 16) sorted by relevance

/external/libmojo/mojo/public/cpp/bindings/lib/
Darray_internal.h126 const ContainerValidateParams* validate_params) {
127 DCHECK(!validate_params->element_is_nullable)
129 DCHECK(!validate_params->element_validate_params)
132 if (!validate_params->validate_enum_func)
137 if (!validate_params->validate_enum_func(elements[i], validation_context))
151 const ContainerValidateParams* validate_params) {
152 DCHECK(!validate_params->element_validate_params)
156 if (!validate_params->element_is_nullable &&
186 const ContainerValidateParams* validate_params) {
188 if (!validate_params->element_is_nullable && !elements[i].offset) {
[all …]
Darray_serialization.h129 const ContainerValidateParams* validate_params,
131 DCHECK(!validate_params->element_is_nullable)
133 DCHECK(!validate_params->element_validate_params)
195 const ContainerValidateParams* validate_params,
197 DCHECK(!validate_params->element_is_nullable)
199 DCHECK(!validate_params->element_validate_params)
246 const ContainerValidateParams* validate_params,
248 DCHECK(!validate_params->element_is_nullable)
250 DCHECK(!validate_params->element_validate_params)
307 const ContainerValidateParams* validate_params,
[all …]
Dmap_data_internal.h29 const ContainerValidateParams* validate_params) { in Validate() argument
47 validate_params->key_validate_params)) { in Validate()
55 validate_params->element_validate_params)) { in Validate()
Dmap_serialization.h117 const ContainerValidateParams* validate_params,
119 DCHECK(validate_params->key_validate_params);
120 DCHECK(validate_params->element_validate_params);
133 &key_reader, buf, keys_ptr, validate_params->key_validate_params,
144 validate_params->element_validate_params, context);
Dmessage_header_validator.cc82 const internal::ContainerValidateParams validate_params(0, false, nullptr); in IsValidMessageHeader() local
84 validation_context, &validate_params)) { in IsValidMessageHeader()
Dvalidation_util.h141 const ContainerValidateParams* validate_params) { in ValidateContainer() argument
149 T::Validate(input.Get(), validation_context, validate_params); in ValidateContainer()
/external/libmojo/mojo/public/cpp/bindings/tests/
Dwtf_types_unittest.cc119 mojo::internal::ContainerValidateParams validate_params( in TEST_F() local
122 &validate_params, &context); in TEST_F()
140 mojo::internal::ContainerValidateParams validate_params( in TEST_F() local
143 &validate_params, &context); in TEST_F()
160 mojo::internal::ContainerValidateParams validate_params( in TEST_F() local
163 &validate_params, &context); in TEST_F()
188 mojo::internal::ContainerValidateParams validate_params( in TEST_F() local
196 &validate_params, &context); in TEST_F()
216 mojo::internal::ContainerValidateParams validate_params( in TEST_F() local
223 mojo::internal::Serialize<MojomType>(str_map, &buf, &data, &validate_params, in TEST_F()
Darray_common_test.h175 mojo::internal::ContainerValidateParams validate_params(0, false, nullptr); in Serialization_ArrayOfPOD()
177 &validate_params, nullptr); in Serialization_ArrayOfPOD()
195 mojo::internal::ContainerValidateParams validate_params(0, false, nullptr); in Serialization_EmptyArrayOfPOD()
197 &validate_params, nullptr); in Serialization_EmptyArrayOfPOD()
219 mojo::internal::ContainerValidateParams validate_params( in Serialization_ArrayOfArrayOfPOD()
223 &validate_params, nullptr); in Serialization_ArrayOfArrayOfPOD()
248 mojo::internal::ContainerValidateParams validate_params(0, false, nullptr); in Serialization_ArrayOfBool()
249 mojo::internal::Serialize<Array<bool>>(array, &buf, &data, &validate_params, in Serialization_ArrayOfBool()
277 mojo::internal::ContainerValidateParams validate_params( in Serialization_ArrayOfString()
281 &validate_params, nullptr); in Serialization_ArrayOfString()
Dmap_common_test.h169 mojo::internal::ContainerValidateParams validate_params(
175 mojo::internal::Serialize<MojomType>(array, &buf, &data, &validate_params,
202 mojo::internal::ContainerValidateParams validate_params(
211 mojo::internal::Serialize<MojomType>(array, &buf, &data, &validate_params,
Dunion_unittest.cc442 mojo::internal::ContainerValidateParams validate_params(0, false, nullptr); in TEST() local
444 &validate_params, nullptr); in TEST()
468 mojo::internal::ContainerValidateParams validate_params(0, true, nullptr); in TEST() local
470 &validate_params, nullptr); in TEST()
497 mojo::internal::ContainerValidateParams validate_params(0, false, nullptr); in TEST() local
499 &validate_params, nullptr); in TEST()
514 data, &validation_context, &validate_params)); in TEST()
699 mojo::internal::ContainerValidateParams validate_params( in TEST() local
703 map, &buf, &data, &validate_params, &context); in TEST()
727 mojo::internal::ContainerValidateParams validate_params( in TEST() local
[all …]
Dserialization_warning_unittest.cc64 const ContainerValidateParams* validate_params) { in TestArrayWarning() argument
71 mojo::internal::Serialize<T>(obj, &buf, &data, validate_params, &context); in TestArrayWarning()
/external/libmojo/mojo/public/tools/bindings/generators/cpp_templates/
Dmodule-shared.cc.tmpl15 #include "mojo/public/cpp/bindings/lib/validate_params.h"
Dmodule.cc.tmpl31 #include "mojo/public/cpp/bindings/lib/validate_params.h"
/external/mesa3d/src/mesa/main/
Ddebug_output.c899 validate_params(struct gl_context *ctx, unsigned caller, in validate_params() function
1013 if (!validate_params(ctx, INSERT, callerstr, source, type, severity)) in _mesa_DebugMessageInsert()
1129 if (!validate_params(ctx, CONTROL, callerstr, gl_source, gl_type, in _mesa_DebugMessageControl()
/external/libmojo/mojo/public/cpp/bindings/
DBUILD.gn109 "lib/validate_params.h",
/external/libavc/test/encoder/
Dmain.c867 void validate_params(app_ctxt_t *ps_app_ctxt) in validate_params() function
2231 validate_params(&s_app_ctxt); in h264enc_main()