
Go to the source code of this file.
Classes | |
| struct | map_handlerdata_t |
| struct | map_parse_frame_data_t |
| struct | oneof_handlerdata_t |
| struct | stackenv |
| struct | stringfields_parseframe_t |
| struct | submsg_handlerdata_t |
| struct | unknownfields_handlerdata_t |
Macros | |
| #define | DEFINE_APPEND_HANDLER(type, ctype) |
| #define | DEFINE_ONEOF_HANDLER(type, ctype) |
| #define | DEFINE_SINGULAR_HANDLER(type, ctype) |
| #define | DEREF(msg, ofs, type) *(type*)(((uint8_t *)msg) + ofs) |
| #define | SET_HANDLER(utype, ltype) |
| #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) |
| #define | T(upbtypeconst, upbtype, ctype, default_value) |
Typedefs | |
| typedef size_t(* | encodeunknown_handlerfunc) (void *_sink, const void *hd, const char *ptr, size_t len, const upb_bufhandle *handle) |
| typedef typedefPHP_PROTO_WRAP_OBJECT_END struct map_parse_frame_t | map_parse_frame_t |
Functions | |
| static void | add_handlers_for_mapentry (const upb_msgdef *msgdef, upb_handlers *h, Descriptor *desc) |
| static void | add_handlers_for_mapfield (upb_handlers *h, const upb_fielddef *fielddef, size_t offset, Descriptor *desc) |
| void | add_handlers_for_message (const void *closure, upb_handlers *h) |
| static void | add_handlers_for_oneof_field (upb_handlers *h, const upb_msgdef *m, const upb_fielddef *f, size_t offset, size_t oneof_case_offset, int property_cache_offset) |
| static void | add_handlers_for_repeated_field (upb_handlers *h, const upb_fielddef *f, size_t offset) |
| static void | add_handlers_for_singular_field (upb_handlers *h, const upb_fielddef *f, size_t offset) |
| static bool | add_unknown_handler (void *closure, const void *hd, const char *buf, size_t size) |
| static bool | appendstr_end_handler (void *closure, const void *hd) |
| static void * | appendstr_handler (void *closure, const void *hd, size_t size_hint) |
| static void * | appendsubmsg_handler (void *closure, const void *hd) |
| static void | discard_unknown_fields (MessageHeader *msg) |
| static void * | empty_php_string (zval **value_ptr) |
| static void * | empty_php_string2 (zval **value_ptr) |
| static bool | endmap_handler (void *closure, const void *hd, upb_status *s) |
| const upb_handlers * | get_fill_handlers (Descriptor *desc) |
| static upb_selector_t | getsel (const upb_fielddef *f, upb_handlertype_t type) |
| static bool | is_wrapper_msg (const upb_msgdef *msg) |
| static void | map_slot_init (void *memory, upb_fieldtype_t type, zval *cache) |
| static void | map_slot_key (upb_fieldtype_t type, const void *from, const char **keyval, size_t *length) |
| static void | map_slot_uninit (void *memory, upb_fieldtype_t type) |
| static void | map_slot_value (upb_fieldtype_t type, const void *from, upb_value *v) |
| void | merge_from_string (const char *data, int data_len, Descriptor *desc, MessageHeader *msg) |
| static const upb_pbdecodermethod * | msgdef_decodermethod (Descriptor *desc) |
| static const upb_handlers * | msgdef_json_serialize_handlers (Descriptor *desc, bool preserve_proto_fieldnames) |
| static const upb_json_parsermethod * | msgdef_jsonparsermethod (Descriptor *desc) |
| static const upb_handlers * | msgdef_pb_serialize_handlers (Descriptor *desc) |
| static map_handlerdata_t * | new_map_handlerdata (size_t ofs, const upb_msgdef *mapentry_def, Descriptor *desc) |
| static void | new_php_string (zval **value_ptr, const char *str, size_t len) |
| static const void * | newhandlerdata (upb_handlers *h, uint32_t ofs) |
| static const void * | newoneofhandlerdata (upb_handlers *h, uint32_t ofs, uint32_t case_ofs, int property_ofs, const upb_msgdef *m, const upb_fielddef *f) |
| static const void * | newsubmsghandlerdata (upb_handlers *h, uint32_t ofs, const upb_fielddef *f) |
| static const void * | newunknownfieldshandlerdata (upb_handlers *h) |
| static void | oneof_cleanup (MessageHeader *msg, const oneof_handlerdata_t *oneofdata) |
| static void * | oneofbytes_handler (void *closure, const void *hd, size_t size_hint) |
| static bool | oneofstr_end_handler (void *closure, const void *hd) |
| static void * | oneofstr_handler (void *closure, const void *hd, size_t size_hint) |
| static void * | oneofsubmsg_handler (void *closure, const void *hd) |
| PHP_METHOD (Message, discardUnknownFields) | |
| PHP_METHOD (Message, mergeFromJsonString) | |
| PHP_METHOD (Message, mergeFromString) | |
| PHP_METHOD (Message, serializeToJsonString) | |
| PHP_METHOD (Message, serializeToString) | |
| static void | put_optional_value (const void *memory, int len, const upb_fielddef *f, int depth, upb_sink sink, bool is_json TSRMLS_DC) |
| static void | putarray (zval *array, const upb_fielddef *f, upb_sink sink, int depth, bool is_json TSRMLS_DC) |
| static void | putjsonany (MessageHeader *msg, const Descriptor *desc, upb_sink sink, int depth TSRMLS_DC) |
| static void | putjsonlistvalue (MessageHeader *msg, const Descriptor *desc, upb_sink sink, int depth TSRMLS_DC) |
| static void | putjsonstruct (MessageHeader *msg, const Descriptor *desc, upb_sink sink, int depth TSRMLS_DC) |
| static void | putmap (zval *map, const upb_fielddef *f, upb_sink sink, int depth, bool is_json TSRMLS_DC) |
| static void | putmsg (zval *msg, const Descriptor *desc, upb_sink sink, int depth, bool is_json TSRMLS_DC) |
| static void | putrawmsg (MessageHeader *msg, const Descriptor *desc, upb_sink sink, int depth, bool is_json, bool open_msg TSRMLS_DC) |
| static void | putrawstr (const char *str, int len, const upb_fielddef *f, upb_sink sink, bool force_default) |
| static void | putrawsubmsg (MessageHeader *submsg, const upb_fielddef *f, upb_sink sink, int depth, bool is_json TSRMLS_DC) |
| static void | putstr (zval *str, const upb_fielddef *f, upb_sink sink, bool force_default) |
| static void | putsubmsg (zval *submsg, const upb_fielddef *f, upb_sink sink, int depth, bool is_json TSRMLS_DC) |
| static const char * | raw_value (void *memory, const upb_fielddef *f) |
| static int | raw_value_len (void *memory, int len, const upb_fielddef *f) |
| void | serialize_to_string (zval *val, zval *return_value TSRMLS_DC) |
| static void | stackenv_init (stackenv *se, const char *errmsg) |
| static void | stackenv_uninit (stackenv *se) |
| static void * | startmapentry_handler (void *closure, const void *hd) |
| static void * | startseq_handler (void *closure, const void *hd) |
| static bool | str_end_handler (void *closure, const void *hd) |
| static void * | str_handler (void *closure, const void *hd, size_t size_hint) |
| static size_t | stringdata_handler (void *closure, const void *hd, const char *str, size_t len, const upb_bufhandle *handle) |
| void | stringsink_init (stringsink *sink) |
| static void * | stringsink_start (void *_sink, const void *hd, size_t size_hint) |
| size_t | stringsink_string (void *_sink, const void *hd, const char *ptr, size_t len, const upb_bufhandle *handle) |
| void | stringsink_uninit (stringsink *sink) |
| void | stringsink_uninit_opaque (void *sink) |
| static void * | submsg_handler (void *closure, const void *hd) |
Variables | |
| map_parse_frame_data_t * | data |
| zval | key_zval |
| zval * | map |
| zval | value_zval |
| #define DEFINE_APPEND_HANDLER | ( | type, | |
| ctype | |||
| ) |
Definition at line 224 of file php/ext/google/protobuf/encode_decode.c.
| #define DEFINE_ONEOF_HANDLER | ( | type, | |
| ctype | |||
| ) |
Definition at line 666 of file php/ext/google/protobuf/encode_decode.c.
| #define DEFINE_SINGULAR_HANDLER | ( | type, | |
| ctype | |||
| ) |
Definition at line 280 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 130 of file php/ext/google/protobuf/encode_decode.c.
| #define SET_HANDLER | ( | utype, | |
| ltype | |||
| ) |
| #define SET_HANDLER | ( | utype, | |
| ltype | |||
| ) |
| #define SET_HANDLER | ( | utype, | |
| ltype | |||
| ) |
| #define STACK_ENV_STACKBYTES 4096 |
Definition at line 90 of file php/ext/google/protobuf/encode_decode.c.
| #define T | ( | upbtypeconst, | |
| upbtype, | |||
| ctype | |||
| ) |
| #define T | ( | upbtypeconst, | |
| upbtype, | |||
| ctype, | |||
| default_value | |||
| ) |
| #define T | ( | upbtypeconst, | |
| upbtype, | |||
| ctype, | |||
| default_value | |||
| ) |
| typedef size_t(* encodeunknown_handlerfunc) (void *_sink, const void *hd, const char *ptr, size_t len, const upb_bufhandle *handle) |
Definition at line 145 of file php/ext/google/protobuf/encode_decode.c.
| typedef typedefPHP_PROTO_WRAP_OBJECT_END struct map_parse_frame_t map_parse_frame_t |
Definition at line 479 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 915 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 901 of file php/ext/google/protobuf/encode_decode.c.
| void add_handlers_for_message | ( | const void * | closure, |
| upb_handlers * | h | ||
| ) |
Definition at line 996 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 935 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 817 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 859 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 978 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 256 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 243 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 389 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1782 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 300 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 319 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 613 of file php/ext/google/protobuf/encode_decode.c.
| const upb_handlers* get_fill_handlers | ( | Descriptor * | desc | ) |
Definition at line 1047 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1093 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 125 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 481 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 538 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 519 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 555 of file php/ext/google/protobuf/encode_decode.c.
| void merge_from_string | ( | const char * | data, |
| int | data_len, | ||
| Descriptor * | desc, | ||
| MessageHeader * | msg | ||
| ) |
Definition at line 1680 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1051 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1636 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1055 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1631 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 644 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 328 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 133 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 187 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 168 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 154 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 687 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 726 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 742 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 763 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 777 of file php/ext/google/protobuf/encode_decode.c.
| PHP_METHOD | ( | Message | , |
| discardUnknownFields | |||
| ) |
Definition at line 1876 of file php/ext/google/protobuf/encode_decode.c.
| PHP_METHOD | ( | Message | , |
| mergeFromJsonString | |||
| ) |
Definition at line 1743 of file php/ext/google/protobuf/encode_decode.c.
| PHP_METHOD | ( | Message | , |
| mergeFromString | |||
| ) |
Definition at line 1696 of file php/ext/google/protobuf/encode_decode.c.
| PHP_METHOD | ( | Message | , |
| serializeToJsonString | |||
| ) |
Definition at line 1712 of file php/ext/google/protobuf/encode_decode.c.
| PHP_METHOD | ( | Message | , |
| serializeToString | |||
| ) |
Definition at line 1676 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1100 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1564 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1230 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1318 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1348 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1176 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1221 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1376 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1525 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1552 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1497 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1544 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1147 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 1162 of file php/ext/google/protobuf/encode_decode.c.
| void serialize_to_string | ( | zval * | val, |
| zval *return_value | TSRMLS_DC | ||
| ) |
Definition at line 1651 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 102 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 108 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 593 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 217 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 367 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 354 of file php/ext/google/protobuf/encode_decode.c.
|
static |
Definition at line 381 of file php/ext/google/protobuf/encode_decode.c.
| void stringsink_init | ( | stringsink * | sink | ) |
Definition at line 68 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 39 of file php/ext/google/protobuf/encode_decode.c.
| size_t stringsink_string | ( | void * | _sink, |
| const void * | hd, | ||
| const char * | ptr, | ||
| size_t | len, | ||
| const upb_bufhandle * | handle | ||
| ) |
Definition at line 45 of file php/ext/google/protobuf/encode_decode.c.
| void stringsink_uninit | ( | stringsink * | sink | ) |
Definition at line 80 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 82 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 417 of file php/ext/google/protobuf/encode_decode.c.
Definition at line 471 of file php/ext/google/protobuf/encode_decode.c.
| zval key_zval |
Definition at line 476 of file php/ext/google/protobuf/encode_decode.c.
| zval* map |
Definition at line 473 of file php/ext/google/protobuf/encode_decode.c.
| zval value_zval |
Definition at line 477 of file php/ext/google/protobuf/encode_decode.c.