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

123456

/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/xmlwriter/
H A Dphp_xmlwriter.h53 #define Z_XMLWRITER_P(zv) php_xmlwriter_fetch_object(Z_OBJ_P((zv)))
/PHP_TRUNK/Zend/
H A Dzend_ast.h189 ZEND_API zend_ast *zend_ast_create_zval_ex(zval *zv, zend_ast_attr attr);
224 zval *zv = zend_ast_get_zval(ast); local
225 ZEND_ASSERT(Z_TYPE_P(zv) == IS_STRING);
226 return Z_STR_P(zv);
235 zval *zv = zend_ast_get_zval(ast); local
236 return zv->u2.lineno;
242 static zend_always_inline zend_ast *zend_ast_create_zval(zval *zv) { argument
243 return zend_ast_create_zval_ex(zv, 0);
246 zval zv; local
247 ZVAL_STR(&zv, st
251 zval zv; local
[all...]
H A Dzend_hash.h265 zval *zv; local
267 zv = zend_hash_find(ht, key);
268 return (zv && Z_TYPE_P(zv) == IS_INDIRECT) ? Z_INDIRECT_P(zv) : zv;
274 zval *zv; local
276 zv = zend_hash_find(ht, key);
277 return zv && (Z_TYPE_P(zv) !
284 zval *zv; local
448 zval tmp, *zv; local
457 zval tmp, *zv; local
466 zval tmp, *zv; local
475 zval tmp, *zv; local
484 zval tmp, *zv; local
493 zval tmp, *zv; local
506 zval tmp, *zv; local
537 zval tmp, *zv; local
546 zval tmp, *zv; local
559 zval tmp, *zv; local
577 zval tmp, *zv; local
590 zval *zv; local
598 zval *zv; local
606 zval *zv; local
625 zval *zv; local
[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_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/date/
H A Dphp_date.h143 #define Z_PHPDATE_P(zv) php_date_obj_from_obj(Z_OBJ_P((zv)))
161 #define Z_PHPTIMEZONE_P(zv) php_timezone_obj_from_obj(Z_OBJ_P((zv)))
174 #define Z_PHPINTERVAL_P(zv) php_interval_obj_from_obj(Z_OBJ_P((zv)))
192 #define Z_PHPPERIOD_P(zv) php_period_obj_from_obj(Z_OBJ_P((zv)))
/PHP_TRUNK/ext/intl/breakiterator/
H A Dbreakiterator_class.h47 #define Z_INTL_BREAKITERATOR_P(zv) php_intl_breakiterator_fetch_object(Z_OBJ_P(zv))
/PHP_TRUNK/ext/intl/calendar/
H A Dcalendar_class.h44 #define Z_INTL_CALENDAR_P(zv) php_intl_calendar_fetch_object(Z_OBJ_P(zv))
/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/mysqlnd/
H A Dmysqlnd_ps_codec.c57 ps_fetch_from_1_to_8_bytes(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, argument
64 DBG_INF_FMT("zv=%p byte_count=%u", zv, byte_count);
87 ZVAL_LONG(zv, (zend_long) uval); /* the cast is safe, we are in the range */
115 ZVAL_LONG(zv, (zend_long) lval); /* the cast is safe, we are in the range */
120 ZVAL_STRINGL(zv, tmp, tmp_len);
130 ps_fetch_null(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
132 ZVAL_NULL(zv);
139 ps_fetch_int8(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
141 ps_fetch_from_1_to_8_bytes(zv, fiel
148 ps_fetch_int16(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
157 ps_fetch_int32(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
166 ps_fetch_int64(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
175 ps_fetch_float(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
241 ps_fetch_double(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
256 ps_fetch_time(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
299 ps_fetch_date(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
336 ps_fetch_datetime(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
380 ps_fetch_string(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
400 ps_fetch_bit(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
[all...]
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/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/ext/sockets/
H A Dconversions.c488 void to_zval_read_int(const char *data, zval *zv, res_context *ctx) argument
493 ZVAL_LONG(zv, (zend_long)ival);
495 static void to_zval_read_unsigned(const char *data, zval *zv, res_context *ctx) argument
500 ZVAL_LONG(zv, (zend_long)ival);
502 static void to_zval_read_net_uint16(const char *data, zval *zv, res_context *ctx) argument
507 ZVAL_LONG(zv, (zend_long)ntohs(ival));
509 static void to_zval_read_uint32(const char *data, zval *zv, res_context *ctx) argument
514 ZVAL_LONG(zv, (zend_long)ival);
516 static void to_zval_read_sa_family(const char *data, zval *zv, res_context *ctx) argument
521 ZVAL_LONG(zv, (zend_lon
523 to_zval_read_pid_t(const char *data, zval *zv, res_context *ctx) argument
530 to_zval_read_uid_t(const char *data, zval *zv, res_context *ctx) argument
557 to_zval_read_sin_addr(const char *data, zval *zv, res_context *ctx) argument
584 to_zval_read_sockaddr_in(const char *data, zval *zv, res_context *ctx) argument
607 to_zval_read_sin6_addr(const char *data, zval *zv, res_context *ctx) argument
637 to_zval_read_sockaddr_in6(const char *data, zval *zv, res_context *ctx) argument
667 to_zval_read_sun_path(const char *data, zval *zv, res_context *ctx) argument
688 to_zval_read_sockaddr_un(const char *data, zval *zv, res_context *ctx) argument
782 to_zval_read_sockaddr_aux(const char *sockaddr_c, zval *zv, res_context *ctx) argument
952 to_zval_read_cmsg_data(const char *cmsghdr_c, zval *zv, res_context *ctx) argument
983 to_zval_read_control(const char *cmsghdr_c, zval *zv, res_context *ctx) argument
996 to_zval_read_control_array(const char *msghdr_c, zval *zv, res_context *ctx) argument
1044 to_zval_read_name(const char *sockaddr_p, zval *zv, res_context *ctx) argument
1184 to_zval_read_iov(const char *msghdr_c, zval *zv, res_context *ctx) argument
1217 to_zval_read_msghdr(const char *msghdr_c, zval *zv, res_context *ctx) argument
1233 from_zval_write_ifindex(const zval *zv, char *uinteger, ser_context *ctx) argument
1298 to_zval_read_in6_pktinfo(const char *data, zval *zv, res_context *ctx) argument
1319 to_zval_read_ucred(const char *data, zval *zv, res_context *ctx) argument
1386 to_zval_read_fd_array(const char *data, zval *zv, res_context *ctx) argument
1486 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...]
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);
/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.h47 #define Z_XMLREADER_P(zv) php_xmlreader_fetch_object(Z_OBJ_P((zv)))
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c397 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
398 return callback(name, len, keyname, keylen, parent, zv);
410 zval *zv; local
448 ZEND_HASH_FOREACH_KEY_PTR(parent, numkey, strkey, zv) {
449 while (Z_TYPE_P(zv) == IS_INDIRECT) {
450 zv = Z_INDIRECT_P(zv);
471 ret = callback(name, namelen, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE;
472 } else if (Z_TYPE_P(zv) == IS_OBJECT) {
473 phpdbg_parse_variable_with_arg(input, len, Z_OBJPROP_P(zv),
526 phpdbg_xml_array_element_dump(zval *zv, zend_string *key, zend_ulong num) argument
549 phpdbg_xml_object_property_dump(zval *zv, zend_string *key, zend_ulong num) argument
586 phpdbg_xml_var_dump(zval *zv) argument
[all...]
H A Dphpdbg_watch.c40 //#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)
99 void phpdbg_create_zval_watchpoint(zval *zv, phpdbg_watchpoint_t *watch) { argument
100 phpdbg_create_addr_watchpoint(zv, sizeof(zval), watch);
177 if (watch->parent && watch->parent->type == WATCH_ON_ZVAL && Z_REFCOUNTED_P(watch->parent->addr.zv)) {
178 phpdbg_add_watch_collision(phpdbg_create_refcounted_watchpoint(watch, Z_COUNTED_P(watch->parent->addr.zv)));
187 if (Z_ISREF_P(watch->addr.zv)) {
194 phpdbg_create_zval_watchpoint(Z_REFVAL_P(watch->addr.zv), ref);
206 zval *zv = zv_watch->addr.zv; local
208 HashTable *ht = HT_FROM_ZVP(zv);
250 zval *zv; local
382 phpdbg_watchpoint_parse_wrapper(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv, int (*callback)(phpdbg_watchpoint_t *)) argument
475 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).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...]

Completed in 29 milliseconds

123456