Home
last modified time | relevance | path

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

/openbmc/libcper/tests/schemavalidator/
H A Dvalidate.c133 json_object *jtype = json_object_object_get(jschema, "type"); in _schemavalidator_check_type() local
134 if (jtype == NULL) { in _schemavalidator_check_type()
137 if (json_object_is_type(jtype, json_type_string)) { in _schemavalidator_check_type()
138 const char *type = json_object_get_string(jtype); in _schemavalidator_check_type()
141 if (json_object_is_type(jtype, json_type_array)) { in _schemavalidator_check_type()
142 int arraylen = json_object_array_length(jtype); in _schemavalidator_check_type()
144 json_object *iobj = json_object_array_get_idx(jtype, i); in _schemavalidator_check_type()