/php-src/ext/soap/ |
H A D | php_soap.h | 216 return zv; in php_soap_deref() 219 #define Z_CLIENT_URI_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 0)) argument 220 #define Z_CLIENT_STYLE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 1)) argument 221 #define Z_CLIENT_USE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 2)) argument 223 #define Z_CLIENT_TRACE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 4)) argument 225 #define Z_CLIENT_SDL_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 6)) argument 226 #define Z_CLIENT_TYPEMAP_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 7)) argument 228 #define Z_CLIENT_HTTPURL_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 9)) argument 229 #define Z_CLIENT_LOGIN_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 10)) argument 232 #define Z_CLIENT_DIGEST_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 13)) argument [all …]
|
H A D | php_schema.h | 27 void delete_model(zval *zv); 28 void delete_model_persistent(zval *zv); 29 void delete_type(zval *zv); 30 void delete_type_persistent(zval *zv); 31 void delete_extra_attribute(zval *zv); 32 void delete_extra_attribute_persistent(zval *zv); 33 void delete_attribute(zval *zv); 34 void delete_attribute_persistent(zval *zv); 37 void delete_restriction_var_char(zval *zv); 39 void delete_restriction_var_char_persistent(zval *zv);
|
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)) argument 174 #define Z_VAR_ENC_VALUE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 1)) argument 175 #define Z_VAR_ENC_STYPE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 2)) argument 176 #define Z_VAR_ENC_NS_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 3)) argument 177 #define Z_VAR_ENC_NAME_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 4)) argument 178 #define Z_VAR_ENC_NAMENS_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 5)) argument 215 void delete_encoder(zval *zv); 216 void delete_encoder_persistent(zval *zv);
|
/php-src/Zend/Optimizer/ |
H A D | sccp.c | 90 #define IS_TOP(zv) (Z_TYPE_P(zv) == TOP) argument 91 #define IS_BOT(zv) (Z_TYPE_P(zv) == BOT) argument 92 #define IS_PARTIAL_ARRAY(zv) (Z_TYPE_P(zv) == PARTIAL_ARRAY) argument 93 #define IS_PARTIAL_OBJECT(zv) (Z_TYPE_P(zv) == PARTIAL_OBJECT) argument 98 #define MAKE_TOP(zv) (Z_TYPE_INFO_P(zv) = TOP) argument 99 #define MAKE_BOT(zv) (Z_TYPE_INFO_P(zv) = BOT) argument 144 return !IS_TOP(zv) && !IS_BOT(zv); in value_known() 295 zval zv; in try_replace_op1() local 308 zval zv; in try_replace_op2() local 411 zval zv; in ct_eval_isset_isempty() local [all …]
|
H A D | zend_inference.h | 44 return (Z_TYPE_P(zv) == IS_LONG); \ 59 if (Z_TYPE_P(zv) == IS_LONG) { \ 60 return Z_LVAL_P(zv); \ 76 if (Z_TYPE_P(zv) == IS_LONG) { \ 77 return Z_LVAL_P(zv); \ 93 if (Z_TYPE_P(zv) == IS_LONG) { \ 110 if (Z_TYPE_P(zv) == IS_LONG) { \ 149 if (Z_TYPE_P(zv) == IS_CONSTANT_AST) { in END_EXTERN_C() 152 return zend_array_type_info(zv); in END_EXTERN_C() 154 uint32_t tmp = (1 << Z_TYPE_P(zv)); in END_EXTERN_C() [all …]
|
/php-src/Zend/ |
H A D | zend_gc.c | 932 zv++; in gc_scan_black() 949 zv = Z_INDIRECT_P(zv); in gc_scan_black() 960 zv = Z_INDIRECT_P(zv); in gc_scan_black() 1124 zv = Z_INDIRECT_P(zv); in gc_mark_grey() 1135 zv = Z_INDIRECT_P(zv); in gc_mark_grey() 1336 zv = Z_INDIRECT_P(zv); in gc_scan() 1346 zv = Z_INDIRECT_P(zv); in gc_scan() 1577 zv = Z_INDIRECT_P(zv); in gc_collect_white() 1588 zv = Z_INDIRECT_P(zv); in gc_collect_white() 1764 zv = Z_INDIRECT_P(zv); in gc_remove_nested_data_from_buffer() [all …]
|
H A D | zend_list.c | 34 zval zv; in zend_list_insert() local 89 zval *zv; in zend_register_resource() local 93 return Z_RES_P(zv); in zend_register_resource() 176 zend_resource *res = Z_RES_P(zv); in list_entry_destructor() 178 ZVAL_UNDEF(zv); in list_entry_destructor() 187 zend_resource *res = Z_RES_P(zv); in plist_entry_destructor() 268 zval zv; in zend_register_list_destructors_ex() local 276 ZVAL_PTR(&zv, lde); in zend_register_list_destructors_ex() 300 free(Z_PTR_P(zv)); in list_destructors_dtor() 330 zval *zv; in zend_register_persistent_resource_ex() local [all …]
|
H A D | zend_hash.h | 427 zval *zv; in zend_hash_find_ind() local 430 return (zv && Z_TYPE_P(zv) == IS_INDIRECT) ? in zend_hash_find_ind() 431 ((Z_TYPE_P(Z_INDIRECT_P(zv)) != IS_UNDEF) ? Z_INDIRECT_P(zv) : NULL) : zv; in zend_hash_find_ind() 440 return (zv && Z_TYPE_P(zv) == IS_INDIRECT) ? in zend_hash_find_ex_ind() 441 ((Z_TYPE_P(Z_INDIRECT_P(zv)) != IS_UNDEF) ? Z_INDIRECT_P(zv) : NULL) : zv; in zend_hash_find_ex_ind() 450 return zv && (Z_TYPE_P(zv) != IS_INDIRECT || in zend_hash_exists_ind() 460 return (zv && Z_TYPE_P(zv) == IS_INDIRECT) ? in zend_hash_str_find_ind() 461 ((Z_TYPE_P(Z_INDIRECT_P(zv)) != IS_UNDEF) ? Z_INDIRECT_P(zv) : NULL) : zv; in zend_hash_str_find_ind() 470 return zv && (Z_TYPE_P(zv) != IS_INDIRECT || in zend_hash_str_exists_ind() 804 return zv ? Z_PTR_P(zv) : NULL; in zend_hash_index_add_ptr() [all …]
|
H A D | zend_weakrefs.c | 171 if (zv) { in zend_weakrefs_hash_add() 174 return zv; in zend_weakrefs_hash_add() 179 if (zv) { in zend_weakrefs_hash_del() 367 if (zv == NULL) { in zend_weakmap_read_dimension() 377 ZVAL_MAKE_REF(zv); in zend_weakmap_read_dimension() 379 return zv; in zend_weakmap_read_dimension() 401 if (zv) { in zend_weakmap_write_dimension() 427 if (!zv) { in zend_weakmap_has_dimension() 555 ZEND_ASSERT(zv); in zend_weakmap_get_object_key_entry_gc() 589 ZEND_ASSERT(zv); in zend_weakmap_get_object_entry_gc() [all …]
|
H A D | zend_API.h | 1028 #define RETVAL_COPY(zv) ZVAL_COPY(return_value, zv) argument 1029 #define RETVAL_COPY_VALUE(zv) ZVAL_COPY_VALUE(return_value, zv) argument 1030 #define RETVAL_COPY_DEREF(zv) ZVAL_COPY_DEREF(return_value, zv) argument 1101 zval *_zv = zv; \ 1123 zval *_zv = zv; \ 1145 zval *_zv = zv; \ 1167 zval *_zv = zv; \ 1189 zval *_zv = zv; \ 1486 zv = &ref->val; in zend_try_array_init_size() 1490 ZVAL_NULL(zv); in zend_try_array_init_size() [all …]
|
H A D | zend_gc.h | 91 zval *zv = &((zend_reference*)ref)->val; in gc_check_possible_root() local 93 if (!Z_COLLECTABLE_P(zv)) { in gc_check_possible_root() 96 ref = Z_COUNTED_P(zv); in gc_check_possible_root() 125 zend_get_gc_buffer *gc_buffer, zval *zv) { in zend_get_gc_buffer_add_zval() argument 126 if (Z_REFCOUNTED_P(zv)) { in zend_get_gc_buffer_add_zval() 130 ZVAL_COPY_VALUE(gc_buffer->cur, zv); in zend_get_gc_buffer_add_zval()
|
H A D | zend_vm_trace_handlers.h | 33 zval tmp, *zv; in zend_vm_trace() local 40 zv = zend_hash_str_find(&vm_trace_ht, buf, len); in zend_vm_trace() 41 if (EXPECTED(zv)) { in zend_vm_trace() 42 if (EXPECTED(Z_LVAL_P(zv) < ZEND_LONG_MAX)) { in zend_vm_trace() 43 Z_LVAL_P(zv)++; in zend_vm_trace()
|
H A D | zend_vm_execute.skl | 111 zval *zv; 116 zv = zend_hash_index_find(zend_handlers_table, (zend_long)(uintptr_t)op->handler); 117 ZEND_ASSERT(zv != NULL); 118 op->handler = (const void *)(uintptr_t)Z_LVAL_P(zv); 131 zval *zv; 136 zv = zend_hash_index_find(zend_handlers_table, (zend_long)(uintptr_t)op->handler); 137 ZEND_ASSERT(zv != NULL); 138 return zend_opcode_handler_funcs[Z_LVAL_P(zv)];
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 452 zval *zv; in phpdbg_parse_variable_with_arg() local 532 } else if (Z_ISREF_P(zv)) { in phpdbg_parse_variable_with_arg() 540 ZVAL_DEREF(zv); in phpdbg_parse_variable_with_arg() 556 while (Z_TYPE_P(zv) == IS_INDIRECT) { in phpdbg_parse_variable_with_arg() 557 zv = Z_INDIRECT_P(zv); in phpdbg_parse_variable_with_arg() 574 parent = Z_OBJPROP_P(zv); in phpdbg_parse_variable_with_arg() 583 parent = Z_ARRVAL_P(zv); in phpdbg_parse_variable_with_arg() 584 } else if (Z_ISREF_P(zv)) { in phpdbg_parse_variable_with_arg() 592 ZVAL_DEREF(zv); in phpdbg_parse_variable_with_arg() 664 switch (Z_TYPE_P(zv)) { in phpdbg_short_zval_print() [all …]
|
H A D | phpdbg_watch.c | 599 zval *zv; local 602 zv = element->watch->addr.zv; 604 zv = Z_INDIRECT_P(zv); 606 ZVAL_DEREF(zv); 612 if ((Z_TYPE_P(zv) != IS_ARRAY && Z_TYPE_P(zv) != IS_OBJECT) 720 zval *zv; local 782 zv = element->parent->watch->addr.zv; 784 zv = Z_INDIRECT_P(zv); 1019 zval *zv; local 1264 ZVAL_DEREF(zv); [all …]
|
/php-src/ext/sockets/ |
H A D | conversions.h | 46 typedef void (to_zval_read_field)(const char *data, zval *zv, res_context *ctx); 57 void to_zval_read_int(const char *data, zval *zv, res_context *ctx); 61 void to_zval_read_in6_pktinfo(const char *data, zval *zv, res_context *ctx); 66 void to_zval_read_ucred(const char *data, zval *zv, res_context *ctx); 72 void to_zval_read_fd_array(const char *data, zval *zv, res_context *ctx); 77 void to_zval_read_msghdr(const char *msghdr_c, zval *zv, res_context *ctx); 92 struct err_s *err, zval *zv);
|
H A D | conversions.c | 576 ZVAL_NEW_STR(zv, str); in to_zval_read_sin_addr() 584 Z_STRLEN_P(zv) = strlen(Z_STRVAL_P(zv)); in to_zval_read_sin_addr() 635 Z_STRLEN_P(zv) = strlen(Z_STRVAL_P(zv)); in to_zval_read_sin6_addr() 809 ZVAL_NULL(zv); in to_zval_read_sockaddr_aux() 813 array_init(zv); in to_zval_read_sockaddr_aux() 1026 array_init(zv); in to_zval_read_control_array() 1063 ZVAL_NULL(zv); in to_zval_read_name() 1543 ZVAL_NULL(zv); in to_zval_run_conversions() 1548 zval_ptr_dtor(zv); in to_zval_run_conversions() 1549 ZVAL_UNDEF(zv); in to_zval_run_conversions() [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))) argument 117 #define Z_SQLITE3_RESULT_P(zv) php_sqlite3_result_from_obj(Z_OBJ_P((zv))) argument 136 #define Z_SQLITE3_STMT_P(zv) php_sqlite3_stmt_from_obj(Z_OBJ_P((zv))) argument
|
/php-src/ext/intl/calendar/ |
H A D | calendar_class.cpp | 135 zval zv, in Calendar_get_debug_info() local 149 ZVAL_FALSE(&zv); in Calendar_get_debug_info() 150 zend_hash_str_update(debug_info, "valid", sizeof("valid") - 1, &zv); in Calendar_get_debug_info() 153 ZVAL_TRUE(&zv); in Calendar_get_debug_info() 154 zend_hash_str_update(debug_info, "valid", sizeof("valid") - 1, &zv); in Calendar_get_debug_info() 156 ZVAL_STRING(&zv, const_cast<char*>(cal->getType())); in Calendar_get_debug_info() 157 zend_hash_str_update(debug_info, "type", sizeof("type") - 1, &zv); in Calendar_get_debug_info() 180 ZVAL_STRING(&zv, const_cast<char*>(locale.getName())); in Calendar_get_debug_info() 181 zend_hash_str_update(debug_info, "locale", sizeof("locale") - 1, &zv); in Calendar_get_debug_info() 183 ZVAL_STRING(&zv, const_cast<char*>(u_errorName(uec))); in Calendar_get_debug_info() [all …]
|
/php-src/ext/pdo_dblib/ |
H A D | dblib_stmt.c | 334 ZVAL_STRINGL(zv, tmp_data, data_len); in pdo_dblib_stmt_stringify_col() 336 ZVAL_EMPTY_STRING(zv); in pdo_dblib_stmt_stringify_col() 398 ZVAL_STRINGL(zv, tmp_data, dl); in pdo_dblib_stmt_get_col() 405 ZVAL_DOUBLE(zv, *(DBFLT4 *) data); in pdo_dblib_stmt_get_col() 408 ZVAL_DOUBLE(zv, *(DBFLT8 *) data); in pdo_dblib_stmt_get_col() 411 ZVAL_LONG(zv, *(DBBIGINT *) data); in pdo_dblib_stmt_get_col() 414 ZVAL_LONG(zv, *(DBINT *) data); in pdo_dblib_stmt_get_col() 417 ZVAL_LONG(zv, *(DBSMALLINT *) data); in pdo_dblib_stmt_get_col() 421 ZVAL_LONG(zv, *(DBTINYINT *) data); in pdo_dblib_stmt_get_col() 430 ZVAL_DOUBLE(zv, float_value); in pdo_dblib_stmt_get_col() [all …]
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_ps_codec.c | 95 DBG_INF_FMT("zv=%p byte_count=%u", zv, byte_count); in ps_fetch_from_1_to_8_bytes() 117 ZVAL_STR(zv, zend_u64_to_str(uval)); in ps_fetch_from_1_to_8_bytes() 125 ZVAL_STR(zv, zend_u64_to_str(uval)); in ps_fetch_from_1_to_8_bytes() 146 ZVAL_STR(zv, zend_i64_to_str(lval)); in ps_fetch_from_1_to_8_bytes() 164 ZVAL_NULL(zv); in ps_fetch_null() 227 ZVAL_DOUBLE(zv, dval); in ps_fetch_float() 245 ZVAL_DOUBLE(zv, value); in ps_fetch_double() 403 ZVAL_STRINGL_FAST(zv, (char *)*row, length); in ps_fetch_string() 615 zval *parameter = &stmt->param_bind[i].zv; in mysqlnd_stmt_execute_prepare_param_types() 667 zval *parameter = &stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_types() [all …]
|
/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))) argument 84 #define Z_PHPTIMEZONE_P(zv) php_timezone_obj_from_obj(Z_OBJ_P((zv))) argument 102 #define Z_PHPINTERVAL_P(zv) php_interval_obj_from_obj(Z_OBJ_P((zv))) argument 121 #define Z_PHPPERIOD_P(zv) php_period_obj_from_obj(Z_OBJ_P((zv))) argument
|
/php-src/ext/opcache/ |
H A D | zend_file_cache.c | 398 ht = Z_ARR_P(zv); 408 ast = Z_AST_P(zv); 432 attr = Z_PTR_P(zv); 657 func = Z_PTR_P(zv); 672 prop = Z_PTR_P(zv); 711 c = Z_PTR_P(zv); 737 ce = Z_PTR_P(zv); 1306 attr = Z_PTR_P(zv); 1528 func = Z_PTR_P(zv); 1574 c = Z_PTR_P(zv); [all …]
|
/php-src/ext/intl/timezone/ |
H A D | timezone_class.cpp | 280 zval zv; in TimeZone_get_debug_info() local 296 ZVAL_FALSE(&zv); in TimeZone_get_debug_info() 297 zend_hash_str_update(debug_info, "valid", sizeof("valid") - 1, &zv); in TimeZone_get_debug_info() 301 ZVAL_TRUE(&zv); in TimeZone_get_debug_info() 302 zend_hash_str_update(debug_info, "valid", sizeof("valid") - 1, &zv); in TimeZone_get_debug_info() 310 ZVAL_NEW_STR(&zv, u8str); in TimeZone_get_debug_info() 311 zend_hash_str_update(debug_info, "id", sizeof("id") - 1, &zv); in TimeZone_get_debug_info() 320 ZVAL_LONG(&zv, (zend_long)rawOffset); in TimeZone_get_debug_info() 321 zend_hash_str_update(debug_info,"rawOffset", sizeof("rawOffset") - 1, &zv); in TimeZone_get_debug_info() 322 ZVAL_LONG(&zv, (zend_long)(rawOffset + dstOffset)); in TimeZone_get_debug_info() [all …]
|
/php-src/ext/com_dotnet/ |
H A D | php_com_dotnet_internal.h | 51 static inline bool php_com_is_valid_object(zval *zv) in php_com_is_valid_object() argument 53 zend_class_entry *ce = Z_OBJCE_P(zv); in php_com_is_valid_object() 59 #define CDNO_FETCH(zv) (php_com_dotnet_object*)Z_OBJ_P(zv) argument 60 #define CDNO_FETCH_VERIFY(obj, zv) do { \ argument 61 if (!php_com_is_valid_object(zv)) { \ 65 obj = (php_com_dotnet_object*)Z_OBJ_P(zv); \
|