Searched refs:zv (Results 1 - 25 of 144) sorted by relevance

123456

/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_class.h38 #define Z_INTL_DATEFORMATTER_P(zv) php_intl_dateformatter_fetch_object(Z_OBJ_P(zv))
/PHP_TRUNK/ext/intl/formatter/
H A Dformatter_class.h35 #define Z_INTL_NUMBERFORMATTER_P(zv) php_intl_number_format_fetch_object(Z_OBJ_P(zv))
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_class.h38 #define Z_INTL_MESSAGEFORMATTER_P(zv) php_intl_messageformatter_fetch_object(Z_OBJ_P(zv))
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle_class.h38 #define Z_INTL_RESOURCEBUNDLE_P(zv) php_intl_resourcebundle_fetch_object(Z_OBJ_P(zv))
/PHP_TRUNK/ext/intl/transliterator/
H A Dtransliterator_class.h40 #define Z_INTL_TRANSLITERATOR_P(zv) php_intl_transliterator_fetch_object(Z_OBJ_P(zv))
/PHP_TRUNK/ext/sockets/
H A Dconversions.h36 typedef void (to_zval_read_field)(const char *data, zval *zv, res_context *ctx);
47 void to_zval_read_int(const char *data, zval *zv, res_context *ctx);
51 void to_zval_read_in6_pktinfo(const char *data, zval *zv, res_context *ctx);
56 void to_zval_read_ucred(const char *data, zval *zv, res_context *ctx);
62 void to_zval_read_fd_array(const char *data, zval *zv, res_context *ctx);
67 void to_zval_read_msghdr(const char *msghdr_c, zval *zv, res_context *ctx);
82 struct err_s *err, zval *zv);
H A Dconversions.c489 void to_zval_read_int(const char *data, zval *zv, res_context *ctx) argument
494 ZVAL_LONG(zv, (zend_long)ival);
496 static void to_zval_read_unsigned(const char *data, zval *zv, res_context *ctx) argument
501 ZVAL_LONG(zv, (zend_long)ival);
503 static void to_zval_read_net_uint16(const char *data, zval *zv, res_context *ctx) argument
508 ZVAL_LONG(zv, (zend_long)ntohs(ival));
510 static void to_zval_read_uint32(const char *data, zval *zv, res_context *ctx) argument
515 ZVAL_LONG(zv, (zend_long)ival);
517 static void to_zval_read_sa_family(const char *data, zval *zv, res_context *ctx) argument
522 ZVAL_LONG(zv, (zend_lon
524 to_zval_read_pid_t(const char *data, zval *zv, res_context *ctx) argument
531 to_zval_read_uid_t(const char *data, zval *zv, res_context *ctx) argument
558 to_zval_read_sin_addr(const char *data, zval *zv, res_context *ctx) argument
585 to_zval_read_sockaddr_in(const char *data, zval *zv, res_context *ctx) argument
608 to_zval_read_sin6_addr(const char *data, zval *zv, res_context *ctx) argument
638 to_zval_read_sockaddr_in6(const char *data, zval *zv, res_context *ctx) argument
668 to_zval_read_sun_path(const char *data, zval *zv, res_context *ctx) argument
689 to_zval_read_sockaddr_un(const char *data, zval *zv, res_context *ctx) argument
783 to_zval_read_sockaddr_aux(const char *sockaddr_c, zval *zv, res_context *ctx) argument
953 to_zval_read_cmsg_data(const char *cmsghdr_c, zval *zv, res_context *ctx) argument
984 to_zval_read_control(const char *cmsghdr_c, zval *zv, res_context *ctx) argument
997 to_zval_read_control_array(const char *msghdr_c, zval *zv, res_context *ctx) argument
1045 to_zval_read_name(const char *sockaddr_p, zval *zv, res_context *ctx) argument
1185 to_zval_read_iov(const char *msghdr_c, zval *zv, res_context *ctx) argument
1218 to_zval_read_msghdr(const char *msghdr_c, zval *zv, res_context *ctx) argument
1234 from_zval_write_ifindex(const zval *zv, char *uinteger, ser_context *ctx) argument
1299 to_zval_read_in6_pktinfo(const char *data, zval *zv, res_context *ctx) argument
1320 to_zval_read_ucred(const char *data, zval *zv, res_context *ctx) argument
1385 to_zval_read_fd_array(const char *data, zval *zv, res_context *ctx) argument
1485 to_zval_run_conversions(const char *structure, to_zval_read_field *reader, const char *top_name, const struct key_value *key_value_pairs, struct err_s *err, zval *zv) argument
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dphp_simplexml_exports.h49 #define Z_SXEOBJ_P(zv) php_sxe_fetch_object(Z_OBJ_P((zv)))
/PHP_TRUNK/ext/soap/
H A Dphp_schema.h28 void delete_model(zval *zv);
29 void delete_model_persistent(zval *zv);
30 void delete_type(zval *zv);
31 void delete_type_persistent(zval *zv);
32 void delete_extra_attribute(zval *zv);
33 void delete_extra_attribute_persistent(zval *zv);
34 void delete_attribute(zval *zv);
35 void delete_attribute_persistent(zval *zv);
38 void delete_restriction_var_char(zval *zv);
40 void delete_restriction_var_char_persistent(zval *zv);
[all...]
/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_variables.h34 #define zval_dtor_func(zv) _zval_dtor_func(zv ZEND_FILE_LINE_CC)
35 #define zval_dtor_func_for_ptr(zv) _zval_dtor_func_for_ptr(zv ZEND_FILE_LINE_CC)
36 #define zval_copy_ctor_func(zv) _zval_copy_ctor_func(zv ZEND_FILE_LINE_CC)
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);
179 void list_entry_destructor(zval *zv) argument
181 zend_resource *res = Z_RES_P(zv);
183 ZVAL_UNDEF(zv);
190 void plist_entry_destructor(zval *zv) argument
223 zend_close_rsrc(zval *zv) argument
245 clean_module_resource(zval *zv, void *arg) argument
256 zend_clean_module_rsrc_dtors_cb(zval *zv, void *arg) argument
278 zval zv; local
307 list_destructors_dtor(zval *zv) argument
[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_ast.h193 ZEND_API zend_ast *zend_ast_create_zval_ex(zval *zv, zend_ast_attr attr);
229 zval *zv = zend_ast_get_zval(ast); local
230 ZEND_ASSERT(Z_TYPE_P(zv) == IS_STRING);
231 return Z_STR_P(zv);
240 zval *zv = zend_ast_get_zval(ast); local
241 return zv->u2.lineno;
247 static zend_always_inline zend_ast *zend_ast_create_zval(zval *zv) { argument
248 return zend_ast_create_zval_ex(zv, 0);
251 zval zv; local
252 ZVAL_STR(&zv, st
256 zval zv; local
[all...]
H A Dzend_hash.h272 zval *zv; local
274 zv = zend_hash_find(ht, key);
275 return (zv && Z_TYPE_P(zv) == IS_INDIRECT) ?
276 ((Z_TYPE_P(Z_INDIRECT_P(zv)) != IS_UNDEF) ? Z_INDIRECT_P(zv) : NULL) : zv;
282 zval *zv; local
284 zv = zend_hash_find(ht, key);
285 return zv
292 zval *zv; local
457 zval tmp, *zv; local
471 zval tmp, *zv; local
485 zval tmp, *zv; local
499 zval tmp, *zv; local
513 zval tmp, *zv; local
527 zval tmp, *zv; local
541 zval tmp, *zv; local
554 zval tmp, *zv; local
585 zval tmp, *zv; local
594 zval tmp, *zv; local
603 zval tmp, *zv; local
617 zval tmp, *zv; local
630 zval tmp, *zv; local
653 zval tmp, *zv; local
666 zval *zv; local
679 zval *zv; local
692 zval *zv; local
716 zval *zv; local
890 _zend_hash_append(HashTable *ht, zend_string *key, zval *zv) argument
[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);
H A Dmysqlnd_reverse_api.h27 MYSQLND *(*conversion_cb)(zval * zv);
37 PHPAPI MYSQLND * zval_to_mysqlnd(zval * zv, const unsigned int client_api_capabilities, unsigned int * save_client_api_capabilities);
/PHP_TRUNK/ext/sqlite3/
H A Dphp_sqlite3_structs.h89 #define Z_SQLITE3_DB_P(zv) php_sqlite3_db_from_obj(Z_OBJ_P((zv)))
121 #define Z_SQLITE3_RESULT_P(zv) php_sqlite3_result_from_obj(Z_OBJ_P((zv)))
140 #define Z_SQLITE3_STMT_P(zv) php_sqlite3_stmt_from_obj(Z_OBJ_P((zv)))
/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.h58 #define Z_XMLREADER_P(zv) php_xmlreader_fetch_object(Z_OBJ_P((zv)))
/PHP_TRUNK/ext/xmlwriter/
H A Dphp_xmlwriter.h56 #define Z_XMLWRITER_P(zv) php_xmlwriter_fetch_object(Z_OBJ_P((zv)))
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.h87 typedef int (*phpdbg_parse_var_func)(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv);
88 typedef int (*phpdbg_parse_var_with_arg_func)(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv, void *arg);
95 PHPDBG_API void phpdbg_xml_var_dump(zval *zv);
97 char *phpdbg_short_zval_print(zval *zv, int maxlen);
H A Dphpdbg_utils.c398 static int phpdbg_parse_variable_arg_wrapper(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv, phpdbg_parse_var_func callback) { argument
399 return callback(name, len, keyname, keylen, parent, zv);
411 zval *zv; local
449 ZEND_HASH_FOREACH_KEY_PTR(parent, numkey, strkey, zv) {
450 while (Z_TYPE_P(zv) == IS_INDIRECT) {
451 zv = Z_INDIRECT_P(zv);
472 ret = callback(name, namelen, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE;
473 } else retry_ref: if (Z_TYPE_P(zv) == IS_OBJECT) {
478 ret = step_cb(name, i, keyname, index_len, parent, zv, ar
571 phpdbg_xml_array_element_dump(zval *zv, zend_string *key, zend_ulong num) argument
594 phpdbg_xml_object_property_dump(zval *zv, zend_string *key, zend_ulong num) argument
631 phpdbg_xml_var_dump(zval *zv) argument
761 phpdbg_short_zval_print(zval *zv, int maxlen) argument
[all...]
H A Dphpdbg_watch.c92 //#define HT_FROM_WATCH(watch) (watch->type == WATCH_ON_OBJECT ? watch->addr.obj->handlers->get_properties(watch->parent_container.zv) : watch->type == WATCH_ON_ARRAY ? &watch->addr.arr->ht : NULL)
155 void phpdbg_create_zval_watchpoint(zval *zv, phpdbg_watchpoint_t *watch) { argument
156 phpdbg_create_addr_watchpoint(zv, sizeof(zval), watch);
263 if ((cur = zend_hash_index_find_ptr(&PHPDBG_G(watch_collisions), (zend_ulong) Z_COUNTED_P(watch->addr.zv)))) {
279 zend_hash_index_del(&PHPDBG_G(watch_collisions), (zend_ulong) Z_COUNTED_P(watch->addr.zv));
294 phpdbg_create_zval_watchpoint(Z_REFVAL_P(watch->addr.zv), ref);
313 ref = Z_COUNTED_P(parent->addr.zv);
363 if (watch->parent && watch->parent->type == WATCH_ON_ZVAL && Z_REFCOUNTED_P(watch->parent->addr.zv)) {
364 phpdbg_add_watch_collision(phpdbg_create_refcounted_watchpoint(watch, Z_COUNTED_P(watch->parent->addr.zv)));
384 if (Z_ISREF_P(watch->addr.zv)) {
403 zval *zv = zv_watch->addr.zv; local
442 zval *zv; local
630 phpdbg_watchpoint_parse_wrapper(char *name, size_t namelen, char *key, size_t keylen, HashTable *parent, zval *zv, int (*callback)(phpdbg_watchpoint_t *)) argument
657 phpdbg_watchpoint_parse_step(char *name, size_t namelen, char *key, size_t keylen, HashTable *parent, zval *zv, int (*callback)(phpdbg_watchpoint_t *)) argument
750 phpdbg_watch_HashTable_dtor(zval *zv) argument
[all...]
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...]
/PHP_TRUNK/ext/opcache/
H A Dzend_file_cache.c173 typedef void (*serialize_callback_t)(zval *zv,
178 typedef void (*unserialize_callback_t)(zval *zv,
182 static void zend_file_cache_serialize_zval(zval *zv,
186 static void zend_file_cache_unserialize_zval(zval *zv,
295 static void zend_file_cache_serialize_zval(zval *zv, argument
300 switch (Z_TYPE_P(zv)) {
303 if (!IS_SERIALIZED(Z_STR_P(zv))) {
304 SERIALIZE_STR(Z_STR_P(zv));
308 if (!IS_SERIALIZED(Z_ARR_P(zv))) {
311 SERIALIZE_PTR(Z_ARR_P(zv));
470 zend_file_cache_serialize_func(zval *zv, zend_persistent_script *script, zend_file_cache_metainfo *info, void *buf) argument
483 zend_file_cache_serialize_prop_info(zval *zv, zend_persistent_script *script, zend_file_cache_metainfo *info, void *buf) argument
507 zend_file_cache_serialize_class(zval *zv, zend_persistent_script *script, zend_file_cache_metainfo *info, void *buf) argument
831 zend_file_cache_unserialize_zval(zval *zv, zend_persistent_script *script, void *buf) argument
993 zend_file_cache_unserialize_func(zval *zv, zend_persistent_script *script, void *buf) argument
1004 zend_file_cache_unserialize_prop_info(zval *zv, zend_persistent_script *script, void *buf) argument
1026 zend_file_cache_unserialize_class(zval *zv, zend_persistent_script *script, void *buf) argument
[all...]

Completed in 54 milliseconds

123456