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

123

/PHP_5_6/ext/opcache/Optimizer/
H A Dcompact_literals.c272 zval zv = op_array->literals[i].constant; local
273 zend_make_printable_zval(&op_array->literals[i].constant, &zv, &use_copy);
274 fprintf(stderr, "Literal %d, val (%d):%s\n", i, Z_STRLEN(zv), Z_STRVAL(zv));
276 zval_dtor(&zv);
469 zval zv = op_array->literals[i].constant; local
470 zend_make_printable_zval(&op_array->literals[i].constant, &zv, &use_copy);
471 fprintf(stderr, "Literal %d, val (%d):%s\n", i, Z_STRLEN(zv), Z_STRVAL(zv));
473 zval_dtor(&zv);
[all...]
H A Dzend_optimizer.c93 int zend_optimizer_add_literal(zend_op_array *op_array, const zval *zv TSRMLS_DC)
98 op_array->literals[i].constant = *zv;
118 # define literal_dtor(zv) do { \
119 zval_dtor(zv); \
120 Z_TYPE_P(zv) = IS_NULL; \
134 # define literal_dtor(zv) zval_dtor(zv)
532 opline->op1.zv = &op_array->literals[opline->op1.constant].constant;
535 opline->op2.zv = &op_array->literals[opline->op2.constant].constant;
/PHP_5_6/ext/sockets/
H A Dconversions.c490 void to_zval_read_int(const char *data, zval *zv, res_context *ctx) argument
495 ZVAL_LONG(zv, (long)ival);
497 static void to_zval_read_unsigned(const char *data, zval *zv, res_context *ctx) argument
502 ZVAL_LONG(zv, (long)ival);
504 static void to_zval_read_net_uint16(const char *data, zval *zv, res_context *ctx) argument
509 ZVAL_LONG(zv, (long)ntohs(ival));
511 static void to_zval_read_uint32(const char *data, zval *zv, res_context *ctx) argument
516 ZVAL_LONG(zv, (long)ival);
518 static void to_zval_read_sa_family(const char *data, zval *zv, res_context *ctx) argument
523 ZVAL_LONG(zv, (lon
525 to_zval_read_pid_t(const char *data, zval *zv, res_context *ctx) argument
532 to_zval_read_uid_t(const char *data, zval *zv, res_context *ctx) argument
566 to_zval_read_sin_addr(const char *data, zval *zv, res_context *ctx) argument
593 to_zval_read_sockaddr_in(const char *data, zval *zv, res_context *ctx) argument
624 to_zval_read_sin6_addr(const char *data, zval *zv, res_context *ctx) argument
653 to_zval_read_sockaddr_in6(const char *data, zval *zv, res_context *ctx) argument
688 to_zval_read_sun_path(const char *data, zval *zv, res_context *ctx) argument
709 to_zval_read_sockaddr_un(const char *data, zval *zv, res_context *ctx) argument
803 to_zval_read_sockaddr_aux(const char *sockaddr_c, zval *zv, res_context *ctx) argument
976 to_zval_read_cmsg_data(const char *cmsghdr_c, zval *zv, res_context *ctx) argument
1007 to_zval_read_control(const char *cmsghdr_c, zval *zv, res_context *ctx) argument
1020 to_zval_read_control_array(const char *msghdr_c, zval *zv, res_context *ctx) argument
1068 to_zval_read_name(const char *sockaddr_p, zval *zv, res_context *ctx) argument
1207 to_zval_read_iov(const char *msghdr_c, zval *zv, res_context *ctx) argument
1242 to_zval_read_msghdr(const char *msghdr_c, zval *zv, res_context *ctx) argument
1258 from_zval_write_ifindex(const zval *zv, char *uinteger, ser_context *ctx) argument
1329 to_zval_read_in6_pktinfo(const char *data, zval *zv, res_context *ctx) argument
1350 to_zval_read_ucred(const char *data, zval *zv, res_context *ctx) argument
1418 to_zval_read_fd_array(const char *data, zval *zv, res_context *ctx) argument
1531 zval *zv = NULL; local
[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);
/PHP_5_6/sapi/fpm/fpm/
H A Dfpm_php.c90 zval zv; local
91 php_dl(value, MODULE_PERSISTENT, &zv, 1 TSRMLS_CC);
92 return Z_BVAL(zv) ? 1 : -1;
/PHP_5_6/ext/intl/breakiterator/
H A Dbreakiterator_class.cpp143 zval zv = zval_used_for_init; local
149 array_init_size(&zv, 8);
155 add_assoc_bool_ex(&zv, "valid", sizeof("valid"), 0);
156 return Z_ARRVAL(zv);
158 add_assoc_bool_ex(&zv, "valid", sizeof("valid"), 1);
161 add_assoc_null_ex(&zv, "text", sizeof("text"));
164 add_assoc_zval_ex(&zv, "text", sizeof("text"), bio->text);
167 add_assoc_string_ex(&zv, "type", sizeof("type"),
170 return Z_ARRVAL(zv);
/PHP_5_6/ext/intl/calendar/
H A Dcalendar_class.cpp151 zval zv = zval_used_for_init, local
158 array_init_size(&zv, 8);
164 add_assoc_bool_ex(&zv, "valid", sizeof("valid"), 0);
165 return Z_ARRVAL(zv);
168 add_assoc_bool_ex(&zv, "valid", sizeof("valid"), 1);
170 add_assoc_string_ex(&zv, "type", sizeof("type"),
186 add_assoc_zval_ex(&zv, "timeZone", sizeof("timeZone"), ztz_debug);
193 add_assoc_string_ex(&zv, "locale", sizeof("locale"),
196 add_assoc_string_ex(&zv, "locale", sizeof("locale"),
217 add_assoc_zval_ex(&zv, "field
[all...]
/PHP_5_6/ext/intl/idn/
H A Didn.c185 zval *zv; local
186 ALLOC_INIT_ZVAL(zv);
187 ZVAL_STRINGL(zv, buffer, len, 0);
189 add_assoc_zval_ex(idna_info, "result", sizeof("result"), zv);
/PHP_5_6/ext/intl/timezone/
H A Dtimezone_class.cpp286 zval zv = zval_used_for_init; local
296 array_init_size(&zv, 4);
302 add_assoc_bool_ex(&zv, "valid", sizeof("valid"), 0);
303 return Z_ARRVAL(zv);
306 add_assoc_bool_ex(&zv, "valid", sizeof("valid"), 1);
312 return Z_ARRVAL(zv);
314 add_assoc_stringl_ex(&zv, "id", sizeof("id"), str, str_len, 0);
320 return Z_ARRVAL(zv);
323 add_assoc_long_ex(&zv, "rawOffset", sizeof("rawOffset"), (long)rawOffset);
324 add_assoc_long_ex(&zv, "currentOffse
[all...]
/PHP_5_6/Zend/
H A Dzend_gc.c130 ZEND_API void gc_zval_possible_root(zval *zv TSRMLS_DC)
133 GC_ZVAL_ADDRESS(zv) != NULL &&
134 GC_ZVAL_GET_COLOR(zv) == GC_BLACK) &&
135 (GC_ZVAL_ADDRESS(zv) < GC_G(buf) ||
136 GC_ZVAL_ADDRESS(zv) >= GC_G(last_unused))) {
142 if (zv->type == IS_OBJECT) {
143 GC_ZOBJ_CHECK_POSSIBLE_ROOT(zv);
149 if (GC_ZVAL_GET_COLOR(zv) != GC_PURPLE) {
150 GC_ZVAL_SET_PURPLE(zv);
152 if (!GC_ZVAL_ADDRESS(zv)) {
653 zval **table, *zv; local
[all...]
H A Dzend_gc.h143 ZEND_API void gc_zval_possible_root(zval *zv TSRMLS_DC);
144 ZEND_API void gc_zobj_possible_root(zval *zv TSRMLS_DC);
145 ZEND_API void gc_remove_zval_from_buffer(zval *zv TSRMLS_DC);
H A Dzend_ast.h48 ZEND_API zend_ast *zend_ast_create_constant(zval *zv);
H A Dzend.h760 #define MAKE_STD_ZVAL(zv) \
761 ALLOC_ZVAL(zv); \
762 INIT_PZVAL(zv);
802 #define COPY_PZVAL_TO_ZVAL(zv, pzv) \
803 (zv) = *(pzv); \
805 zval_copy_ctor(&(zv)); \
810 INIT_PZVAL(&(zv));
841 #define READY_TO_DESTROY(zv) \
842 (Z_REFCOUNT_P(zv) == 1 && \
843 (Z_TYPE_P(zv) !
[all...]
/PHP_5_6/ext/com_dotnet/
H A Dphp_com_dotnet_internal.h54 static inline int php_com_is_valid_object(zval *zv TSRMLS_DC)
56 zend_class_entry *ce = Z_OBJCE_P(zv);
62 #define CDNO_FETCH(zv) (php_com_dotnet_object*)zend_object_store_get_object(zv TSRMLS_CC)
63 #define CDNO_FETCH_VERIFY(obj, zv) do { \
64 if (!php_com_is_valid_object(zv TSRMLS_CC)) { \
68 obj = (php_com_dotnet_object*)zend_object_store_get_object(zv TSRMLS_CC); \
/PHP_5_6/ext/filter/
H A Dfilter_private.h120 #define PHP_FILTER_GET_LONG_OPT(zv, opt) { \
121 if (Z_TYPE_PP(zv) != IS_LONG) { \
122 zval ___tmp = **zv; \
127 opt = Z_LVAL_PP(zv); \
/PHP_5_6/ext/soap/
H A Dphp_packet_soap.c194 zval *zv = master_to_zval(get_conversion(IS_STRING), tmp TSRMLS_CC); local
195 faultstring = Z_STRVAL_P(zv);
196 FREE_ZVAL(zv);
201 zval *zv = master_to_zval(get_conversion(IS_STRING), tmp TSRMLS_CC); local
202 faultactor = Z_STRVAL_P(zv);
203 FREE_ZVAL(zv);
224 zval *zv = master_to_zval(get_conversion(IS_STRING), tmp TSRMLS_CC); local
225 faultstring = Z_STRVAL_P(zv);
226 FREE_ZVAL(zv);
/PHP_5_6/ext/pdo_mysql/
H A Dpdo_mysql.c62 static MYSQLND * pdo_mysql_convert_zv_to_mysqlnd(zval * zv TSRMLS_DC)
64 if (Z_TYPE_P(zv) == IS_OBJECT && instanceof_function(Z_OBJCE_P(zv), php_pdo_get_dbh_ce() TSRMLS_CC)) {
65 pdo_dbh_t * dbh = zend_object_store_get_object(zv TSRMLS_CC);
/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd_reverse_api.c71 zval_to_mysqlnd(zval * zv, const unsigned int client_api_capabilities, unsigned int * save_client_api_capabilities TSRMLS_DC) argument
81 retval = (*elem)->conversion_cb(zv TSRMLS_CC);
H A Dmysqlnd_reverse_api.h27 MYSQLND *(*conversion_cb)(zval * zv TSRMLS_DC);
37 PHPAPI MYSQLND * zval_to_mysqlnd(zval * zv, const unsigned int client_api_capabilities, unsigned int * save_client_api_capabilities TSRMLS_DC);
H A Dmysqlnd_ps.c649 zval_copy_ctor(stmt->result_bind[i].zv);
683 if (stmt->param_bind[i].zv == NULL) {
788 if (stmt->result_bind[i].zv) {
789 zval_dtor(stmt->result_bind[i].zv);
804 Z_TYPE_P(stmt->result_bind[i].zv) = Z_TYPE_P(current_row[i]);
805 stmt->result_bind[i].zv->value = current_row[i]->value;
807 zval_copy_ctor(stmt->result_bind[i].zv);
810 ZVAL_NULL(stmt->result_bind[i].zv);
894 stmt->result_bind[i].zv has been already destructed
898 zval_dtor(stmt->result_bind[i].zv);
[all...]
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, (long) uval); /* the cast is safe, we are in the range */
115 ZVAL_LONG(zv, (long) lval); /* the cast is safe, we are in the range */
120 ZVAL_STRINGL(zv, tmp, tmp_len, 1);
130 ps_fetch_null(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
132 ZVAL_NULL(zv);
139 ps_fetch_int8(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) 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 TSRMLS_DC) argument
157 ps_fetch_int32(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
166 ps_fetch_int64(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
175 ps_fetch_float(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
241 ps_fetch_double(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
256 ps_fetch_time(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
299 ps_fetch_date(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
336 ps_fetch_datetime(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
380 ps_fetch_string(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
400 ps_fetch_bit(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
[all...]
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg_watch.h72 zval *zv; member in union:_phpdbg_watchpoint_t::__anon12
90 void phpdbg_create_zval_watchpoint(zval *zv, phpdbg_watchpoint_t *watch);
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...]
/PHP_5_6/ext/standard/
H A Dvar.c38 static int php_array_element_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */
51 php_var_dump(zv, level + 2 TSRMLS_CC);
56 static int php_object_property_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */
82 php_var_dump(zv, level + 2 TSRMLS_CC);
189 static int zval_array_element_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */
208 php_debug_zval_dump(zv, level + 2 TSRMLS_CC);
213 static int zval_object_property_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */
237 php_debug_zval_dump(zv, level + 2 TSRMLS_CC);
344 static int php_array_element_export(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */
372 php_var_export_ex(zv, leve
[all...]
/PHP_5_6/ext/date/
H A Dphp_date.c2211 zval *zv; local
2224 MAKE_STD_ZVAL(zv);
2225 ZVAL_STRING(zv, date_format("Y-m-d H:i:s.u", 14, dateobj->time, 1), 0);
2226 zend_hash_update(props, "date", 5, &zv, sizeof(zv), NULL);
2230 MAKE_STD_ZVAL(zv);
2231 ZVAL_LONG(zv, dateobj->time->zone_type);
2232 zend_hash_update(props, "timezone_type", 14, &zv, sizeof(zv), NULL);
2234 MAKE_STD_ZVAL(zv);
2319 zval *zv; local
2408 zval *zv; local
4833 zval *zv; local
5018 zval *zv; local
[all...]

Completed in 111 milliseconds

123