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

/PHP_5_5/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_5/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_5/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_5/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_5/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_5/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_5/ext/pdo/
H A Dpdo_stmt.c567 zval *zv = *(zval**)value; local
568 ZVAL_ZVAL(dest, zv, need_copy, 1);
/PHP_5_5/ext/reflection/
H A Dphp_reflection.c726 zval *zv, zv_copy; local
729 ALLOC_ZVAL(zv);
730 *zv = *precv->op2.zv;
731 zval_copy_ctor(zv);
732 INIT_PZVAL(zv);
733 zval_update_constant_ex(&zv, (void*)1, fptr->common.scope TSRMLS_CC);
734 if (Z_TYPE_P(zv) == IS_BOOL) {
735 if (Z_LVAL_P(zv)) {
740 } else if (Z_TYPE_P(zv)
[all...]
/PHP_5_5/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_5/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.c1441 zval *zv; local
1444 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|b", &zv, &leak_data) == FAILURE) {
1449 zval_add_ref(&zv);
1450 } else if (Z_TYPE_P(zv) == IS_RESOURCE) {
1451 zend_list_addref(Z_RESVAL_P(zv));
1452 } else if (Z_TYPE_P(zv) == IS_OBJECT) {
1453 Z_OBJ_HANDLER_P(zv, add_ref)(zv TSRMLS_CC);
H A Dzend_compile.c335 static inline void zend_insert_literal(zend_op_array *op_array, const zval *zv, int literal_position TSRMLS_DC) /* {{{ */ argument
337 if (Z_TYPE_P(zv) == IS_STRING || Z_TYPE_P(zv) == IS_CONSTANT) {
338 zval *z = (zval*)zv;
339 Z_STRVAL_P(z) = (char*)zend_new_interned_string(Z_STRVAL_P(zv), Z_STRLEN_P(zv) + 1, 1 TSRMLS_CC);
341 CONSTANT_EX(op_array, literal_position) = *zv;
352 int zend_add_literal(zend_op_array *op_array, const zval *zv TSRMLS_DC) /* {{{ */
362 zend_insert_literal(op_array, zv, i TSRMLS_CC);
369 int zend_append_individual_literal(zend_op_array *op_array, const zval *zv TSRMLS_D
472 zend_add_const_name_literal(zend_op_array *op_array, const zval *zv, int unqualified TSRMLS_DC) argument
3333 zval *zv, zv_copy; local
[all...]
H A Dzend_compile.h74 #define Z_HASH_P(zv) \
75 (((zend_literal*)(zv))->hash_value)
84 zval *zv; member in union:_znode_op
93 zval constant; /* replaced by literal/zv */
715 int zend_add_literal(zend_op_array *op_array, const zval *zv TSRMLS_DC);
/PHP_5_5/ext/mysqlnd/
H A Dmysqlnd_structs.h728 typedef enum_func_status (*func_mysqlnd_stmt__bind_one_parameter)(MYSQLND_STMT * const stmt, unsigned int param_no, zval * const zv, zend_uchar type TSRMLS_DC);
1024 zval *zv; member in struct:st_mysqlnd_param_bind
1031 zval *zv; member in struct:st_mysqlnd_result_bind
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
231 ps_fetch_double(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
246 ps_fetch_time(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
289 ps_fetch_date(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
326 ps_fetch_datetime(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
370 ps_fetch_string(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
390 ps_fetch_bit(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
[all...]
H A Dmysqlnd_result.c88 mysqlnd_rset_zval_ptr_dtor(zval **zv, enum_mysqlnd_res_type type, zend_bool * copy_ctor_called TSRMLS_DC) argument
91 if (!zv || !*zv) {
93 DBG_ERR_FMT("zv was NULL");
104 } else if (Z_REFCOUNT_PP(zv) > 1) {
109 if (Z_TYPE_PP(zv) == IS_STRING) {
110 zval_copy_ctor(*zv);
120 if (Z_TYPE_PP(zv) == IS_STRING) {
121 ZVAL_NULL(*zv);
124 zval_ptr_dtor(zv);
[all...]
/PHP_5_5/ext/opcache/Optimizer/
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_5/ext/standard/
H A Dstring.c1267 zval *zv; local
1286 MAKE_STD_ZVAL(zv);
1287 ZVAL_STRINGL(zv, str, str_len, 1);
1289 BG(strtok_zval) = zv;
1290 BG(strtok_last) = BG(strtok_string) = Z_STRVAL_P(zv);
/PHP_5_5/ext/date/
H A Dphp_date.c2206 zval *zv; local
2219 MAKE_STD_ZVAL(zv);
2220 ZVAL_STRING(zv, date_format("Y-m-d H:i:s.u", 14, dateobj->time, 1), 0);
2221 zend_hash_update(props, "date", 5, &zv, sizeof(zv), NULL);
2225 MAKE_STD_ZVAL(zv);
2226 ZVAL_LONG(zv, dateobj->time->zone_type);
2227 zend_hash_update(props, "timezone_type", 14, &zv, sizeof(zv), NULL);
2229 MAKE_STD_ZVAL(zv);
2314 zval *zv; local
2403 zval *zv; local
4808 zval *zv; local
4993 zval *zv; local
[all...]

Completed in 58 milliseconds