Home
last modified time | relevance | path

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

/device/google/crosshatch/json-c/
Djson_object.c53 static struct json_object* json_object_new(enum json_type o_type);
88 MC_DEBUG("\t%s:%p\n", json_type_to_name(obj->o_type), obj); in json_object_fini()
182 json_type_to_name(jso->o_type), jso); in json_object_generic_delete()
189 static struct json_object* json_object_new(enum json_type o_type) in json_object_new() argument
196 jso->o_type = o_type; in json_object_new()
201 MC_DEBUG("json_object_new_%s: %p\n", json_type_to_name(jso->o_type), jso); in json_object_new()
213 return (jso->o_type == type); in json_object_is_type()
220 return jso->o_type; in json_object_get_type()
241 switch(jso->o_type) in json_object_set_serializer()
390 switch(jso->o_type) in json_object_get_object()
[all …]
Djson_util.c289 const char *json_type_to_name(enum json_type o_type) in json_type_to_name() argument
291 int o_type_int = (int)o_type; in json_type_to_name()
294 MC_ERROR("json_type_to_name: type %d is out of range [0,%d]\n", o_type, NELEM(json_type_name)); in json_type_to_name()
297 return json_type_name[o_type]; in json_type_to_name()
Djson_object_private.h23 enum json_type o_type; member
Djson_util.h44 extern const char *json_type_to_name(enum json_type o_type);
/device/google/coral/json-c/
Djson_object.c53 static struct json_object* json_object_new(enum json_type o_type);
88 MC_DEBUG("\t%s:%p\n", json_type_to_name(obj->o_type), obj); in json_object_fini()
182 json_type_to_name(jso->o_type), jso); in json_object_generic_delete()
189 static struct json_object* json_object_new(enum json_type o_type) in json_object_new() argument
196 jso->o_type = o_type; in json_object_new()
201 MC_DEBUG("json_object_new_%s: %p\n", json_type_to_name(jso->o_type), jso); in json_object_new()
213 return (jso->o_type == type); in json_object_is_type()
220 return jso->o_type; in json_object_get_type()
241 switch(jso->o_type) in json_object_set_serializer()
390 switch(jso->o_type) in json_object_get_object()
[all …]
Djson_util.c289 const char *json_type_to_name(enum json_type o_type) in json_type_to_name() argument
291 int o_type_int = (int)o_type; in json_type_to_name()
294 MC_ERROR("json_type_to_name: type %d is out of range [0,%d]\n", o_type, NELEM(json_type_name)); in json_type_to_name()
297 return json_type_name[o_type]; in json_type_to_name()
Djson_object_private.h23 enum json_type o_type; member
Djson_util.h44 extern const char *json_type_to_name(enum json_type o_type);
/device/google/sunfish/json-c/
Djson_object.c53 static struct json_object* json_object_new(enum json_type o_type);
88 MC_DEBUG("\t%s:%p\n", json_type_to_name(obj->o_type), obj); in json_object_fini()
182 json_type_to_name(jso->o_type), jso); in json_object_generic_delete()
189 static struct json_object* json_object_new(enum json_type o_type) in json_object_new() argument
196 jso->o_type = o_type; in json_object_new()
201 MC_DEBUG("json_object_new_%s: %p\n", json_type_to_name(jso->o_type), jso); in json_object_new()
213 return (jso->o_type == type); in json_object_is_type()
220 return jso->o_type; in json_object_get_type()
241 switch(jso->o_type) in json_object_set_serializer()
390 switch(jso->o_type) in json_object_get_object()
[all …]
Djson_util.c289 const char *json_type_to_name(enum json_type o_type) in json_type_to_name() argument
291 int o_type_int = (int)o_type; in json_type_to_name()
294 MC_ERROR("json_type_to_name: type %d is out of range [0,%d]\n", o_type, NELEM(json_type_name)); in json_type_to_name()
297 return json_type_name[o_type]; in json_type_to_name()
Djson_object_private.h23 enum json_type o_type; member
Djson_util.h44 extern const char *json_type_to_name(enum json_type o_type);
/device/google/bonito/json-c/
Djson_object.c53 static struct json_object* json_object_new(enum json_type o_type);
88 MC_DEBUG("\t%s:%p\n", json_type_to_name(obj->o_type), obj); in json_object_fini()
182 json_type_to_name(jso->o_type), jso); in json_object_generic_delete()
189 static struct json_object* json_object_new(enum json_type o_type) in json_object_new() argument
196 jso->o_type = o_type; in json_object_new()
201 MC_DEBUG("json_object_new_%s: %p\n", json_type_to_name(jso->o_type), jso); in json_object_new()
213 return (jso->o_type == type); in json_object_is_type()
220 return jso->o_type; in json_object_get_type()
241 switch(jso->o_type) in json_object_set_serializer()
390 switch(jso->o_type) in json_object_get_object()
[all …]
Djson_util.c289 const char *json_type_to_name(enum json_type o_type) in json_type_to_name() argument
291 int o_type_int = (int)o_type; in json_type_to_name()
294 MC_ERROR("json_type_to_name: type %d is out of range [0,%d]\n", o_type, NELEM(json_type_name)); in json_type_to_name()
297 return json_type_name[o_type]; in json_type_to_name()
Djson_object_private.h23 enum json_type o_type; member
Djson_util.h44 extern const char *json_type_to_name(enum json_type o_type);