Searched refs:json_value (Results 1 – 7 of 7) sorted by relevance
46 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 …]
46 struct json_value { struct53 struct json_value *value; argument56 struct json_value *next; argument59 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);
125 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()
87 auto json_value = cvd_connection_.ReadJsonMessage(); in ReadServerMessages() local89 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()
155 auto json_value = cvd_connection_.ReadJsonMessage(); in StartReadLoop() local156 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()
43 Json::Value json_value = CF_EXPECTF( in LoadFromFile() local45 return json_value; in LoadFromFile()50 auto json_value = in LoadFromFile() local52 return json_value; in LoadFromFile()
2497 string json_value = 8; field2536 string json_value = 5; field