Searched defs:zv (Results 1 - 25 of 66) sorted by relevance

123

/PHP_TRUNK/Zend/
H A Dzend_list.c37 zval zv; local
43 ZVAL_NEW_RES(&zv, index, ptr, type);
44 return zend_hash_index_add_new(&EG(regular_list), index, &zv);
94 zval *zv; local
96 zv = zend_list_insert(rsrc_pointer, rsrc_type TSRMLS_CC);
99 ZVAL_COPY_VALUE(rsrc_result, zv);
102 return Z_RES_P(zv);
163 void list_entry_destructor(zval *zv) argument
165 zend_resource *res = Z_RES_P(zv);
175 void plist_entry_destructor(zval *zv) argument
231 clean_module_resource(zval *zv, void *arg TSRMLS_DC) argument
242 zend_clean_module_rsrc_dtors_cb(zval *zv, void *arg TSRMLS_DC) argument
264 zval zv; local
293 list_destructors_dtor(zval *zv) argument
[all...]
H A Dzend_ini.c87 static void free_ini_entry(zval *zv) /* {{{ */ argument
89 zend_ini_entry *entry = (zend_ini_entry*)Z_PTR_P(zv);
146 static void copy_ini_entry(zval *zv) /* {{{ */ argument
148 zend_ini_entry *old_entry = (zend_ini_entry*)Z_PTR_P(zv);
151 Z_PTR_P(zv) = new_entry;
H A Dzend_ast.c56 ZEND_API zend_ast *zend_ast_create_zval_ex(zval *zv, zend_ast_attr attr) { argument
63 ZVAL_COPY_VALUE(&ast->val, zv);
249 zval *zv = zend_ast_get_zval(ast); local
252 if (Z_OPT_CONSTANT_P(zv)) {
253 zval_update_constant_ex(zv, 1, scope TSRMLS_CC);
255 ZVAL_DUP(result, zv);
257 ZVAL_DUP(result, zv);
H A Dzend_ts_hash.h116 zval *zv; local
118 zv = zend_ts_hash_str_find(ht, str, len);
119 return zv ? Z_PTR_P(zv) : NULL;
124 zval tmp, *zv; local
127 zv = zend_ts_hash_str_update(ht, str, len, &tmp);
128 return zv ? Z_PTR_P(zv) : NULL;
133 zval tmp, *zv; local
136 zv
[all...]
H A Dzend_constants.c30 void free_zend_constant(zval *zv) argument
32 zend_constant *c = Z_PTR_P(zv);
46 static void copy_zend_constant(zval *zv) argument
48 zend_constant *c = Z_PTR_P(zv);
50 Z_PTR_P(zv) = pemalloc(sizeof(zend_constant), c->flags & CONST_PERSISTENT);
51 memcpy(Z_PTR_P(zv), c, sizeof(zend_constant));
53 c = Z_PTR_P(zv);
71 static int clean_non_persistent_constant(zval *zv TSRMLS_DC)
73 zend_constant *c = Z_PTR_P(zv);
78 static int clean_non_persistent_constant_full(zval *zv TSRMLS_D
[all...]
H A Dzend_opcode.c112 ZEND_API void zend_function_dtor(zval *zv) argument
114 zend_function *function = Z_PTR_P(zv);
235 ZEND_API void destroy_zend_class(zval *zv) argument
237 zend_class_entry *ce = Z_PTR_P(zv);
309 void zend_class_add_ref(zval *zv) argument
311 zend_class_entry *ce = Z_PTR_P(zv);
656 opline->op2.zv = &op_array->literals[opline->op2.constant];
709 opline->op1.zv = &op_array->literals[opline->op1.constant];
714 opline->op2.zv = &op_array->literals[opline->op2.constant];
727 if (Z_TYPE_P(opline->op2.zv) !
[all...]
H A Dzend_string.c38 static void _str_dtor(zval *zv) argument
40 zend_string *str = Z_STR_P(zv);
H A Dzend_exceptions.c40 zval tmp, *previous, zv, *pzv; local
50 ZVAL_OBJ(&zv, exception);
51 pzv = &zv;
822 zval zv; local
824 ZVAL_OBJ(&zv, EG(exception));
827 file = zval_get_string(GET_PROPERTY_SILENT(&zv, "file"));
828 line = zval_get_long(GET_PROPERTY_SILENT(&zv, "line"));
833 Z_OBJCE(zv)->name->val, ce_exception->name->val);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_php.c89 zval zv; local
90 php_dl(value, MODULE_PERSISTENT, &zv, 1 TSRMLS_CC);
91 return Z_TYPE(zv) == IS_TRUE;
/PHP_TRUNK/win32/
H A Dregistry.c149 static void delete_internal_hashtable(zval *zv) argument
151 void *data = Z_PTR_P(zv);
/PHP_TRUNK/sapi/apache2handler/
H A Dapache_config.c120 static zend_bool should_overwrite_per_dir_entry(HashTable *target_ht, zval *zv, zend_hash_key *hash_key, void *pData) argument
122 php_dir_entry *new_per_dir_entry = Z_PTR_P(zv);
/PHP_TRUNK/ext/ereg/
H A Dereg.c208 static void _free_ereg_cache(zval *zv) argument
210 reg_cache *rc = Z_PTR_P(zv);
/PHP_TRUNK/ext/intl/calendar/
H A Dcalendar_class.cpp149 zval zv, local
164 ZVAL_FALSE(&zv);
165 zend_hash_str_update(debug_info, "valid", sizeof("valid") - 1, &zv);
168 ZVAL_TRUE(&zv);
169 zend_hash_str_update(debug_info, "valid", sizeof("valid") - 1, &zv);
171 ZVAL_STRING(&zv, const_cast<char*>(cal->getType()));
172 zend_hash_str_update(debug_info, "type", sizeof("type") - 1, &zv);
195 ZVAL_STRING(&zv, const_cast<char*>(locale.getName()));
196 zend_hash_str_update(debug_info, "locale", sizeof("locale") - 1, &zv);
198 ZVAL_STRING(&zv, const_cas
[all...]
/PHP_TRUNK/ext/intl/idn/
H A Didn.c186 zval zv; local
187 ZVAL_NEW_STR(&zv, buffer);
189 add_assoc_zval_ex(idna_info, "result", sizeof("result")-1, &zv);
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_class.cpp290 zval zv; local
308 ZVAL_FALSE(&zv);
309 zend_hash_str_update(debug_info, "valid", sizeof("valid") - 1, &zv);
313 ZVAL_TRUE(&zv);
314 zend_hash_str_update(debug_info, "valid", sizeof("valid") - 1, &zv);
322 ZVAL_STRINGL(&zv, str, str_len);
323 zend_hash_str_update(debug_info, "id", sizeof("id") - 1, &zv);
334 ZVAL_LONG(&zv, (zend_long)rawOffset);
335 zend_hash_str_update(debug_info,"rawOffset", sizeof("rawOffset") - 1, &zv);
336 ZVAL_LONG(&zv, (zend_lon
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_reverse_api.c70 zval_to_mysqlnd(zval * zv, const unsigned int client_api_capabilities, unsigned int * save_client_api_capabilities TSRMLS_DC) argument
77 retval = elem->conversion_cb(zv TSRMLS_CC);
90 retval = api->conversion_cb(zv TSRMLS_CC);
/PHP_TRUNK/ext/soap/
H A Dphp_packet_soap.c196 zval zv; local
197 master_to_zval(&zv, get_conversion(IS_STRING), tmp TSRMLS_CC);
198 faultstring = Z_STR(zv);
203 zval zv; local
204 master_to_zval(&zv, get_conversion(IS_STRING), tmp TSRMLS_CC);
205 faultactor = Z_STR(zv);
226 zval zv; local
227 master_to_zval(&zv, get_conversion(IS_STRING), tmp TSRMLS_CC);
228 faultstring = Z_STR(zv);
/PHP_TRUNK/ext/sockets/
H A Dsendrecvmsg.c393 zval *zv = to_zval_run_conversions(buffer, reader, "in6_pktinfo", local
399 ZVAL_COPY_VALUE(result, zv);
/PHP_TRUNK/ext/standard/
H A Duser_filters.c397 static void filter_item_dtor(zval *zv) argument
399 struct php_user_filter_data *fdat = Z_PTR_P(zv);
H A Dvar.c57 static void php_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level TSRMLS_DC) /* {{{ */ argument
66 php_var_dump(zv, level + 2 TSRMLS_CC);
70 static void php_object_property_dump(zval *zv, zend_ulong index, zend_string *key, int level TSRMLS_DC) /* {{{ */ argument
93 php_var_dump(zv, level + 2 TSRMLS_CC);
227 static void zval_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level TSRMLS_DC) /* {{{ */ argument
236 php_debug_zval_dump(zv, level + 2 TSRMLS_CC);
240 static void zval_object_property_dump(zval *zv, zend_ulong index, zend_string *key, int level TSRMLS_DC) /* {{{ */ argument
261 php_debug_zval_dump(zv, level + 2 TSRMLS_CC);
398 static void php_array_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart_str *buf TSRMLS_DC) /* {{{ */ argument
419 php_var_export_ex(zv, leve
426 php_object_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart_str *buf TSRMLS_DC) argument
599 zval *zv; local
[all...]
H A Dformatted_print.c394 zval *zv; local
408 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(array), zv) {
409 ZVAL_COPY_VALUE(&newargs[i], zv);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_watch.c92 void phpdbg_create_zval_watchpoint(zval *zv, phpdbg_watchpoint_t *watch) { argument
93 phpdbg_create_addr_watchpoint(zv, sizeof(zval), watch);
123 switch (Z_TYPE_P(watch->addr.zv)) {
125 ht = Z_ARRVAL_P(watch->addr.zv);
128 ht = Z_OBJPROP_P(watch->addr.zv);
158 switch (Z_TYPE_P(watch->addr.zv)) {
160 ht = Z_ARRVAL_P(watch->addr.zv);
163 ht = Z_OBJPROP_P(watch->addr.zv);
171 zval **zv; local
175 zend_hash_get_current_data_ex(ht, (void **)&zv,
225 zval **zv; local
295 zval **zv; local
465 phpdbg_watch_HashTable_dtor(zval **zv) argument
[all...]
H A Dphpdbg_watch.h72 zval *zv; member in union:_phpdbg_watchpoint_t::__anon341
90 void phpdbg_create_zval_watchpoint(zval *zv, phpdbg_watchpoint_t *watch);
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_handlers.c237 static void function_dtor(zval *zv) argument
239 zend_internal_function *f = (zend_internal_function*)Z_PTR_P(zv);
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dcompact_literals.c121 zval zv, *pos; local
311 zval zv = op_array->literals[i].constant; local
312 use_copy = zend_make_printable_zval(&op_array->literals[i].constant, &zv TSRMLS_CC);
313 fprintf(stderr, "Literal %d, val (%d):%s\n", i, Z_STRLEN(zv), Z_STRVAL(zv));
315 zval_dtor(&zv);
372 ZVAL_LONG(&zv, j);
373 zend_hash_index_add_new(&hash, Z_LVAL(op_array->literals[i]), &zv);
386 ZVAL_LONG(&zv, j);
387 zend_hash_str_add(&hash, (char*)&Z_DVAL(op_array->literals[i]), sizeof(double), &zv);
492 zval zv = op_array->literals[i].constant; local
[all...]

Completed in 25 milliseconds

123