Home
last modified time | relevance | path

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

/device/google/coral/json-c/
Djson_object.c491 return (jso->o.c_string.len != 0); in json_object_get_boolean()
534 if (json_parse_int64(jso->o.c_string.str, &cint64) != 0) in json_object_get_int()
582 if (json_parse_int64(jso->o.c_string.str, &cint) == 0) in json_object_get_int64()
689 cdouble = strtod(jso->o.c_string.str,&errPtr); in json_object_get_double()
692 if (errPtr == jso->o.c_string.str) in json_object_get_double()
732 json_escape_str(pb, jso->o.c_string.str, jso->o.c_string.len); in json_object_string_to_json_string()
739 free(jso->o.c_string.str); in json_object_string_delete()
750 jso->o.c_string.str = strdup(s); in json_object_new_string()
751 if (!jso->o.c_string.str) in json_object_new_string()
757 jso->o.c_string.len = strlen(s); in json_object_new_string()
[all …]
Djson_object_private.h37 } c_string; member
/device/google/bonito/json-c/
Djson_object.c491 return (jso->o.c_string.len != 0); in json_object_get_boolean()
534 if (json_parse_int64(jso->o.c_string.str, &cint64) != 0) in json_object_get_int()
582 if (json_parse_int64(jso->o.c_string.str, &cint) == 0) in json_object_get_int64()
689 cdouble = strtod(jso->o.c_string.str,&errPtr); in json_object_get_double()
692 if (errPtr == jso->o.c_string.str) in json_object_get_double()
732 json_escape_str(pb, jso->o.c_string.str, jso->o.c_string.len); in json_object_string_to_json_string()
739 free(jso->o.c_string.str); in json_object_string_delete()
750 jso->o.c_string.str = strdup(s); in json_object_new_string()
751 if (!jso->o.c_string.str) in json_object_new_string()
757 jso->o.c_string.len = strlen(s); in json_object_new_string()
[all …]
Djson_object_private.h37 } c_string; member
/device/google/crosshatch/json-c/
Djson_object.c491 return (jso->o.c_string.len != 0); in json_object_get_boolean()
534 if (json_parse_int64(jso->o.c_string.str, &cint64) != 0) in json_object_get_int()
582 if (json_parse_int64(jso->o.c_string.str, &cint) == 0) in json_object_get_int64()
689 cdouble = strtod(jso->o.c_string.str,&errPtr); in json_object_get_double()
692 if (errPtr == jso->o.c_string.str) in json_object_get_double()
732 json_escape_str(pb, jso->o.c_string.str, jso->o.c_string.len); in json_object_string_to_json_string()
739 free(jso->o.c_string.str); in json_object_string_delete()
750 jso->o.c_string.str = strdup(s); in json_object_new_string()
751 if (!jso->o.c_string.str) in json_object_new_string()
757 jso->o.c_string.len = strlen(s); in json_object_new_string()
[all …]
Djson_object_private.h37 } c_string; member