Classes | Macros | Typedefs | Functions | Variables
php/ext/google/protobuf/protobuf.h File Reference
#include <php.h>
#include "upb.h"
Include dependency graph for 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_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_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.2"
 
#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)
 
voidmessage_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)
 
voidrepeated_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)
 
voidslot_memory (MessageLayout *layout, const void *storage, const upb_fielddef *field)
 
uint32_t * slot_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)
 
voidupb_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
 
voiddata
 
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))

Definition at line 1477 of file php/ext/google/protobuf/protobuf.h.

◆ ALLOC_N

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

Definition at line 1479 of file php/ext/google/protobuf/protobuf.h.

◆ ARRAY_SIZE

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

Definition at line 46 of file php/ext/google/protobuf/protobuf.h.

◆ CACHED_PTR_TO_ZVAL_PTR

#define CACHED_PTR_TO_ZVAL_PTR (   VALUE)    (*VALUE)

Definition at line 194 of file php/ext/google/protobuf/protobuf.h.

◆ CACHED_TO_ZVAL_PTR

#define CACHED_TO_ZVAL_PTR (   VALUE)    (VALUE)

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

◆ CACHED_VALUE

#define CACHED_VALUE   zval*

Definition at line 192 of file php/ext/google/protobuf/protobuf.h.

◆ 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 243 of file 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));

Definition at line 199 of file php/ext/google/protobuf/protobuf.h.

◆ 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 567 of file php/ext/google/protobuf/protobuf.h.

◆ DEFINE_PROTOBUF_CREATE

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

Definition at line 553 of file 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 563 of file 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 558 of file 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 549 of file php/ext/google/protobuf/protobuf.h.

◆ ENCODE_MAX_NESTING

#define ENCODE_MAX_NESTING   63

Definition at line 969 of file php/ext/google/protobuf/protobuf.h.

◆ FREE

#define FREE (   object)    efree(object)

Definition at line 1480 of file php/ext/google/protobuf/protobuf.h.

◆ GC_ADDREF

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

Definition at line 54 of file php/ext/google/protobuf/protobuf.h.

◆ GC_DELREF

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

Definition at line 55 of file php/ext/google/protobuf/protobuf.h.

◆ HASHTABLE_VALUE_CE

#define HASHTABLE_VALUE_CE (   val)    Z_OBJCE_P(val)

Definition at line 241 of file php/ext/google/protobuf/protobuf.h.

◆ HASHTABLE_VALUE_DTOR

#define HASHTABLE_VALUE_DTOR   ZVAL_PTR_DTOR

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

◆ MAP_KEY_FIELD

#define MAP_KEY_FIELD   1

Definition at line 1093 of file php/ext/google/protobuf/protobuf.h.

◆ MAP_VALUE_FIELD

#define MAP_VALUE_FIELD   2

Definition at line 1094 of file php/ext/google/protobuf/protobuf.h.

◆ MAX_LENGTH_OF_INT64

#define MAX_LENGTH_OF_INT64   20

Definition at line 42 of file php/ext/google/protobuf/protobuf.h.

◆ MESSAGE_FIELD_NO_CASE

#define MESSAGE_FIELD_NO_CASE   ((size_t)-1)

Definition at line 918 of file php/ext/google/protobuf/protobuf.h.

◆ NATIVE_SLOT_MAX_SIZE

#define NATIVE_SLOT_MAX_SIZE   sizeof(uint64_t)

Definition at line 1021 of file php/ext/google/protobuf/protobuf.h.

◆ OBJ_PROP

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

Definition at line 207 of file php/ext/google/protobuf/protobuf.h.

◆ ONEOF_CASE_NONE

#define ONEOF_CASE_NONE   0

Definition at line 1188 of file php/ext/google/protobuf/protobuf.h.

◆ PEFREE

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

Definition at line 1481 of file php/ext/google/protobuf/protobuf.h.

◆ PEMALLOC

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

Definition at line 1478 of file php/ext/google/protobuf/protobuf.h.

◆ 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 225 of file 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 212 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_CASE_IS_BOOL

#define PHP_PROTO_CASE_IS_BOOL   IS_BOOL

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

◆ PHP_PROTO_CE_DECLARE

#define PHP_PROTO_CE_DECLARE   zend_class_entry**

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

◆ PHP_PROTO_CE_UNREF

#define PHP_PROTO_CE_UNREF (   ce)    (*ce)

Definition at line 253 of file php/ext/google/protobuf/protobuf.h.

◆ 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 531 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_FAKE_SCOPE_END

#define PHP_PROTO_FAKE_SCOPE_END   EG(scope) = old_scope;

Definition at line 537 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_FAKE_SCOPE_RESTART

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

Definition at line 534 of file 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 217 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_GLOBAL_UNINITIALIZED_ZVAL

#define PHP_PROTO_GLOBAL_UNINITIALIZED_ZVAL   EG(uninitialized_zval_ptr)

Definition at line 205 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_HASH_OF

#define PHP_PROTO_HASH_OF (   array)    Z_ARRVAL_P(array)

Definition at line 84 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_HASHTABLE_VALUE

#define PHP_PROTO_HASHTABLE_VALUE   zval*

Definition at line 240 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_INIT_CLASS_END

#define PHP_PROTO_INIT_CLASS_END   }

Definition at line 168 of file php/ext/google/protobuf/protobuf.h.

◆ 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 157 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_INIT_ENUMCLASS_END

#define PHP_PROTO_INIT_ENUMCLASS_END   }

Definition at line 154 of file php/ext/google/protobuf/protobuf.h.

◆ 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 147 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_INIT_SUBMSGCLASS_END

#define PHP_PROTO_INIT_SUBMSGCLASS_END   }

Definition at line 144 of file php/ext/google/protobuf/protobuf.h.

◆ 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 134 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_LONG

#define PHP_PROTO_LONG   long

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

◆ 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 177 of file 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 171 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_OBJECT_DTOR_END

#define PHP_PROTO_OBJECT_DTOR_END

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

◆ PHP_PROTO_OBJECT_DTOR_START

#define PHP_PROTO_OBJECT_DTOR_START (   classname,
  lowername 
)

Definition at line 189 of file php/ext/google/protobuf/protobuf.h.

◆ 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 184 of file 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 181 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_RETURN_STRING

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

Definition at line 73 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_RETURN_STRINGL

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

Definition at line 74 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_RETVAL_STRINGL

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

Definition at line 75 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_RETVAL_ZVAL

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

Definition at line 258 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_SEPARATE_ZVAL_IF_NOT_REF

#define PHP_PROTO_SEPARATE_ZVAL_IF_NOT_REF (   value)    SEPARATE_ZVAL_IF_NOT_REF(value)

Definition at line 202 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_SIZE

#define PHP_PROTO_SIZE   int

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

◆ PHP_PROTO_TSRMLS_CC

#define PHP_PROTO_TSRMLS_CC   TSRMLS_CC

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

◆ PHP_PROTO_TSRMLS_DC

#define PHP_PROTO_TSRMLS_DC   TSRMLS_DC

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

◆ PHP_PROTO_WRAP_OBJECT_END

#define PHP_PROTO_WRAP_OBJECT_END   };

Definition at line 131 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_WRAP_OBJECT_START

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

Definition at line 128 of file 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)

Definition at line 105 of file php/ext/google/protobuf/protobuf.h.

◆ 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)

Definition at line 114 of file php/ext/google/protobuf/protobuf.h.

◆ 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)

Definition at line 111 of file php/ext/google/protobuf/protobuf.h.

◆ 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)

Definition at line 123 of file php/ext/google/protobuf/protobuf.h.

◆ 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)

Definition at line 108 of file php/ext/google/protobuf/protobuf.h.

◆ 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)

Definition at line 102 of file php/ext/google/protobuf/protobuf.h.

◆ 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)

Definition at line 95 of file php/ext/google/protobuf/protobuf.h.

◆ 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)

Definition at line 86 of file php/ext/google/protobuf/protobuf.h.

◆ 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)

Definition at line 120 of file php/ext/google/protobuf/protobuf.h.

◆ 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)

Definition at line 117 of file php/ext/google/protobuf/protobuf.h.

◆ 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)

Definition at line 92 of file php/ext/google/protobuf/protobuf.h.

◆ 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)

Definition at line 98 of file php/ext/google/protobuf/protobuf.h.

◆ 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)

Definition at line 89 of file php/ext/google/protobuf/protobuf.h.

◆ php_proto_zend_literal

#define php_proto_zend_literal   const zend_literal*

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

◆ php_proto_zend_lookup_class

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

Definition at line 255 of file php/ext/google/protobuf/protobuf.h.

◆ 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 76 of file php/ext/google/protobuf/protobuf.h.

◆ php_proto_zval_ptr_dtor

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

Definition at line 209 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_ZVAL_STRING

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

Definition at line 69 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTO_ZVAL_STRINGL

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

Definition at line 71 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTOBUF_EXTNAME

#define PHP_PROTOBUF_EXTNAME   "protobuf"

Definition at line 39 of file php/ext/google/protobuf/protobuf.h.

◆ PHP_PROTOBUF_VERSION

#define PHP_PROTOBUF_VERSION   "3.9.2"

Definition at line 40 of file php/ext/google/protobuf/protobuf.h.

◆ SIZEOF_INT64

#define SIZEOF_INT64   8

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

◆ STR

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

Definition at line 1484 of file php/ext/google/protobuf/protobuf.h.

◆ UNBOX

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

Definition at line 233 of file php/ext/google/protobuf/protobuf.h.

◆ UNBOX_HASHTABLE_VALUE

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

Definition at line 236 of file php/ext/google/protobuf/protobuf.h.

◆ 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 1488 of file 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 229 of file php/ext/google/protobuf/protobuf.h.

◆ ZVAL_PTR_TO_CACHED_PTR

#define ZVAL_PTR_TO_CACHED_PTR (   VALUE)    (&VALUE)

Definition at line 195 of file php/ext/google/protobuf/protobuf.h.

◆ ZVAL_PTR_TO_CACHED_VALUE

#define ZVAL_PTR_TO_CACHED_VALUE (   VALUE)    (VALUE)

Definition at line 196 of file php/ext/google/protobuf/protobuf.h.

◆ ZVAL_TO_CACHED_VALUE

#define ZVAL_TO_CACHED_VALUE (   VALUE)    (&VALUE)

Definition at line 197 of file php/ext/google/protobuf/protobuf.h.

Typedef Documentation

◆ Any

typedef struct Any Any

Definition at line 624 of file php/ext/google/protobuf/protobuf.h.

◆ Api

typedef struct Api Api

Definition at line 625 of file php/ext/google/protobuf/protobuf.h.

◆ BoolValue

typedef struct BoolValue BoolValue

Definition at line 626 of file php/ext/google/protobuf/protobuf.h.

◆ BytesValue

typedef struct BytesValue BytesValue

Definition at line 627 of file php/ext/google/protobuf/protobuf.h.

◆ Descriptor

typedef struct Descriptor Descriptor

Definition at line 628 of file php/ext/google/protobuf/protobuf.h.

◆ DescriptorPool

Definition at line 629 of file php/ext/google/protobuf/protobuf.h.

◆ DoubleValue

typedef struct DoubleValue DoubleValue

Definition at line 630 of file php/ext/google/protobuf/protobuf.h.

◆ Duration

typedef struct Duration Duration

Definition at line 631 of file php/ext/google/protobuf/protobuf.h.

◆ Enum

typedef struct Enum Enum

Definition at line 633 of file php/ext/google/protobuf/protobuf.h.

◆ EnumDescriptor

Definition at line 632 of file php/ext/google/protobuf/protobuf.h.

◆ EnumValue

typedef struct EnumValue EnumValue

Definition at line 635 of file php/ext/google/protobuf/protobuf.h.

◆ EnumValueDescriptor

Definition at line 634 of file php/ext/google/protobuf/protobuf.h.

◆ Field

typedef struct Field Field

Definition at line 638 of file php/ext/google/protobuf/protobuf.h.

◆ Field_Cardinality

Definition at line 636 of file php/ext/google/protobuf/protobuf.h.

◆ Field_Kind

typedef struct Field_Kind Field_Kind

Definition at line 639 of file php/ext/google/protobuf/protobuf.h.

◆ FieldDescriptor

Definition at line 637 of file php/ext/google/protobuf/protobuf.h.

◆ FieldMask

typedef struct FieldMask FieldMask

Definition at line 640 of file php/ext/google/protobuf/protobuf.h.

◆ FloatValue

typedef struct FloatValue FloatValue

Definition at line 641 of file php/ext/google/protobuf/protobuf.h.

◆ GPBEmpty

typedef struct GPBEmpty GPBEmpty

Definition at line 642 of file php/ext/google/protobuf/protobuf.h.

◆ Int32Value

typedef struct Int32Value Int32Value

Definition at line 643 of file php/ext/google/protobuf/protobuf.h.

◆ Int64Value

typedef struct Int64Value Int64Value

Definition at line 644 of file php/ext/google/protobuf/protobuf.h.

◆ InternalDescriptorPool

Definition at line 645 of file php/ext/google/protobuf/protobuf.h.

◆ ListValue

typedef struct ListValue ListValue

Definition at line 646 of file php/ext/google/protobuf/protobuf.h.

◆ Map

typedef struct Map Map

Definition at line 648 of file php/ext/google/protobuf/protobuf.h.

◆ MapIter

typedef struct MapIter MapIter

Definition at line 647 of file php/ext/google/protobuf/protobuf.h.

◆ MessageField

typedef struct MessageField MessageField

Definition at line 649 of file php/ext/google/protobuf/protobuf.h.

◆ MessageHeader

typedef struct MessageHeader MessageHeader

Definition at line 650 of file php/ext/google/protobuf/protobuf.h.

◆ MessageLayout

typedef struct MessageLayout MessageLayout

Definition at line 651 of file php/ext/google/protobuf/protobuf.h.

◆ Method

typedef struct Method Method

Definition at line 652 of file php/ext/google/protobuf/protobuf.h.

◆ Mixin

typedef struct Mixin Mixin

Definition at line 653 of file php/ext/google/protobuf/protobuf.h.

◆ NullValue

typedef struct NullValue NullValue

Definition at line 654 of file php/ext/google/protobuf/protobuf.h.

◆ Oneof

typedef struct Oneof Oneof

Definition at line 655 of file php/ext/google/protobuf/protobuf.h.

◆ Option

typedef struct Option Option

Definition at line 656 of file php/ext/google/protobuf/protobuf.h.

◆ RepeatedField

typedef struct RepeatedField RepeatedField

Definition at line 658 of file php/ext/google/protobuf/protobuf.h.

◆ RepeatedFieldIter

Definition at line 657 of file php/ext/google/protobuf/protobuf.h.

◆ SourceContext

typedef struct SourceContext SourceContext

Definition at line 659 of file php/ext/google/protobuf/protobuf.h.

◆ StringValue

typedef struct StringValue StringValue

Definition at line 660 of file php/ext/google/protobuf/protobuf.h.

◆ Struct

typedef struct Struct Struct

Definition at line 661 of file php/ext/google/protobuf/protobuf.h.

◆ Syntax

typedef struct Syntax Syntax

Definition at line 662 of file php/ext/google/protobuf/protobuf.h.

◆ Timestamp

typedef struct Timestamp Timestamp

Definition at line 663 of file php/ext/google/protobuf/protobuf.h.

◆ Type

typedef struct Type Type

Definition at line 664 of file php/ext/google/protobuf/protobuf.h.

◆ UInt32Value

typedef struct UInt32Value UInt32Value

Definition at line 665 of file php/ext/google/protobuf/protobuf.h.

◆ UInt64Value

typedef struct UInt64Value UInt64Value

Definition at line 666 of file php/ext/google/protobuf/protobuf.h.

◆ Value

typedef struct Value Value

Definition at line 667 of file php/ext/google/protobuf/protobuf.h.

Function Documentation

◆ add_ce_obj()

void add_ce_obj ( const void ce,
PHP_PROTO_HASHTABLE_VALUE  value 
)

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

◆ add_def_obj()

void add_def_obj ( const void def,
PHP_PROTO_HASHTABLE_VALUE  value 
)

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

◆ add_handlers_for_message()

void add_handlers_for_message ( const void closure,
upb_handlers h 
)

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

◆ add_proto_obj()

void add_proto_obj ( const char *  proto,
PHP_PROTO_HASHTABLE_VALUE  value 
)

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

◆ 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)

Definition at line 274 of file php/ext/google/protobuf/message.c.

◆ 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)

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

◆ create_layout()

PHP_PROTO_WRAP_OBJECT_END MessageLayout* create_layout ( const upb_msgdef msgdef)

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)

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

◆ get_def_obj()

PHP_PROTO_HASHTABLE_VALUE get_def_obj ( const void def)

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

◆ get_proto_obj()

PHP_PROTO_HASHTABLE_VALUE get_proto_obj ( const char *  proto)

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

◆ 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  )

Definition at line 107 of file def.c.

◆ init_generated_pool_once()

void init_generated_pool_once ( TSRMLS_D  )

Definition at line 584 of file def.c.

◆ 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 
)

Definition at line 932 of file def.c.

◆ 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)

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

◆ 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 
)

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

◆ map_done()

bool map_done ( MapIter iter)

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

◆ 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 
)

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

◆ 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 
)

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

◆ map_iter_key()

const char* map_iter_key ( MapIter iter,
int *  len 
)

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

◆ map_iter_value()

upb_value map_iter_value ( MapIter iter,
int *  len 
)

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

◆ map_next()

void map_next ( MapIter iter)

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

◆ merge_from_string()

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

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

◆ message_data()

void* message_data ( MessageHeader msg)

Definition at line 248 of file php/ext/google/protobuf/message.c.

◆ 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 
)

Definition at line 783 of file ruby/ext/google/protobuf_c/encode_decode.c.

◆ 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   
)

Definition at line 1382 of file php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [2/258]

PHP_METHOD ( Any  ,
getTypeUrl   
)

◆ PHP_METHOD() [3/258]

PHP_METHOD ( Any  ,
getValue   
)

◆ PHP_METHOD() [4/258]

PHP_METHOD ( Any  ,
is   
)

Definition at line 1488 of file php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [5/258]

PHP_METHOD ( Any  ,
pack   
)

Definition at line 1440 of file php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [6/258]

PHP_METHOD ( Any  ,
setTypeUrl   
)

◆ PHP_METHOD() [7/258]

PHP_METHOD ( Any  ,
setValue   
)

◆ PHP_METHOD() [8/258]

PHP_METHOD ( Any  ,
unpack   
)

Definition at line 1391 of file php/ext/google/protobuf/message.c.

◆ 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   
)

Definition at line 162 of file def.c.

◆ PHP_METHOD() [31/258]

PHP_METHOD ( Descriptor  ,
getField   
)

Definition at line 178 of file def.c.

◆ PHP_METHOD() [32/258]

PHP_METHOD ( Descriptor  ,
getFieldCount   
)

Definition at line 226 of file def.c.

◆ PHP_METHOD() [33/258]

PHP_METHOD ( Descriptor  ,
getFullName   
)

Definition at line 172 of file def.c.

◆ PHP_METHOD() [34/258]

PHP_METHOD ( Descriptor  ,
getOneofDecl   
)

Definition at line 231 of file def.c.

◆ PHP_METHOD() [35/258]

PHP_METHOD ( Descriptor  ,
getOneofDeclCount   
)

Definition at line 259 of file def.c.

◆ PHP_METHOD() [36/258]

PHP_METHOD ( DescriptorPool  ,
getDescriptorByClassName   
)

Definition at line 1004 of file def.c.

◆ PHP_METHOD() [37/258]

PHP_METHOD ( DescriptorPool  ,
getEnumDescriptorByClassName   
)

Definition at line 1041 of file def.c.

◆ PHP_METHOD() [38/258]

PHP_PROTO_WRAP_OBJECT_END PHP_METHOD ( DescriptorPool  ,
getGeneratedPool   
)

Definition at line 660 of file def.c.

◆ 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   
)

Definition at line 285 of file def.c.

◆ PHP_METHOD() [59/258]

PHP_METHOD ( EnumDescriptor  ,
getValueCount   
)

Definition at line 314 of file def.c.

◆ 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]

Definition at line 340 of file def.c.

◆ PHP_METHOD() [68/258]

PHP_METHOD ( EnumValueDescriptor  ,
getNumber   
)

Definition at line 345 of file def.c.

◆ 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   
)

Definition at line 1050 of file php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [92/258]

PHP_METHOD ( Field_Kind  ,
name   
)

◆ PHP_METHOD() [93/258]

PHP_METHOD ( Field_Kind  ,
value   
)

Definition at line 1185 of file php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [94/258]

PHP_METHOD ( FieldDescriptor  ,
getEnumType   
)

Definition at line 434 of file def.c.

◆ PHP_METHOD() [95/258]

PHP_METHOD ( FieldDescriptor  ,
getLabel   
)

Definition at line 419 of file def.c.

◆ PHP_METHOD() [96/258]

PHP_METHOD ( FieldDescriptor  ,
getMessageType   
)

Definition at line 453 of file def.c.

◆ PHP_METHOD() [97/258]

Definition at line 408 of file def.c.

◆ PHP_METHOD() [98/258]

PHP_METHOD ( FieldDescriptor  ,
getNumber   
)

Definition at line 414 of file def.c.

◆ PHP_METHOD() [99/258]

PHP_METHOD ( FieldDescriptor  ,
getType   
)

Definition at line 424 of file def.c.

◆ PHP_METHOD() [100/258]

PHP_METHOD ( FieldDescriptor  ,
isMap   
)

Definition at line 429 of file def.c.

◆ 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   
)

Definition at line 670 of file def.c.

◆ PHP_METHOD() [125/258]

PHP_METHOD ( InternalDescriptorPool  ,
internalAddGeneratedFile   
)

Definition at line 986 of file def.c.

◆ 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   
)

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

◆ PHP_METHOD() [130/258]

PHP_METHOD ( MapField  ,
count   
)

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

◆ PHP_METHOD() [131/258]

PHP_METHOD ( MapField  ,
getIterator   
)

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

◆ PHP_METHOD() [132/258]

PHP_METHOD ( MapField  ,
offsetExists   
)

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

◆ PHP_METHOD() [133/258]

PHP_METHOD ( MapField  ,
offsetGet   
)

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

◆ PHP_METHOD() [134/258]

PHP_METHOD ( MapField  ,
offsetSet   
)

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

◆ PHP_METHOD() [135/258]

PHP_METHOD ( MapField  ,
offsetUnset   
)

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

◆ PHP_METHOD() [136/258]

PHP_METHOD ( MapFieldIter  ,
current   
)

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

◆ PHP_METHOD() [137/258]

PHP_METHOD ( MapFieldIter  ,
key   
)

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

◆ PHP_METHOD() [138/258]

PHP_METHOD ( MapFieldIter  ,
next   
)

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

◆ PHP_METHOD() [139/258]

PHP_METHOD ( MapFieldIter  ,
rewind   
)

◆ PHP_METHOD() [140/258]

PHP_METHOD ( MapFieldIter  ,
valid   
)

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

◆ PHP_METHOD() [141/258]

PHP_METHOD ( Message  ,
__construct   
)

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

◆ PHP_METHOD() [142/258]

PHP_METHOD ( Message  ,
clear   
)

Definition at line 534 of file php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [143/258]

PHP_METHOD ( Message  ,
discardUnknownFields   
)

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

◆ PHP_METHOD() [144/258]

PHP_METHOD ( Message  ,
mergeFrom   
)

Definition at line 545 of file php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [145/258]

PHP_METHOD ( Message  ,
mergeFromJsonString   
)

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

◆ PHP_METHOD() [146/258]

PHP_METHOD ( Message  ,
mergeFromString   
)

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

◆ PHP_METHOD() [147/258]

PHP_METHOD ( Message  ,
readOneof   
)

Definition at line 563 of file php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [148/258]

PHP_METHOD ( Message  ,
serializeToJsonString   
)

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

◆ PHP_METHOD() [149/258]

PHP_METHOD ( Message  ,
serializeToString   
)

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

◆ PHP_METHOD() [150/258]

PHP_METHOD ( Message  ,
whichOneof   
)

Definition at line 597 of file php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [151/258]

PHP_METHOD ( Message  ,
writeOneof   
)

Definition at line 582 of file 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   
)

Definition at line 1256 of file php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [174/258]

PHP_METHOD ( Oneof  ,
getField   
)

Definition at line 499 of file def.c.

◆ PHP_METHOD() [175/258]

PHP_METHOD ( Oneof  ,
getFieldCount   
)

Definition at line 545 of file def.c.

◆ PHP_METHOD() [176/258]

PHP_PROTO_WRAP_OBJECT_END PHP_METHOD ( Oneof  ,
getName   
)

Definition at line 493 of file def.c.

◆ 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).

Definition at line 301 of file 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.

Definition at line 333 of file 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.

Definition at line 448 of file 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.

Definition at line 463 of file 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.

Definition at line 348 of file 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.

Definition at line 370 of file 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.

Definition at line 408 of file 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.

Definition at line 424 of file array.c.

◆ PHP_METHOD() [190/258]

PHP_METHOD ( RepeatedFieldIter  ,
current   
)

Definition at line 505 of file array.c.

◆ PHP_METHOD() [191/258]

PHP_METHOD ( RepeatedFieldIter  ,
key   
)

Definition at line 531 of file array.c.

◆ PHP_METHOD() [192/258]

PHP_METHOD ( RepeatedFieldIter  ,
next   
)

Definition at line 536 of file array.c.

◆ PHP_METHOD() [193/258]

PHP_METHOD ( RepeatedFieldIter  ,
rewind   
)

◆ PHP_METHOD() [194/258]

PHP_METHOD ( RepeatedFieldIter  ,
valid   
)

Definition at line 541 of file 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   
)

Definition at line 1313 of file php/ext/google/protobuf/message.c.

◆ PHP_METHOD() [206/258]

PHP_METHOD ( Timestamp  ,
__construct   
)

◆ PHP_METHOD() [207/258]

PHP_METHOD ( Timestamp  ,
fromDateTime   
)

Definition at line 1594 of file php/ext/google/protobuf/message.c.

◆ 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   
)

Definition at line 1685 of file php/ext/google/protobuf/message.c.

◆ 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   
)

◆ PHP_METHOD() [233/258]

PHP_METHOD ( Util  ,
checkBytes   
)

◆ PHP_METHOD() [234/258]

PHP_METHOD ( Util  ,
checkDouble   
)

◆ PHP_METHOD() [235/258]

PHP_METHOD ( Util  ,
checkEnum   
)

◆ PHP_METHOD() [236/258]

PHP_METHOD ( Util  ,
checkFloat   
)

◆ PHP_METHOD() [237/258]

PHP_METHOD ( Util  ,
checkInt32   
)

◆ PHP_METHOD() [238/258]

PHP_METHOD ( Util  ,
checkInt64   
)

◆ 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   
)

◆ PHP_METHOD() [243/258]

PHP_METHOD ( Util  ,
checkUint32   
)

◆ PHP_METHOD() [244/258]

PHP_METHOD ( Util  ,
checkUint64   
)

◆ 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

Definition at line 1495 of file php/ext/google/protobuf/protobuf.h.

◆ 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 
)

Definition at line 262 of file array.c.

◆ 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 
)

Definition at line 271 of file array.c.

◆ repeated_field_index_native()

void* repeated_field_index_native ( RepeatedField intern,
int index  TSRMLS_DC 
)

Definition at line 231 of file array.c.

◆ 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 
)

Definition at line 252 of file array.c.

◆ serialize_to_string()

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

Definition at line 1651 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 80 of file php/ext/google/protobuf/encode_decode.c.

◆ stringsink_uninit_opaque()

void stringsink_uninit_opaque ( void sink)

Definition at line 82 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)

Definition at line 375 of file def.c.

◆ 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)

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

◆ 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

Definition at line 1351 of file php/ext/google/protobuf/message.c.

◆ api_type

zend_class_entry* api_type

Definition at line 1766 of file php/ext/google/protobuf/message.c.

◆ array

zval* array

Definition at line 1127 of file php/ext/google/protobuf/protobuf.h.

◆ bool_value_type

zend_class_entry* bool_value_type

Definition at line 1812 of file php/ext/google/protobuf/message.c.

◆ bytes_value_type

zend_class_entry* bytes_value_type

Definition at line 1840 of file php/ext/google/protobuf/message.c.

◆ data

Definition at line 934 of file php/ext/google/protobuf/protobuf.h.

◆ descriptor

Descriptor* descriptor

Definition at line 936 of file php/ext/google/protobuf/protobuf.h.

◆ descriptor_type

zend_class_entry* descriptor_type

◆ double_value_type

zend_class_entry* double_value_type

Definition at line 1868 of file php/ext/google/protobuf/message.c.

◆ duration_type

zend_class_entry* duration_type

Definition at line 1539 of file php/ext/google/protobuf/message.c.

◆ empty_type

zend_class_entry* empty_type

Definition at line 2109 of file php/ext/google/protobuf/message.c.

◆ enum_descriptor_type

zend_class_entry* enum_descriptor_type

◆ enum_type

zend_class_entry* enum_type

Definition at line 1904 of file php/ext/google/protobuf/message.c.

◆ enum_value_descriptor_type

zend_class_entry* enum_value_descriptor_type

◆ enum_value_type

zend_class_entry* enum_value_type

Definition at line 1948 of file php/ext/google/protobuf/message.c.

◆ enumdef

const upb_enumdef* enumdef

Definition at line 830 of file php/ext/google/protobuf/protobuf.h.

◆ field_cardinality_type

zend_class_entry* field_cardinality_type

Definition at line 1005 of file php/ext/google/protobuf/message.c.

◆ field_descriptor_type

zend_class_entry* field_descriptor_type

◆ field_kind_type

zend_class_entry* field_kind_type

Definition at line 1081 of file php/ext/google/protobuf/message.c.

◆ field_mask_type

zend_class_entry* field_mask_type

Definition at line 1982 of file php/ext/google/protobuf/message.c.

◆ field_type

zend_class_entry* field_type

Definition at line 2028 of file php/ext/google/protobuf/message.c.

◆ fielddef

const upb_fielddef* fielddef

Definition at line 816 of file php/ext/google/protobuf/protobuf.h.

◆ fill_handler_cache

upb_handlercache* fill_handler_cache

Definition at line 766 of file php/ext/google/protobuf/protobuf.h.

◆ fill_method_cache

upb_pbcodecache* fill_method_cache

Definition at line 770 of file php/ext/google/protobuf/protobuf.h.

◆ float_value_type

zend_class_entry* float_value_type

Definition at line 2083 of file php/ext/google/protobuf/message.c.

◆ generated_pool

InternalDescriptorPool* generated_pool

Definition at line 582 of file def.c.

◆ generated_pool_php

zval* generated_pool_php

Definition at line 576 of file def.c.

◆ index

int index

Definition at line 1175 of file php/ext/google/protobuf/protobuf.h.

◆ int32_value_type

zend_class_entry* int32_value_type

Definition at line 2134 of file php/ext/google/protobuf/message.c.

◆ int64_value_type

zend_class_entry* int64_value_type

Definition at line 2162 of file php/ext/google/protobuf/message.c.

◆ intern

Definition at line 757 of file php/ext/google/protobuf/protobuf.h.

◆ internal_generated_pool_php

zval* internal_generated_pool_php

Definition at line 577 of file def.c.

◆ is_inited_file_any

bool is_inited_file_any

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

◆ is_inited_file_api

bool is_inited_file_api

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

◆ is_inited_file_duration

bool is_inited_file_duration

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

◆ is_inited_file_empty

bool is_inited_file_empty

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

◆ is_inited_file_field_mask

bool is_inited_file_field_mask

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

◆ is_inited_file_source_context

bool is_inited_file_source_context

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

◆ is_inited_file_struct

bool is_inited_file_struct

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

◆ is_inited_file_timestamp

bool is_inited_file_timestamp

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

◆ is_inited_file_type

bool is_inited_file_type

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

◆ is_inited_file_wrappers

bool is_inited_file_wrappers

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

◆ it

Definition at line 1070 of file php/ext/google/protobuf/protobuf.h.

◆ json_fill_method_cache

upb_json_codecache* json_fill_method_cache

Definition at line 771 of file php/ext/google/protobuf/protobuf.h.

◆ json_serialize_handler_cache

upb_handlercache* json_serialize_handler_cache

Definition at line 768 of file php/ext/google/protobuf/protobuf.h.

◆ json_serialize_handler_preserve_cache

upb_handlercache* json_serialize_handler_preserve_cache

Definition at line 769 of file php/ext/google/protobuf/protobuf.h.

◆ key_type

upb_fieldtype_t key_type

Definition at line 1062 of file php/ext/google/protobuf/protobuf.h.

◆ klass

zend_class_entry * klass

Definition at line 801 of file php/ext/google/protobuf/protobuf.h.

◆ layout

MessageLayout* layout

Definition at line 800 of file php/ext/google/protobuf/protobuf.h.

◆ list_value_type

zend_class_entry* list_value_type

Definition at line 2190 of file php/ext/google/protobuf/message.c.

◆ map_field_handlers

zend_object_handlers* map_field_handlers

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

◆ map_field_iter_handlers

zend_object_handlers* map_field_iter_handlers

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

◆ map_field_type

zend_class_entry* map_field_type

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

◆ message_handlers

zend_object_handlers* message_handlers

Definition at line 46 of file php/ext/google/protobuf/message.c.

◆ message_type

zend_class_entry* message_type

Definition at line 45 of file php/ext/google/protobuf/message.c.

◆ method_type

zend_class_entry* method_type

Definition at line 2230 of file php/ext/google/protobuf/message.c.

◆ mixin_type

zend_class_entry* mixin_type

Definition at line 2278 of file php/ext/google/protobuf/message.c.

◆ msg_ce

const zend_class_entry* msg_ce

Definition at line 1064 of file php/ext/google/protobuf/protobuf.h.

◆ msgdef

const upb_msgdef* msgdef

Definition at line 799 of file php/ext/google/protobuf/protobuf.h.

◆ name

const char* name

Definition at line 840 of file php/ext/google/protobuf/protobuf.h.

◆ null_value_type

zend_class_entry* null_value_type

Definition at line 1230 of file php/ext/google/protobuf/message.c.

◆ number

int32_t number

Definition at line 841 of file php/ext/google/protobuf/protobuf.h.

◆ oneof_descriptor_type

zend_class_entry* oneof_descriptor_type

◆ oneofdef

const upb_oneofdef* oneofdef

Definition at line 1174 of file php/ext/google/protobuf/protobuf.h.

◆ option_type

zend_class_entry* option_type

Definition at line 2311 of file php/ext/google/protobuf/message.c.

◆ pb_serialize_handler_cache

upb_handlercache* pb_serialize_handler_cache

Definition at line 767 of file php/ext/google/protobuf/protobuf.h.

◆ pool

Definition at line 798 of file php/ext/google/protobuf/protobuf.h.

◆ position

long position

Definition at line 1138 of file php/ext/google/protobuf/protobuf.h.

◆ repeated_field

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

◆ repeated_field_handlers

zend_object_handlers* repeated_field_handlers

Definition at line 93 of file array.c.

◆ repeated_field_iter_handlers

zend_object_handlers* repeated_field_iter_handlers

Definition at line 94 of file array.c.

◆ repeated_field_type

zend_class_entry* repeated_field_type

Definition at line 91 of file array.c.

◆ self

Definition at line 1069 of file php/ext/google/protobuf/protobuf.h.

◆ source_context_type

zend_class_entry* source_context_type

Definition at line 2342 of file php/ext/google/protobuf/message.c.

◆ string_value_type

zend_class_entry* string_value_type

Definition at line 2370 of file php/ext/google/protobuf/message.c.

◆ struct_type

zend_class_entry* struct_type

Definition at line 2398 of file php/ext/google/protobuf/message.c.

◆ symtab

upb_symtab* symtab

Definition at line 765 of file php/ext/google/protobuf/protobuf.h.

◆ syntax_type

zend_class_entry* syntax_type

Definition at line 1283 of file php/ext/google/protobuf/message.c.

◆ table

upb_strtable table

Definition at line 1065 of file php/ext/google/protobuf/protobuf.h.

◆ timestamp_type

zend_class_entry* timestamp_type

Definition at line 1574 of file php/ext/google/protobuf/message.c.

◆ type

Definition at line 1131 of file php/ext/google/protobuf/protobuf.h.

◆ type_type

zend_class_entry* type_type

Definition at line 2436 of file php/ext/google/protobuf/message.c.

◆ uint32_value_type

zend_class_entry* uint32_value_type

◆ uint64_value_type

zend_class_entry* uint64_value_type

◆ value

Definition at line 1176 of file php/ext/google/protobuf/protobuf.h.

◆ value_type

zend_class_entry* value_type

Definition at line 1063 of file php/ext/google/protobuf/protobuf.h.

UNBOX_HASHTABLE_VALUE
#define UNBOX_HASHTABLE_VALUE(class_name, val)
Definition: php/ext/google/protobuf/protobuf.h:236
name
GLuint const GLchar * name
Definition: glcorearb.h:3055
NULL
NULL
Definition: test_security_zap.cpp:405
PHP_PROTO_INIT_CLASS_START
#define PHP_PROTO_INIT_CLASS_START(CLASSNAME, CAMELNAME, LOWWERNAME)
Definition: php/ext/google/protobuf/protobuf.h:157
PHP_PROTO_FREE_CLASS_OBJECT
#define PHP_PROTO_FREE_CLASS_OBJECT(class_object, class_object_free, handler)
Definition: php/ext/google/protobuf/protobuf.h:217
PHP_PROTO_OBJECT_DTOR_START
#define PHP_PROTO_OBJECT_DTOR_START(classname, lowername)
Definition: php/ext/google/protobuf/protobuf.h:189
PHP_PROTO_OBJECT_CREATE_START
#define PHP_PROTO_OBJECT_CREATE_START(NAME, LOWWERNAME)
Definition: php/ext/google/protobuf/protobuf.h:171
std
PEMALLOC
#define PEMALLOC(class_name)
Definition: php/ext/google/protobuf/protobuf.h:1478
intern
InternalDescriptorPool * intern
Definition: php/ext/google/protobuf/protobuf.h:757
message_type
zend_class_entry * message_type
Definition: php/ext/google/protobuf/message.c:45
handler
void * handler
Definition: test_security_curve.cpp:27
klass
zend_class_entry * klass
Definition: php/ext/google/protobuf/protobuf.h:801
PHP_PROTO_OBJECT_FREE_START
#define PHP_PROTO_OBJECT_FREE_START(classname, lowername)
Definition: php/ext/google/protobuf/protobuf.h:181


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:04