webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include "protobuf.h"
Classes | |
struct | submsg_handlerdata_t |
struct | oneof_handlerdata_t |
struct | map_handlerdata_t |
struct | map_parse_frame_t |
struct | stackenv |
struct | stringsink |
Macros | |
#define | DEREF(msg, ofs, type) *(type*)(((uint8_t *)msg) + ofs) |
#define | DEFINE_APPEND_HANDLER(type, ctype) |
#define | DEFINE_ONEOF_HANDLER(type, ctype) |
#define | SET_HANDLER(utype, ltype) |
#define | SET_HANDLER(utype, ltype) |
#define | STACK_ENV_STACKBYTES 4096 |
#define | T(upbtypeconst, upbtype, ctype) |
#define | T(upbtypeconst, upbtype, ctype, default_value) |
Functions | |
VALUE | noleak_rb_str_cat (VALUE rb_str, const char *str, long len) |
const upb_handlers * | get_fill_handlers (Descriptor *desc) |
const upb_pbdecodermethod * | new_fillmsg_decodermethod (Descriptor *desc, const void *owner) |
VALUE | Message_decode (VALUE klass, VALUE data) |
VALUE | Message_decode_json (VALUE klass, VALUE data) |
void | stringsink_init (stringsink *sink) |
void | stringsink_uninit (stringsink *sink) |
VALUE | Message_encode (VALUE klass, VALUE msg_rb) |
VALUE | Message_encode_json (int argc, VALUE *argv, VALUE klass) |
#define DEFINE_APPEND_HANDLER | ( | type, | |
ctype | |||
) |
#define DEFINE_ONEOF_HANDLER | ( | type, | |
ctype | |||
) |
#define SET_HANDLER | ( | utype, | |
ltype | |||
) |
#define SET_HANDLER | ( | utype, | |
ltype | |||
) |
#define STACK_ENV_STACKBYTES 4096 |
#define T | ( | upbtypeconst, | |
upbtype, | |||
ctype | |||
) |
#define T | ( | upbtypeconst, | |
upbtype, | |||
ctype, | |||
default_value | |||
) |
const upb_handlers* get_fill_handlers | ( | Descriptor * | desc | ) |
VALUE Message_decode | ( | VALUE | klass, |
VALUE | data | ||
) |
VALUE Message_decode_json | ( | VALUE | klass, |
VALUE | data | ||
) |
VALUE Message_encode | ( | VALUE | klass, |
VALUE | msg_rb | ||
) |
VALUE Message_encode_json | ( | int | argc, |
VALUE * | argv, | ||
VALUE | klass | ||
) |
const upb_pbdecodermethod* new_fillmsg_decodermethod | ( | Descriptor * | desc, |
const void * | owner | ||
) |
VALUE noleak_rb_str_cat | ( | VALUE | rb_str, |
const char * | str, | ||
long | len | ||
) |
void stringsink_init | ( | stringsink * | sink | ) |
void stringsink_uninit | ( | stringsink * | sink | ) |