Home
last modified time | relevance | path

Searched refs:stringsink (Results 1 – 10 of 10) sorted by relevance

/external/protobuf/php/ext/google/protobuf/
Dencode_decode.c40 stringsink *sink = _sink; in stringsink_start()
47 stringsink *sink = _sink; in stringsink_string()
68 void stringsink_init(stringsink *sink) { in stringsink_init()
80 void stringsink_uninit(stringsink *sink) { free(sink->ptr); } in stringsink_uninit()
142 stringsink sink;
984 stringsink* unknown = DEREF(message_data(msg), 0, stringsink*); in add_unknown_handler()
986 DEREF(message_data(msg), 0, stringsink*) = ALLOC(stringsink); in add_unknown_handler()
987 unknown = DEREF(message_data(msg), 0, stringsink*); in add_unknown_handler()
1487 stringsink* unknown = DEREF(message_data(msg), 0, stringsink*); in putrawmsg()
1655 stringsink sink; in serialize_to_string()
[all …]
Ddef.c751 stringsink *classname) { in fill_prefix()
770 stringsink *classname, bool use_camel) { in fill_segment()
781 stringsink *classname) { in fill_namespace()
805 stringsink *classname, in fill_classname()
851 stringsink namesink; in register_class()
Dprotobuf.h1465 } stringsink; typedef
1467 void stringsink_init(stringsink *sink);
1468 void stringsink_uninit(stringsink *sink);
Dupb.c8935 upb_stringsink stringsink; member
9091 upb_stringsink_init(&frame->stringsink); in json_parser_any_frame_new()
9106 encoder = upb_pb_encoder_create(p->arena, h, frame->stringsink.sink); in json_parser_any_frame_set_payload_type()
9119 upb_stringsink_uninit(&frame->stringsink); in json_parser_any_frame_free()
11149 upb_sink_putstring(inner->sink, sel, p->top->any_frame->stringsink.ptr, in end_any_object()
11150 p->top->any_frame->stringsink.len, NULL); in end_any_object()
/external/protobuf/ruby/ext/google/protobuf_c/
Dencode_decode.c53 stringsink *sink = _sink; in stringsink_start()
60 stringsink *sink = _sink; in stringsink_string()
81 void stringsink_init(stringsink *sink) { in stringsink_init()
93 void stringsink_uninit(stringsink *sink) { in stringsink_uninit()
705 msg->unknown_fields = malloc(sizeof(stringsink)); in unknown_field_handler()
1398 stringsink* unknown = msg->unknown_fields; in putmsg()
1446 stringsink sink; in Message_encode()
1486 stringsink sink; in Message_encode_json()
1536 stringsink* unknown = msg->unknown_fields; in discard_unknown()
Dprotobuf.h547 } stringsink; typedef
549 void stringsink_uninit(stringsink *sink);
553 stringsink* unknown_fields; // store unknown fields in decoding.
Dmessage.c47 stringsink* unknown = ((MessageHeader *)self)->unknown_fields; in Message_free()
Dupb.c12763 upb_stringsink stringsink; member
12923 upb_stringsink_init(&frame->stringsink); in json_parser_any_frame_set_payload_type()
12927 &frame->stringsink.sink); in json_parser_any_frame_set_payload_type()
12943 upb_stringsink_uninit(&frame->stringsink); in json_parser_any_frame_free()
15008 upb_sink_putstring(&inner->sink, sel, p->top->any_frame->stringsink.ptr, in end_any_object()
15009 p->top->any_frame->stringsink.len, NULL); in end_any_object()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/upb/json/
Dparser.c162 upb_stringsink stringsink; member
318 upb_stringsink_init(&frame->stringsink); in json_parser_any_frame_new()
333 encoder = upb_pb_encoder_create(p->arena, h, frame->stringsink.sink); in json_parser_any_frame_set_payload_type()
346 upb_stringsink_uninit(&frame->stringsink); in json_parser_any_frame_free()
2367 upb_sink_putstring(inner->sink, sel, p->top->any_frame->stringsink.ptr, in end_any_object()
2368 p->top->any_frame->stringsink.len, NULL); in end_any_object()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/
Dparser.rl103 /* stringsink */
160 upb_stringsink stringsink;
316 upb_stringsink_init(&frame->stringsink);
331 encoder = upb_pb_encoder_create(p->arena, h, frame->stringsink.sink);
344 upb_stringsink_uninit(&frame->stringsink);
2365 upb_sink_putstring(inner->sink, sel, p->top->any_frame->stringsink.ptr,
2366 p->top->any_frame->stringsink.len, NULL);