/php-src/ext/soap/ |
H A D | php_soap.h | 219 #define Z_CLIENT_URI_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 0)) 220 #define Z_CLIENT_STYLE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 1)) 221 #define Z_CLIENT_USE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 2)) 222 #define Z_CLIENT_LOCATION_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 3)) 223 #define Z_CLIENT_TRACE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 4)) 225 #define Z_CLIENT_SDL_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 6)) 226 #define Z_CLIENT_TYPEMAP_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 7)) 228 #define Z_CLIENT_HTTPURL_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 9)) 229 #define Z_CLIENT_LOGIN_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 10)) 232 #define Z_CLIENT_DIGEST_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 13)) [all …]
|
H A D | php_encoding.h | 173 #define Z_VAR_ENC_TYPE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 0)) 174 #define Z_VAR_ENC_VALUE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 1)) 175 #define Z_VAR_ENC_STYPE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 2)) 176 #define Z_VAR_ENC_NS_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 3)) 177 #define Z_VAR_ENC_NAME_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 4)) 178 #define Z_VAR_ENC_NAMENS_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 5))
|
/php-src/ext/curl/ |
H A D | curl_file.c | 41 zend_update_property_str(curl_CURLFile_class, Z_OBJ_P(cf), "name", sizeof("name")-1, fname); in curlfile_ctor() 44 zend_update_property_str(curl_CURLFile_class, Z_OBJ_P(cf), "mime", sizeof("mime")-1, mime); in curlfile_ctor() 48 …zend_update_property_str(curl_CURLFile_class, Z_OBJ_P(cf), "postname", sizeof("postname")-1, postn… in curlfile_ctor() 73 res = zend_read_property(curl_CURLFile_class, Z_OBJ_P(ZEND_THIS), name, name_len, 1, &rv); in curlfile_get_property() 85 zend_update_property_str(curl_CURLFile_class, Z_OBJ_P(ZEND_THIS), name, name_len, arg); in curlfile_set_property() 137 …zend_update_property_str(curl_CURLStringFile_class, Z_OBJ_P(object), "data", sizeof("data") - 1, d… in ZEND_METHOD() 138 …zend_update_property_str(curl_CURLStringFile_class, Z_OBJ_P(object), "postname", sizeof("postname"… in ZEND_METHOD() 140 …zend_update_property_str(curl_CURLStringFile_class, Z_OBJ_P(object), "mime", sizeof("mime")-1, mim… in ZEND_METHOD() 142 …zend_update_property_string(curl_CURLStringFile_class, Z_OBJ_P(object), "mime", sizeof("mime")-1, … in ZEND_METHOD()
|
H A D | curl_private.h | 146 #define Z_CURL_P(zv) curl_from_obj(Z_OBJ_P(zv)) 152 #define Z_CURL_SHARE_P(zv) curl_share_from_obj(Z_OBJ_P(zv))
|
/php-src/Zend/ |
H A D | zend_exceptions.c | 121 if (Z_OBJ_P(ancestor) == Z_OBJ_P(ex)) { in zend_exception_set_previous() 125 …ancestor = zend_read_property_ex(i_get_exception_base(Z_OBJ_P(ancestor)), Z_OBJ_P(ancestor), ZSTR_… in zend_exception_set_previous() 128 base_ce = i_get_exception_base(Z_OBJ_P(ex)); in zend_exception_set_previous() 137 } while (Z_OBJ_P(ex) != add_previous); in zend_exception_set_previous() 315 base_ce = i_get_exception_base(Z_OBJ_P(object)); in ZEND_METHOD() 339 …pvalue = zend_read_property_ex(i_get_exception_base(Z_OBJ_P(object)), Z_OBJ_P(object), ZSTR_KNOWN(… 341 …zend_unset_property(i_get_exception_base(Z_OBJ_P(object)), Z_OBJ_P(object), ZSTR_VAL(ZSTR_KNOWN(id… 405 …zend_read_property_ex(i_get_exception_base(Z_OBJ_P(object)), Z_OBJ_P(object), ZSTR_KNOWN(id), 0, &… 407 …zend_read_property_ex(i_get_exception_base(Z_OBJ_P(object)), Z_OBJ_P(object), ZSTR_KNOWN(id), 1, &… 674 fci.object = Z_OBJ_P(exception); in ZEND_METHOD() [all …]
|
H A D | zend_interfaces.c | 94 ce->iterator_funcs_ptr->zf_new_iterator, Z_OBJ_P(object), retval); in zend_user_it_new_iterator() 129 …zend_call_known_instance_method_with_0_params(iter->ce->iterator_funcs_ptr->zf_valid, Z_OBJ_P(obje… in zend_user_it_valid() 145 …zend_call_known_instance_method_with_0_params(iter->ce->iterator_funcs_ptr->zf_current, Z_OBJ_P(ob… in zend_user_it_get_current_data() 156 …zend_call_known_instance_method_with_0_params(iter->ce->iterator_funcs_ptr->zf_key, Z_OBJ_P(object… in zend_user_it_get_current_key() 170 …zend_call_known_instance_method_with_0_params(iter->ce->iterator_funcs_ptr->zf_next, Z_OBJ_P(objec… in zend_user_it_move_forward() 181 …zend_call_known_instance_method_with_0_params(iter->ce->iterator_funcs_ptr->zf_rewind, Z_OBJ_P(obj… in zend_user_it_rewind() 226 ZVAL_OBJ_COPY(&iterator->it.data, Z_OBJ_P(object)); in zend_user_it_get_iterator() 245 … || (ce_it->get_iterator == zend_user_it_get_new_iterator && Z_OBJ(iterator) == Z_OBJ_P(object))) { in zend_user_it_get_new_iterator() 413 Z_OBJ_P(object), Z_OBJCE_P(object), NULL, "serialize", &retval); in zend_user_serialize() 453 Z_OBJ_P(object), Z_OBJCE_P(object), NULL, "unserialize", NULL, &zdata); in zend_user_unserialize() [all …]
|
H A D | zend_weakrefs.c | 62 #define zend_weakref_fetch(z) zend_weakref_from(Z_OBJ_P(z)) 65 #define zend_weakmap_fetch(z) zend_weakmap_from(Z_OBJ_P(z)) 365 zend_object *obj_addr = Z_OBJ_P(offset); in zend_weakmap_read_dimension() 396 zend_object *obj_addr = Z_OBJ_P(offset); in zend_weakmap_write_dimension() 426 zval *zv = zend_hash_index_find(&wm->ht, zend_object_to_weakref_key(Z_OBJ_P(offset))); in zend_weakmap_has_dimension() 446 zend_object *obj_addr = Z_OBJ_P(offset); in zend_weakmap_unset_dimension() 711 zval *zv = zend_weakmap_read_dimension(Z_OBJ_P(ZEND_THIS), key, BP_VAR_R, NULL); in ZEND_METHOD() 727 zend_weakmap_write_dimension(Z_OBJ_P(ZEND_THIS), key, value); in ZEND_METHOD() 738 RETURN_BOOL(zend_weakmap_has_dimension(Z_OBJ_P(ZEND_THIS), key, /* check_empty */ 0)); in ZEND_METHOD() 749 zend_weakmap_unset_dimension(Z_OBJ_P(ZEND_THIS), key); in ZEND_METHOD() [all …]
|
H A D | zend_generators.c | 315 Z_OBJ_P(fast_call) = NULL; in zend_generator_dtor_storage() 346 if (Z_OBJ_P(fast_call)) { in zend_generator_dtor_storage() 347 OBJ_RELEASE(Z_OBJ_P(fast_call)); in zend_generator_dtor_storage() 901 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD() 914 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD() 931 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD() 949 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD() 967 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD() 985 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD() 1021 generator = (zend_generator *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD() [all …]
|
H A D | zend_closures.c | 140 closure = (zend_closure *) Z_OBJ_P(ZEND_THIS); in ZEND_METHOD() 142 newobj = Z_OBJ_P(newthis); in ZEND_METHOD() 224 zend_closure *closure = (zend_closure *) Z_OBJ_P(zclosure); in do_closure_bind() 320 fcc.object = fci.object = Z_OBJ_P(ZEND_THIS); in ZEND_NAMED_FUNCTION() 427 zend_closure *lhs = (zend_closure*) Z_OBJ_P(o1); in zend_closure_compare() 428 zend_closure *rhs = (zend_closure*) Z_OBJ_P(o2); in zend_closure_compare() 500 zend_closure *closure = (zend_closure *)Z_OBJ_P(obj); in zend_get_closure_this_ptr() 738 closure = (zend_closure *)Z_OBJ_P(res); in zend_create_closure_ex() 829 ZVAL_OBJ_COPY(&closure->this_ptr, Z_OBJ_P(this_ptr)); in zend_create_closure_ex() 847 closure = (zend_closure *)Z_OBJ_P(res); in zend_create_fake_closure() [all …]
|
/php-src/ext/spl/ |
H A D | spl_directory.c | 708 intern = spl_filesystem_from_obj(Z_OBJ_P(ZEND_THIS)); in spl_filesystem_object_construct() 743 spl_filesystem_object *intern = spl_filesystem_from_obj(Z_OBJ_P(ZEND_THIS)); in PHP_METHOD() 778 RETURN_OBJ_COPY(Z_OBJ_P(ZEND_THIS)); in PHP_METHOD() 1099 RETURN_OBJ_COPY(Z_OBJ_P(ZEND_THIS)); in PHP_METHOD() 1131 intern = spl_filesystem_from_obj(Z_OBJ_P(ZEND_THIS)); in PHP_METHOD() 1384 RETURN_ARR(spl_filesystem_object_get_debug_info(Z_OBJ_P(ZEND_THIS))); in PHP_METHOD() 1514 subdir = spl_filesystem_from_obj(Z_OBJ_P(return_value)); in PHP_METHOD() 1635 dir_object = spl_filesystem_from_obj(Z_OBJ_P(object)); in spl_filesystem_dir_get_iterator() 1637 ZVAL_OBJ_COPY(&iterator->intern.data, Z_OBJ_P(object)); in spl_filesystem_dir_get_iterator() 1828 dir_object = spl_filesystem_from_obj(Z_OBJ_P(object)); in spl_filesystem_tree_get_iterator() [all …]
|
/php-src/ext/sqlite3/ |
H A D | php_sqlite3_structs.h | 81 #define Z_SQLITE3_DB_P(zv) php_sqlite3_db_from_obj(Z_OBJ_P((zv))) 117 #define Z_SQLITE3_RESULT_P(zv) php_sqlite3_result_from_obj(Z_OBJ_P((zv))) 136 #define Z_SQLITE3_STMT_P(zv) php_sqlite3_stmt_from_obj(Z_OBJ_P((zv)))
|
/php-src/ext/standard/ |
H A D | user_filters.c | 117 zend_call_method_if_exists(Z_OBJ_P(obj), func_name, &retval, 0, NULL); in userfilter_dtor() 359 …zend_update_property(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("bucket"), &zbucket… in PHP_FUNCTION() 362 …zend_update_property_stringl(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("data"), bu… in PHP_FUNCTION() 363 …zend_update_property_long(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("datalen"), bu… in PHP_FUNCTION() 364 …zend_update_property_long(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("dataLength"),… in PHP_FUNCTION() 389 …if (NULL == (pzbucket = zend_read_property(NULL, Z_OBJ_P(zobject), "bucket", sizeof("bucket")-1, f… in php_stream_bucket_attach() 399 …if (NULL != (pzdata = zend_read_property(NULL, Z_OBJ_P(zobject), "data", sizeof("data")-1, false, … in php_stream_bucket_attach() 463 …zend_update_property(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("bucket"), &zbucket… in PHP_FUNCTION() 466 …zend_update_property_stringl(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("data"), bu… in PHP_FUNCTION() 467 …zend_update_property_long(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("datalen"), bu… in PHP_FUNCTION() [all …]
|
H A D | var.c | 170 zend_object *zobj = Z_OBJ_P(struc); in php_var_dump() 369 zend_object *zobj = Z_OBJ_P(struc); in php_debug_zval_dump() 595 zend_object *zobj = Z_OBJ_P(struc); in php_var_export_ex() 619 zend_object *zobj = Z_OBJ_P(struc); in php_var_export_ex() 740 && (Z_OBJ_P(var)->properties == NULL || GC_REFCOUNT(Z_OBJ_P(var)->properties) == 1)) { in php_add_var_hash() 851 Z_OBJCE_P(obj)->__serialize, Z_OBJ_P(obj), retval); in php_var_serialize_call_magic_serialize() 1146 ZVAL_OBJ_COPY(&obj, Z_OBJ_P(struc)); in php_var_serialize_intern() 1220 ZVAL_OBJ_COPY(&tmp, Z_OBJ_P(struc)); in php_var_serialize_intern() 1240 if (Z_OBJ_P(struc)->properties == NULL in php_var_serialize_intern() 1243 && !zend_object_is_lazy(Z_OBJ_P(struc))) { in php_var_serialize_intern() [all …]
|
H A D | php_incomplete_class.h | 29 class_name = php_lookup_class_name(Z_OBJ_P(struc)); \
|
/php-src/ext/zend_test/ |
H A D | object_handlers.c | 51 val_1 = Z_LVAL_P(OBJ_PROP_NUM(Z_OBJ_P(op1), 0)); in donc_add() 56 val_2 = Z_LVAL_P(OBJ_PROP_NUM(Z_OBJ_P(op2), 0)); in donc_add() 68 val_1 = Z_LVAL_P(OBJ_PROP_NUM(Z_OBJ_P(op1), 0)); in donc_mul() 73 val_2 = Z_LVAL_P(OBJ_PROP_NUM(Z_OBJ_P(op2), 0)); in donc_mul() 122 ZVAL_LONG(OBJ_PROP_NUM(Z_OBJ_P(ZEND_THIS), 0), l); in ZEND_METHOD() 158 ZVAL_LONG(OBJ_PROP_NUM(Z_OBJ_P(ZEND_THIS), 0), l); in ZEND_METHOD() 194 ZVAL_DOUBLE(OBJ_PROP_NUM(Z_OBJ_P(ZEND_THIS), 0), d); in ZEND_METHOD() 232 ZVAL_COPY(OBJ_PROP_NUM(Z_OBJ_P(ZEND_THIS), 0), n); in ZEND_METHOD()
|
/php-src/ext/date/ |
H A D | php_date.h | 67 #define Z_PHPDATE_P(zv) php_date_obj_from_obj(Z_OBJ_P((zv))) 84 #define Z_PHPTIMEZONE_P(zv) php_timezone_obj_from_obj(Z_OBJ_P((zv))) 102 #define Z_PHPINTERVAL_P(zv) php_interval_obj_from_obj(Z_OBJ_P((zv))) 121 #define Z_PHPPERIOD_P(zv) php_period_obj_from_obj(Z_OBJ_P((zv)))
|
/php-src/ext/json/ |
H A D | json_encoder.c | 142 } else if (Z_OBJ_P(val)->properties == NULL in php_json_encode_array() 145 && Z_OBJ_P(val)->ce->num_hooked_props == 0 in php_json_encode_array() 146 && !zend_object_is_lazy(Z_OBJ_P(val))) { in php_json_encode_array() 148 zend_object *obj = Z_OBJ_P(val); in php_json_encode_array() 222 zend_object *obj = Z_OBJ_P(val); in php_json_encode_array() 286 zend_read_property_ex(prop_info->ce, Z_OBJ_P(val), prop_info->name, /* silent */ true, &tmp); in php_json_encode_array() 585 zend_object *obj = Z_OBJ_P(val); in php_json_encode_serializable_object() 630 (Z_OBJ(retval) == Z_OBJ_P(val))) { in php_json_encode_serializable_object() 656 zval *value_zv = zend_enum_fetch_case_value(Z_OBJ_P(val)); in php_json_encode_serializable_enum()
|
/php-src/ext/xmlwriter/ |
H A D | php_xmlwriter.h | 46 #define Z_XMLWRITER_P(zv) php_xmlwriter_fetch_object(Z_OBJ_P((zv)))
|
/php-src/ext/xmlreader/ |
H A D | php_xmlreader.h | 53 #define Z_XMLREADER_P(zv) php_xmlreader_fetch_object(Z_OBJ_P((zv)))
|
/php-src/ext/intl/formatter/ |
H A D | formatter_class.h | 33 #define Z_INTL_NUMBERFORMATTER_P(zv) php_intl_number_format_fetch_object(Z_OBJ_P(zv))
|
/php-src/ext/intl/msgformat/ |
H A D | msgformat_class.h | 37 #define Z_INTL_MESSAGEFORMATTER_P(zv) php_intl_messageformatter_fetch_object(Z_OBJ_P(zv))
|
/php-src/ext/intl/dateformat/ |
H A D | dateformat_class.h | 36 #define Z_INTL_DATEFORMATTER_P(zv) php_intl_dateformatter_fetch_object(Z_OBJ_P(zv))
|
H A D | datepatterngenerator_class.h | 42 #define Z_INTL_DATEPATTERNGENERATOR_P(zv) php_intl_datepatterngenerator_fetch_object(Z_OBJ_P(zv))
|
/php-src/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.h | 36 #define Z_INTL_RESOURCEBUNDLE_P(zv) php_intl_resourcebundle_fetch_object(Z_OBJ_P(zv))
|
/php-src/ext/simplexml/ |
H A D | php_simplexml_exports.h | 45 #define Z_SXEOBJ_P(zv) php_sxe_fetch_object(Z_OBJ_P((zv)))
|