Searched refs:o_type (Results 1 – 12 of 12) sorted by relevance
/device/google/redbull/json-c/ |
D | json_object.c | 53 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 …]
|
D | json_util.c | 289 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()
|
D | json_object_private.h | 23 enum json_type o_type; member
|
D | json_util.h | 44 extern const char *json_type_to_name(enum json_type o_type);
|
/device/google/coral/json-c/ |
D | json_object.c | 53 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 …]
|
D | json_util.c | 289 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()
|
D | json_object_private.h | 23 enum json_type o_type; member
|
D | json_util.h | 44 extern const char *json_type_to_name(enum json_type o_type);
|
/device/google/sunfish/json-c/ |
D | json_object.c | 53 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 …]
|
D | json_util.c | 289 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()
|
D | json_object_private.h | 23 enum json_type o_type; member
|
D | json_util.h | 44 extern const char *json_type_to_name(enum json_type o_type);
|