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

12

/PHP_5_4/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_4/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_4/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_4/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_4/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_4/Zend/
H A Dzend.h741 #define MAKE_STD_ZVAL(zv) \
742 ALLOC_ZVAL(zv); \
743 INIT_PZVAL(zv);
783 #define COPY_PZVAL_TO_ZVAL(zv, pzv) \
784 (zv) = *(pzv); \
786 zval_copy_ctor(&(zv)); \
791 INIT_PZVAL(&(zv));
822 #define READY_TO_DESTROY(zv) \
823 (Z_REFCOUNT_P(zv) == 1 && \
824 (Z_TYPE_P(zv) !
[all...]
H A Dzend_API.h593 #define ZVAL_ZVAL(z, zv, copy, dtor) { \
596 ZVAL_COPY_VALUE(z, zv); \
602 ZVAL_NULL(zv); \
604 zval_ptr_dtor(&zv); \
621 #define RETVAL_ZVAL(zv, copy, dtor) ZVAL_ZVAL(return_value, zv, copy, dtor)
633 #define RETURN_ZVAL(zv, copy, dtor) { RETVAL_ZVAL(zv, copy, dtor); return; }
H A Dzend_compile.c332 static inline void zend_insert_literal(zend_op_array *op_array, const zval *zv, int literal_position TSRMLS_DC) /* {{{ */ argument
334 if (Z_TYPE_P(zv) == IS_STRING || Z_TYPE_P(zv) == IS_CONSTANT) {
335 zval *z = (zval*)zv;
336 Z_STRVAL_P(z) = (char*)zend_new_interned_string(Z_STRVAL_P(zv), Z_STRLEN_P(zv) + 1, 1 TSRMLS_CC);
338 CONSTANT_EX(op_array, literal_position) = *zv;
349 int zend_add_literal(zend_op_array *op_array, const zval *zv TSRMLS_DC) /* {{{ */
359 zend_insert_literal(op_array, zv, i TSRMLS_CC);
366 int zend_append_individual_literal(zend_op_array *op_array, const zval *zv TSRMLS_D
469 zend_add_const_name_literal(zend_op_array *op_array, const zval *zv, int unqualified TSRMLS_DC) argument
3147 zval *zv, zv_copy; local
[all...]
H A Dzend_compile.h71 #define Z_HASH_P(zv) \
72 (((zend_literal*)(zv))->hash_value)
81 zval *zv; member in union:_znode_op
90 zval constant; /* replaced by literal/zv */
686 int zend_add_literal(zend_op_array *op_array, const zval *zv TSRMLS_DC);
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_opcode.c514 opline->op1.zv = &op_array->literals[opline->op1.constant].constant;
517 opline->op2.zv = &op_array->literals[opline->op2.constant].constant;
521 if (Z_TYPE_P(opline->op2.zv) != IS_LONG) {
H A Dzend_vm_def.h1029 ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.literal + 1, 0 TSRMLS_CC);
2037 add_char_to_string(str, str, opline->op2.zv);
2060 add_string_to_string(str, str, opline->op2.zv);
2233 ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op1.zv), Z_STRLEN_P(opline->op1.zv), opline->op1.literal + 1, opline->extended_value TSRMLS_CC);
2238 zend_error_noreturn(E_ERROR, "Class '%s' not found", Z_STRVAL_P(opline->op1.zv));
2267 function_name_strval = Z_STRVAL_P(opline->op2.zv);
2268 function_name_strlen = Z_STRLEN_P(opline->op2.zv);
2349 zend_error_noreturn(E_ERROR, "Call to undefined function %s()", Z_STRVAL_P(opline->op2.zv));
[all...]
H A Dzend_vm_execute.h951 if (zend_hash_quick_find(EG(class_table), Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv)+1, Z_HASH_P(opline->op2.zv), (void**)&pce) == FAILURE ||
952 (zend_hash_quick_find(EG(class_table), Z_STRVAL_P(opline->op1.zv), Z_STRLEN_P(opline->op1.zv), Z_HASH_P(opline->op1.zv), (void**)&pce_orig) == SUCCESS &&
1005 trait = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv),
1006 Z_STRLEN_P(opline->op2.zv),
1171 zval *class_name = opline->op2.zv;
1205 zend_error_noreturn(E_ERROR, "Call to undefined function %s()", Z_STRVAL_P(opline->op2.zv));
[all...]
/PHP_5_4/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_4/ext/filter/
H A Dfilter_private.h119 #define PHP_FILTER_GET_LONG_OPT(zv, opt) { \
120 if (Z_TYPE_PP(zv) != IS_LONG) { \
121 zval ___tmp = **zv; \
126 opt = Z_LVAL_PP(zv); \
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_bt.c53 #define TRACE_APPEND_ZVAL(zv) \
54 if (Z_TYPE_P((zv)) == IS_UNICODE) { \
57 zend_make_printable_zval((zv), &copy, &use_copy); \
61 TRACE_APPEND_STRL(Z_STRVAL_P((zv)), Z_STRLEN_P((zv))); \
H A Dmysqlnd_priv.h177 typedef void (*ps_field_fetch_func)(zval *zv, const MYSQLND_FIELD * const field,
210 void ps_fetch_from_1_to_8_bytes(zval *zv, const MYSQLND_FIELD * const field,
H A Dmysqlnd_ps.c626 zval_copy_ctor(stmt->result_bind[i].zv);
660 if (stmt->param_bind[i].zv == NULL) {
765 if (stmt->result_bind[i].zv) {
766 zval_dtor(stmt->result_bind[i].zv);
781 Z_TYPE_P(stmt->result_bind[i].zv) = Z_TYPE_P(current_row[i]);
782 stmt->result_bind[i].zv->value = current_row[i]->value;
784 zval_copy_ctor(stmt->result_bind[i].zv);
787 ZVAL_NULL(stmt->result_bind[i].zv);
868 stmt->result_bind[i].zv has been already destructed
872 zval_dtor(stmt->result_bind[i].zv);
[all...]
H A Dmysqlnd_ps_codec.c56 void ps_fetch_from_1_to_8_bytes(zval *zv, const MYSQLND_FIELD * const field, 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 */
123 ZVAL_UTF8_STRINGL(zv, tmp, tmp_len, ZSTR_DUPLICATE);
128 ZVAL_STRINGL(zv, tmp, tmp_len, 1);
139 void ps_fetch_null(zval *zv, const MYSQLND_FIELD * const field, argument
143 ZVAL_NULL(zv);
150 void ps_fetch_int8(zval *zv, cons argument
161 ps_fetch_int16(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
172 ps_fetch_int32(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
183 ps_fetch_int64(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
194 ps_fetch_float(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
211 ps_fetch_double(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
228 ps_fetch_time(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
281 ps_fetch_date(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
328 ps_fetch_datetime(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
382 ps_fetch_string(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
414 ps_fetch_bit(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
[all...]
H A Dmysqlnd_reverse_api.c71 zval_to_mysqlnd(zval * zv TSRMLS_DC)
81 retval = (*elem)->conversion_cb(zv TSRMLS_CC);
H A Dmysqlnd_reverse_api.h27 MYSQLND *(*conversion_cb)(zval * zv TSRMLS_DC);
38 PHPAPI MYSQLND * zval_to_mysqlnd(zval * zv TSRMLS_DC);
H A Dmysqlnd_result.c89 mysqlnd_rset_zval_ptr_dtor(zval **zv, enum_mysqlnd_res_type type, zend_bool * copy_ctor_called TSRMLS_DC) argument
92 if (!zv || !*zv) {
94 DBG_ERR_FMT("zv was NULL");
105 } else if (Z_REFCOUNT_PP(zv) > 1) {
120 if (Z_TYPE_PP(zv) == IS_STRING) {
121 zval_copy_ctor(*zv);
131 if (Z_TYPE_PP(zv) == IS_STRING) {
132 ZVAL_NULL(*zv);
135 zval_ptr_dtor(zv);
[all...]
/PHP_5_4/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_4/ext/date/
H A Dphp_date.c2110 zval *zv; local
2123 MAKE_STD_ZVAL(zv);
2124 ZVAL_STRING(zv, date_format("Y-m-d H:i:s", 12, dateobj->time, 1), 0);
2125 zend_hash_update(props, "date", 5, &zv, sizeof(zv), NULL);
2129 MAKE_STD_ZVAL(zv);
2130 ZVAL_LONG(zv, dateobj->time->zone_type);
2131 zend_hash_update(props, "timezone_type", 14, &zv, sizeof(zv), NULL);
2133 MAKE_STD_ZVAL(zv);
2263 zval *zv; local
4312 zval *zv; local
4496 zval *zv; local
[all...]

Completed in 68 milliseconds

12