| /PHP_5_3/sapi/fpm/fpm/ |
| H A D | fpm_php.c | 90 zval zv; local 91 php_dl(value, MODULE_PERSISTENT, &zv, 1 TSRMLS_CC); 92 return Z_BVAL(zv) ? 1 : -1;
|
| /PHP_5_3/ext/com_dotnet/ |
| H A D | com_saproxy.c | 61 #define SA_FETCH(zv) (php_com_saproxy*)zend_object_store_get_object(zv TSRMLS_CC)
|
| H A D | php_com_dotnet_internal.h | 57 static inline int php_com_is_valid_object(zval *zv TSRMLS_DC) 59 zend_class_entry *ce = Z_OBJCE_P(zv); 65 #define CDNO_FETCH(zv) (php_com_dotnet_object*)zend_object_store_get_object(zv TSRMLS_CC) 66 #define CDNO_FETCH_VERIFY(obj, zv) do { \ 67 if (!php_com_is_valid_object(zv TSRMLS_CC)) { \ 71 obj = (php_com_dotnet_object*)zend_object_store_get_object(zv TSRMLS_CC); \
|
| /PHP_5_3/ext/filter/ |
| H A D | filter_private.h | 117 #define PHP_FILTER_GET_LONG_OPT(zv, opt) { \ 118 if (Z_TYPE_PP(zv) != IS_LONG) { \ 119 zval ___tmp = **zv; \ 124 opt = Z_LVAL_PP(zv); \
|
| /PHP_5_3/ext/mysqli/ |
| H A D | mysqli_api.c | 200 params[i].zv = *(args[i + start]); 462 params[i].zv = *(args[i + start]);
|
| /PHP_5_3/ext/pdo/ |
| H A D | pdo_stmt.c | 567 zval *zv = *(zval**)value; local 568 ZVAL_ZVAL(dest, zv, need_copy, 1);
|
| /PHP_5_3/ext/pdo_mysql/ |
| H A D | mysql_statement.c | 37 # define pdo_free_bound_result(res) zval_dtor(res.zv) 754 Z_ADDREF_P(S->stmt->data->result_bind[colno].zv); 755 *ptr = (char*)&S->stmt->data->result_bind[colno].zv;
|
| /PHP_5_3/ext/reflection/ |
| H A D | php_reflection.c | 703 zval *zv, zv_copy; local 706 ALLOC_ZVAL(zv); 707 *zv = precv->op2.u.constant; 708 zval_copy_ctor(zv); 709 INIT_PZVAL(zv); 710 zval_update_constant_ex(&zv, (void*)1, fptr->common.scope TSRMLS_CC); 711 if (Z_TYPE_P(zv) == IS_BOOL) { 712 if (Z_LVAL_P(zv)) { 717 } else if (Z_TYPE_P(zv) == IS_NULL) { 719 } else if (Z_TYPE_P(zv) [all...] |
| /PHP_5_3/ext/soap/ |
| H A D | php_packet_soap.c | 194 zval *zv = master_to_zval(get_conversion(IS_STRING), tmp); local 195 faultstring = Z_STRVAL_P(zv); 196 FREE_ZVAL(zv); 201 zval *zv = master_to_zval(get_conversion(IS_STRING), tmp); local 202 faultactor = Z_STRVAL_P(zv); 203 FREE_ZVAL(zv); 224 zval *zv = master_to_zval(get_conversion(IS_STRING), tmp); local 225 faultstring = Z_STRVAL_P(zv); 226 FREE_ZVAL(zv);
|
| /PHP_5_3/ext/standard/ |
| H A D | var.c | 38 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); 187 static int zval_array_element_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ 206 php_debug_zval_dump(zv, level + 2 TSRMLS_CC); 211 static int zval_object_property_dump(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ 235 php_debug_zval_dump(zv, level + 2 TSRMLS_CC); 348 static int php_array_element_export(zval **zv TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ 375 php_var_export_ex(zv, leve [all...] |
| H A D | string.c | 1193 zval *zv; local 1212 MAKE_STD_ZVAL(zv); 1213 ZVAL_STRINGL(zv, str, str_len, 1); 1215 BG(strtok_zval) = zv; 1216 BG(strtok_last) = BG(strtok_string) = Z_STRVAL_P(zv);
|
| /PHP_5_3/main/ |
| H A D | php_streams.h | 414 #define php_stream_populate_meta_data(stream, zv) (_php_stream_set_option((stream), PHP_STREAM_OPTION_META_DATA_API, 0, zv TSRMLS_CC) == PHP_STREAM_OPTION_RETURN_OK ? 1 : 0)
|
| /PHP_5_3/Zend/ |
| H A D | zend.h | 673 #define MAKE_STD_ZVAL(zv) \ 674 ALLOC_ZVAL(zv); \ 675 INIT_PZVAL(zv); 704 #define COPY_PZVAL_TO_ZVAL(zv, pzv) \ 705 (zv) = *(pzv); \ 707 zval_copy_ctor(&(zv)); \ 712 INIT_PZVAL(&(zv)); 747 #define READY_TO_DESTROY(zv) \ 748 (Z_REFCOUNT_P(zv) == 1 && \ 749 (Z_TYPE_P(zv) ! [all...] |
| H A D | zend_execute_API.c | 210 static int zval_call_destructor(zval **zv TSRMLS_DC) /* {{{ */ 212 if (Z_TYPE_PP(zv) == IS_OBJECT && Z_REFCOUNT_PP(zv) == 1) { 436 zval *zv = *zval_ptr; local 441 Z_DELREF_P(zv); 442 if (Z_REFCOUNT_P(zv) == 0) { 445 if (zv != &EG(uninitialized_zval)) { 446 GC_REMOVE_ZVAL_FROM_BUFFER(zv); 447 zval_dtor(zv); 448 efree_rel(zv); [all...] |
| H A D | zend_gc.c | 130 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)) { [all...] |
| H A D | zend_gc.h | 143 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 D | zend_API.h | 564 #define ZVAL_ZVAL(z, zv, copy, dtor) { \ 567 *(z) = *(zv); \ 573 ZVAL_NULL(zv); \ 575 zval_ptr_dtor(&zv); \ 592 #define RETVAL_ZVAL(zv, copy, dtor) ZVAL_ZVAL(return_value, zv, copy, dtor) 604 #define RETURN_ZVAL(zv, copy, dtor) { RETVAL_ZVAL(zv, copy, dtor); return; }
|
| /PHP_5_3/ext/mysqlnd/ |
| H A D | mysqlnd_debug.c | 1437 #define TRACE_APPEND_ZVAL(zv) \ 1438 if (Z_TYPE_P((zv)) == IS_UNICODE) { \ 1441 zend_make_printable_zval((zv), ©, &use_copy); \ 1445 TRACE_APPEND_STRL(Z_STRVAL_P((zv)), Z_STRLEN_P((zv))); \
|
| H A D | mysqlnd_priv.h | 154 typedef void (*ps_field_fetch_func)(zval *zv, const MYSQLND_FIELD * const field, 180 void ps_fetch_from_1_to_8_bytes(zval *zv, const MYSQLND_FIELD * const field,
|
| H A D | mysqlnd_ps_codec.c | 56 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 285 ps_fetch_date(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument 336 ps_fetch_datetime(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument 395 ps_fetch_string(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument 427 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 D | mysqlnd_structs.h | 615 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); 884 zval *zv; member in struct:st_mysqlnd_param_bind 891 zval *zv; member in struct:st_mysqlnd_result_bind
|
| H A D | mysqlnd_ps.c | 626 zval_copy_ctor(stmt->result_bind[i].zv); 678 if (stmt->param_bind[i].zv == NULL) { 784 if (stmt->result_bind[i].zv) { 785 zval_dtor(stmt->result_bind[i].zv); 800 Z_TYPE_P(stmt->result_bind[i].zv) = Z_TYPE_P(current_row[i]); 801 stmt->result_bind[i].zv->value = current_row[i]->value; 803 zval_copy_ctor(stmt->result_bind[i].zv); 806 ZVAL_NULL(stmt->result_bind[i].zv); 889 stmt->result_bind[i].zv has been already destructed 893 zval_dtor(stmt->result_bind[i].zv); [all...] |
| H A D | mysqlnd_result.c | 89 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_3/ext/date/ |
| H A D | php_date.c | 2103 zval *zv; local 2116 MAKE_STD_ZVAL(zv); 2117 ZVAL_STRING(zv, date_format("Y-m-d H:i:s", 12, dateobj->time, 1), 0); 2118 zend_hash_update(props, "date", 5, &zv, sizeof(zval), NULL); 2122 MAKE_STD_ZVAL(zv); 2123 ZVAL_LONG(zv, dateobj->time->zone_type); 2124 zend_hash_update(props, "timezone_type", 14, &zv, sizeof(zval), NULL); 2126 MAKE_STD_ZVAL(zv); 2129 ZVAL_STRING(zv, dateobj->time->tz_info->name, 1); 2140 ZVAL_STRING(zv, tmpst 2250 zval *zv; local [all...] |
| /PHP_5_3/ext/phar/ |
| H A D | phar_object.c | 1562 zval zv; local 1564 INIT_ZVAL(zv); 1565 Z_UNIVAL(zv) = intern->file_name; 1566 Z_UNILEN(zv) = intern->file_name_len; 1567 Z_TYPE(zv) = IS_UNICODE; 1569 zval_copy_ctor(&zv); 1570 zval_unicode_to_string(&zv TSRMLS_CC); 1571 fname = expand_filepath(Z_STRVAL(zv), NULL TSRMLS_CC); 1572 ezfree(Z_UNIVAL(zv));
|