Home
last modified time | relevance | path

Searched refs:zv (Results 1 – 25 of 210) sorted by relevance

123456789

/php-src/ext/soap/
H A Dphp_soap.h216 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 Dphp_schema.h27 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 Dphp_encoding.h173 #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 Dsccp.c90 #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 Dzend_inference.h44 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 Dzend_gc.c932 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 Dzend_list.c34 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 Dzend_hash.h427 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 Dzend_weakrefs.c171 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 Dzend_API.h1028 #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 Dzend_gc.h91 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 Dzend_vm_trace_handlers.h33 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 Dzend_vm_execute.skl111 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 Dphpdbg_utils.c452 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 Dphpdbg_watch.c599 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 Dconversions.h46 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 Dconversions.c576 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 Dphp_sqlite3_structs.h81 #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 Dcalendar_class.cpp135 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 Ddblib_stmt.c334 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 Dmysqlnd_ps_codec.c95 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 Dphp_date.h67 #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 Dzend_file_cache.c398 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 Dtimezone_class.cpp280 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 Dphp_com_dotnet_internal.h51 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); \

Completed in 82 milliseconds

123456789