/php-src/ext/opcache/jit/ |
H A D | zend_jit_internal.h | 37 #define ZEND_ADDR_CONST_ZVAL(zv) \ argument 38 (((zend_jit_addr)(uintptr_t)(zv)) | IS_CONST_ZVAL) 71 ZEND_ADDR_CONST_ZVAL((opline)->op.zv) : \
|
H A D | zend_jit.c | 544 zval *zv; in zend_jit_is_persistent_constant() local 548 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in zend_jit_is_persistent_constant() 549 if (zv) { in zend_jit_is_persistent_constant() 550 c = (zend_constant*)Z_PTR_P(zv); in zend_jit_is_persistent_constant() 553 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in zend_jit_is_persistent_constant() 554 if (zv) { in zend_jit_is_persistent_constant() 555 c = (zend_constant*)Z_PTR_P(zv); in zend_jit_is_persistent_constant() 2635 zval *zv = RT_CONSTANT(opline, opline->op1); in zend_jit() local 2636 if (Z_TYPE_P(zv) == IS_STRING) { in zend_jit() 2637 zval *lc = zv + 1; in zend_jit()
|
H A D | zend_jit_helpers.c | 130 static void ZEND_FASTCALL zend_jit_unref_helper(zval *zv) in zend_jit_unref_helper() argument 134 ZEND_ASSERT(Z_ISREF_P(zv)); in zend_jit_unref_helper() 135 ref = Z_REF_P(zv); in zend_jit_unref_helper() 136 ZVAL_COPY_VALUE(zv, &ref->val); in zend_jit_unref_helper() 140 Z_TRY_ADDREF_P(zv); in zend_jit_unref_helper() 2214 zval *zv = EX_VAR(opline->result.var); in zend_jit_extract_helper() local 2216 if (EXPECTED(Z_TYPE_P(zv) == IS_INDIRECT)) { in zend_jit_extract_helper() 2217 ZVAL_COPY(zv, Z_INDIRECT_P(zv)); in zend_jit_extract_helper()
|
/php-src/Zend/ |
H A D | zend_execute.h | 70 ZEND_API bool ZEND_FASTCALL zend_verify_ref_assignable_zval(zend_reference *ref, zval *zv, bool str… 79 …_API ZEND_COLD void zend_throw_ref_type_error_zval(const zend_property_info *prop, const zval *zv); 80 …_type_error_type(const zend_property_info *prop1, const zend_property_info *prop2, const zval *zv);
|
H A D | zend_string.c | 65 static void _str_dtor(zval *zv) in _str_dtor() argument 67 zend_string *str = Z_STR_P(zv); in _str_dtor()
|
H A D | zend_API.c | 2444 zend_module_entry *module = Z_PTR_P(zv); in zend_startup_module_zval() 3424 zval *zv; in zend_post_deactivate_modules() local 3433 module = Z_PTR_P(zv); in zend_post_deactivate_modules() 3559 zval zv, *ret; in zend_register_class_alias_ex() local 3582 ZVAL_ALIAS_PTR(&zv, ce); in zend_register_class_alias_ex() 3860 zval *zv; in zend_is_callable_check_func() local 3975 fcc->function_handler = Z_PTR_P(zv); in zend_is_callable_check_func() 3984 if (zv != NULL) { in zend_is_callable_check_func() 3985 zend_function *priv_fbc = Z_PTR_P(zv); in zend_is_callable_check_func() 4770 ZVAL_COPY_VALUE(&tmp, zv); in zend_try_assign_typed_ref_zval() [all …]
|
H A D | zend_language_scanner.l | 299 ZEND_API zend_result zend_lex_tstring(zval *zv, unsigned char *ident) in zend_lex_tstring() argument 317 ZVAL_STRINGL(zv, (char *) ident, length); in zend_lex_tstring() 2709 zval zv; 2712 ZVAL_UNDEF(&zv); 2713 retval = lex_scan(&zv, NULL); 2714 zval_ptr_dtor_nogc(&zv);
|
/php-src/ext/hash/ |
H A D | hash_gost.c | 307 static int php_gost_unserialize(php_hashcontext_object *hash, zend_long magic, const zval *zv) in php_gost_unserialize() argument 312 && (r = php_hash_unserialize_spec(hash, zv, PHP_GOST_SPEC)) == SUCCESS in php_gost_unserialize()
|
/php-src/ext/curl/ |
H A D | multi.c | 57 #define Z_CURL_MULTI_P(zv) curl_multi_from_obj(Z_OBJ_P(zv)) argument
|
/php-src/ext/dom/ |
H A D | element.c | 1898 zval zv; in dom_element_get_in_scope_namespace_info() local 1899 ZVAL_PTR(&zv, ns); in dom_element_get_in_scope_namespace_info() 1900 zend_hash_str_add(&prefix_to_ns_table, key, strlen(key), &zv); in dom_element_get_in_scope_namespace_info() 1914 zval zv; in dom_element_get_in_scope_namespace_info() local 1915 object_init_ex(&zv, dom_namespace_info_class_entry); in dom_element_get_in_scope_namespace_info() 1916 zend_object *obj = Z_OBJ(zv); in dom_element_get_in_scope_namespace_info() 1932 zend_hash_next_index_insert_new(result, &zv); in dom_element_get_in_scope_namespace_info()
|
H A D | xpath_callbacks.c | 29 static void xpath_callbacks_entry_dtor(zval *zv) in xpath_callbacks_entry_dtor() argument 31 zend_fcall_info_cache *fcc = Z_PTR_P(zv); in xpath_callbacks_entry_dtor()
|
/php-src/ext/com_dotnet/ |
H A D | com_saproxy.c | 58 #define SA_FETCH(zv) (php_com_saproxy*)Z_OBJ_P(zv) argument
|
/php-src/ext/zend_test/ |
H A D | test.c | 177 zval *zv; in ZEND_FUNCTION() local 179 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &zv) == FAILURE) { in ZEND_FUNCTION() 183 if (!Z_REFCOUNTED_P(zv)) { in ZEND_FUNCTION() 188 Z_ADDREF_P(zv); in ZEND_FUNCTION()
|
/php-src/ext/zlib/ |
H A D | zlib.c | 55 #define Z_INFLATE_CONTEXT_P(zv) inflate_context_from_obj(Z_OBJ_P(zv)) argument 93 #define Z_DEFLATE_CONTEXT_P(zv) deflate_context_from_obj(Z_OBJ_P(zv)) argument
|
/php-src/ext/openssl/ |
H A D | xp_ssl.c | 1345 zval *zv; in php_openssl_set_server_specific_opts() local 1366 zv = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "ssl", "single_dh_use"); in php_openssl_set_server_specific_opts() 1367 if (zv == NULL || zend_is_true(zv)) { in php_openssl_set_server_specific_opts() 1371 zv = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "ssl", "honor_cipher_order"); in php_openssl_set_server_specific_opts() 1372 if (zv == NULL || zend_is_true(zv)) { in php_openssl_set_server_specific_opts()
|
/php-src/ext/phar/ |
H A D | tar.c | 863 static int phar_tar_writeheaders(zval *zv, void *argument) /* {{{ */ in phar_tar_writeheaders() argument 865 return phar_tar_writeheaders_int(Z_PTR_P(zv), argument); in phar_tar_writeheaders() 902 static int phar_tar_setupmetadata(zval *zv, void *argument) /* {{{ */ in phar_tar_setupmetadata() argument 907 phar_entry_info *entry = (phar_entry_info *)Z_PTR_P(zv), *metadata, newentry = {0}; in phar_tar_setupmetadata()
|
H A D | util.c | 2087 static void phar_manifest_copy_ctor(zval *zv) /* {{{ */ in phar_manifest_copy_ctor() argument 2090 memcpy(info, Z_PTR_P(zv), sizeof(phar_entry_info)); in phar_manifest_copy_ctor() 2091 Z_PTR_P(zv) = info; in phar_manifest_copy_ctor() 2142 zval zv, *pzv; in phar_copy_on_write() local 2145 ZVAL_PTR(&zv, *pphar); in phar_copy_on_write() 2146 … (pzv = zend_hash_str_add(&(PHAR_G(phar_fname_map)), (*pphar)->fname, (*pphar)->fname_len, &zv))) { in phar_copy_on_write()
|
/php-src/docs/source/core/data-structures/ |
H A D | zval.rst | 55 zval *zv; 181 ``IS_INDIRECT`` indicates that the ``zval.value.zv`` member is populated. This field stores a
|
/php-src/main/ |
H A D | php_streams.h | 452 …php_stream_populate_meta_data(stream, zv) (_php_stream_set_option((stream), PHP_STREAM_OPTION_META… argument
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_debug.c | 683 static void free_ptr(zval *zv) { in free_ptr() argument 684 efree(Z_PTR_P(zv)); in free_ptr()
|
H A D | mysqlnd_structs.h | 753 …one_parameter)(MYSQLND_STMT * const stmt, unsigned int param_no, zval * const zv, zend_uchar type); 1238 zval zv; member 1245 zval zv; member
|
/php-src/ext/sodium/ |
H A D | libsodium.c | 148 static void sodium_separate_string(zval *zv) { in sodium_separate_string() argument 149 ZEND_ASSERT(Z_TYPE_P(zv) == IS_STRING); in sodium_separate_string() 150 if (!Z_REFCOUNTED_P(zv) || Z_REFCOUNT_P(zv) > 1) { in sodium_separate_string() 151 zend_string *copy = zend_string_init(Z_STRVAL_P(zv), Z_STRLEN_P(zv), 0); in sodium_separate_string() 152 Z_TRY_DELREF_P(zv); in sodium_separate_string() 153 ZVAL_STR(zv, copy); in sodium_separate_string()
|
/php-src/ext/mysqli/ |
H A D | mysqli_api.c | 113 ZVAL_COPY_VALUE(¶ms[i].zv, &args[i]); in mysqli_stmt_bind_param_do_bind() 166 ZVAL_COPY_VALUE(¶ms[i].zv, &args[i]); in mysqli_stmt_bind_result_do_bind() 442 ZVAL_COPY_VALUE(¶ms[index].zv, tmp); in PHP_FUNCTION() 557 ZVAL_COPY_VALUE(¶ms[index].zv, tmp); in PHP_FUNCTION()
|
/php-src/ext/intl/converter/ |
H A D | converter.c | 40 #define Z_INTL_CONVERTER_P(zv) php_converter_fetch_object(Z_OBJ_P(zv)) argument
|
/php-src/ext/spl/ |
H A D | spl_fixedarray.c | 63 #define Z_SPLFIXEDARRAY_P(zv) spl_fixed_array_from_obj(Z_OBJ_P((zv))) argument
|