Home
last modified time | relevance | path

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

/device/linaro/dragonboard/shared/utils/pd-mapper/
Djson.c46 static int json_parse_array(struct json_value *array);
47 static int json_parse_object(struct json_value *object);
48 static int json_parse_property(struct json_value *value);
72 static int json_parse_string(struct json_value *value) in json_parse_string()
97 static int json_parse_number(struct json_value *value) in json_parse_number()
117 static int json_parse_keyword(struct json_value *value) in json_parse_keyword()
150 static int json_parse_value(struct json_value *value) in json_parse_value()
184 static int json_parse_array(struct json_value *array) in json_parse_array()
186 struct json_value *value; in json_parse_array()
187 struct json_value *last = NULL; in json_parse_array()
[all …]
Djson.h46 struct json_value { struct
53 struct json_value *value; argument
56 struct json_value *next; argument
59 struct json_value *json_parse(const char *json);
60 struct json_value *json_parse_file(const char *file);
61 int json_count_children(struct json_value *array);
62 struct json_value *json_get_child(struct json_value *object, const char *key);
63 int json_get_number(struct json_value *object, const char *key, double *number);
64 const char *json_get_string(struct json_value *object, const char *key);
65 void json_free(struct json_value *value);
Dpd-mapper.c125 struct json_value *sr_service; in pd_load_map()
126 struct json_value *sr_domain; in pd_load_map()
127 struct json_value *root; in pd_load_map()
128 struct json_value *it; in pd_load_map()
/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Dlights_observer.cpp87 auto json_value = cvd_connection_.ReadJsonMessage(); in ReadServerMessages() local
89 if (json_value[kEventKey] == kMessageStart) { in ReadServerMessages()
91 } else if (json_value[kEventKey] == kMessageStop) { in ReadServerMessages()
93 } else if (json_value[kEventKey] == kMessageUpdate && session_active_) { in ReadServerMessages()
96 cached_latest_update_ = json_value; in ReadServerMessages()
101 itr->second(json_value); in ReadServerMessages()
Dcamera_streamer.cpp155 auto json_value = cvd_connection_.ReadJsonMessage(); in StartReadLoop() local
156 if (json_value[kEventKey] == kMessageStart) { in StartReadLoop()
158 } else if (json_value[kEventKey] == kMessageStop) { in StartReadLoop()
161 if (!json_value.empty()) { in StartReadLoop()
162 SendMessage(json_value); in StartReadLoop()
/device/google/cuttlefish/common/libs/utils/
Djson.cpp43 Json::Value json_value = CF_EXPECTF( in LoadFromFile() local
45 return json_value; in LoadFromFile()
50 auto json_value = in LoadFromFile() local
52 return json_value; in LoadFromFile()
/device/google/trout/tools/tracing/proto/
Dperfetto_trace.proto2497 string json_value = 8; field
2536 string json_value = 5; field