Searched refs:PROTOBUF_G (Results 1 - 1 of 1) sorted by relevance
/third_party/protobuf/php/ext/google/protobuf/ |
H A D | protobuf.c | 50 // * PROTOBUF_G(var) accesses the thread-local variable for 'var'. Either: 51 // * PROTOBUF_G(var) -> protobuf_globals.var (Non-ZTS / non-thread-safe) 52 // * PROTOBUF_G(var) -> <Zend magic> (ZTS / thread-safe builds) 54 #define PROTOBUF_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(protobuf, v) macro 83 return &PROTOBUF_G(generated_pool); in ZEND_END_MODULE_GLOBALS() 162 upb_symtab *symtab = PROTOBUF_G(saved_symtab); in PHP_RINIT_FUNCTION() 163 DescriptorPool_CreateWithSymbolTable(&PROTOBUF_G(generated_pool), symtab); in PHP_RINIT_FUNCTION() 169 zend_hash_init(&PROTOBUF_G(object_cache), 64, NULL, NULL, 0); in PHP_RINIT_FUNCTION() 170 zend_hash_init(&PROTOBUF_G(name_msg_cache), 64, NULL, NULL, 0); in PHP_RINIT_FUNCTION() 171 zend_hash_init(&PROTOBUF_G(name_enum_cach in PHP_RINIT_FUNCTION() [all...] |
Completed in 2 milliseconds