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

12

/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 Dblock_pass.c1364 zval zv = ZEND_OP1_LITERAL(last_op); local
1365 zval_copy_ctor(&zv);
1366 last_op->op1.constant = zend_optimizer_add_literal(op_array, &zv TSRMLS_CC);
1400 zval zv = ZEND_OP1_LITERAL(last_op); local
1401 zval_copy_ctor(&zv);
1402 last_op->op1.constant = zend_optimizer_add_literal(op_array, &zv TSRMLS_CC);
/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 Dsendrecvmsg.c391 zval *zv = to_zval_run_conversions(buffer, reader, "in6_pktinfo", local
397 ZVAL_COPY_VALUE(result, zv);
398 efree(zv);
/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_builtin_functions.c1450 zval *zv; local
1453 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|b", &zv, &leak_data) == FAILURE) {
1458 zval_add_ref(&zv);
1459 } else if (Z_TYPE_P(zv) == IS_RESOURCE) {
1460 zend_list_addref(Z_RESVAL_P(zv));
1461 } else if (Z_TYPE_P(zv) == IS_OBJECT) {
1462 Z_OBJ_HANDLER_P(zv, add_ref)(zv TSRMLS_CC);
H A Dzend_ast.c26 ZEND_API zend_ast *zend_ast_create_constant(zval *zv) argument
32 INIT_PZVAL_COPY(ast->u.val, zv);
H A Dzend_compile.h75 #define Z_HASH_P(zv) \
76 (((zend_literal*)(zv))->hash_value)
85 zval *zv; member in union:_znode_op
94 zval constant; /* replaced by literal/zv */
737 int zend_add_literal(zend_op_array *op_array, const zval *zv TSRMLS_DC);
H A Dzend_compile.c339 static inline void zend_insert_literal(zend_op_array *op_array, const zval *zv, int literal_position TSRMLS_DC) /* {{{ */ argument
341 if (Z_TYPE_P(zv) == IS_STRING || Z_TYPE_P(zv) == IS_CONSTANT) {
342 zval *z = (zval*)zv;
343 Z_STRVAL_P(z) = (char*)zend_new_interned_string(Z_STRVAL_P(zv), Z_STRLEN_P(zv) + 1, 1 TSRMLS_CC);
345 CONSTANT_EX(op_array, literal_position) = *zv;
356 int zend_add_literal(zend_op_array *op_array, const zval *zv TSRMLS_DC) /* {{{ */
366 zend_insert_literal(op_array, zv, i TSRMLS_CC);
373 int zend_append_individual_literal(zend_op_array *op_array, const zval *zv TSRMLS_D
480 zend_add_const_name_literal(zend_op_array *op_array, const zval *zv, int unqualified TSRMLS_DC) argument
3458 zval *zv, zv_copy; local
[all...]
/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/
H A Dpdo_stmt.c567 zval *zv = *(zval**)value; local
568 ZVAL_ZVAL(dest, zv, need_copy, 1);
/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_result.c146 mysqlnd_rset_zval_ptr_dtor(zval **zv, enum_mysqlnd_res_type type, zend_bool * copy_ctor_called TSRMLS_DC) argument
150 if (!zv || !*zv) {
152 DBG_ERR_FMT("zv was NULL");
163 } else if (Z_REFCOUNT_PP(zv) > 1) {
168 if (Z_TYPE_PP(zv) == IS_STRING) {
169 zval_copy_ctor(*zv);
179 if (Z_TYPE_PP(zv) == IS_STRING) {
180 ZVAL_NULL(*zv);
183 DBG_INF_FMT("call the dtor on zval with refc %u", Z_REFCOUNT_PP(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 Dstring.c1262 zval *zv; local
1281 MAKE_STD_ZVAL(zv);
1282 ZVAL_STRINGL(zv, str, str_len, 1);
1284 BG(strtok_zval) = zv;
1285 BG(strtok_last) = BG(strtok_string) = Z_STRVAL_P(zv);
/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...]
/PHP_5_6/ext/reflection/
H A Dphp_reflection.c729 zval *zv, zv_copy; local
734 ALLOC_ZVAL(zv);
735 *zv = *precv->op2.zv;
736 zval_copy_ctor(zv);
737 INIT_PZVAL(zv);
740 zval_update_constant_ex(&zv, 1, NULL TSRMLS_CC);
742 if (Z_TYPE_P(zv) == IS_BOOL) {
743 if (Z_LVAL_P(zv)) {
748 } else if (Z_TYPE_P(zv)
[all...]
/PHP_5_6/ext/gmp/
H A Dgmp.c390 static inline long gmp_get_long(zval *zv) /* {{{ */ argument
392 if (Z_TYPE_P(zv) == IS_LONG) {
393 return Z_LVAL_P(zv);
396 MAKE_COPY_ZVAL(&zv, &tmp_zv);
486 zval *zv; local
493 MAKE_STD_ZVAL(zv);
494 gmp_strval(zv, gmpnum, 10);
495 zend_hash_update(ht, "num", sizeof("num"), &zv, sizeof(zval *), NULL);
628 zval zv, *zv_ptr = &zv; local
654 zval zv, *zv_ptr = &zv; local
[all...]

Completed in 61 milliseconds

12