Home
last modified time | relevance | path

Searched refs:tok (Results 1 – 12 of 12) 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/crosshatch/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/bonito/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/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/google/cuttlefish/guest/hals/rild/
Drild_cuttlefish.c86 char * tok; in make_argv() local
89 while ((tok = strtok(s, " \0"))) { in make_argv()
90 argv[count] = tok; in make_argv()
/device/google/cuttlefish/guest/hals/ril/libril/
Dril_service.cpp8551 std::string tok; in split() local
8553 while(getline(ss, tok, ' ')) { in split()
8554 ret.push_back(hidl_string(tok)); in split()
8604 std::string tok; in convertRilDataCallToHal() local
8605 while(getline(ss, tok, ' ')) { in convertRilDataCallToHal()
8607 la.address = hidl_string(tok); in convertRilDataCallToHal()
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_service.cpp8861 std::string tok; in split() local
8863 while(getline(ss, tok, ' ')) { in split()
8864 ret.push_back(hidl_string(tok)); in split()
8914 std::string tok; in convertRilDataCallToHal() local
8915 while(getline(ss, tok, ' ')) { in convertRilDataCallToHal()
8917 la.address = hidl_string(tok); in convertRilDataCallToHal()
/device/generic/goldfish/radio/ril/
Dreference-ril.c3581 char *tok; local
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c4947 char *tok; local