Home
last modified time | relevance | path

Searched refs:tok (Results 1 – 13 of 13) sorted by relevance

/device/google/coral/json-c/
Djson_tokener.c96 enum json_tokener_error json_tokener_get_error(json_tokener *tok) in json_tokener_get_error() argument
98 return tok->err; in json_tokener_get_error()
109 struct json_tokener *tok; in json_tokener_new_ex() local
111 tok = (struct json_tokener*)calloc(1, sizeof(struct json_tokener)); in json_tokener_new_ex()
112 if (!tok) return NULL; in json_tokener_new_ex()
113 tok->stack = (struct json_tokener_srec *)calloc(depth, sizeof(struct json_tokener_srec)); in json_tokener_new_ex()
114 if (!tok->stack) { in json_tokener_new_ex()
115 free(tok); in json_tokener_new_ex()
118 tok->pb = printbuf_new(); in json_tokener_new_ex()
119 tok->max_depth = depth; in json_tokener_new_ex()
[all …]
Djson_tokener.h119 enum json_tokener_error json_tokener_get_error(struct json_tokener *tok);
123 extern void json_tokener_free(struct json_tokener *tok);
124 extern void json_tokener_reset(struct json_tokener *tok);
131 extern void json_tokener_set_flags(struct json_tokener *tok, int flags);
201 extern struct json_object* json_tokener_parse_ex(struct json_tokener *tok,
/device/google/redbull/json-c/
Djson_tokener.c96 enum json_tokener_error json_tokener_get_error(json_tokener *tok) in json_tokener_get_error() argument
98 return tok->err; in json_tokener_get_error()
109 struct json_tokener *tok; in json_tokener_new_ex() local
111 tok = (struct json_tokener*)calloc(1, sizeof(struct json_tokener)); in json_tokener_new_ex()
112 if (!tok) return NULL; in json_tokener_new_ex()
113 tok->stack = (struct json_tokener_srec *)calloc(depth, sizeof(struct json_tokener_srec)); in json_tokener_new_ex()
114 if (!tok->stack) { in json_tokener_new_ex()
115 free(tok); in json_tokener_new_ex()
118 tok->pb = printbuf_new(); in json_tokener_new_ex()
119 tok->max_depth = depth; in json_tokener_new_ex()
[all …]
Djson_tokener.h119 enum json_tokener_error json_tokener_get_error(struct json_tokener *tok);
123 extern void json_tokener_free(struct json_tokener *tok);
124 extern void json_tokener_reset(struct json_tokener *tok);
131 extern void json_tokener_set_flags(struct json_tokener *tok, int flags);
201 extern struct json_object* json_tokener_parse_ex(struct json_tokener *tok,
/device/google/sunfish/json-c/
Djson_tokener.c96 enum json_tokener_error json_tokener_get_error(json_tokener *tok) in json_tokener_get_error() argument
98 return tok->err; in json_tokener_get_error()
109 struct json_tokener *tok; in json_tokener_new_ex() local
111 tok = (struct json_tokener*)calloc(1, sizeof(struct json_tokener)); in json_tokener_new_ex()
112 if (!tok) return NULL; in json_tokener_new_ex()
113 tok->stack = (struct json_tokener_srec *)calloc(depth, sizeof(struct json_tokener_srec)); in json_tokener_new_ex()
114 if (!tok->stack) { in json_tokener_new_ex()
115 free(tok); in json_tokener_new_ex()
118 tok->pb = printbuf_new(); in json_tokener_new_ex()
119 tok->max_depth = depth; in json_tokener_new_ex()
[all …]
Djson_tokener.h119 enum json_tokener_error json_tokener_get_error(struct json_tokener *tok);
123 extern void json_tokener_free(struct json_tokener *tok);
124 extern void json_tokener_reset(struct json_tokener *tok);
131 extern void json_tokener_set_flags(struct json_tokener *tok, int flags);
201 extern struct json_object* json_tokener_parse_ex(struct json_tokener *tok,
/device/generic/goldfish/fingerprint/
Dstorage.cpp231 AuthToken tok; in authenticate() local
232 tok.userId = mSecureUserId; in authenticate()
233 tok.authenticatorId = mAuthId; in authenticate()
234 return {AuthResult::OK, 0, tok}; in authenticate()
Dsession.cpp397 const auto [res, lockoutDurationMillis, tok] = in onSensorEventOn()
410 tok.userId, tok.authenticatorId); in onSensorEventOn()
414 hat.userId = tok.userId; in onSensorEventOn()
415 hat.authenticatorId = tok.authenticatorId; in onSensorEventOn()
/device/google/cuttlefish/guest/hals/rild/
Drild_cuttlefish.c85 char * tok; in make_argv() local
88 while ((tok = strtok(s, " \0"))) { in make_argv()
89 argv[count] = tok; in make_argv()
/device/generic/goldfish/radio/rild/
Drild_goldfish.c90 char * tok; in make_argv() local
93 while ((tok = strtok(s, " \0"))) { in make_argv()
94 argv[count] = tok; in make_argv()
/device/generic/goldfish-opengl/system/codecs/c2/store/
DGoldfishComponentStore.cpp171 for (char *tok, *ptr, *str = aliases; in init() local
172 (tok = ::strtok_r(str, ",", &ptr)); str = nullptr) { in init()
173 traits->aliases.push_back(tok); in init()
174 ALOGD("adding alias: '%s'", tok); in init()
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_service.cpp11078 std::string tok; in split() local
11080 while(getline(ss, tok, ' ')) { in split()
11081 ret.push_back(hidl_string(tok)); in split()
11132 std::string tok; in convertRilDataCallToHal() local
11133 while (getline(ss, tok, ' ')) { in convertRilDataCallToHal()
11135 la.address = hidl_string(tok); in convertRilDataCallToHal()
11162 std::string tok; in convertRilDataCallToHal() local
11163 while(getline(ss, tok, ' ')) { in convertRilDataCallToHal()
11165 la.address = hidl_string(tok); in convertRilDataCallToHal()
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c5713 char *tok; local