Home
last modified time | relevance | path

Searched refs:CACHED_VALUE (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/php/ext/google/protobuf/
Dstorage.c78 return Z_STRLEN_P(CACHED_PTR_TO_ZVAL_PTR(DEREF(memory, CACHED_VALUE*))) == in native_slot_is_default()
81 return Z_TYPE_P(CACHED_PTR_TO_ZVAL_PTR(DEREF(memory, CACHED_VALUE*))) == in native_slot_is_default()
101 zval* cached_zval = CACHED_PTR_TO_ZVAL_PTR((CACHED_VALUE*)memory); in native_slot_set()
121 zval* property_ptr = CACHED_PTR_TO_ZVAL_PTR((CACHED_VALUE*)memory); in native_slot_set()
276 void native_slot_init(upb_fieldtype_t type, void* memory, CACHED_VALUE* cache) { in native_slot_init()
291 DEREF(memory, CACHED_VALUE*) = cache; in native_slot_init()
312 CACHED_VALUE* cache TSRMLS_DC) { in native_slot_get()
368 zval* value = CACHED_PTR_TO_ZVAL_PTR((CACHED_VALUE*)memory); in native_slot_get()
377 zval* value = CACHED_PTR_TO_ZVAL_PTR((CACHED_VALUE*)memory); in native_slot_get()
389 CACHED_VALUE* cache TSRMLS_DC) { in native_slot_get_by_array()
[all …]
Dencode_decode.c220 return CACHED_PTR_TO_ZVAL_PTR(DEREF(message_data(msg), *ofs, CACHED_VALUE*)); in startseq_handler()
372 new_php_string(DEREF(message_data(msg), *ofs, CACHED_VALUE*), in str_end_handler()
428 CACHED_VALUE*))) == IS_NULL) { in submsg_handler()
446 DEREF(message_data(msg), submsgdata->ofs, CACHED_VALUE*)); in submsg_handler()
597 DEREF(message_data(msg), mapdata->ofs, CACHED_VALUE*)); in startmapentry_handler()
716 DEREF(message_data(msg), oneofdata->ofs, CACHED_VALUE*)); in DEFINE_ONEOF_HANDLER()
718 *DEREF(message_data(msg), oneofdata->ofs, CACHED_VALUE*)); in DEFINE_ONEOF_HANDLER()
719 MAKE_STD_ZVAL(*DEREF(message_data(msg), oneofdata->ofs, CACHED_VALUE*)); in DEFINE_ONEOF_HANDLER()
720 ZVAL_NULL(*DEREF(message_data(msg), oneofdata->ofs, CACHED_VALUE*)); in DEFINE_ONEOF_HANDLER()
736 DEREF(message_data(msg), oneofdata->ofs, CACHED_VALUE*) = in oneofbytes_handler()
[all …]
Dprotobuf.h192 #define CACHED_VALUE zval* macro
467 #define CACHED_VALUE zval macro
943 const upb_fielddef* field, CACHED_VALUE* cache TSRMLS_DC);
1033 void native_slot_init(upb_fieldtype_t type, void* memory, CACHED_VALUE* cache);
1042 CACHED_VALUE* cache TSRMLS_DC);
1046 CACHED_VALUE* cache TSRMLS_DC);
1048 int length, CACHED_VALUE* cache TSRMLS_DC);
1050 CACHED_VALUE* cache TSRMLS_DC);
1052 CACHED_VALUE* cache TSRMLS_DC);
1085 CACHED_VALUE* map_field PHP_PROTO_TSRMLS_DC);
[all …]
Dmessage.c236 static HashTable* message_get_gc(zval* object, CACHED_VALUE** table,
374 if (Z_ISREF_P((CACHED_VALUE*)value)) {
375 value = Z_REFVAL_P((CACHED_VALUE*)value);
386 CACHED_PTR_TO_ZVAL_PTR((CACHED_VALUE*)value));
413 Z_TYPE_P(CACHED_PTR_TO_ZVAL_PTR((CACHED_VALUE*)memory)) != IS_OBJECT) {
416 CACHED_PTR_TO_ZVAL_PTR((CACHED_VALUE*)memory) TSRMLS_CC);
420 CACHED_PTR_TO_ZVAL_PTR((CACHED_VALUE*)memory) TSRMLS_CC);
429 CACHED_PTR_TO_ZVAL_PTR((CACHED_VALUE*)value));
452 Z_TYPE_P(CACHED_PTR_TO_ZVAL_PTR((CACHED_VALUE*)memory)) != IS_OBJECT) {
456 CACHED_PTR_TO_ZVAL_PTR((CACHED_VALUE*)memory) TSRMLS_CC);
[all …]
Dmap.c170 static HashTable *map_field_get_gc(zval *object, CACHED_VALUE **table, in map_field_get_gc()
248 CACHED_VALUE *map_field PHP_PROTO_TSRMLS_DC) { in map_field_create_with_field()
260 CACHED_VALUE *map_field PHP_PROTO_TSRMLS_DC) { in map_field_create_with_type()
274 CACHED_VALUE *retval TSRMLS_DC) { in map_field_read_dimension()
Darray.c77 static HashTable *repeated_field_get_gc(zval *object, CACHED_VALUE **table,
264 CACHED_VALUE *repeated_field PHP_PROTO_TSRMLS_DC) {
273 CACHED_VALUE *repeated_field PHP_PROTO_TSRMLS_DC) {
Dtype_check.c481 CACHED_PTR_TO_ZVAL_PTR((CACHED_VALUE*)memory) TSRMLS_CC); in check_repeated_field()
557 CACHED_PTR_TO_ZVAL_PTR((CACHED_VALUE*)value) TSRMLS_CC); in check_map_field()