Searched refs:PROTOBUF_G (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/php/ext/google/protobuf/ |
D | message.c | 236 return_value.handlers = PROTOBUF_G(message_handlers); in message_create() 264 if (PROTOBUF_G(message_handlers) == NULL) { in build_class_from_descriptor() 265 PROTOBUF_G(message_handlers) = ALLOC(zend_object_handlers); in build_class_from_descriptor() 266 memcpy(PROTOBUF_G(message_handlers), zend_get_std_object_handlers(), in build_class_from_descriptor() 268 PROTOBUF_G(message_handlers)->write_property = message_set_property; in build_class_from_descriptor() 269 PROTOBUF_G(message_handlers)->read_property = message_get_property; in build_class_from_descriptor()
|
D | protobuf.c | 15 uint nIndex = (ulong)def & PROTOBUF_G(upb_def_to_php_obj_map).nTableMask; in add_def_obj() 19 zend_hash_index_update(&PROTOBUF_G(upb_def_to_php_obj_map), (zend_ulong)def, in add_def_obj() 25 if (zend_hash_index_find(&PROTOBUF_G(upb_def_to_php_obj_map), (zend_ulong)def, in get_def_obj()
|
D | def.c | 99 if (PROTOBUF_G(generated_pool) == NULL) { in ZEND_FUNCTION() 100 MAKE_STD_ZVAL(PROTOBUF_G(generated_pool)); in ZEND_FUNCTION() 101 Z_TYPE_P(PROTOBUF_G(generated_pool)) = IS_OBJECT; in ZEND_FUNCTION() 104 Z_OBJ_HANDLE_P(PROTOBUF_G(generated_pool)) = zend_objects_store_put( in ZEND_FUNCTION() 107 Z_OBJ_HT_P(PROTOBUF_G(generated_pool)) = zend_get_std_object_handlers(); in ZEND_FUNCTION() 109 RETURN_ZVAL(PROTOBUF_G(generated_pool), 1, 0); in ZEND_FUNCTION()
|
D | protobuf.h | 49 #define PROTOBUF_G(v) TSRMG(protobuf_globals_id, zend_protobuf_globals*, v) macro 51 #define PROTOBUF_G(v) (protobuf_globals.v)
|