Home
last modified time | relevance | path

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

/external/grpc-grpc/test/core/json/
Djson_rewrite.cc204 json_reader_userdata reader_user; in rewrite() local
206 reader_user.writer = &writer; in rewrite()
207 reader_user.in = in; in rewrite()
208 reader_user.top = nullptr; in rewrite()
209 reader_user.scratchpad = nullptr; in rewrite()
210 reader_user.string_len = 0; in rewrite()
211 reader_user.free_space = 0; in rewrite()
212 reader_user.allocated = 0; in rewrite()
217 grpc_json_reader_init(&reader, &reader_vtable, &reader_user); in rewrite()
221 free(reader_user.scratchpad); in rewrite()
[all …]
Djson_rewrite_test.cc222 json_reader_userdata reader_user; in rewrite_and_compare() local
227 reader_user.writer = &writer; in rewrite_and_compare()
228 reader_user.in = in; in rewrite_and_compare()
229 reader_user.top = nullptr; in rewrite_and_compare()
230 reader_user.scratchpad = nullptr; in rewrite_and_compare()
231 reader_user.string_len = 0; in rewrite_and_compare()
232 reader_user.free_space = 0; in rewrite_and_compare()
233 reader_user.allocated = 0; in rewrite_and_compare()
234 reader_user.did_eagain = 0; in rewrite_and_compare()
239 grpc_json_reader_init(&reader, &reader_vtable, &reader_user); in rewrite_and_compare()
[all …]