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

1234

/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/Zend/
H A Dzend_ast.c55 ZEND_API zend_ast *zend_ast_create_zval_ex(zval *zv, zend_ast_attr attr) { argument
61 ZVAL_COPY_VALUE(&ast->val, zv);
243 zval *zv = zend_ast_get_zval(ast); local
246 if (Z_OPT_CONSTANT_P(zv)) {
247 zval_update_constant_ex(zv, 1, scope);
249 ZVAL_DUP(result, zv);
251 ZVAL_DUP(result, zv);
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) argument
73 zend_constant *c = Z_PTR_P(zv);
78 static int clean_non_persistent_constant_full(zval *zv) argument
[all...]
H A Dzend_execute_API.c102 static int clean_non_persistent_function(zval *zv) /* {{{ */ argument
104 zend_function *function = Z_PTR_P(zv);
109 ZEND_API int clean_non_persistent_function_full(zval *zv) /* {{{ */ argument
111 zend_function *function = Z_PTR_P(zv);
116 static int clean_non_persistent_class(zval *zv) /* {{{ */ argument
118 zend_class_entry *ce = Z_PTR_P(zv);
123 ZEND_API int clean_non_persistent_class_full(zval *zv) /* {{{ */ argument
125 zend_class_entry *ce = Z_PTR_P(zv);
190 static int zval_call_destructor(zval *zv) /* {{{ */ argument
192 if (Z_TYPE_P(zv)
203 zend_unclean_zval_ptr_dtor(zval *zv) argument
[all...]
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);
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);
174 void plist_entry_destructor(zval *zv) argument
207 zend_close_rsrc(zval *zv) argument
229 clean_module_resource(zval *zv, void *arg) argument
240 zend_clean_module_rsrc_dtors_cb(zval *zv, void *arg) argument
262 zval zv; local
291 list_destructors_dtor(zval *zv) argument
[all...]
H A Dzend_opcode.c112 ZEND_API void zend_function_dtor(zval *zv) argument
114 zend_function *function = Z_PTR_P(zv);
234 ZEND_API void destroy_zend_class(zval *zv) argument
236 zend_class_entry *ce = Z_PTR_P(zv);
308 void zend_class_add_ref(zval *zv) argument
310 zend_class_entry *ce = Z_PTR_P(zv);
H A Dzend_string.c38 static void _str_dtor(zval *zv) argument
40 zend_string *str = Z_STR_P(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...]
/PHP_TRUNK/ext/com_dotnet/
H A Dphp_com_dotnet_internal.h57 static inline int php_com_is_valid_object(zval *zv) argument
59 zend_class_entry *ce = Z_OBJCE_P(zv);
65 #define CDNO_FETCH(zv) (php_com_dotnet_object*)Z_OBJ_P(zv)
66 #define CDNO_FETCH_VERIFY(obj, zv) do { \
67 if (!php_com_is_valid_object(zv)) { \
71 obj = (php_com_dotnet_object*)Z_OBJ_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) argument
77 retval = elem->conversion_cb(zv);
90 retval = api->conversion_cb(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);
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...]
H A Dzend_optimizer.c102 int zend_optimizer_add_literal(zend_op_array *op_array, zval *zv) argument
107 ZVAL_COPY_VALUE(&op_array->literals[i], zv);
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c356 opline->op1.zv = (zval*)((char*)opline->op1.zv + ((char*)op_array->literals - (char*)orig_literals));
359 opline->op2.zv = (zval*)((char*)opline->op2.zv + ((char*)op_array->literals - (char*)orig_literals));
490 static void zend_persist_op_array(zval *zv) argument
492 memcpy(ZCG(arena_mem), Z_PTR_P(zv), sizeof(zend_op_array));
493 zend_shared_alloc_register_xlat_entry(Z_PTR_P(zv), ZCG(arena_mem));
494 Z_PTR_P(zv) = ZCG(arena_mem);
496 zend_persist_op_array_ex(Z_PTR_P(zv), NULL);
499 static void zend_persist_property_info(zval *zv) argument
521 zend_persist_class_entry(zval *zv) argument
634 zend_update_property_info_ce(zval *zv) argument
642 zend_update_parent_ce(zval *zv) argument
[all...]
H A Dzend_persist_calc.c233 static void zend_persist_op_array_calc(zval *zv) argument
236 zend_persist_op_array_calc_ex(Z_PTR_P(zv));
239 static void zend_persist_property_info_calc(zval *zv) argument
241 zend_property_info *prop = Z_PTR_P(zv);
250 static void zend_persist_class_entry_calc(zval *zv) argument
252 zend_class_entry *ce = Z_PTR_P(zv);
/PHP_TRUNK/ext/pdo_mysql/
H A Dpdo_mysql.c65 static MYSQLND * pdo_mysql_convert_zv_to_mysqlnd(zval * zv) argument
67 if (Z_TYPE_P(zv) == IS_OBJECT && instanceof_function(Z_OBJCE_P(zv), php_pdo_get_dbh_ce())) {
68 pdo_dbh_t * dbh = Z_PDO_DBH_P(zv);
/PHP_TRUNK/ext/soap/
H A Dphp_packet_soap.c196 zval zv; local
197 master_to_zval(&zv, get_conversion(IS_STRING), tmp);
198 faultstring = Z_STR(zv);
203 zval zv; local
204 master_to_zval(&zv, get_conversion(IS_STRING), tmp);
205 faultactor = Z_STR(zv);
226 zval zv; local
227 master_to_zval(&zv, get_conversion(IS_STRING), tmp);
228 faultstring = Z_STR(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);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_php.c88 zval zv; local
89 php_dl(value, MODULE_PERSISTENT, &zv, 1);
90 return Z_TYPE(zv) == IS_TRUE;
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_wait.c129 zval zv, *zvp; local
134 if (!php_var_unserialize(&zv, (const unsigned char **) &msg, (unsigned char *) msg + len, &var_hash)) {
141 ht = Z_ARRVAL(zv);
335 zval_dtor(&zv);
H A Dphpdbg_watch.h60 zval *zv; member in union:_phpdbg_watchpoint_t::__anon310
92 void phpdbg_create_zval_watchpoint(zval *zv, phpdbg_watchpoint_t *watch);
H A Dphpdbg_webdata_transfer.c33 zval zv[9] = {{{0}}}; local
45 array_init(&zv[1]);
46 zend_hash_copy(Z_ARRVAL(zv[1]), &EG(symbol_table).ht, NULL);
47 Z_ARRVAL(zv[1])->pDestructor = NULL; /* we're operating on a copy! Don't double free zvals */
48 zend_hash_str_del(Z_ARRVAL(zv[1]), ZEND_STRL("GLOBALS")); /* do not use the reference to itself in json */
49 zend_hash_str_add(ht, ZEND_STRL("GLOBALS"), &zv[1]);
59 ZVAL_STR(&zv[2], str);
61 ZVAL_EMPTY_STRING(&zv[2]);
63 Z_SET_REFCOUNT(zv[2], 1);
64 zend_hash_str_add(ht, ZEND_STRL("input"), &zv[
[all...]
/PHP_TRUNK/win32/
H A Dregistry.c149 static void delete_internal_hashtable(zval *zv) argument
151 void *data = Z_PTR_P(zv);

Completed in 33 milliseconds

1234