Home
last modified time | relevance | path

Searched refs:json_pos (Results 1 – 2 of 2) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Djson.c64 static char * json_parse_string(const char **json_pos, const char *end) in json_parse_string() argument
66 const char *pos = *json_pos; in json_parse_string()
102 *json_pos = pos; in json_parse_string()
160 static int json_parse_number(const char **json_pos, const char *end, in json_parse_number() argument
163 const char *pos = *json_pos; in json_parse_number()
175 if (pos < *json_pos) in json_parse_number()
177 len = pos - *json_pos + 1; in json_parse_number()
181 os_memcpy(str, *json_pos, len); in json_parse_number()
186 *json_pos = pos; in json_parse_number()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Djson.c64 static char * json_parse_string(const char **json_pos, const char *end) in json_parse_string() argument
66 const char *pos = *json_pos; in json_parse_string()
102 *json_pos = pos; in json_parse_string()
160 static int json_parse_number(const char **json_pos, const char *end, in json_parse_number() argument
163 const char *pos = *json_pos; in json_parse_number()
175 if (pos < *json_pos) in json_parse_number()
177 len = pos - *json_pos + 1; in json_parse_number()
181 os_memcpy(str, *json_pos, len); in json_parse_number()
186 *json_pos = pos; in json_parse_number()