Classes | Macros | Typedefs | Functions | Variables
bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h File Reference
#include <php.h>
#include "upb.h"
Include dependency graph for bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MessageField
 
struct  MessageLayout
 
struct  stringsink
 

Macros

#define ALLOC(class_name)   (class_name*) emalloc(sizeof(class_name))
 
#define ALLOC_N(class_name, n)   (class_name*) emalloc(sizeof(class_name) * n)
 
#define ARRAY_SIZE(x)   ((sizeof(x)/sizeof(0[x])) / ((size_t)(!(sizeof(x) % sizeof(0[x])))))
 
#define CACHED_PTR_TO_ZVAL_PTR(VALUE)   (*VALUE)
 
#define CACHED_TO_ZVAL_PTR(VALUE)   (VALUE)
 
#define CACHED_VALUE   zval*
 
#define CREATE_HASHTABLE_VALUE(OBJ, WRAPPED_OBJ, OBJ_TYPE, OBJ_CLASS_ENTRY)
 
#define CREATE_OBJ_ON_ALLOCATED_ZVAL_PTR(zval_ptr, class_type)   ZVAL_OBJ(zval_ptr, class_type->create_object(class_type TSRMLS_CC));
 
#define DEFINE_CLASS(NAME, LOWERNAME, string_name)
 
#define DEFINE_PROTOBUF_CREATE(NAME, LOWERNAME)
 
#define DEFINE_PROTOBUF_DTOR(CAMELNAME, LOWERNAME)
 
#define DEFINE_PROTOBUF_FREE(CAMELNAME, LOWERNAME)
 
#define DEFINE_PROTOBUF_INIT_CLASS(CLASSNAME, CAMELNAME, LOWERNAME)
 
#define ENCODE_MAX_NESTING   63
 
#define FREE(object)   efree(object)
 
#define GC_ADDREF(h)   ++GC_REFCOUNT(h)
 
#define GC_DELREF(h)   --GC_REFCOUNT(h)
 
#define HASHTABLE_VALUE_CE(val)   Z_OBJCE_P(val)
 
#define HASHTABLE_VALUE_DTOR   ZVAL_PTR_DTOR
 
#define MAP_KEY_FIELD   1
 
#define MAP_VALUE_FIELD   2
 
#define MAX_LENGTH_OF_INT64   20
 
#define MESSAGE_FIELD_NO_CASE   ((size_t)-1)
 
#define NATIVE_SLOT_MAX_SIZE   sizeof(uint64_t)
 
#define OBJ_PROP(OBJECT, OFFSET)   &((OBJECT)->properties_table[OFFSET])
 
#define ONEOF_CASE_NONE   0
 
#define PEFREE(object)   pefree(object, 1)
 
#define PEMALLOC(class_name)   (class_name*) pemalloc(sizeof(class_name), 1)
 
#define PHP_PROTO_ALLOC_ARRAY(zval_ptr)
 
#define PHP_PROTO_ALLOC_CLASS_OBJECT(class_object, class_type)
 
#define PHP_PROTO_ASSERT(expr)   assert(expr)
 
#define PHP_PROTO_CASE_IS_BOOL   IS_BOOL
 
#define PHP_PROTO_CE_DECLARE   zend_class_entry**
 
#define PHP_PROTO_CE_UNREF(ce)   (*ce)
 
#define PHP_PROTO_FAKE_SCOPE_BEGIN(klass)
 
#define PHP_PROTO_FAKE_SCOPE_END   EG(scope) = old_scope;
 
#define PHP_PROTO_FAKE_SCOPE_RESTART(klass)
 
#define PHP_PROTO_FREE_CLASS_OBJECT(class_object, class_object_free, handler)
 
#define PHP_PROTO_GLOBAL_UNINITIALIZED_ZVAL   EG(uninitialized_zval_ptr)
 
#define PHP_PROTO_HASH_OF(array)   Z_ARRVAL_P(array)
 
#define PHP_PROTO_HASHTABLE_VALUE   zval*
 
#define PHP_PROTO_INIT_CLASS_END   }
 
#define PHP_PROTO_INIT_CLASS_START(CLASSNAME, CAMELNAME, LOWWERNAME)
 
#define PHP_PROTO_INIT_ENUMCLASS_END   }
 
#define PHP_PROTO_INIT_ENUMCLASS_START(CLASSNAME, CAMELNAME, LOWWERNAME)
 
#define PHP_PROTO_INIT_SUBMSGCLASS_END   }
 
#define PHP_PROTO_INIT_SUBMSGCLASS_START(CLASSNAME, CAMELNAME, LOWWERNAME)
 
#define PHP_PROTO_LONG   long
 
#define PHP_PROTO_OBJECT_CREATE_END(NAME, LOWWERNAME)
 
#define PHP_PROTO_OBJECT_CREATE_START(NAME, LOWWERNAME)
 
#define PHP_PROTO_OBJECT_DTOR_END
 
#define PHP_PROTO_OBJECT_DTOR_START(classname, lowername)
 
#define PHP_PROTO_OBJECT_FREE_END
 
#define PHP_PROTO_OBJECT_FREE_START(classname, lowername)
 
#define PHP_PROTO_RETURN_STRING(s, copy)   RETURN_STRING(s, copy)
 
#define PHP_PROTO_RETURN_STRINGL(s, len, copy)   RETURN_STRINGL(s, len, copy)
 
#define PHP_PROTO_RETVAL_STRINGL(s, len, copy)   RETVAL_STRINGL(s, len, copy)
 
#define PHP_PROTO_RETVAL_ZVAL(value)   ZVAL_ZVAL(return_value, value, 1, 0)
 
#define PHP_PROTO_SEPARATE_ZVAL_IF_NOT_REF(value)   SEPARATE_ZVAL_IF_NOT_REF(value)
 
#define PHP_PROTO_SIZE   int
 
#define PHP_PROTO_TSRMLS_CC   TSRMLS_CC
 
#define PHP_PROTO_TSRMLS_DC   TSRMLS_DC
 
#define PHP_PROTO_UNUSED(var)   (void)var
 
#define PHP_PROTO_WRAP_OBJECT_END   };
 
#define PHP_PROTO_WRAP_OBJECT_START(name)
 
#define php_proto_zend_hash_find(ht, key, key_len, pDest)   zend_hash_find(ht, key, key_len, pDest)
 
#define php_proto_zend_hash_find_mem(ht, key, key_len, pDest)   zend_hash_find(ht, key, key_len, pDest)
 
#define php_proto_zend_hash_find_zval(ht, key, key_len, pDest)   zend_hash_find(ht, key, key_len, pDest)
 
#define php_proto_zend_hash_get_current_data_ex(ht, pDest, pos)   zend_hash_get_current_data_ex(ht, pDest, pos)
 
#define php_proto_zend_hash_index_find_mem(ht, h, pDest)   zend_hash_index_find(ht, h, pDest)
 
#define php_proto_zend_hash_index_find_zval(ht, h, pDest)   zend_hash_index_find(ht, h, pDest)
 
#define php_proto_zend_hash_index_update_mem(ht, h, pData, nDataSize, pDest)   zend_hash_index_update(ht, h, pData, nDataSize, pDest)
 
#define php_proto_zend_hash_index_update_zval(ht, h, pData)   zend_hash_index_update(ht, h, &(pData), sizeof(void*), NULL)
 
#define php_proto_zend_hash_next_index_insert_mem(ht, pData, nDataSize, pDest)   zend_hash_next_index_insert(ht, pData, nDataSize, pDest)
 
#define php_proto_zend_hash_next_index_insert_zval(ht, pData)   zend_hash_next_index_insert(ht, pData, sizeof(void*), NULL)
 
#define php_proto_zend_hash_update(ht, key, key_len)   zend_hash_update(ht, key, key_len, 0, 0, NULL)
 
#define php_proto_zend_hash_update_mem(ht, key, key_len, pData, nDataSize, pDest)   zend_hash_update(ht, key, key_len, pData, nDataSize, pDest)
 
#define php_proto_zend_hash_update_zval(ht, key, key_len, value)   zend_hash_update(ht, key, key_len, value, sizeof(void*), NULL)
 
#define php_proto_zend_literal   const zend_literal*
 
#define php_proto_zend_lookup_class(name, name_length, ce)   zend_lookup_class(name, name_length, ce TSRMLS_CC)
 
#define php_proto_zend_make_printable_zval(from, to)
 
#define php_proto_zval_ptr_dtor(zval_ptr)   zval_ptr_dtor(&(zval_ptr))
 
#define PHP_PROTO_ZVAL_STRING(zval_ptr, s, copy)   ZVAL_STRING(zval_ptr, s, copy)
 
#define PHP_PROTO_ZVAL_STRINGL(zval_ptr, s, len, copy)   ZVAL_STRINGL(zval_ptr, s, len, copy)
 
#define PHP_PROTOBUF_EXTNAME   "protobuf"
 
#define PHP_PROTOBUF_VERSION   "3.9.1"
 
#define SIZEOF_INT64   8
 
#define STR(str)   (str), strlen(str)
 
#define UNBOX(class_name, val)   (class_name*)zend_object_store_get_object(val TSRMLS_CC);
 
#define UNBOX_HASHTABLE_VALUE(class_name, val)   UNBOX(class_name, val)
 
#define Z_OBJ_P(zval_p)
 
#define ZVAL_OBJ(zval_ptr, call_create)
 
#define ZVAL_PTR_TO_CACHED_PTR(VALUE)   (&VALUE)
 
#define ZVAL_PTR_TO_CACHED_VALUE(VALUE)   (VALUE)
 
#define ZVAL_TO_CACHED_VALUE(VALUE)   (&VALUE)
 

Typedefs

typedef struct Any Any
 
typedef struct Api Api
 
typedef struct BoolValue BoolValue
 
typedef struct BytesValue BytesValue
 
typedef struct Descriptor Descriptor
 
typedef struct DescriptorPool DescriptorPool
 
typedef struct DoubleValue DoubleValue
 
typedef struct Duration Duration
 
typedef struct Enum Enum
 
typedef struct EnumDescriptor EnumDescriptor
 
typedef struct EnumValue EnumValue
 
typedef struct EnumValueDescriptor EnumValueDescriptor
 
typedef struct Field Field
 
typedef struct Field_Cardinality Field_Cardinality
 
typedef struct Field_Kind Field_Kind
 
typedef struct FieldDescriptor FieldDescriptor
 
typedef struct FieldMask FieldMask
 
typedef struct FloatValue FloatValue
 
typedef struct GPBEmpty GPBEmpty
 
typedef struct Int32Value Int32Value
 
typedef struct Int64Value Int64Value
 
typedef struct InternalDescriptorPool InternalDescriptorPool
 
typedef struct ListValue ListValue
 
typedef struct Map Map
 
typedef struct MapIter MapIter
 
typedef struct MessageField MessageField
 
typedef struct MessageHeader MessageHeader
 
typedef struct MessageLayout MessageLayout
 
typedef struct Method Method
 
typedef struct Mixin Mixin
 
typedef struct NullValue NullValue
 
typedef struct Oneof Oneof
 
typedef struct Option Option
 
typedef struct RepeatedField RepeatedField
 
typedef struct RepeatedFieldIter RepeatedFieldIter
 
typedef struct SourceContext SourceContext
 
typedef struct StringValue StringValue
 
typedef struct Struct Struct
 
typedef struct Syntax Syntax
 
typedef struct Timestamp Timestamp
 
typedef struct Type Type
 
typedef struct UInt32Value UInt32Value
 
typedef struct UInt64Value UInt64Value
 
typedef struct Value Value
 

Functions

void add_ce_obj (const void *ce, PHP_PROTO_HASHTABLE_VALUE value)
 
void add_def_obj (const void *def, PHP_PROTO_HASHTABLE_VALUE value)
 
void add_handlers_for_message (const void *closure, upb_handlers *h)
 
void add_proto_obj (const char *proto, PHP_PROTO_HASHTABLE_VALUE value)
 
void any_init (TSRMLS_D)
 
void api_init (TSRMLS_D)
 
void bool_value_init (TSRMLS_D)
 
void build_class_from_descriptor (PHP_PROTO_HASHTABLE_VALUE php_descriptor TSRMLS_DC)
 
void bytes_value_init (TSRMLS_D)
 
void check_map_field (const zend_class_entry *klass, PHP_PROTO_LONG key_type, PHP_PROTO_LONG value_type, zval *val, zval *return_value)
 
void check_repeated_field (const zend_class_entry *klass, PHP_PROTO_LONG type, zval *val, zval *return_value)
 
bool class_added (const void *ce)
 
PHP_PROTO_WRAP_OBJECT_END MessageLayoutcreate_layout (const upb_msgdef *msgdef)
 
void custom_data_init (const zend_class_entry *ce, MessageHeader *msg PHP_PROTO_TSRMLS_DC)
 
void descriptor_init (TSRMLS_D)
 
void descriptor_name_set (Descriptor *desc, const char *name)
 
void descriptor_pool_free (void *object TSRMLS_DC)
 
void descriptor_pool_init (TSRMLS_D)
 
void double_value_init (TSRMLS_D)
 
void duration_init (TSRMLS_D)
 
void empty_init (TSRMLS_D)
 
void enum_descriptor_init (TSRMLS_D)
 
void enum_init (TSRMLS_D)
 
void enum_value_descriptor_init (TSRMLS_D)
 
void enum_value_init (TSRMLS_D)
 
void field_cardinality_init (TSRMLS_D)
 
void field_descriptor_init (TSRMLS_D)
 
void field_init (TSRMLS_D)
 
void field_kind_init (TSRMLS_D)
 
void field_mask_init (TSRMLS_D)
 
const zend_class_entry * field_type_class (const upb_fielddef *field PHP_PROTO_TSRMLS_DC)
 
void float_value_init (TSRMLS_D)
 
void free_layout (MessageLayout *layout)
 
PHP_PROTO_HASHTABLE_VALUE get_ce_obj (const void *ce)
 
PHP_PROTO_HASHTABLE_VALUE get_def_obj (const void *def)
 
PHP_PROTO_HASHTABLE_VALUE get_proto_obj (const char *proto)
 
void gpb_metadata_any_init (TSRMLS_D)
 
void gpb_metadata_api_init (TSRMLS_D)
 
void gpb_metadata_duration_init (TSRMLS_D)
 
void gpb_metadata_empty_init (TSRMLS_D)
 
void gpb_metadata_field_mask_init (TSRMLS_D)
 
void gpb_metadata_source_context_init (TSRMLS_D)
 
void gpb_metadata_struct_init (TSRMLS_D)
 
void gpb_metadata_timestamp_init (TSRMLS_D)
 
void gpb_metadata_type_init (TSRMLS_D)
 
void gpb_metadata_wrappers_init (TSRMLS_D)
 
void gpb_type_init (TSRMLS_D)
 
void init_generated_pool_once (TSRMLS_D)
 
void int32_value_init (TSRMLS_D)
 
void int64_value_init (TSRMLS_D)
 
void internal_add_generated_file (const char *data, PHP_PROTO_SIZE data_len, InternalDescriptorPool *pool, bool use_nested_submsg TSRMLS_DC)
 
void internal_descriptor_pool_free (void *object TSRMLS_DC)
 
void internal_descriptor_pool_init (TSRMLS_D)
 
bool is_map_field (const upb_fielddef *field)
 
bool is_reserved_name (const char *name)
 
bool is_valid_constant_name (const char *name)
 
zval * layout_get (MessageLayout *layout, const void *storage, const upb_fielddef *field, CACHED_VALUE *cache TSRMLS_DC)
 
const char * layout_get_oneof_case (MessageLayout *layout, const void *storage, const upb_oneofdef *oneof TSRMLS_DC)
 
void layout_init (MessageLayout *layout, void *storage, zend_object *object PHP_PROTO_TSRMLS_DC)
 
void layout_merge (MessageLayout *layout, MessageHeader *from, MessageHeader *to TSRMLS_DC)
 
void layout_set (MessageLayout *layout, MessageHeader *header, const upb_fielddef *field, zval *val TSRMLS_DC)
 
void list_value_init (TSRMLS_D)
 
PHP_PROTO_WRAP_OBJECT_END void map_begin (zval *self, MapIter *iter TSRMLS_DC)
 
bool map_done (MapIter *iter)
 
const upb_fielddefmap_entry_key (const upb_msgdef *msgdef)
 
const upb_fielddefmap_entry_value (const upb_msgdef *msgdef)
 
void map_field_create_with_field (const zend_class_entry *ce, const upb_fielddef *field, CACHED_VALUE *map_field PHP_PROTO_TSRMLS_DC)
 
void map_field_create_with_type (const zend_class_entry *ce, upb_fieldtype_t key_type, upb_fieldtype_t value_type, const zend_class_entry *msg_ce, CACHED_VALUE *map_field PHP_PROTO_TSRMLS_DC)
 
void map_field_init (TSRMLS_D)
 
void map_field_iter_init (TSRMLS_D)
 
const upb_fielddefmap_field_key (const upb_fielddef *field)
 
const upb_fielddefmap_field_value (const upb_fielddef *field)
 
bool map_index_set (Map *intern, const char *keyval, int length, upb_value v)
 
const char * map_iter_key (MapIter *iter, int *len)
 
upb_value map_iter_value (MapIter *iter, int *len)
 
void map_next (MapIter *iter)
 
void merge_from_string (const char *data, int data_len, Descriptor *desc, MessageHeader *msg)
 
void * message_data (MessageHeader *msg)
 
void message_init (TSRMLS_D)
 
void method_init (TSRMLS_D)
 
void mixin_init (TSRMLS_D)
 
void native_slot_get (upb_fieldtype_t type, const void *memory, CACHED_VALUE *cache TSRMLS_DC)
 
void native_slot_get_by_array (upb_fieldtype_t type, const void *memory, CACHED_VALUE *cache TSRMLS_DC)
 
void native_slot_get_by_map_key (upb_fieldtype_t type, const void *memory, int length, CACHED_VALUE *cache TSRMLS_DC)
 
void native_slot_get_by_map_value (upb_fieldtype_t type, const void *memory, CACHED_VALUE *cache TSRMLS_DC)
 
void native_slot_get_default (upb_fieldtype_t type, CACHED_VALUE *cache TSRMLS_DC)
 
void native_slot_init (upb_fieldtype_t type, void *memory, CACHED_VALUE *cache)
 
bool native_slot_set (upb_fieldtype_t type, const zend_class_entry *klass, void *memory, zval *value TSRMLS_DC)
 
bool native_slot_set_by_array (upb_fieldtype_t type, const zend_class_entry *klass, void *memory, zval *value TSRMLS_DC)
 
bool native_slot_set_by_map (upb_fieldtype_t type, const zend_class_entry *klass, void *memory, zval *value TSRMLS_DC)
 
size_t native_slot_size (upb_fieldtype_t type)
 
const upb_pbdecodermethodnew_fillmsg_decodermethod (Descriptor *desc, const void *owner)
 
void null_value_init (TSRMLS_D)
 
void oneof_descriptor_init (TSRMLS_D)
 
void option_init (TSRMLS_D)
 
 PHP_METHOD (Any, __construct)
 
 PHP_METHOD (Any, getTypeUrl)
 
 PHP_METHOD (Any, getValue)
 
 PHP_METHOD (Any, is)
 
 PHP_METHOD (Any, pack)
 
 PHP_METHOD (Any, setTypeUrl)
 
 PHP_METHOD (Any, setValue)
 
 PHP_METHOD (Any, unpack)
 
 PHP_METHOD (Api, __construct)
 
 PHP_METHOD (Api, getMethods)
 
 PHP_METHOD (Api, getMixins)
 
 PHP_METHOD (Api, getName)
 
 PHP_METHOD (Api, getOptions)
 
 PHP_METHOD (Api, getSourceContext)
 
 PHP_METHOD (Api, getSyntax)
 
 PHP_METHOD (Api, getVersion)
 
 PHP_METHOD (Api, setMethods)
 
 PHP_METHOD (Api, setMixins)
 
 PHP_METHOD (Api, setName)
 
 PHP_METHOD (Api, setOptions)
 
 PHP_METHOD (Api, setSourceContext)
 
 PHP_METHOD (Api, setSyntax)
 
 PHP_METHOD (Api, setVersion)
 
 PHP_METHOD (BoolValue, __construct)
 
 PHP_METHOD (BoolValue, getValue)
 
 PHP_METHOD (BoolValue, setValue)
 
 PHP_METHOD (BytesValue, __construct)
 
 PHP_METHOD (BytesValue, getValue)
 
 PHP_METHOD (BytesValue, setValue)
 
PHP_PROTO_WRAP_OBJECT_END PHP_METHOD (Descriptor, getClass)
 
 PHP_METHOD (Descriptor, getField)
 
 PHP_METHOD (Descriptor, getFieldCount)
 
 PHP_METHOD (Descriptor, getFullName)
 
 PHP_METHOD (Descriptor, getOneofDecl)
 
 PHP_METHOD (Descriptor, getOneofDeclCount)
 
 PHP_METHOD (DescriptorPool, getDescriptorByClassName)
 
 PHP_METHOD (DescriptorPool, getEnumDescriptorByClassName)
 
PHP_PROTO_WRAP_OBJECT_END PHP_METHOD (DescriptorPool, getGeneratedPool)
 
 PHP_METHOD (DoubleValue, __construct)
 
 PHP_METHOD (DoubleValue, getValue)
 
 PHP_METHOD (DoubleValue, setValue)
 
 PHP_METHOD (Duration, __construct)
 
 PHP_METHOD (Duration, getNanos)
 
 PHP_METHOD (Duration, getSeconds)
 
 PHP_METHOD (Duration, setNanos)
 
 PHP_METHOD (Duration, setSeconds)
 
 PHP_METHOD (Enum, __construct)
 
 PHP_METHOD (Enum, getEnumvalue)
 
 PHP_METHOD (Enum, getName)
 
 PHP_METHOD (Enum, getOptions)
 
 PHP_METHOD (Enum, getSourceContext)
 
 PHP_METHOD (Enum, getSyntax)
 
 PHP_METHOD (Enum, setEnumvalue)
 
 PHP_METHOD (Enum, setName)
 
 PHP_METHOD (Enum, setOptions)
 
 PHP_METHOD (Enum, setSourceContext)
 
 PHP_METHOD (Enum, setSyntax)
 
PHP_PROTO_WRAP_OBJECT_END PHP_METHOD (EnumDescriptor, getValue)
 
 PHP_METHOD (EnumDescriptor, getValueCount)
 
 PHP_METHOD (EnumValue, __construct)
 
 PHP_METHOD (EnumValue, getName)
 
 PHP_METHOD (EnumValue, getNumber)
 
 PHP_METHOD (EnumValue, getOptions)
 
 PHP_METHOD (EnumValue, setName)
 
 PHP_METHOD (EnumValue, setNumber)
 
 PHP_METHOD (EnumValue, setOptions)
 
PHP_PROTO_WRAP_OBJECT_END PHP_METHOD (EnumValueDescriptor, getName)
 
 PHP_METHOD (EnumValueDescriptor, getNumber)
 
 PHP_METHOD (Field, __construct)
 
 PHP_METHOD (Field, getCardinality)
 
 PHP_METHOD (Field, getDefaultValue)
 
 PHP_METHOD (Field, getJsonName)
 
 PHP_METHOD (Field, getKind)
 
 PHP_METHOD (Field, getName)
 
 PHP_METHOD (Field, getNumber)
 
 PHP_METHOD (Field, getOneofIndex)
 
 PHP_METHOD (Field, getOptions)
 
 PHP_METHOD (Field, getPacked)
 
 PHP_METHOD (Field, getTypeUrl)
 
 PHP_METHOD (Field, setCardinality)
 
 PHP_METHOD (Field, setDefaultValue)
 
 PHP_METHOD (Field, setJsonName)
 
 PHP_METHOD (Field, setKind)
 
 PHP_METHOD (Field, setName)
 
 PHP_METHOD (Field, setNumber)
 
 PHP_METHOD (Field, setOneofIndex)
 
 PHP_METHOD (Field, setOptions)
 
 PHP_METHOD (Field, setPacked)
 
 PHP_METHOD (Field, setTypeUrl)
 
 PHP_METHOD (Field_Cardinality, name)
 
 PHP_METHOD (Field_Cardinality, value)
 
 PHP_METHOD (Field_Kind, name)
 
 PHP_METHOD (Field_Kind, value)
 
 PHP_METHOD (FieldDescriptor, getEnumType)
 
 PHP_METHOD (FieldDescriptor, getLabel)
 
 PHP_METHOD (FieldDescriptor, getMessageType)
 
PHP_PROTO_WRAP_OBJECT_END PHP_METHOD (FieldDescriptor, getName)
 
 PHP_METHOD (FieldDescriptor, getNumber)
 
 PHP_METHOD (FieldDescriptor, getType)
 
 PHP_METHOD (FieldDescriptor, isMap)
 
 PHP_METHOD (FieldMask, __construct)
 
 PHP_METHOD (FieldMask, getPaths)
 
 PHP_METHOD (FieldMask, setPaths)
 
 PHP_METHOD (FloatValue, __construct)
 
 PHP_METHOD (FloatValue, getValue)
 
 PHP_METHOD (FloatValue, setValue)
 
 PHP_METHOD (GPBEmpty, __construct)
 
 PHP_METHOD (GPBMetadata_Any, initOnce)
 
 PHP_METHOD (GPBMetadata_Api, initOnce)
 
 PHP_METHOD (GPBMetadata_Duration, initOnce)
 
 PHP_METHOD (GPBMetadata_Empty, initOnce)
 
 PHP_METHOD (GPBMetadata_FieldMask, initOnce)
 
 PHP_METHOD (GPBMetadata_SourceContext, initOnce)
 
 PHP_METHOD (GPBMetadata_Struct, initOnce)
 
 PHP_METHOD (GPBMetadata_Timestamp, initOnce)
 
 PHP_METHOD (GPBMetadata_Type, initOnce)
 
 PHP_METHOD (GPBMetadata_Wrappers, initOnce)
 
 PHP_METHOD (Int32Value, __construct)
 
 PHP_METHOD (Int32Value, getValue)
 
 PHP_METHOD (Int32Value, setValue)
 
 PHP_METHOD (Int64Value, __construct)
 
 PHP_METHOD (Int64Value, getValue)
 
 PHP_METHOD (Int64Value, setValue)
 
PHP_PROTO_WRAP_OBJECT_END PHP_METHOD (InternalDescriptorPool, getGeneratedPool)
 
 PHP_METHOD (InternalDescriptorPool, internalAddGeneratedFile)
 
 PHP_METHOD (ListValue, __construct)
 
 PHP_METHOD (ListValue, getValues)
 
 PHP_METHOD (ListValue, setValues)
 
 PHP_METHOD (MapField, __construct)
 
 PHP_METHOD (MapField, count)
 
 PHP_METHOD (MapField, getIterator)
 
 PHP_METHOD (MapField, offsetExists)
 
 PHP_METHOD (MapField, offsetGet)
 
 PHP_METHOD (MapField, offsetSet)
 
 PHP_METHOD (MapField, offsetUnset)
 
 PHP_METHOD (MapFieldIter, current)
 
 PHP_METHOD (MapFieldIter, key)
 
 PHP_METHOD (MapFieldIter, next)
 
 PHP_METHOD (MapFieldIter, rewind)
 
 PHP_METHOD (MapFieldIter, valid)
 
 PHP_METHOD (Message, __construct)
 
 PHP_METHOD (Message, clear)
 
 PHP_METHOD (Message, discardUnknownFields)
 
 PHP_METHOD (Message, mergeFrom)
 
 PHP_METHOD (Message, mergeFromJsonString)
 
 PHP_METHOD (Message, mergeFromString)
 
 PHP_METHOD (Message, readOneof)
 
 PHP_METHOD (Message, serializeToJsonString)
 
 PHP_METHOD (Message, serializeToString)
 
 PHP_METHOD (Message, whichOneof)
 
 PHP_METHOD (Message, writeOneof)
 
 PHP_METHOD (Method, __construct)
 
 PHP_METHOD (Method, getName)
 
 PHP_METHOD (Method, getOptions)
 
 PHP_METHOD (Method, getRequestStreaming)
 
 PHP_METHOD (Method, getRequestTypeUrl)
 
 PHP_METHOD (Method, getResponseStreaming)
 
 PHP_METHOD (Method, getResponseTypeUrl)
 
 PHP_METHOD (Method, getSyntax)
 
 PHP_METHOD (Method, setName)
 
 PHP_METHOD (Method, setOptions)
 
 PHP_METHOD (Method, setRequestStreaming)
 
 PHP_METHOD (Method, setRequestTypeUrl)
 
 PHP_METHOD (Method, setResponseStreaming)
 
 PHP_METHOD (Method, setResponseTypeUrl)
 
 PHP_METHOD (Method, setSyntax)
 
 PHP_METHOD (Mixin, __construct)
 
 PHP_METHOD (Mixin, getName)
 
 PHP_METHOD (Mixin, getRoot)
 
 PHP_METHOD (Mixin, setName)
 
 PHP_METHOD (Mixin, setRoot)
 
 PHP_METHOD (NullValue, name)
 
 PHP_METHOD (NullValue, value)
 
 PHP_METHOD (Oneof, getField)
 
 PHP_METHOD (Oneof, getFieldCount)
 
PHP_PROTO_WRAP_OBJECT_END PHP_METHOD (Oneof, getName)
 
 PHP_METHOD (Option, __construct)
 
 PHP_METHOD (Option, getName)
 
 PHP_METHOD (Option, getValue)
 
 PHP_METHOD (Option, setName)
 
 PHP_METHOD (Option, setValue)
 
 PHP_METHOD (RepeatedField, __construct)
 
 PHP_METHOD (RepeatedField, append)
 
 PHP_METHOD (RepeatedField, count)
 
 PHP_METHOD (RepeatedField, getIterator)
 
 PHP_METHOD (RepeatedField, offsetExists)
 
 PHP_METHOD (RepeatedField, offsetGet)
 
 PHP_METHOD (RepeatedField, offsetSet)
 
 PHP_METHOD (RepeatedField, offsetUnset)
 
 PHP_METHOD (RepeatedFieldIter, current)
 
 PHP_METHOD (RepeatedFieldIter, key)
 
 PHP_METHOD (RepeatedFieldIter, next)
 
 PHP_METHOD (RepeatedFieldIter, rewind)
 
 PHP_METHOD (RepeatedFieldIter, valid)
 
 PHP_METHOD (SourceContext, __construct)
 
 PHP_METHOD (SourceContext, getFileName)
 
 PHP_METHOD (SourceContext, setFileName)
 
 PHP_METHOD (StringValue, __construct)
 
 PHP_METHOD (StringValue, getValue)
 
 PHP_METHOD (StringValue, setValue)
 
 PHP_METHOD (Struct, __construct)
 
 PHP_METHOD (Struct, getFields)
 
 PHP_METHOD (Struct, setFields)
 
 PHP_METHOD (Syntax, name)
 
 PHP_METHOD (Syntax, value)
 
 PHP_METHOD (Timestamp, __construct)
 
 PHP_METHOD (Timestamp, fromDateTime)
 
 PHP_METHOD (Timestamp, getNanos)
 
 PHP_METHOD (Timestamp, getSeconds)
 
 PHP_METHOD (Timestamp, setNanos)
 
 PHP_METHOD (Timestamp, setSeconds)
 
 PHP_METHOD (Timestamp, toDateTime)
 
 PHP_METHOD (Type, __construct)
 
 PHP_METHOD (Type, getFields)
 
 PHP_METHOD (Type, getName)
 
 PHP_METHOD (Type, getOneofs)
 
 PHP_METHOD (Type, getOptions)
 
 PHP_METHOD (Type, getSourceContext)
 
 PHP_METHOD (Type, getSyntax)
 
 PHP_METHOD (Type, setFields)
 
 PHP_METHOD (Type, setName)
 
 PHP_METHOD (Type, setOneofs)
 
 PHP_METHOD (Type, setOptions)
 
 PHP_METHOD (Type, setSourceContext)
 
 PHP_METHOD (Type, setSyntax)
 
 PHP_METHOD (UInt32Value, __construct)
 
 PHP_METHOD (UInt32Value, getValue)
 
 PHP_METHOD (UInt32Value, setValue)
 
 PHP_METHOD (UInt64Value, __construct)
 
 PHP_METHOD (UInt64Value, getValue)
 
 PHP_METHOD (UInt64Value, setValue)
 
 PHP_METHOD (Util, checkBool)
 
 PHP_METHOD (Util, checkBytes)
 
 PHP_METHOD (Util, checkDouble)
 
 PHP_METHOD (Util, checkEnum)
 
 PHP_METHOD (Util, checkFloat)
 
 PHP_METHOD (Util, checkInt32)
 
 PHP_METHOD (Util, checkInt64)
 
 PHP_METHOD (Util, checkMapField)
 
 PHP_METHOD (Util, checkMessage)
 
 PHP_METHOD (Util, checkRepeatedField)
 
 PHP_METHOD (Util, checkString)
 
 PHP_METHOD (Util, checkUint32)
 
 PHP_METHOD (Util, checkUint64)
 
 PHP_METHOD (Value, __construct)
 
 PHP_METHOD (Value, getBoolValue)
 
 PHP_METHOD (Value, getKind)
 
 PHP_METHOD (Value, getListValue)
 
 PHP_METHOD (Value, getNullValue)
 
 PHP_METHOD (Value, getNumberValue)
 
 PHP_METHOD (Value, getStringValue)
 
 PHP_METHOD (Value, getStructValue)
 
 PHP_METHOD (Value, setBoolValue)
 
 PHP_METHOD (Value, setListValue)
 
 PHP_METHOD (Value, setNullValue)
 
 PHP_METHOD (Value, setNumberValue)
 
 PHP_METHOD (Value, setStringValue)
 
 PHP_METHOD (Value, setStructValue)
 
static zval * php_proto_message_read_property (zval *msg, zval *member PHP_PROTO_TSRMLS_DC)
 
bool protobuf_convert_to_bool (zval *from, int8_t *to)
 
bool protobuf_convert_to_double (zval *from, double *to)
 
bool protobuf_convert_to_float (zval *from, float *to)
 
bool protobuf_convert_to_int32 (zval *from, int32_t *to)
 
bool protobuf_convert_to_int64 (zval *from, int64_t *to)
 
bool protobuf_convert_to_string (zval *from)
 
bool protobuf_convert_to_uint32 (zval *from, uint32_t *to)
 
bool protobuf_convert_to_uint64 (zval *from, uint64_t *to)
 
PHP_PROTO_WRAP_OBJECT_END void repeated_field_create_with_field (zend_class_entry *ce, const upb_fielddef *field, CACHED_VALUE *repeated_field PHP_PROTO_TSRMLS_DC)
 
void repeated_field_create_with_type (zend_class_entry *ce, upb_fieldtype_t type, const zend_class_entry *msg_ce, CACHED_VALUE *repeated_field PHP_PROTO_TSRMLS_DC)
 
void * repeated_field_index_native (RepeatedField *intern, int index TSRMLS_DC)
 
void repeated_field_init (TSRMLS_D)
 
void repeated_field_iter_init (TSRMLS_D)
 
void repeated_field_push_native (RepeatedField *intern, void *value)
 
void serialize_to_string (zval *val, zval *return_value TSRMLS_DC)
 
void * slot_memory (MessageLayout *layout, const void *storage, const upb_fielddef *field)
 
uint32_tslot_oneof_case (MessageLayout *layout, const void *storage, const upb_fielddef *field)
 
void source_context_init (TSRMLS_D)
 
void string_value_init (TSRMLS_D)
 
void stringsink_init (stringsink *sink)
 
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)
 
void struct_init (TSRMLS_D)
 
void syntax_init (TSRMLS_D)
 
void timestamp_init (TSRMLS_D)
 
upb_fieldtype_t to_fieldtype (upb_descriptortype_t type)
 
void type_init (TSRMLS_D)
 
void u_int32_value_init (TSRMLS_D)
 
void u_int64_value_init (TSRMLS_D)
 
void * upb_value_memory (upb_value *v)
 
void util_init (TSRMLS_D)
 
void value_init (TSRMLS_D)
 

Variables

zend_class_entry * any_type
 
zend_class_entry * api_type
 
zval * array
 
zend_class_entry * bool_value_type
 
zend_class_entry * bytes_value_type
 
void * data
 
Descriptordescriptor
 
zend_class_entry * descriptor_type
 
zend_class_entry * double_value_type
 
zend_class_entry * duration_type
 
zend_class_entry * empty_type
 
zend_class_entry * enum_descriptor_type
 
zend_class_entry * enum_type
 
zend_class_entry * enum_value_descriptor_type
 
zend_class_entry * enum_value_type
 
const upb_enumdefenumdef
 
zend_class_entry * field_cardinality_type
 
zend_class_entry * field_descriptor_type
 
zend_class_entry * field_kind_type
 
zend_class_entry * field_mask_type
 
zend_class_entry * field_type
 
const upb_fielddeffielddef
 
upb_handlercachefill_handler_cache
 
upb_pbcodecachefill_method_cache
 
zend_class_entry * float_value_type
 
InternalDescriptorPoolgenerated_pool
 
zval * generated_pool_php
 
int index
 
zend_class_entry * int32_value_type
 
zend_class_entry * int64_value_type
 
InternalDescriptorPoolintern
 
zval * internal_generated_pool_php
 
bool is_inited_file_any
 
bool is_inited_file_api
 
bool is_inited_file_duration
 
bool is_inited_file_empty
 
bool is_inited_file_field_mask
 
bool is_inited_file_source_context
 
bool is_inited_file_struct
 
bool is_inited_file_timestamp
 
bool is_inited_file_type
 
bool is_inited_file_wrappers
 
upb_strtable_iter it
 
upb_json_codecachejson_fill_method_cache
 
upb_handlercachejson_serialize_handler_cache
 
upb_handlercachejson_serialize_handler_preserve_cache
 
upb_fieldtype_t key_type
 
zend_class_entry * klass
 
MessageLayoutlayout
 
zend_class_entry * list_value_type
 
zend_object_handlers * map_field_handlers
 
zend_object_handlers * map_field_iter_handlers
 
zend_class_entry * map_field_type
 
zend_object_handlers * message_handlers
 
zend_class_entry * message_type
 
zend_class_entry * method_type
 
zend_class_entry * mixin_type
 
const zend_class_entry * msg_ce
 
const upb_msgdefmsgdef
 
const char * name
 
zend_class_entry * null_value_type
 
int32_t number
 
zend_class_entry * oneof_descriptor_type
 
const upb_oneofdefoneofdef
 
zend_class_entry * option_type
 
upb_handlercachepb_serialize_handler_cache
 
InternalDescriptorPoolpool
 
long position
 
PHP_PROTO_WRAP_OBJECT_END RepeatedFieldrepeated_field
 
zend_object_handlers * repeated_field_handlers
 
zend_object_handlers * repeated_field_iter_handlers
 
zend_class_entry * repeated_field_type
 
PHP_PROTO_WRAP_OBJECT_END Mapself
 
zend_class_entry * source_context_type
 
zend_class_entry * string_value_type
 
zend_class_entry * struct_type
 
upb_symtabsymtab
 
zend_class_entry * syntax_type
 
upb_strtable table
 
zend_class_entry * timestamp_type
 
upb_fieldtype_t type
 
zend_class_entry * type_type
 
zend_class_entry * uint32_value_type
 
zend_class_entry * uint64_value_type
 
char value [NATIVE_SLOT_MAX_SIZE]
 
upb_fieldtype_t value_type
 

Macro Definition Documentation

◆ ALLOC

#define ALLOC (   class_name)    (class_name*) emalloc(sizeof(class_name))

◆ ALLOC_N

#define ALLOC_N (   class_name,
  n 
)    (class_name*) emalloc(sizeof(class_name) * n)

◆ ARRAY_SIZE

#define ARRAY_SIZE (   x)    ((sizeof(x)/sizeof(0[x])) / ((size_t)(!(sizeof(x) % sizeof(0[x])))))

◆ CACHED_PTR_TO_ZVAL_PTR

#define CACHED_PTR_TO_ZVAL_PTR (   VALUE)    (*VALUE)

◆ CACHED_TO_ZVAL_PTR

#define CACHED_TO_ZVAL_PTR (   VALUE)    (VALUE)

◆ CACHED_VALUE

#define CACHED_VALUE   zval*

◆ CREATE_HASHTABLE_VALUE

#define CREATE_HASHTABLE_VALUE (   OBJ,
  WRAPPED_OBJ,
  OBJ_TYPE,
  OBJ_CLASS_ENTRY 
)
Value:
OBJ_TYPE* OBJ; \
PHP_PROTO_HASHTABLE_VALUE WRAPPED_OBJ; \
MAKE_STD_ZVAL(WRAPPED_OBJ); \
ZVAL_OBJ(WRAPPED_OBJ, \
OBJ_CLASS_ENTRY->create_object(OBJ_CLASS_ENTRY TSRMLS_CC)); \
OBJ = UNBOX_HASHTABLE_VALUE(OBJ_TYPE, WRAPPED_OBJ); \
Z_DELREF_P(desc_php);

Definition at line 252 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ CREATE_OBJ_ON_ALLOCATED_ZVAL_PTR

#define CREATE_OBJ_ON_ALLOCATED_ZVAL_PTR (   zval_ptr,
  class_type 
)    ZVAL_OBJ(zval_ptr, class_type->create_object(class_type TSRMLS_CC));

◆ DEFINE_CLASS

#define DEFINE_CLASS (   NAME,
  LOWERNAME,
  string_name 
)
Value:
zend_class_entry *LOWERNAME##_type; \
zend_object_handlers *LOWERNAME##_handlers; \
DEFINE_PROTOBUF_FREE(NAME, LOWERNAME) \
DEFINE_PROTOBUF_DTOR(NAME, LOWERNAME) \
DEFINE_PROTOBUF_CREATE(NAME, LOWERNAME) \
DEFINE_PROTOBUF_INIT_CLASS(string_name, NAME, LOWERNAME)

Definition at line 576 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ DEFINE_PROTOBUF_CREATE

#define DEFINE_PROTOBUF_CREATE (   NAME,
  LOWERNAME 
)
Value:
LOWERNAME##_init_c_instance(intern TSRMLS_CC); \
PHP_PROTO_OBJECT_CREATE_END(NAME, LOWERNAME)

Definition at line 562 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ DEFINE_PROTOBUF_DTOR

#define DEFINE_PROTOBUF_DTOR (   CAMELNAME,
  LOWERNAME 
)
Value:
PHP_PROTO_OBJECT_DTOR_START(CAMELNAME, LOWERNAME) \
PHP_PROTO_OBJECT_DTOR_END

Definition at line 572 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ DEFINE_PROTOBUF_FREE

#define DEFINE_PROTOBUF_FREE (   CAMELNAME,
  LOWERNAME 
)
Value:
PHP_PROTO_OBJECT_FREE_START(CAMELNAME, LOWERNAME) \
LOWERNAME##_free_c(intern TSRMLS_CC); \
PHP_PROTO_OBJECT_FREE_END

Definition at line 567 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ DEFINE_PROTOBUF_INIT_CLASS

#define DEFINE_PROTOBUF_INIT_CLASS (   CLASSNAME,
  CAMELNAME,
  LOWERNAME 
)
Value:
PHP_PROTO_INIT_CLASS_START(CLASSNAME, CAMELNAME, LOWERNAME) \
PHP_PROTO_INIT_CLASS_END

Definition at line 558 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ ENCODE_MAX_NESTING

#define ENCODE_MAX_NESTING   63

◆ FREE

#define FREE (   object)    efree(object)

◆ GC_ADDREF

#define GC_ADDREF (   h)    ++GC_REFCOUNT(h)

◆ GC_DELREF

#define GC_DELREF (   h)    --GC_REFCOUNT(h)

◆ HASHTABLE_VALUE_CE

#define HASHTABLE_VALUE_CE (   val)    Z_OBJCE_P(val)

◆ HASHTABLE_VALUE_DTOR

#define HASHTABLE_VALUE_DTOR   ZVAL_PTR_DTOR

◆ MAP_KEY_FIELD

#define MAP_KEY_FIELD   1

◆ MAP_VALUE_FIELD

#define MAP_VALUE_FIELD   2

◆ MAX_LENGTH_OF_INT64

#define MAX_LENGTH_OF_INT64   20

◆ MESSAGE_FIELD_NO_CASE

#define MESSAGE_FIELD_NO_CASE   ((size_t)-1)

◆ NATIVE_SLOT_MAX_SIZE

#define NATIVE_SLOT_MAX_SIZE   sizeof(uint64_t)

◆ OBJ_PROP

#define OBJ_PROP (   OBJECT,
  OFFSET 
)    &((OBJECT)->properties_table[OFFSET])

◆ ONEOF_CASE_NONE

#define ONEOF_CASE_NONE   0

◆ PEFREE

#define PEFREE (   object)    pefree(object, 1)

◆ PEMALLOC

#define PEMALLOC (   class_name)    (class_name*) pemalloc(sizeof(class_name), 1)

◆ PHP_PROTO_ALLOC_ARRAY

#define PHP_PROTO_ALLOC_ARRAY (   zval_ptr)
Value:
ALLOC_HASHTABLE(Z_ARRVAL_P(zval_ptr)); \
Z_TYPE_P(zval_ptr) = IS_ARRAY;

Definition at line 234 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_ALLOC_CLASS_OBJECT

#define PHP_PROTO_ALLOC_CLASS_OBJECT (   class_object,
  class_type 
)
Value:
class_object* intern; \
intern = (class_object*)emalloc(sizeof(class_object)); \
memset(intern, 0, sizeof(class_object));

Definition at line 221 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_ASSERT

#define PHP_PROTO_ASSERT (   expr)    assert(expr)

◆ PHP_PROTO_CASE_IS_BOOL

#define PHP_PROTO_CASE_IS_BOOL   IS_BOOL

◆ PHP_PROTO_CE_DECLARE

#define PHP_PROTO_CE_DECLARE   zend_class_entry**

◆ PHP_PROTO_CE_UNREF

#define PHP_PROTO_CE_UNREF (   ce)    (*ce)

◆ PHP_PROTO_FAKE_SCOPE_BEGIN

#define PHP_PROTO_FAKE_SCOPE_BEGIN (   klass)
Value:
zend_class_entry* old_scope = EG(scope); \
EG(scope) = klass;

Definition at line 540 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_FAKE_SCOPE_END

#define PHP_PROTO_FAKE_SCOPE_END   EG(scope) = old_scope;

◆ PHP_PROTO_FAKE_SCOPE_RESTART

#define PHP_PROTO_FAKE_SCOPE_RESTART (   klass)
Value:
old_scope = EG(scope); \
EG(scope) = klass;

Definition at line 543 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_FREE_CLASS_OBJECT

#define PHP_PROTO_FREE_CLASS_OBJECT (   class_object,
  class_object_free,
  handler 
)
Value:
zend_object_value retval = {0}; \
retval.handle = zend_objects_store_put( \
intern, (zend_objects_store_dtor_t)zend_objects_destroy_object, \
class_object_free, NULL TSRMLS_CC); \
retval.handlers = handler; \
return retval;

Definition at line 226 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_GLOBAL_UNINITIALIZED_ZVAL

#define PHP_PROTO_GLOBAL_UNINITIALIZED_ZVAL   EG(uninitialized_zval_ptr)

◆ PHP_PROTO_HASH_OF

#define PHP_PROTO_HASH_OF (   array)    Z_ARRVAL_P(array)

◆ PHP_PROTO_HASHTABLE_VALUE

#define PHP_PROTO_HASHTABLE_VALUE   zval*

◆ PHP_PROTO_INIT_CLASS_END

#define PHP_PROTO_INIT_CLASS_END   }

◆ PHP_PROTO_INIT_CLASS_START

#define PHP_PROTO_INIT_CLASS_START (   CLASSNAME,
  CAMELNAME,
  LOWWERNAME 
)
Value:
void LOWWERNAME##_init(TSRMLS_D) { \
zend_class_entry class_type; \
const char* class_name = CLASSNAME; \
INIT_CLASS_ENTRY_EX(class_type, CLASSNAME, strlen(CLASSNAME), \
LOWWERNAME##_methods); \
LOWWERNAME##_type = zend_register_internal_class(&class_type TSRMLS_CC); \
LOWWERNAME##_type->create_object = LOWWERNAME##_create; \
LOWWERNAME##_handlers = PEMALLOC(zend_object_handlers); \
memcpy(LOWWERNAME##_handlers, zend_get_std_object_handlers(), \
sizeof(zend_object_handlers));

Definition at line 166 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_INIT_ENUMCLASS_END

#define PHP_PROTO_INIT_ENUMCLASS_END   }

◆ PHP_PROTO_INIT_ENUMCLASS_START

#define PHP_PROTO_INIT_ENUMCLASS_START (   CLASSNAME,
  CAMELNAME,
  LOWWERNAME 
)
Value:
void LOWWERNAME##_init(TSRMLS_D) { \
zend_class_entry class_type; \
const char* class_name = CLASSNAME; \
INIT_CLASS_ENTRY_EX(class_type, CLASSNAME, strlen(CLASSNAME), \
LOWWERNAME##_methods); \
LOWWERNAME##_type = zend_register_internal_class(&class_type TSRMLS_CC);

Definition at line 156 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_INIT_SUBMSGCLASS_END

#define PHP_PROTO_INIT_SUBMSGCLASS_END   }

◆ PHP_PROTO_INIT_SUBMSGCLASS_START

#define PHP_PROTO_INIT_SUBMSGCLASS_START (   CLASSNAME,
  CAMELNAME,
  LOWWERNAME 
)
Value:
void LOWWERNAME##_init(TSRMLS_D) { \
zend_class_entry class_type; \
const char* class_name = CLASSNAME; \
INIT_CLASS_ENTRY_EX(class_type, CLASSNAME, strlen(CLASSNAME), \
LOWWERNAME##_methods); \
LOWWERNAME##_type = zend_register_internal_class_ex( \
&class_type, message_type, NULL TSRMLS_CC); \
LOWWERNAME##_type->create_object = message_create; \
zend_do_inheritance(LOWWERNAME##_type, message_type TSRMLS_CC);

Definition at line 143 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_LONG

#define PHP_PROTO_LONG   long

◆ PHP_PROTO_OBJECT_CREATE_END

#define PHP_PROTO_OBJECT_CREATE_END (   NAME,
  LOWWERNAME 
)
Value:
PHP_PROTO_FREE_CLASS_OBJECT(NAME, LOWWERNAME##_free, LOWWERNAME##_handlers); \
}

Definition at line 186 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_OBJECT_CREATE_START

#define PHP_PROTO_OBJECT_CREATE_START (   NAME,
  LOWWERNAME 
)
Value:
static zend_object_value LOWWERNAME##_create( \
zend_class_entry* ce TSRMLS_DC) { \
PHP_PROTO_ALLOC_CLASS_OBJECT(NAME, ce); \
zend_object_std_init(&intern->std, ce TSRMLS_CC); \
object_properties_init(&intern->std, ce);

Definition at line 180 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_OBJECT_DTOR_END

#define PHP_PROTO_OBJECT_DTOR_END

◆ PHP_PROTO_OBJECT_DTOR_START

#define PHP_PROTO_OBJECT_DTOR_START (   classname,
  lowername 
)

◆ PHP_PROTO_OBJECT_FREE_END

#define PHP_PROTO_OBJECT_FREE_END
Value:
zend_object_std_dtor(&intern->std TSRMLS_CC); \
efree(intern); \
}

Definition at line 193 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_OBJECT_FREE_START

#define PHP_PROTO_OBJECT_FREE_START (   classname,
  lowername 
)
Value:
void lowername##_free(void* object TSRMLS_DC) { \
classname* intern = object;

Definition at line 190 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_RETURN_STRING

#define PHP_PROTO_RETURN_STRING (   s,
  copy 
)    RETURN_STRING(s, copy)

◆ PHP_PROTO_RETURN_STRINGL

#define PHP_PROTO_RETURN_STRINGL (   s,
  len,
  copy 
)    RETURN_STRINGL(s, len, copy)

◆ PHP_PROTO_RETVAL_STRINGL

#define PHP_PROTO_RETVAL_STRINGL (   s,
  len,
  copy 
)    RETVAL_STRINGL(s, len, copy)

◆ PHP_PROTO_RETVAL_ZVAL

#define PHP_PROTO_RETVAL_ZVAL (   value)    ZVAL_ZVAL(return_value, value, 1, 0)

◆ PHP_PROTO_SEPARATE_ZVAL_IF_NOT_REF

#define PHP_PROTO_SEPARATE_ZVAL_IF_NOT_REF (   value)    SEPARATE_ZVAL_IF_NOT_REF(value)

◆ PHP_PROTO_SIZE

#define PHP_PROTO_SIZE   int

◆ PHP_PROTO_TSRMLS_CC

#define PHP_PROTO_TSRMLS_CC   TSRMLS_CC

◆ PHP_PROTO_TSRMLS_DC

#define PHP_PROTO_TSRMLS_DC   TSRMLS_DC

◆ PHP_PROTO_UNUSED

#define PHP_PROTO_UNUSED (   var)    (void)var

◆ PHP_PROTO_WRAP_OBJECT_END

#define PHP_PROTO_WRAP_OBJECT_END   };

◆ PHP_PROTO_WRAP_OBJECT_START

#define PHP_PROTO_WRAP_OBJECT_START (   name)
Value:
struct name { \
zend_object std;

Definition at line 137 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ php_proto_zend_hash_find

#define php_proto_zend_hash_find (   ht,
  key,
  key_len,
  pDest 
)    zend_hash_find(ht, key, key_len, pDest)

◆ php_proto_zend_hash_find_mem

#define php_proto_zend_hash_find_mem (   ht,
  key,
  key_len,
  pDest 
)    zend_hash_find(ht, key, key_len, pDest)

◆ php_proto_zend_hash_find_zval

#define php_proto_zend_hash_find_zval (   ht,
  key,
  key_len,
  pDest 
)    zend_hash_find(ht, key, key_len, pDest)

◆ php_proto_zend_hash_get_current_data_ex

#define php_proto_zend_hash_get_current_data_ex (   ht,
  pDest,
  pos 
)    zend_hash_get_current_data_ex(ht, pDest, pos)

◆ php_proto_zend_hash_index_find_mem

#define php_proto_zend_hash_index_find_mem (   ht,
  h,
  pDest 
)    zend_hash_index_find(ht, h, pDest)

◆ php_proto_zend_hash_index_find_zval

#define php_proto_zend_hash_index_find_zval (   ht,
  h,
  pDest 
)    zend_hash_index_find(ht, h, pDest)

◆ php_proto_zend_hash_index_update_mem

#define php_proto_zend_hash_index_update_mem (   ht,
  h,
  pData,
  nDataSize,
  pDest 
)    zend_hash_index_update(ht, h, pData, nDataSize, pDest)

◆ php_proto_zend_hash_index_update_zval

#define php_proto_zend_hash_index_update_zval (   ht,
  h,
  pData 
)    zend_hash_index_update(ht, h, &(pData), sizeof(void*), NULL)

◆ php_proto_zend_hash_next_index_insert_mem

#define php_proto_zend_hash_next_index_insert_mem (   ht,
  pData,
  nDataSize,
  pDest 
)    zend_hash_next_index_insert(ht, pData, nDataSize, pDest)

◆ php_proto_zend_hash_next_index_insert_zval

#define php_proto_zend_hash_next_index_insert_zval (   ht,
  pData 
)    zend_hash_next_index_insert(ht, pData, sizeof(void*), NULL)

◆ php_proto_zend_hash_update

#define php_proto_zend_hash_update (   ht,
  key,
  key_len 
)    zend_hash_update(ht, key, key_len, 0, 0, NULL)

◆ php_proto_zend_hash_update_mem

#define php_proto_zend_hash_update_mem (   ht,
  key,
  key_len,
  pData,
  nDataSize,
  pDest 
)    zend_hash_update(ht, key, key_len, pData, nDataSize, pDest)

◆ php_proto_zend_hash_update_zval

#define php_proto_zend_hash_update_zval (   ht,
  key,
  key_len,
  value 
)    zend_hash_update(ht, key, key_len, value, sizeof(void*), NULL)

◆ php_proto_zend_literal

#define php_proto_zend_literal   const zend_literal*

◆ php_proto_zend_lookup_class

#define php_proto_zend_lookup_class (   name,
  name_length,
  ce 
)    zend_lookup_class(name, name_length, ce TSRMLS_CC)

◆ php_proto_zend_make_printable_zval

#define php_proto_zend_make_printable_zval (   from,
  to 
)
Value:
{ \
int use_copy; \
zend_make_printable_zval(from, to, &use_copy); \
}

Definition at line 85 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ php_proto_zval_ptr_dtor

#define php_proto_zval_ptr_dtor (   zval_ptr)    zval_ptr_dtor(&(zval_ptr))

◆ PHP_PROTO_ZVAL_STRING

#define PHP_PROTO_ZVAL_STRING (   zval_ptr,
  s,
  copy 
)    ZVAL_STRING(zval_ptr, s, copy)

◆ PHP_PROTO_ZVAL_STRINGL

#define PHP_PROTO_ZVAL_STRINGL (   zval_ptr,
  s,
  len,
  copy 
)    ZVAL_STRINGL(zval_ptr, s, len, copy)

◆ PHP_PROTOBUF_EXTNAME

#define PHP_PROTOBUF_EXTNAME   "protobuf"

◆ PHP_PROTOBUF_VERSION

#define PHP_PROTOBUF_VERSION   "3.9.1"

◆ SIZEOF_INT64

#define SIZEOF_INT64   8

◆ STR

#define STR (   str)    (str), strlen(str)

◆ UNBOX

#define UNBOX (   class_name,
  val 
)    (class_name*)zend_object_store_get_object(val TSRMLS_CC);

◆ UNBOX_HASHTABLE_VALUE

#define UNBOX_HASHTABLE_VALUE (   class_name,
  val 
)    UNBOX(class_name, val)

◆ Z_OBJ_P

#define Z_OBJ_P (   zval_p)
Value:
((zend_object*)(EG(objects_store) \
.object_buckets[Z_OBJ_HANDLE_P(zval_p)] \
.bucket.obj.object))

Definition at line 1497 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ ZVAL_OBJ

#define ZVAL_OBJ (   zval_ptr,
  call_create 
)
Value:
Z_TYPE_P(zval_ptr) = IS_OBJECT; \
Z_OBJVAL_P(zval_ptr) = call_create;

Definition at line 238 of file bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h.

◆ ZVAL_PTR_TO_CACHED_PTR

#define ZVAL_PTR_TO_CACHED_PTR (   VALUE)    (&VALUE)

◆ ZVAL_PTR_TO_CACHED_VALUE

#define ZVAL_PTR_TO_CACHED_VALUE (   VALUE)    (VALUE)

◆ ZVAL_TO_CACHED_VALUE

#define ZVAL_TO_CACHED_VALUE (   VALUE)    (&VALUE)

Typedef Documentation

◆ Any

typedef struct Any Any

◆ Api

typedef struct Api Api

◆ BoolValue

typedef struct BoolValue BoolValue

◆ BytesValue

typedef struct BytesValue BytesValue

◆ Descriptor

typedef struct Descriptor Descriptor

◆ DescriptorPool

◆ DoubleValue

typedef struct DoubleValue DoubleValue

◆ Duration

typedef struct Duration Duration

◆ Enum

typedef struct Enum Enum

◆ EnumDescriptor

◆ EnumValue

typedef struct EnumValue EnumValue

◆ EnumValueDescriptor

◆ Field

typedef struct Field Field

◆ Field_Cardinality

◆ Field_Kind

typedef struct Field_Kind Field_Kind

◆ FieldDescriptor

◆ FieldMask

typedef struct FieldMask FieldMask

◆ FloatValue

typedef struct FloatValue FloatValue

◆ GPBEmpty

typedef struct GPBEmpty GPBEmpty

◆ Int32Value

typedef struct Int32Value Int32Value

◆ Int64Value

typedef struct Int64Value Int64Value

◆ InternalDescriptorPool

◆ ListValue

typedef struct ListValue ListValue

◆ Map

typedef struct Map Map

◆ MapIter

typedef struct MapIter MapIter

◆ MessageField

typedef struct MessageField MessageField

◆ MessageHeader

typedef struct MessageHeader MessageHeader

◆ MessageLayout

typedef struct MessageLayout MessageLayout

◆ Method

typedef struct Method Method

◆ Mixin

typedef struct Mixin Mixin

◆ NullValue

typedef struct NullValue NullValue

◆ Oneof

typedef struct Oneof Oneof

◆ Option

typedef struct Option Option

◆ RepeatedField

typedef struct RepeatedField RepeatedField

◆ RepeatedFieldIter

◆ SourceContext

typedef struct SourceContext SourceContext

◆ StringValue

typedef struct StringValue StringValue

◆ Struct

typedef struct Struct Struct

◆ Syntax

typedef struct Syntax Syntax

◆ Timestamp

typedef struct Timestamp Timestamp

◆ Type

typedef struct Type Type

◆ UInt32Value

typedef struct UInt32Value UInt32Value

◆ UInt64Value

typedef struct UInt64Value UInt64Value

◆ Value

typedef struct Value Value

Function Documentation

◆ add_ce_obj()

void add_ce_obj ( const void *  ce,
PHP_PROTO_HASHTABLE_VALUE  value 
)

◆ add_def_obj()

void add_def_obj ( const void *  def,
PHP_PROTO_HASHTABLE_VALUE  value 
)

◆ add_handlers_for_message()

void add_handlers_for_message ( const void *  closure,
upb_handlers h 
)

Definition at line 1004 of file php/ext/google/protobuf/encode_decode.c.

◆ add_proto_obj()

void add_proto_obj ( const char *  proto,
PHP_PROTO_HASHTABLE_VALUE  value 
)

◆ any_init()

void any_init ( TSRMLS_D  )

◆ api_init()

void api_init ( TSRMLS_D  )

◆ bool_value_init()

void bool_value_init ( TSRMLS_D  )

◆ build_class_from_descriptor()

void build_class_from_descriptor ( PHP_PROTO_HASHTABLE_VALUE php_descriptor  TSRMLS_DC)

◆ bytes_value_init()

void bytes_value_init ( TSRMLS_D  )

◆ check_map_field()

void check_map_field ( const zend_class_entry *  klass,
PHP_PROTO_LONG  key_type,
PHP_PROTO_LONG  value_type,
zval *  val,
zval *  return_value 
)

Definition at line 524 of file type_check.c.

◆ check_repeated_field()

void check_repeated_field ( const zend_class_entry *  klass,
PHP_PROTO_LONG  type,
zval *  val,
zval *  return_value 
)

Definition at line 451 of file type_check.c.

◆ class_added()

bool class_added ( const void *  ce)

◆ create_layout()

Definition at line 591 of file php/ext/google/protobuf/storage.c.

◆ custom_data_init()

void custom_data_init ( const zend_class_entry *  ce,
MessageHeader *msg  PHP_PROTO_TSRMLS_DC 
)

◆ descriptor_init()

void descriptor_init ( TSRMLS_D  )

◆ descriptor_name_set()

void descriptor_name_set ( Descriptor desc,
const char *  name 
)

◆ descriptor_pool_free()

void descriptor_pool_free ( void *object  TSRMLS_DC)

◆ descriptor_pool_init()

void descriptor_pool_init ( TSRMLS_D  )

◆ double_value_init()

void double_value_init ( TSRMLS_D  )

◆ duration_init()

void duration_init ( TSRMLS_D  )

◆ empty_init()

void empty_init ( TSRMLS_D  )

◆ enum_descriptor_init()

void enum_descriptor_init ( TSRMLS_D  )

◆ enum_init()

void enum_init ( TSRMLS_D  )

◆ enum_value_descriptor_init()

void enum_value_descriptor_init ( TSRMLS_D  )

◆ enum_value_init()

void enum_value_init ( TSRMLS_D  )

◆ field_cardinality_init()

void field_cardinality_init ( TSRMLS_D  )

◆ field_descriptor_init()

void field_descriptor_init ( TSRMLS_D  )

◆ field_init()

void field_init ( TSRMLS_D  )

◆ field_kind_init()

void field_kind_init ( TSRMLS_D  )

◆ field_mask_init()

void field_mask_init ( TSRMLS_D  )

◆ field_type_class()

const zend_class_entry* field_type_class ( const upb_fielddef *field  PHP_PROTO_TSRMLS_DC)

Definition at line 552 of file php/ext/google/protobuf/storage.c.

◆ float_value_init()

void float_value_init ( TSRMLS_D  )

◆ free_layout()

void free_layout ( MessageLayout layout)

Definition at line 750 of file php/ext/google/protobuf/storage.c.

◆ get_ce_obj()

PHP_PROTO_HASHTABLE_VALUE get_ce_obj ( const void *  ce)

◆ get_def_obj()

PHP_PROTO_HASHTABLE_VALUE get_def_obj ( const void *  def)

◆ get_proto_obj()

PHP_PROTO_HASHTABLE_VALUE get_proto_obj ( const char *  proto)

◆ gpb_metadata_any_init()

void gpb_metadata_any_init ( TSRMLS_D  )

◆ gpb_metadata_api_init()

void gpb_metadata_api_init ( TSRMLS_D  )

◆ gpb_metadata_duration_init()

void gpb_metadata_duration_init ( TSRMLS_D  )

◆ gpb_metadata_empty_init()

void gpb_metadata_empty_init ( TSRMLS_D  )

◆ gpb_metadata_field_mask_init()

void gpb_metadata_field_mask_init ( TSRMLS_D  )

◆ gpb_metadata_source_context_init()

void gpb_metadata_source_context_init ( TSRMLS_D  )

◆ gpb_metadata_struct_init()

void gpb_metadata_struct_init ( TSRMLS_D  )

◆ gpb_metadata_timestamp_init()

void gpb_metadata_timestamp_init ( TSRMLS_D  )

◆ gpb_metadata_type_init()

void gpb_metadata_type_init ( TSRMLS_D  )

◆ gpb_metadata_wrappers_init()

void gpb_metadata_wrappers_init ( TSRMLS_D  )

◆ gpb_type_init()

void gpb_type_init ( TSRMLS_D  )

◆ init_generated_pool_once()

void init_generated_pool_once ( TSRMLS_D  )

◆ int32_value_init()

void int32_value_init ( TSRMLS_D  )

◆ int64_value_init()

void int64_value_init ( TSRMLS_D  )

◆ internal_add_generated_file()

void internal_add_generated_file ( const char *  data,
PHP_PROTO_SIZE  data_len,
InternalDescriptorPool pool,
bool use_nested_submsg  TSRMLS_DC 
)

◆ internal_descriptor_pool_free()

void internal_descriptor_pool_free ( void *object  TSRMLS_DC)

◆ internal_descriptor_pool_init()

void internal_descriptor_pool_init ( TSRMLS_D  )

◆ is_map_field()

bool is_map_field ( const upb_fielddef field)

Definition at line 526 of file php/ext/google/protobuf/storage.c.

◆ is_reserved_name()

bool is_reserved_name ( const char *  name)

◆ is_valid_constant_name()

bool is_valid_constant_name ( const char *  name)

◆ layout_get()

zval* layout_get ( MessageLayout layout,
const void *  storage,
const upb_fielddef field,
CACHED_VALUE *cache  TSRMLS_DC 
)

Definition at line 812 of file php/ext/google/protobuf/storage.c.

◆ layout_get_oneof_case()

const char* layout_get_oneof_case ( MessageLayout layout,
const void *  storage,
const upb_oneofdef *oneof  TSRMLS_DC 
)

Definition at line 1137 of file php/ext/google/protobuf/storage.c.

◆ layout_init()

void layout_init ( MessageLayout layout,
void *  storage,
zend_object *object  PHP_PROTO_TSRMLS_DC 
)

Definition at line 755 of file php/ext/google/protobuf/storage.c.

◆ layout_merge()

void layout_merge ( MessageLayout layout,
MessageHeader from,
MessageHeader *to  TSRMLS_DC 
)

Definition at line 1022 of file php/ext/google/protobuf/storage.c.

◆ layout_set()

void layout_set ( MessageLayout layout,
MessageHeader header,
const upb_fielddef field,
zval *val  TSRMLS_DC 
)

Definition at line 834 of file php/ext/google/protobuf/storage.c.

◆ list_value_init()

void list_value_init ( TSRMLS_D  )

◆ map_begin()

PHP_PROTO_WRAP_OBJECT_END void map_begin ( zval *  self,
MapIter *iter  TSRMLS_DC 
)

◆ map_done()

bool map_done ( MapIter iter)

◆ map_entry_key()

const upb_fielddef* map_entry_key ( const upb_msgdef msgdef)

Definition at line 540 of file php/ext/google/protobuf/storage.c.

◆ map_entry_value()

const upb_fielddef* map_entry_value ( const upb_msgdef msgdef)

Definition at line 546 of file php/ext/google/protobuf/storage.c.

◆ map_field_create_with_field()

void map_field_create_with_field ( const zend_class_entry *  ce,
const upb_fielddef field,
CACHED_VALUE *map_field  PHP_PROTO_TSRMLS_DC 
)

◆ map_field_create_with_type()

void map_field_create_with_type ( const zend_class_entry *  ce,
upb_fieldtype_t  key_type,
upb_fieldtype_t  value_type,
const zend_class_entry *  msg_ce,
CACHED_VALUE *map_field  PHP_PROTO_TSRMLS_DC 
)

◆ map_field_init()

void map_field_init ( TSRMLS_D  )

◆ map_field_iter_init()

void map_field_iter_init ( TSRMLS_D  )

◆ map_field_key()

const upb_fielddef* map_field_key ( const upb_fielddef field)

Definition at line 530 of file php/ext/google/protobuf/storage.c.

◆ map_field_value()

const upb_fielddef* map_field_value ( const upb_fielddef field)

Definition at line 535 of file php/ext/google/protobuf/storage.c.

◆ map_index_set()

bool map_index_set ( Map intern,
const char *  keyval,
int  length,
upb_value  v 
)

◆ map_iter_key()

const char* map_iter_key ( MapIter iter,
int len 
)

◆ map_iter_value()

upb_value map_iter_value ( MapIter iter,
int len 
)

◆ map_next()

void map_next ( MapIter iter)

◆ merge_from_string()

void merge_from_string ( const char *  data,
int  data_len,
Descriptor desc,
MessageHeader msg 
)

Definition at line 1688 of file php/ext/google/protobuf/encode_decode.c.

◆ message_data()

void* message_data ( MessageHeader msg)

◆ message_init()

void message_init ( TSRMLS_D  )

◆ method_init()

void method_init ( TSRMLS_D  )

◆ mixin_init()

void mixin_init ( TSRMLS_D  )

◆ native_slot_get()

void native_slot_get ( upb_fieldtype_t  type,
const void *  memory,
CACHED_VALUE *cache  TSRMLS_DC 
)

Definition at line 311 of file php/ext/google/protobuf/storage.c.

◆ native_slot_get_by_array()

void native_slot_get_by_array ( upb_fieldtype_t  type,
const void *  memory,
CACHED_VALUE *cache  TSRMLS_DC 
)

Definition at line 388 of file php/ext/google/protobuf/storage.c.

◆ native_slot_get_by_map_key()

void native_slot_get_by_map_key ( upb_fieldtype_t  type,
const void *  memory,
int  length,
CACHED_VALUE *cache  TSRMLS_DC 
)

Definition at line 420 of file php/ext/google/protobuf/storage.c.

◆ native_slot_get_by_map_value()

void native_slot_get_by_map_value ( upb_fieldtype_t  type,
const void *  memory,
CACHED_VALUE *cache  TSRMLS_DC 
)

Definition at line 433 of file php/ext/google/protobuf/storage.c.

◆ native_slot_get_default()

void native_slot_get_default ( upb_fieldtype_t  type,
CACHED_VALUE *cache  TSRMLS_DC 
)

Definition at line 453 of file php/ext/google/protobuf/storage.c.

◆ native_slot_init()

void native_slot_init ( upb_fieldtype_t  type,
void *  memory,
CACHED_VALUE cache 
)

Definition at line 276 of file php/ext/google/protobuf/storage.c.

◆ native_slot_set()

bool native_slot_set ( upb_fieldtype_t  type,
const zend_class_entry *  klass,
void *  memory,
zval *value  TSRMLS_DC 
)

Definition at line 87 of file php/ext/google/protobuf/storage.c.

◆ native_slot_set_by_array()

bool native_slot_set_by_array ( upb_fieldtype_t  type,
const zend_class_entry *  klass,
void *  memory,
zval *value  TSRMLS_DC 
)

Definition at line 161 of file php/ext/google/protobuf/storage.c.

◆ native_slot_set_by_map()

bool native_slot_set_by_map ( upb_fieldtype_t  type,
const zend_class_entry *  klass,
void *  memory,
zval *value  TSRMLS_DC 
)

Definition at line 219 of file php/ext/google/protobuf/storage.c.

◆ native_slot_size()

size_t native_slot_size ( upb_fieldtype_t  type)

Definition at line 43 of file php/ext/google/protobuf/storage.c.

◆ new_fillmsg_decodermethod()

const upb_pbdecodermethod* new_fillmsg_decodermethod ( Descriptor desc,
const void *  owner 
)

◆ null_value_init()

void null_value_init ( TSRMLS_D  )

◆ oneof_descriptor_init()

void oneof_descriptor_init ( TSRMLS_D  )

◆ option_init()

void option_init ( TSRMLS_D  )

◆ PHP_METHOD() [1/258]

PHP_METHOD ( Any  ,
__construct   
)

◆ PHP_METHOD() [2/258]

PHP_METHOD ( Any  ,
getTypeUrl   
)

◆ PHP_METHOD() [3/258]

PHP_METHOD ( Any  ,
getValue   
)

◆ PHP_METHOD() [4/258]

PHP_METHOD ( Any  ,
is   
)

◆ PHP_METHOD() [5/258]

PHP_METHOD ( Any  ,
pack   
)

◆ PHP_METHOD() [6/258]

PHP_METHOD ( Any  ,
setTypeUrl   
)

◆ PHP_METHOD() [7/258]

PHP_METHOD ( Any  ,
setValue   
)

◆ PHP_METHOD() [8/258]

PHP_METHOD ( Any  ,
unpack   
)

◆ PHP_METHOD() [9/258]

PHP_METHOD ( Api  ,
__construct   
)

◆ PHP_METHOD() [10/258]

PHP_METHOD ( Api  ,
getMethods   
)

◆ PHP_METHOD() [11/258]

PHP_METHOD ( Api  ,
getMixins   
)

◆ PHP_METHOD() [12/258]

PHP_METHOD ( Api  ,
getName   
)

◆ PHP_METHOD() [13/258]

PHP_METHOD ( Api  ,
getOptions   
)

◆ PHP_METHOD() [14/258]

PHP_METHOD ( Api  ,
getSourceContext   
)

◆ PHP_METHOD() [15/258]

PHP_METHOD ( Api  ,
getSyntax   
)

◆ PHP_METHOD() [16/258]

PHP_METHOD ( Api  ,
getVersion   
)

◆ PHP_METHOD() [17/258]

PHP_METHOD ( Api  ,
setMethods   
)

◆ PHP_METHOD() [18/258]

PHP_METHOD ( Api  ,
setMixins   
)

◆ PHP_METHOD() [19/258]

PHP_METHOD ( Api  ,
setName   
)

◆ PHP_METHOD() [20/258]

PHP_METHOD ( Api  ,
setOptions   
)

◆ PHP_METHOD() [21/258]

PHP_METHOD ( Api  ,
setSourceContext   
)

◆ PHP_METHOD() [22/258]

PHP_METHOD ( Api  ,
setSyntax   
)

◆ PHP_METHOD() [23/258]

PHP_METHOD ( Api  ,
setVersion   
)

◆ PHP_METHOD() [24/258]

PHP_METHOD ( BoolValue  ,
__construct   
)

◆ PHP_METHOD() [25/258]

PHP_METHOD ( BoolValue  ,
getValue   
)

◆ PHP_METHOD() [26/258]

PHP_METHOD ( BoolValue  ,
setValue   
)

◆ PHP_METHOD() [27/258]

PHP_METHOD ( BytesValue  ,
__construct   
)

◆ PHP_METHOD() [28/258]

PHP_METHOD ( BytesValue  ,
getValue   
)

◆ PHP_METHOD() [29/258]

PHP_METHOD ( BytesValue  ,
setValue   
)

◆ PHP_METHOD() [30/258]

PHP_PROTO_WRAP_OBJECT_END PHP_METHOD ( Descriptor  ,
getClass   
)

◆ PHP_METHOD() [31/258]

PHP_METHOD ( Descriptor  ,
getField   
)

◆ PHP_METHOD() [32/258]

PHP_METHOD ( Descriptor  ,
getFieldCount   
)

◆ PHP_METHOD() [33/258]

PHP_METHOD ( Descriptor  ,
getFullName   
)

◆ PHP_METHOD() [34/258]

PHP_METHOD ( Descriptor  ,
getOneofDecl   
)

◆ PHP_METHOD() [35/258]

PHP_METHOD ( Descriptor  ,
getOneofDeclCount   
)

◆ PHP_METHOD() [36/258]

PHP_METHOD ( DescriptorPool  ,
getDescriptorByClassName   
)

◆ PHP_METHOD() [37/258]

PHP_METHOD ( DescriptorPool  ,
getEnumDescriptorByClassName   
)

◆ PHP_METHOD() [38/258]

PHP_PROTO_WRAP_OBJECT_END PHP_METHOD ( DescriptorPool  ,
getGeneratedPool   
)

◆ PHP_METHOD() [39/258]

PHP_METHOD ( DoubleValue  ,
__construct   
)

◆ PHP_METHOD() [40/258]

PHP_METHOD ( DoubleValue  ,
getValue   
)

◆ PHP_METHOD() [41/258]

PHP_METHOD ( DoubleValue  ,
setValue   
)

◆ PHP_METHOD() [42/258]

PHP_METHOD ( Duration  ,
__construct   
)

◆ PHP_METHOD() [43/258]

PHP_METHOD ( Duration  ,
getNanos   
)

◆ PHP_METHOD() [44/258]

PHP_METHOD ( Duration  ,
getSeconds   
)

◆ PHP_METHOD() [45/258]

PHP_METHOD ( Duration  ,
setNanos   
)

◆ PHP_METHOD() [46/258]

PHP_METHOD ( Duration  ,
setSeconds   
)

◆ PHP_METHOD() [47/258]

PHP_METHOD ( Enum  ,
__construct   
)

◆ PHP_METHOD() [48/258]

PHP_METHOD ( Enum  ,
getEnumvalue   
)

◆ PHP_METHOD() [49/258]

PHP_METHOD ( Enum  ,
getName   
)

◆ PHP_METHOD() [50/258]

PHP_METHOD ( Enum  ,
getOptions   
)

◆ PHP_METHOD() [51/258]

PHP_METHOD ( Enum  ,
getSourceContext   
)

◆ PHP_METHOD() [52/258]

PHP_METHOD ( Enum  ,
getSyntax   
)

◆ PHP_METHOD() [53/258]

PHP_METHOD ( Enum  ,
setEnumvalue   
)

◆ PHP_METHOD() [54/258]

PHP_METHOD ( Enum  ,
setName   
)

◆ PHP_METHOD() [55/258]

PHP_METHOD ( Enum  ,
setOptions   
)

◆ PHP_METHOD() [56/258]

PHP_METHOD ( Enum  ,
setSourceContext   
)

◆ PHP_METHOD() [57/258]

PHP_METHOD ( Enum  ,
setSyntax   
)

◆ PHP_METHOD() [58/258]

PHP_PROTO_WRAP_OBJECT_END PHP_METHOD ( EnumDescriptor  ,
getValue   
)

◆ PHP_METHOD() [59/258]

PHP_METHOD ( EnumDescriptor  ,
getValueCount   
)

◆ PHP_METHOD() [60/258]

PHP_METHOD ( EnumValue  ,
__construct   
)

◆ PHP_METHOD() [61/258]

PHP_METHOD ( EnumValue  ,
getName   
)

◆ PHP_METHOD() [62/258]

PHP_METHOD ( EnumValue  ,
getNumber   
)

◆ PHP_METHOD() [63/258]

PHP_METHOD ( EnumValue  ,
getOptions   
)

◆ PHP_METHOD() [64/258]

PHP_METHOD ( EnumValue  ,
setName   
)

◆ PHP_METHOD() [65/258]

PHP_METHOD ( EnumValue  ,
setNumber   
)

◆ PHP_METHOD() [66/258]

PHP_METHOD ( EnumValue  ,
setOptions   
)

◆ PHP_METHOD() [67/258]

PHP_PROTO_WRAP_OBJECT_END PHP_METHOD ( EnumValueDescriptor  ,
getName   
)

◆ PHP_METHOD() [68/258]

PHP_METHOD ( EnumValueDescriptor  ,
getNumber   
)

◆ PHP_METHOD() [69/258]

PHP_METHOD ( Field  ,
__construct   
)

◆ PHP_METHOD() [70/258]

PHP_METHOD ( Field  ,
getCardinality   
)

◆ PHP_METHOD() [71/258]

PHP_METHOD ( Field  ,
getDefaultValue   
)

◆ PHP_METHOD() [72/258]

PHP_METHOD ( Field  ,
getJsonName   
)

◆ PHP_METHOD() [73/258]

PHP_METHOD ( Field  ,
getKind   
)

◆ PHP_METHOD() [74/258]

PHP_METHOD ( Field  ,
getName   
)

◆ PHP_METHOD() [75/258]

PHP_METHOD ( Field  ,
getNumber   
)

◆ PHP_METHOD() [76/258]

PHP_METHOD ( Field  ,
getOneofIndex   
)

◆ PHP_METHOD() [77/258]

PHP_METHOD ( Field  ,
getOptions   
)

◆ PHP_METHOD() [78/258]

PHP_METHOD ( Field  ,
getPacked   
)

◆ PHP_METHOD() [79/258]

PHP_METHOD ( Field  ,
getTypeUrl   
)

◆ PHP_METHOD() [80/258]

PHP_METHOD ( Field  ,
setCardinality   
)

◆ PHP_METHOD() [81/258]

PHP_METHOD ( Field  ,
setDefaultValue   
)

◆ PHP_METHOD() [82/258]

PHP_METHOD ( Field  ,
setJsonName   
)

◆ PHP_METHOD() [83/258]

PHP_METHOD ( Field  ,
setKind   
)

◆ PHP_METHOD() [84/258]

PHP_METHOD ( Field  ,
setName   
)

◆ PHP_METHOD() [85/258]

PHP_METHOD ( Field  ,
setNumber   
)

◆ PHP_METHOD() [86/258]

PHP_METHOD ( Field  ,
setOneofIndex   
)

◆ PHP_METHOD() [87/258]

PHP_METHOD ( Field  ,
setOptions   
)

◆ PHP_METHOD() [88/258]

PHP_METHOD ( Field  ,
setPacked   
)

◆ PHP_METHOD() [89/258]

PHP_METHOD ( Field  ,
setTypeUrl   
)

◆ PHP_METHOD() [90/258]

PHP_METHOD ( Field_Cardinality  ,
name   
)

◆ PHP_METHOD() [91/258]

PHP_METHOD ( Field_Cardinality  ,
value   
)

◆ PHP_METHOD() [92/258]

PHP_METHOD ( Field_Kind  ,
name   
)

◆ PHP_METHOD() [93/258]

PHP_METHOD ( Field_Kind  ,
value   
)

◆ PHP_METHOD() [94/258]

PHP_METHOD ( FieldDescriptor  ,
getEnumType   
)

◆ PHP_METHOD() [95/258]

PHP_METHOD ( FieldDescriptor  ,
getLabel   
)

◆ PHP_METHOD() [96/258]

PHP_METHOD ( FieldDescriptor  ,
getMessageType   
)

◆ PHP_METHOD() [97/258]

PHP_PROTO_WRAP_OBJECT_END PHP_METHOD ( FieldDescriptor  ,
getName   
)

◆ PHP_METHOD() [98/258]

PHP_METHOD ( FieldDescriptor  ,
getNumber   
)

◆ PHP_METHOD() [99/258]

PHP_METHOD ( FieldDescriptor  ,
getType   
)

◆ PHP_METHOD() [100/258]

PHP_METHOD ( FieldDescriptor  ,
isMap   
)

◆ PHP_METHOD() [101/258]

PHP_METHOD ( FieldMask  ,
__construct   
)

◆ PHP_METHOD() [102/258]

PHP_METHOD ( FieldMask  ,
getPaths   
)

◆ PHP_METHOD() [103/258]

PHP_METHOD ( FieldMask  ,
setPaths   
)

◆ PHP_METHOD() [104/258]

PHP_METHOD ( FloatValue  ,
__construct   
)

◆ PHP_METHOD() [105/258]

PHP_METHOD ( FloatValue  ,
getValue   
)

◆ PHP_METHOD() [106/258]

PHP_METHOD ( FloatValue  ,
setValue   
)

◆ PHP_METHOD() [107/258]

PHP_METHOD ( GPBEmpty  ,
__construct   
)

◆ PHP_METHOD() [108/258]

PHP_METHOD ( GPBMetadata_Any  ,
initOnce   
)

◆ PHP_METHOD() [109/258]

PHP_METHOD ( GPBMetadata_Api  ,
initOnce   
)

◆ PHP_METHOD() [110/258]

PHP_METHOD ( GPBMetadata_Duration  ,
initOnce   
)

◆ PHP_METHOD() [111/258]

PHP_METHOD ( GPBMetadata_Empty  ,
initOnce   
)

◆ PHP_METHOD() [112/258]

PHP_METHOD ( GPBMetadata_FieldMask  ,
initOnce   
)

◆ PHP_METHOD() [113/258]

PHP_METHOD ( GPBMetadata_SourceContext  ,
initOnce   
)

◆ PHP_METHOD() [114/258]

PHP_METHOD ( GPBMetadata_Struct  ,
initOnce   
)

◆ PHP_METHOD() [115/258]

PHP_METHOD ( GPBMetadata_Timestamp  ,
initOnce   
)

◆ PHP_METHOD() [116/258]

PHP_METHOD ( GPBMetadata_Type  ,
initOnce   
)

◆ PHP_METHOD() [117/258]

PHP_METHOD ( GPBMetadata_Wrappers  ,
initOnce   
)

◆ PHP_METHOD() [118/258]

PHP_METHOD ( Int32Value  ,
__construct   
)

◆ PHP_METHOD() [119/258]

PHP_METHOD ( Int32Value  ,
getValue   
)

◆ PHP_METHOD() [120/258]

PHP_METHOD ( Int32Value  ,
setValue   
)

◆ PHP_METHOD() [121/258]

PHP_METHOD ( Int64Value  ,
__construct   
)

◆ PHP_METHOD() [122/258]

PHP_METHOD ( Int64Value  ,
getValue   
)

◆ PHP_METHOD() [123/258]

PHP_METHOD ( Int64Value  ,
setValue   
)

◆ PHP_METHOD() [124/258]

PHP_PROTO_WRAP_OBJECT_END PHP_METHOD ( InternalDescriptorPool  ,
getGeneratedPool   
)

◆ PHP_METHOD() [125/258]

PHP_METHOD ( InternalDescriptorPool  ,
internalAddGeneratedFile   
)

◆ PHP_METHOD() [126/258]

PHP_METHOD ( ListValue  ,
__construct   
)

◆ PHP_METHOD() [127/258]

PHP_METHOD ( ListValue  ,
getValues   
)

◆ PHP_METHOD() [128/258]

PHP_METHOD ( ListValue  ,
setValues   
)

◆ PHP_METHOD() [129/258]

PHP_METHOD ( MapField  ,
__construct   
)

MapField::__construct()

Constructs an instance of MapField.

Parameters
longKey type.
longValue type.
stringMessage/Enum class (message/enum value types only).

Definition at line 391 of file bloaty/third_party/protobuf/php/ext/google/protobuf/map.c.

◆ PHP_METHOD() [130/258]

PHP_METHOD ( MapField  ,
count   
)

MapField::count()

Implements the Countable interface. Invoked when PHP code calls:

$len = count($map); Return the number of stored elements. This will also be called for: count($map)

Returns
long The number of stored elements.

Definition at line 472 of file bloaty/third_party/protobuf/php/ext/google/protobuf/map.c.

◆ PHP_METHOD() [131/258]

PHP_METHOD ( MapField  ,
getIterator   
)

MapField::getIterator()

Implements the IteratorAggregate interface. Invoked when PHP code calls:

foreach ($arr) {}

Returns
object Beginning iterator.

Definition at line 482 of file bloaty/third_party/protobuf/php/ext/google/protobuf/map.c.

◆ PHP_METHOD() [132/258]

PHP_METHOD ( MapField  ,
offsetExists   
)

MapField::offsetExists()

Implements the ArrayAccess interface. Invoked when PHP code calls:

isset($map[$idx]); empty($map[$idx]);

Parameters
longThe index to be checked.
Returns
bool True if the element at the given index exists.

Definition at line 421 of file bloaty/third_party/protobuf/php/ext/google/protobuf/map.c.

◆ PHP_METHOD() [133/258]

PHP_METHOD ( MapField  ,
offsetGet   
)

MapField::offsetGet()

Implements the ArrayAccess interface. Invoked when PHP code calls:

$x = $map[$idx];

Parameters
longThe index of the element to be fetched.
Returns
object The stored element at given index.
Exceptions
Invalidtype for index.
Non-existingindex.

Definition at line 444 of file bloaty/third_party/protobuf/php/ext/google/protobuf/map.c.

◆ PHP_METHOD() [134/258]

PHP_METHOD ( MapField  ,
offsetSet   
)

MapField::offsetSet()

Implements the ArrayAccess interface. Invoked when PHP code calls:

$map[$idx] = $x;

Parameters
longThe index of the element to be assigned.
objectThe element to be assigned.
Exceptions
Invalidtype for index.
Non-existingindex.
Incorrecttype of the element.

Definition at line 454 of file bloaty/third_party/protobuf/php/ext/google/protobuf/map.c.

◆ PHP_METHOD() [135/258]

PHP_METHOD ( MapField  ,
offsetUnset   
)

MapField::offsetUnset()

Implements the ArrayAccess interface. Invoked when PHP code calls:

unset($map[$idx]);

Parameters
longThe index of the element to be removed.
Exceptions
Invalidtype for index.
Theelement to be removed is not at the end of the MapField.

Definition at line 463 of file bloaty/third_party/protobuf/php/ext/google/protobuf/map.c.

◆ PHP_METHOD() [136/258]

PHP_METHOD ( MapFieldIter  ,
current   
)

MapFieldIter::current()

Implements the Iterator interface. Returns the current value.

Definition at line 561 of file bloaty/third_party/protobuf/php/ext/google/protobuf/map.c.

◆ PHP_METHOD() [137/258]

PHP_METHOD ( MapFieldIter  ,
key   
)

MapFieldIter::key()

Implements the Iterator interface. Returns the current key.

Definition at line 573 of file bloaty/third_party/protobuf/php/ext/google/protobuf/map.c.

◆ PHP_METHOD() [138/258]

PHP_METHOD ( MapFieldIter  ,
next   
)

MapFieldIter::next()

Implements the Iterator interface. Advances to the next element.

Definition at line 584 of file bloaty/third_party/protobuf/php/ext/google/protobuf/map.c.

◆ PHP_METHOD() [139/258]

PHP_METHOD ( MapFieldIter  ,
rewind   
)

MapFieldIter::rewind()

Implements the Iterator interface. Sets the iterator to the first element.

Definition at line 554 of file protobuf/php/ext/google/protobuf/map.c.

◆ PHP_METHOD() [140/258]

PHP_METHOD ( MapFieldIter  ,
valid   
)

MapFieldIter::valid()

Implements the Iterator interface. Returns true if this is a valid element.

Definition at line 589 of file bloaty/third_party/protobuf/php/ext/google/protobuf/map.c.

◆ PHP_METHOD() [141/258]

PHP_METHOD ( Message  ,
__construct   
)

Message::__construct()

Constructor for Message.

Parameters
arrayMap of initial values ['k' = val]

Definition at line 532 of file bloaty/third_party/protobuf/php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [142/258]

PHP_METHOD ( Message  ,
clear   
)

Message::clear()

Clears all fields of this message.

Definition at line 536 of file bloaty/third_party/protobuf/php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [143/258]

PHP_METHOD ( Message  ,
discardUnknownFields   
)

Message::discardUnknownFields()

Discards any unknown fields for this message or any submessages.

Definition at line 1884 of file php/ext/google/protobuf/encode_decode.c.

◆ PHP_METHOD() [144/258]

PHP_METHOD ( Message  ,
mergeFrom   
)

Message::mergeFrom()

Merges from the given message, which must be of the same class as us.

Parameters
objectMessage to merge from.

Definition at line 547 of file bloaty/third_party/protobuf/php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [145/258]

PHP_METHOD ( Message  ,
mergeFromJsonString   
)

Message::mergeFromJsonString()

Merges the JSON data parsed from the given string.

Parameters
stringSerialized JSON data.

Definition at line 1751 of file php/ext/google/protobuf/encode_decode.c.

◆ PHP_METHOD() [146/258]

PHP_METHOD ( Message  ,
mergeFromString   
)

Message::mergeFromString()

Merges from the given string.

Parameters
stringBinary protobuf data to merge.

Definition at line 1704 of file php/ext/google/protobuf/encode_decode.c.

◆ PHP_METHOD() [147/258]

PHP_METHOD ( Message  ,
readOneof   
)

Message::readOneof()

Returns the contents of the given oneof field, given a field number. Called from generated code methods such as:

public function getDoubleValueOneof() { return $this->readOneof(10); }

Returns
object The oneof's field value.

Definition at line 565 of file bloaty/third_party/protobuf/php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [148/258]

PHP_METHOD ( Message  ,
serializeToJsonString   
)

Message::serializeToJsonString()

Serializes this object to JSON.

Returns
string Serialized JSON data.

Definition at line 1720 of file php/ext/google/protobuf/encode_decode.c.

◆ PHP_METHOD() [149/258]

PHP_METHOD ( Message  ,
serializeToString   
)

Message::serializeToString()

Serializes this message instance to protobuf data.

Returns
string Serialized protobuf data.

Definition at line 1684 of file php/ext/google/protobuf/encode_decode.c.

◆ PHP_METHOD() [150/258]

PHP_METHOD ( Message  ,
whichOneof   
)

Message::whichOneof()

Given a oneof name, returns the name of the field that is set for this oneof, or otherwise the empty string.

Returns
string The field name in this oneof that is currently set.

Definition at line 599 of file bloaty/third_party/protobuf/php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [151/258]

PHP_METHOD ( Message  ,
writeOneof   
)

Message::writeOneof()

Sets the contents of the given oneof field, given a field number. Called from generated code methods such as:

public function setDoubleValueOneof($var) { GPBUtil::checkMessage($var, \Google\Protobuf\DoubleValue::class); $this->writeOneof(10, $var);

return $this; }

The C extension version of GPBUtil::check*() does nothing, so we perform all type checking and conversion here.

Parameters
integerThe field number we are setting.
objectThe field value we want to set.

Definition at line 584 of file bloaty/third_party/protobuf/php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [152/258]

PHP_METHOD ( Method  ,
__construct   
)

◆ PHP_METHOD() [153/258]

PHP_METHOD ( Method  ,
getName   
)

◆ PHP_METHOD() [154/258]

PHP_METHOD ( Method  ,
getOptions   
)

◆ PHP_METHOD() [155/258]

PHP_METHOD ( Method  ,
getRequestStreaming   
)

◆ PHP_METHOD() [156/258]

PHP_METHOD ( Method  ,
getRequestTypeUrl   
)

◆ PHP_METHOD() [157/258]

PHP_METHOD ( Method  ,
getResponseStreaming   
)

◆ PHP_METHOD() [158/258]

PHP_METHOD ( Method  ,
getResponseTypeUrl   
)

◆ PHP_METHOD() [159/258]

PHP_METHOD ( Method  ,
getSyntax   
)

◆ PHP_METHOD() [160/258]

PHP_METHOD ( Method  ,
setName   
)

◆ PHP_METHOD() [161/258]

PHP_METHOD ( Method  ,
setOptions   
)

◆ PHP_METHOD() [162/258]

PHP_METHOD ( Method  ,
setRequestStreaming   
)

◆ PHP_METHOD() [163/258]

PHP_METHOD ( Method  ,
setRequestTypeUrl   
)

◆ PHP_METHOD() [164/258]

PHP_METHOD ( Method  ,
setResponseStreaming   
)

◆ PHP_METHOD() [165/258]

PHP_METHOD ( Method  ,
setResponseTypeUrl   
)

◆ PHP_METHOD() [166/258]

PHP_METHOD ( Method  ,
setSyntax   
)

◆ PHP_METHOD() [167/258]

PHP_METHOD ( Mixin  ,
__construct   
)

◆ PHP_METHOD() [168/258]

PHP_METHOD ( Mixin  ,
getName   
)

◆ PHP_METHOD() [169/258]

PHP_METHOD ( Mixin  ,
getRoot   
)

◆ PHP_METHOD() [170/258]

PHP_METHOD ( Mixin  ,
setName   
)

◆ PHP_METHOD() [171/258]

PHP_METHOD ( Mixin  ,
setRoot   
)

◆ PHP_METHOD() [172/258]

PHP_METHOD ( NullValue  ,
name   
)

◆ PHP_METHOD() [173/258]

PHP_METHOD ( NullValue  ,
value   
)

◆ PHP_METHOD() [174/258]

PHP_METHOD ( Oneof  ,
getField   
)

◆ PHP_METHOD() [175/258]

PHP_METHOD ( Oneof  ,
getFieldCount   
)

◆ PHP_METHOD() [176/258]

PHP_PROTO_WRAP_OBJECT_END PHP_METHOD ( Oneof  ,
getName   
)

◆ PHP_METHOD() [177/258]

PHP_METHOD ( Option  ,
__construct   
)

◆ PHP_METHOD() [178/258]

PHP_METHOD ( Option  ,
getName   
)

◆ PHP_METHOD() [179/258]

PHP_METHOD ( Option  ,
getValue   
)

◆ PHP_METHOD() [180/258]

PHP_METHOD ( Option  ,
setName   
)

◆ PHP_METHOD() [181/258]

PHP_METHOD ( Option  ,
setValue   
)

◆ PHP_METHOD() [182/258]

PHP_METHOD ( RepeatedField  ,
__construct   
)

Constructs an instance of RepeatedField.

Parameters
longType of the stored element.
stringMessage/Enum class name (message/enum fields only).

RepeatedField::__construct()

Constructs an instance of RepeatedField.

Parameters
longType of the stored element.
stringMessage/Enum class.

Definition at line 301 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.

◆ PHP_METHOD() [183/258]

PHP_METHOD ( RepeatedField  ,
append   
)

Append element to the end of the repeated field.

Parameters
objectThe element to be added.

RepeatedField::append()

Append element to the end of the repeated field.

Parameters
objectThe element to be added.

Definition at line 333 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.

◆ PHP_METHOD() [184/258]

PHP_METHOD ( RepeatedField  ,
count   
)

Return the number of stored elements. This will also be called for: count($arr)

Returns
long The number of stored elements.

RepeatedField::count()

Implements the Countable interface. Invoked when PHP code calls:

$len = count($arr); Return the number of stored elements. This will also be called for: count($arr)

Returns
long The number of stored elements.

Definition at line 448 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.

◆ PHP_METHOD() [185/258]

PHP_METHOD ( RepeatedField  ,
getIterator   
)

Return the beginning iterator. This will also be called for: foreach($arr)

Returns
object Beginning iterator.

RepeatedField::getIterator()

Implements the IteratorAggregate interface. Invoked when PHP code calls:

foreach ($arr) {}

Returns
object Beginning iterator.

Definition at line 463 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.

◆ PHP_METHOD() [186/258]

PHP_METHOD ( RepeatedField  ,
offsetExists   
)

Check whether the element at given index exists.

Parameters
longThe index to be checked.
Returns
bool True if the element at the given index exists.

RepeatedField::offsetExists()

Implements the ArrayAccess interface. Invoked when PHP code calls:

isset($arr[$idx]); empty($arr[$idx]);

Parameters
longThe index to be checked.
Returns
bool True if the element at the given index exists.

Definition at line 348 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.

◆ PHP_METHOD() [187/258]

PHP_METHOD ( RepeatedField  ,
offsetGet   
)

Return the element at the given index. This will also be called for: $ele = $arr[0]

Parameters
longThe index of the element to be fetched.
Returns
object The stored element at given index.
Exceptions
Invalidtype for index.
Non-existingindex.

RepeatedField::offsetGet()

Implements the ArrayAccess interface. Invoked when PHP code calls:

$x = $arr[$idx];

Parameters
longThe index of the element to be fetched.
Returns
object The stored element at given index.
Exceptions
Invalidtype for index.
Non-existingindex.

Definition at line 370 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.

◆ PHP_METHOD() [188/258]

PHP_METHOD ( RepeatedField  ,
offsetSet   
)

Assign the element at the given index. This will also be called for: $arr []= $ele and $arr[0] = ele

Parameters
longThe index of the element to be assigned.
objectThe element to be assigned.
Exceptions
Invalidtype for index.
Non-existingindex.
Incorrecttype of the element.

RepeatedField::offsetSet()

Implements the ArrayAccess interface. Invoked when PHP code calls:

$arr[$idx] = $x; $arr []= $x; // Append

Parameters
longThe index of the element to be assigned.
objectThe element to be assigned.
Exceptions
Invalidtype for index.
Non-existingindex.
Incorrecttype of the element.

Definition at line 408 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.

◆ PHP_METHOD() [189/258]

PHP_METHOD ( RepeatedField  ,
offsetUnset   
)

Remove the element at the given index. This will also be called for: unset($arr)

Parameters
longThe index of the element to be removed.
Exceptions
Invalidtype for index.
Theelement to be removed is not at the end of the RepeatedField.

RepeatedField::offsetUnset()

Implements the ArrayAccess interface. Invoked when PHP code calls:

unset($arr[$idx]);

Parameters
longThe index of the element to be removed.
Exceptions
Invalidtype for index.
Theelement to be removed is not at the end of the RepeatedField.

Definition at line 424 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.

◆ PHP_METHOD() [190/258]

PHP_METHOD ( RepeatedFieldIter  ,
current   
)

RepeatedFieldIter::current()

Implements the Iterator interface. Returns the current value.

Definition at line 505 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.

◆ PHP_METHOD() [191/258]

PHP_METHOD ( RepeatedFieldIter  ,
key   
)

RepeatedFieldIter::key()

Implements the Iterator interface. Returns the current key.

Definition at line 531 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.

◆ PHP_METHOD() [192/258]

PHP_METHOD ( RepeatedFieldIter  ,
next   
)

RepeatedFieldIter::next()

Implements the Iterator interface. Advances to the next element.

Definition at line 536 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.

◆ PHP_METHOD() [193/258]

PHP_METHOD ( RepeatedFieldIter  ,
rewind   
)

RepeatedFieldIter::rewind()

Implements the Iterator interface. Sets the iterator to the first element.

Definition at line 557 of file protobuf/php/ext/google/protobuf/array.c.

◆ PHP_METHOD() [194/258]

PHP_METHOD ( RepeatedFieldIter  ,
valid   
)

RepeatedFieldIter::valid()

Implements the Iterator interface. Returns true if this is a valid element.

Definition at line 541 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.

◆ PHP_METHOD() [195/258]

PHP_METHOD ( SourceContext  ,
__construct   
)

◆ PHP_METHOD() [196/258]

PHP_METHOD ( SourceContext  ,
getFileName   
)

◆ PHP_METHOD() [197/258]

PHP_METHOD ( SourceContext  ,
setFileName   
)

◆ PHP_METHOD() [198/258]

PHP_METHOD ( StringValue  ,
__construct   
)

◆ PHP_METHOD() [199/258]

PHP_METHOD ( StringValue  ,
getValue   
)

◆ PHP_METHOD() [200/258]

PHP_METHOD ( StringValue  ,
setValue   
)

◆ PHP_METHOD() [201/258]

PHP_METHOD ( Struct  ,
__construct   
)

◆ PHP_METHOD() [202/258]

PHP_METHOD ( Struct  ,
getFields   
)

◆ PHP_METHOD() [203/258]

PHP_METHOD ( Struct  ,
setFields   
)

◆ PHP_METHOD() [204/258]

PHP_METHOD ( Syntax  ,
name   
)

◆ PHP_METHOD() [205/258]

PHP_METHOD ( Syntax  ,
value   
)

◆ PHP_METHOD() [206/258]

PHP_METHOD ( Timestamp  ,
__construct   
)

◆ PHP_METHOD() [207/258]

PHP_METHOD ( Timestamp  ,
fromDateTime   
)

◆ PHP_METHOD() [208/258]

PHP_METHOD ( Timestamp  ,
getNanos   
)

◆ PHP_METHOD() [209/258]

PHP_METHOD ( Timestamp  ,
getSeconds   
)

◆ PHP_METHOD() [210/258]

PHP_METHOD ( Timestamp  ,
setNanos   
)

◆ PHP_METHOD() [211/258]

PHP_METHOD ( Timestamp  ,
setSeconds   
)

◆ PHP_METHOD() [212/258]

PHP_METHOD ( Timestamp  ,
toDateTime   
)

◆ PHP_METHOD() [213/258]

PHP_METHOD ( Type  ,
__construct   
)

◆ PHP_METHOD() [214/258]

PHP_METHOD ( Type  ,
getFields   
)

◆ PHP_METHOD() [215/258]

PHP_METHOD ( Type  ,
getName   
)

◆ PHP_METHOD() [216/258]

PHP_METHOD ( Type  ,
getOneofs   
)

◆ PHP_METHOD() [217/258]

PHP_METHOD ( Type  ,
getOptions   
)

◆ PHP_METHOD() [218/258]

PHP_METHOD ( Type  ,
getSourceContext   
)

◆ PHP_METHOD() [219/258]

PHP_METHOD ( Type  ,
getSyntax   
)

◆ PHP_METHOD() [220/258]

PHP_METHOD ( Type  ,
setFields   
)

◆ PHP_METHOD() [221/258]

PHP_METHOD ( Type  ,
setName   
)

◆ PHP_METHOD() [222/258]

PHP_METHOD ( Type  ,
setOneofs   
)

◆ PHP_METHOD() [223/258]

PHP_METHOD ( Type  ,
setOptions   
)

◆ PHP_METHOD() [224/258]

PHP_METHOD ( Type  ,
setSourceContext   
)

◆ PHP_METHOD() [225/258]

PHP_METHOD ( Type  ,
setSyntax   
)

◆ PHP_METHOD() [226/258]

PHP_METHOD ( UInt32Value  ,
__construct   
)

◆ PHP_METHOD() [227/258]

PHP_METHOD ( UInt32Value  ,
getValue   
)

◆ PHP_METHOD() [228/258]

PHP_METHOD ( UInt32Value  ,
setValue   
)

◆ PHP_METHOD() [229/258]

PHP_METHOD ( UInt64Value  ,
__construct   
)

◆ PHP_METHOD() [230/258]

PHP_METHOD ( UInt64Value  ,
getValue   
)

◆ PHP_METHOD() [231/258]

PHP_METHOD ( UInt64Value  ,
setValue   
)

◆ PHP_METHOD() [232/258]

PHP_METHOD ( Util  ,
checkBool   
)

Definition at line 63 of file protobuf/php/ext/google/protobuf/convert.c.

◆ PHP_METHOD() [233/258]

PHP_METHOD ( Util  ,
checkBytes   
)

Definition at line 65 of file protobuf/php/ext/google/protobuf/convert.c.

◆ PHP_METHOD() [234/258]

PHP_METHOD ( Util  ,
checkDouble   
)

Definition at line 62 of file protobuf/php/ext/google/protobuf/convert.c.

◆ PHP_METHOD() [235/258]

PHP_METHOD ( Util  ,
checkEnum   
)

Definition at line 60 of file protobuf/php/ext/google/protobuf/convert.c.

◆ PHP_METHOD() [236/258]

PHP_METHOD ( Util  ,
checkFloat   
)

Definition at line 61 of file protobuf/php/ext/google/protobuf/convert.c.

◆ PHP_METHOD() [237/258]

PHP_METHOD ( Util  ,
checkInt32   
)

Definition at line 56 of file protobuf/php/ext/google/protobuf/convert.c.

◆ PHP_METHOD() [238/258]

PHP_METHOD ( Util  ,
checkInt64   
)

Definition at line 58 of file protobuf/php/ext/google/protobuf/convert.c.

◆ PHP_METHOD() [239/258]

PHP_METHOD ( Util  ,
checkMapField   
)

Definition at line 597 of file type_check.c.

◆ PHP_METHOD() [240/258]

PHP_METHOD ( Util  ,
checkMessage   
)

Definition at line 432 of file type_check.c.

◆ PHP_METHOD() [241/258]

PHP_METHOD ( Util  ,
checkRepeatedField   
)

Definition at line 513 of file type_check.c.

◆ PHP_METHOD() [242/258]

PHP_METHOD ( Util  ,
checkString   
)

Definition at line 64 of file protobuf/php/ext/google/protobuf/convert.c.

◆ PHP_METHOD() [243/258]

PHP_METHOD ( Util  ,
checkUint32   
)

Definition at line 57 of file protobuf/php/ext/google/protobuf/convert.c.

◆ PHP_METHOD() [244/258]

PHP_METHOD ( Util  ,
checkUint64   
)

Definition at line 59 of file protobuf/php/ext/google/protobuf/convert.c.

◆ PHP_METHOD() [245/258]

PHP_METHOD ( Value  ,
__construct   
)

◆ PHP_METHOD() [246/258]

PHP_METHOD ( Value  ,
getBoolValue   
)

◆ PHP_METHOD() [247/258]

PHP_METHOD ( Value  ,
getKind   
)

◆ PHP_METHOD() [248/258]

PHP_METHOD ( Value  ,
getListValue   
)

◆ PHP_METHOD() [249/258]

PHP_METHOD ( Value  ,
getNullValue   
)

◆ PHP_METHOD() [250/258]

PHP_METHOD ( Value  ,
getNumberValue   
)

◆ PHP_METHOD() [251/258]

PHP_METHOD ( Value  ,
getStringValue   
)

◆ PHP_METHOD() [252/258]

PHP_METHOD ( Value  ,
getStructValue   
)

◆ PHP_METHOD() [253/258]

PHP_METHOD ( Value  ,
setBoolValue   
)

◆ PHP_METHOD() [254/258]

PHP_METHOD ( Value  ,
setListValue   
)

◆ PHP_METHOD() [255/258]

PHP_METHOD ( Value  ,
setNullValue   
)

◆ PHP_METHOD() [256/258]

PHP_METHOD ( Value  ,
setNumberValue   
)

◆ PHP_METHOD() [257/258]

PHP_METHOD ( Value  ,
setStringValue   
)

◆ PHP_METHOD() [258/258]

PHP_METHOD ( Value  ,
setStructValue   
)

◆ php_proto_message_read_property()

static zval* php_proto_message_read_property ( zval *  msg,
zval *member  PHP_PROTO_TSRMLS_DC 
)
inlinestatic

◆ protobuf_convert_to_bool()

bool protobuf_convert_to_bool ( zval *  from,
int8_t to 
)

Definition at line 334 of file type_check.c.

◆ protobuf_convert_to_double()

bool protobuf_convert_to_double ( zval *  from,
double *  to 
)

◆ protobuf_convert_to_float()

bool protobuf_convert_to_float ( zval *  from,
float *  to 
)

◆ protobuf_convert_to_int32()

bool protobuf_convert_to_int32 ( zval *  from,
int32_t to 
)

◆ protobuf_convert_to_int64()

bool protobuf_convert_to_int64 ( zval *  from,
int64_t to 
)

◆ protobuf_convert_to_string()

bool protobuf_convert_to_string ( zval *  from)

Definition at line 375 of file type_check.c.

◆ protobuf_convert_to_uint32()

bool protobuf_convert_to_uint32 ( zval *  from,
uint32_t to 
)

◆ protobuf_convert_to_uint64()

bool protobuf_convert_to_uint64 ( zval *  from,
uint64_t to 
)

◆ repeated_field_create_with_field()

PHP_PROTO_WRAP_OBJECT_END void repeated_field_create_with_field ( zend_class_entry *  ce,
const upb_fielddef field,
CACHED_VALUE *repeated_field  PHP_PROTO_TSRMLS_DC 
)

◆ repeated_field_create_with_type()

void repeated_field_create_with_type ( zend_class_entry *  ce,
upb_fieldtype_t  type,
const zend_class_entry *  msg_ce,
CACHED_VALUE *repeated_field  PHP_PROTO_TSRMLS_DC 
)

◆ repeated_field_index_native()

void* repeated_field_index_native ( RepeatedField intern,
int index  TSRMLS_DC 
)

◆ repeated_field_init()

void repeated_field_init ( TSRMLS_D  )

◆ repeated_field_iter_init()

void repeated_field_iter_init ( TSRMLS_D  )

◆ repeated_field_push_native()

void repeated_field_push_native ( RepeatedField intern,
void *  value 
)

◆ serialize_to_string()

void serialize_to_string ( zval *  val,
zval *return_value  TSRMLS_DC 
)

Definition at line 1659 of file php/ext/google/protobuf/encode_decode.c.

◆ slot_memory()

void* slot_memory ( MessageLayout layout,
const void *  storage,
const upb_fielddef field 
)

Definition at line 586 of file php/ext/google/protobuf/storage.c.

◆ slot_oneof_case()

uint32_t* slot_oneof_case ( MessageLayout layout,
const void *  storage,
const upb_fielddef field 
)

Definition at line 575 of file php/ext/google/protobuf/storage.c.

◆ source_context_init()

void source_context_init ( TSRMLS_D  )

◆ string_value_init()

void string_value_init ( TSRMLS_D  )

◆ stringsink_init()

void stringsink_init ( stringsink sink)

Definition at line 68 of file php/ext/google/protobuf/encode_decode.c.

◆ stringsink_string()

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.

◆ stringsink_uninit()

void stringsink_uninit ( stringsink sink)

Definition at line 81 of file php/ext/google/protobuf/encode_decode.c.

◆ stringsink_uninit_opaque()

void stringsink_uninit_opaque ( void *  sink)

Definition at line 83 of file php/ext/google/protobuf/encode_decode.c.

◆ struct_init()

void struct_init ( TSRMLS_D  )

◆ syntax_init()

void syntax_init ( TSRMLS_D  )

◆ timestamp_init()

void timestamp_init ( TSRMLS_D  )

◆ to_fieldtype()

upb_fieldtype_t to_fieldtype ( upb_descriptortype_t  type)

◆ type_init()

void type_init ( TSRMLS_D  )

◆ u_int32_value_init()

void u_int32_value_init ( TSRMLS_D  )

◆ u_int64_value_init()

void u_int64_value_init ( TSRMLS_D  )

◆ upb_value_memory()

void* upb_value_memory ( upb_value v)

◆ util_init()

void util_init ( TSRMLS_D  )

Definition at line 80 of file type_check.c.

◆ value_init()

void value_init ( TSRMLS_D  )

Variable Documentation

◆ any_type

zend_class_entry* any_type

◆ api_type

zend_class_entry* api_type

◆ array

zval* array

◆ bool_value_type

zend_class_entry* bool_value_type

◆ bytes_value_type

zend_class_entry* bytes_value_type

◆ data

void* data

◆ descriptor

Descriptor* descriptor

◆ descriptor_type

zend_class_entry* descriptor_type

◆ double_value_type

zend_class_entry* double_value_type

◆ duration_type

zend_class_entry* duration_type

◆ empty_type

zend_class_entry* empty_type

◆ enum_descriptor_type

zend_class_entry* enum_descriptor_type

◆ enum_type

zend_class_entry* enum_type

Definition at line 198 of file phone_pb2.py.

◆ enum_value_descriptor_type

zend_class_entry* enum_value_descriptor_type

◆ enum_value_type

zend_class_entry* enum_value_type

◆ enumdef

const upb_enumdef* enumdef

◆ field_cardinality_type

zend_class_entry* field_cardinality_type

◆ field_descriptor_type

zend_class_entry* field_descriptor_type

◆ field_kind_type

zend_class_entry* field_kind_type

◆ field_mask_type

zend_class_entry* field_mask_type

◆ field_type

zend_class_entry* field_type

◆ fielddef

const upb_fielddef* fielddef

◆ fill_handler_cache

upb_handlercache* fill_handler_cache

◆ fill_method_cache

upb_pbcodecache* fill_method_cache

◆ float_value_type

zend_class_entry* float_value_type

◆ generated_pool

InternalDescriptorPool* generated_pool

◆ generated_pool_php

zval* generated_pool_php

◆ index

int index

◆ int32_value_type

zend_class_entry* int32_value_type

◆ int64_value_type

zend_class_entry* int64_value_type

◆ intern

◆ internal_generated_pool_php

zval* internal_generated_pool_php

◆ is_inited_file_any

bool is_inited_file_any

◆ is_inited_file_api

bool is_inited_file_api

◆ is_inited_file_duration

bool is_inited_file_duration

◆ is_inited_file_empty

bool is_inited_file_empty

◆ is_inited_file_field_mask

bool is_inited_file_field_mask

◆ is_inited_file_source_context

bool is_inited_file_source_context

◆ is_inited_file_struct

bool is_inited_file_struct

◆ is_inited_file_timestamp

bool is_inited_file_timestamp

◆ is_inited_file_type

bool is_inited_file_type

◆ is_inited_file_wrappers

bool is_inited_file_wrappers

◆ it

◆ json_fill_method_cache

upb_json_codecache* json_fill_method_cache

◆ json_serialize_handler_cache

upb_handlercache* json_serialize_handler_cache

◆ json_serialize_handler_preserve_cache

upb_handlercache* json_serialize_handler_preserve_cache

◆ key_type

upb_fieldtype_t key_type

◆ klass

zend_class_entry * klass

◆ layout

MessageLayout* layout

◆ list_value_type

zend_class_entry* list_value_type

◆ map_field_handlers

zend_object_handlers* map_field_handlers

◆ map_field_iter_handlers

zend_object_handlers* map_field_iter_handlers

◆ map_field_type

zend_class_entry* map_field_type

◆ message_handlers

zend_object_handlers* message_handlers

◆ message_type

zend_class_entry* message_type

Definition at line 200 of file phone_pb2.py.

◆ method_type

zend_class_entry* method_type

◆ mixin_type

zend_class_entry* mixin_type

◆ msg_ce

const zend_class_entry* msg_ce

◆ msgdef

const upb_msgdef* msgdef

◆ name

const char* name

◆ null_value_type

zend_class_entry* null_value_type

◆ number

int32_t number

◆ oneof_descriptor_type

zend_class_entry* oneof_descriptor_type

◆ oneofdef

const upb_oneofdef* oneofdef

◆ option_type

zend_class_entry* option_type

◆ pb_serialize_handler_cache

upb_handlercache* pb_serialize_handler_cache

◆ pool

◆ position

long position

◆ repeated_field

◆ repeated_field_handlers

zend_object_handlers* repeated_field_handlers

◆ repeated_field_iter_handlers

zend_object_handlers* repeated_field_iter_handlers

◆ repeated_field_type

zend_class_entry* repeated_field_type

◆ self

◆ source_context_type

zend_class_entry* source_context_type

◆ string_value_type

zend_class_entry* string_value_type

◆ struct_type

zend_class_entry* struct_type

◆ symtab

upb_symtab* symtab

◆ syntax_type

zend_class_entry* syntax_type

◆ table

upb_strtable table

◆ timestamp_type

zend_class_entry* timestamp_type

◆ type

◆ type_type

zend_class_entry* type_type

◆ uint32_value_type

zend_class_entry* uint32_value_type

◆ uint64_value_type

zend_class_entry* uint64_value_type

◆ value

char value[NATIVE_SLOT_MAX_SIZE]

◆ value_type

zend_class_entry* value_type
PHP_PROTO_OBJECT_DTOR_START
#define PHP_PROTO_OBJECT_DTOR_START(classname, lowername)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:198
name
const char * name
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:849
PHP_PROTO_OBJECT_FREE_START
#define PHP_PROTO_OBJECT_FREE_START(classname, lowername)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:190
to
size_t to
Definition: abseil-cpp/absl/container/internal/layout_test.cc:1385
from
size_t from
Definition: abseil-cpp/absl/container/internal/layout_test.cc:1384
class_name
static const char * class_name(int dnsclass)
Definition: adig.c:901
PHP_PROTO_FREE_CLASS_OBJECT
#define PHP_PROTO_FREE_CLASS_OBJECT(class_object, class_object_free, handler)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:226
message_type
zend_class_entry * message_type
Definition: phone_pb2.py:200
client.handler
handler
Definition: examples/python/multiprocessing/client.py:87
std
Definition: grpcpp/impl/codegen/async_unary_call.h:407
PHP_PROTO_OBJECT_CREATE_START
#define PHP_PROTO_OBJECT_CREATE_START(NAME, LOWWERNAME)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:180
cpp.tokenize.NAME
string NAME
Definition: bloaty/third_party/googletest/googlemock/scripts/generator/cpp/tokenize.py:56
intern
InternalDescriptorPool * intern
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:766
UNBOX_HASHTABLE_VALUE
#define UNBOX_HASHTABLE_VALUE(class_name, val)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:245
klass
zend_class_entry * klass
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:810
PEMALLOC
#define PEMALLOC(class_name)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:1487
PHP_PROTO_INIT_CLASS_START
#define PHP_PROTO_INIT_CLASS_START(CLASSNAME, CAMELNAME, LOWWERNAME)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:166


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:27