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

1234

/PHP_TRUNK/Zend/
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_gc.c298 zval *zv; local
311 zval *zv, *end; local
315 ht = get_gc(&tmp, &zv, &n);
316 end = zv + n;
320 if (zv == end) return;
323 while (zv != end) {
324 if (Z_REFCOUNTED_P(zv)) {
325 ref = Z_COUNTED_P(zv);
331 zv++;
334 ref = Z_COUNTED_P(zv);
406 zval *zv; local
421 zval *zv, *end; local
534 zval *zv; local
549 zval *zv, *end; local
695 zval *zv; local
714 zval *zv, *end; local
877 zval *zv; local
901 zval *zv, *end; local
[all...]
H A Dzend_string.c38 static void _str_dtor(zval *zv) argument
40 zend_string *str = Z_STR_P(zv);
H A Dzend_constants.c31 void free_zend_constant(zval *zv) argument
33 zend_constant *c = Z_PTR_P(zv);
47 static void copy_zend_constant(zval *zv) argument
49 zend_constant *c = Z_PTR_P(zv);
51 Z_PTR_P(zv) = pemalloc(sizeof(zend_constant), c->flags & CONST_PERSISTENT);
52 memcpy(Z_PTR_P(zv), c, sizeof(zend_constant));
54 c = Z_PTR_P(zv);
72 static int clean_non_persistent_constant(zval *zv) argument
74 zend_constant *c = Z_PTR_P(zv);
79 static int clean_non_persistent_constant_full(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);
96 zval *zv; local
98 zv = zend_list_insert(rsrc_pointer, rsrc_type);
100 return Z_RES_P(zv);
181 void list_entry_destructor(zval *zv) argument
183 zend_resource *res = Z_RES_P(zv);
185 ZVAL_UNDEF(zv);
192 void plist_entry_destructor(zval *zv) argument
225 zend_close_rsrc(zval *zv) argument
247 clean_module_resource(zval *zv, void *arg) argument
258 zend_clean_module_rsrc_dtors_cb(zval *zv, void *arg) argument
280 zval zv; local
309 list_destructors_dtor(zval *zv) argument
[all...]
H A Dzend_opcode.c115 ZEND_API void zend_function_dtor(zval *zv) argument
117 zend_function *function = Z_PTR_P(zv);
246 ZEND_API void destroy_zend_class(zval *zv) argument
249 zend_class_entry *ce = Z_PTR_P(zv);
331 void zend_class_add_ref(zval *zv) argument
333 zend_class_entry *ce = Z_PTR_P(zv);
/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/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/sockets/
H A Dsendrecvmsg.c397 zval *zv = to_zval_run_conversions(buffer, reader, "in6_pktinfo", local
403 ZVAL_COPY_VALUE(result, 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/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/sapi/phpdbg/
H A Dphpdbg_watch.h64 zval *zv; member in union:_phpdbg_watchpoint_t::__anon5
100 void phpdbg_create_zval_watchpoint(zval *zv, phpdbg_watchpoint_t *watch);
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_webdata_transfer.c33 zval zv[9] = {{{0}}}; local
45 array_init(&zv[1]);
46 zend_hash_copy(Z_ARRVAL(zv[1]), &EG(symbol_table), 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...]
H A Dphpdbg_list.c321 void phpdbg_free_file_source(zval *zv) { argument
322 phpdbg_file_source *data = Z_PTR_P(zv);
/PHP_TRUNK/win32/
H A Dregistry.c173 static void delete_internal_hashtable(zval *zv) argument
175 HashTable *ht = (HashTable *)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/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.c387 static void filter_item_dtor(zval *zv) argument
389 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/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.cpp288 zval zv; local
305 ZVAL_FALSE(&zv);
306 zend_hash_str_update(debug_info, "valid", sizeof("valid") - 1, &zv);
310 ZVAL_TRUE(&zv);
311 zend_hash_str_update(debug_info, "valid", sizeof("valid") - 1, &zv);
319 ZVAL_NEW_STR(&zv, u8str);
320 zend_hash_str_update(debug_info, "id", sizeof("id") - 1, &zv);
329 ZVAL_LONG(&zv, (zend_long)rawOffset);
330 zend_hash_str_update(debug_info,"rawOffset", sizeof("rawOffset") - 1, &zv);
331 ZVAL_LONG(&zv, (zend_lon
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_persist_calc.c254 static void zend_persist_op_array_calc(zval *zv) argument
256 zend_op_array *op_array = Z_PTR_P(zv);
262 Z_PTR_P(zv) = old_op_array;
265 zend_persist_op_array_calc_ex(Z_PTR_P(zv));
266 zend_shared_alloc_register_xlat_entry(op_array, Z_PTR_P(zv));
270 zend_persist_op_array_calc_ex(Z_PTR_P(zv));
274 static void zend_persist_property_info_calc(zval *zv) argument
276 zend_property_info *prop = Z_PTR_P(zv);
288 static void zend_persist_class_entry_calc(zval *zv) argument
290 zend_class_entry *ce = Z_PTR_P(zv);
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dzend_optimizer.c103 int zend_optimizer_add_literal(zend_op_array *op_array, zval *zv) argument
108 ZVAL_COPY_VALUE(&op_array->literals[i], zv);
H A Dcompact_literals.c121 zval zv, *pos; local
324 zval zv; local
325 ZVAL_COPY_VALUE(&zv, op_array->literals + i);
326 use_copy = zend_make_printable_zval(op_array->literals + i, &zv);
327 fprintf(stderr, "Literal %d, val (%d):%s\n", i, Z_STRLEN(zv), Z_STRVAL(zv));
329 zval_dtor(&zv);
397 ZVAL_LONG(&zv, j);
398 zend_hash_index_add_new(&hash, Z_LVAL(op_array->literals[i]), &zv);
411 ZVAL_LONG(&zv,
517 zval zv; local
[all...]

Completed in 83 milliseconds

1234