/device/google/coral/json-c/ |
D | json_tokener.c | 96 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 …]
|
D | json_tokener.h | 119 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/ |
D | json_tokener.c | 96 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 …]
|
D | json_tokener.h | 119 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/ |
D | json_tokener.c | 96 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 …]
|
D | json_tokener.h | 119 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/ |
D | storage.cpp | 231 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()
|
D | session.cpp | 397 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/ |
D | rild_cuttlefish.c | 85 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/ |
D | rild_goldfish.c | 90 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/ |
D | GoldfishComponentStore.cpp | 171 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/ |
D | ril_service.cpp | 11078 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/ |
D | reference-ril.c | 5713 char *tok; local
|