Home
last modified time | relevance | path

Searched refs:PHP5TO7_ZVAL_MAYBE_P (Results 1 – 25 of 51) sorted by relevance

123

/dports/databases/pecl-cassandra/php-driver-61faee0/ext/src/Cluster/
H A DBuilder.c1141 ZVAL_NULL(PHP5TO7_ZVAL_MAYBE_P(username)); in php_driver_cluster_builder_properties()
1142 ZVAL_NULL(PHP5TO7_ZVAL_MAYBE_P(password)); in php_driver_cluster_builder_properties()
1152 PHP5TO7_ZVAL_COPY(PHP5TO7_ZVAL_MAYBE_P(sslOptions), PHP5TO7_ZVAL_MAYBE_P(self->ssl_options)); in php_driver_cluster_builder_properties()
1154 ZVAL_NULL(PHP5TO7_ZVAL_MAYBE_P(sslOptions)); in php_driver_cluster_builder_properties()
1196 ZVAL_NULL(PHP5TO7_ZVAL_MAYBE_P(tcpKeepalive)); in php_driver_cluster_builder_properties()
1201 PHP5TO7_ZVAL_COPY(PHP5TO7_ZVAL_MAYBE_P(retryPolicy), PHP5TO7_ZVAL_MAYBE_P(self->retry_policy)); in php_driver_cluster_builder_properties()
1203 ZVAL_NULL(PHP5TO7_ZVAL_MAYBE_P(retryPolicy)); in php_driver_cluster_builder_properties()
1224 ZVAL_NULL(PHP5TO7_ZVAL_MAYBE_P(blacklistDCs)); in php_driver_cluster_builder_properties()
1231 ZVAL_NULL(PHP5TO7_ZVAL_MAYBE_P(whitelistDCs)); in php_driver_cluster_builder_properties()
1236 … PHP5TO7_ZVAL_COPY(PHP5TO7_ZVAL_MAYBE_P(timestampGen), PHP5TO7_ZVAL_MAYBE_P(self->timestamp_gen)); in php_driver_cluster_builder_properties()
[all …]
/dports/databases/pecl-cassandra/php-driver-61faee0/ext/src/
H A DMap.c44 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(map->type)); in php_driver_map_set()
150 Z_TRY_ADDREF_P(PHP5TO7_ZVAL_MAYBE_P(curr->key)); in php_driver_map_populate_keys()
162 Z_TRY_ADDREF_P(PHP5TO7_ZVAL_MAYBE_P(curr->value)); in php_driver_map_populate_values()
188 key_type = PHP5TO7_ZVAL_MAYBE_P(scalar_key_type); in PHP_METHOD()
207 value_type = PHP5TO7_ZVAL_MAYBE_P(scalar_value_type); in PHP_METHOD()
230 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->type), 1, 0); in PHP_METHOD()
279 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(value), 1, 0); in PHP_METHOD()
380 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(value), 1, 0); in PHP_METHOD()
477 Z_ADDREF_P(PHP5TO7_ZVAL_MAYBE_P(self->type)); in php_driver_map_properties()
480 array_init(PHP5TO7_ZVAL_MAYBE_P(keys)); in php_driver_map_properties()
[all …]
H A DDefaultTable.c77 table = PHP_DRIVER_GET_TABLE(PHP5TO7_ZVAL_MAYBE_P(result)); in php_driver_create_table()
123 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->name), 1, 0); in PHP_METHOD()
163 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->options), 1, 0); in PHP_METHOD()
395 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(column), 0, 1); in PHP_METHOD()
445 array_init(PHP5TO7_ZVAL_MAYBE_P(self->partition_key)); in PHP_METHOD()
462 array_init(PHP5TO7_ZVAL_MAYBE_P(self->primary_key)); in PHP_METHOD()
467 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->primary_key), 1, 0); in PHP_METHOD()
480 array_init(PHP5TO7_ZVAL_MAYBE_P(self->clustering_key)); in PHP_METHOD()
498 array_init(PHP5TO7_ZVAL_MAYBE_P(self->clustering_order)); in PHP_METHOD()
542 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(index), 0, 1); in PHP_METHOD()
[all …]
H A DDefaultFunction.c41 function = PHP_DRIVER_GET_FUNCTION(PHP5TO7_ZVAL_MAYBE_P(result)); in php_driver_create_function()
61 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->signature), 1, 0); in PHP_METHOD()
80 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->simple_name), 1, 0); in PHP_METHOD()
94 array_init(PHP5TO7_ZVAL_MAYBE_P(self->arguments)); in PHP_METHOD()
102 PHP5TO7_ADD_ASSOC_ZVAL_EX(PHP5TO7_ZVAL_MAYBE_P(self->arguments), in PHP_METHOD()
104 PHP5TO7_ZVAL_MAYBE_P(type)); in PHP_METHOD()
110 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->arguments), 1, 0); in PHP_METHOD()
129 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->return_type), 1, 0); in PHP_METHOD()
140 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->signature), 1, 0); in PHP_METHOD()
159 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->language), 1, 0); in PHP_METHOD()
[all …]
H A DSet.c38 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(set->type)); in php_driver_set_add()
48 PHP5TO7_ZVAL_COPY(PHP5TO7_ZVAL_MAYBE_P(entry->value), object); in php_driver_set_add()
62 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(set->type)); in php_driver_set_del()
90 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(set->type)); in php_driver_set_has()
112 Z_TRY_ADDREF_P(PHP5TO7_ZVAL_MAYBE_P(curr->value)); in php_driver_set_populate()
149 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->type), 1, 0); in PHP_METHOD()
230 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->iter_curr->value), 1, 0); in PHP_METHOD()
321 Z_ADDREF_P(PHP5TO7_ZVAL_MAYBE_P(self->type)); in php_driver_set_properties()
324 array_init(PHP5TO7_ZVAL_MAYBE_P(values)); in php_driver_set_properties()
348 type1 = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(set1->type)); in php_driver_set_compare()
[all …]
H A DDefaultKeyspace.c47 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(value), 0, 1); in PHP_METHOD()
61 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(value), 0, 1); in PHP_METHOD()
75 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(value), 0, 1); in PHP_METHOD()
89 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(value), 0, 1); in PHP_METHOD()
116 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(ztable), 0, 1); in PHP_METHOD()
150 PHP5TO7_ZVAL_MAYBE_P(ztable)); in PHP_METHOD()
180 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(ztype), 0, 1); in PHP_METHOD()
207 PHP5TO7_ZVAL_MAYBE_P(ztype)); in PHP_METHOD()
237 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(zview), 0, 1); in PHP_METHOD()
345 RETVAL_ZVAL(PHP5TO7_ZVAL_MAYBE_P(zfunction), 1, 1); in PHP_METHOD()
[all …]
H A DUserTypeValue.c49 ZVAL_NULL(PHP5TO7_ZVAL_MAYBE_P(null)); in php_driver_user_type_value_populate()
65 Z_TRY_ADDREF_P(PHP5TO7_ZVAL_MAYBE_P(null)); in php_driver_user_type_value_populate()
140 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->type), 1, 0); in PHP_METHOD()
228 PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(self->type)); in PHP_METHOD()
240 PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(self->type));
261 PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(self->type));
278 PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(self->type));
289 PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(self->type));
300 PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(self->type));
358 Z_ADDREF_P(PHP5TO7_ZVAL_MAYBE_P(self->type));
[all …]
H A DTuple.c47 ZVAL_NULL(PHP5TO7_ZVAL_MAYBE_P(null)); in php_driver_tuple_populate()
49 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(tuple->type)); in php_driver_tuple_populate()
61 Z_TRY_ADDREF_P(PHP5TO7_ZVAL_MAYBE_P(null)); in php_driver_tuple_populate()
86 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(self->type)); in PHP_METHOD()
125 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->type), 1, 0); in PHP_METHOD()
151 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(self->type)); in PHP_METHOD()
181 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(self->type)); in PHP_METHOD()
312 Z_ADDREF_P(PHP5TO7_ZVAL_MAYBE_P(self->type)); in php_driver_tuple_properties()
315 array_init(PHP5TO7_ZVAL_MAYBE_P(values)); in php_driver_tuple_properties()
341 type1 = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(tuple1->type)); in php_driver_tuple_compare()
[all …]
H A DDefaultMaterializedView.c40 add_next_index_zval(result, PHP5TO7_ZVAL_MAYBE_P(zcolumn)); in populate_partition_key()
56 add_next_index_zval(result, PHP5TO7_ZVAL_MAYBE_P(zcolumn)); in populate_clustering_key()
123 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->name), 1, 0); in PHP_METHOD()
163 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->options), 1, 0); in PHP_METHOD()
394 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(column), 0, 1); in PHP_METHOD()
444 array_init(PHP5TO7_ZVAL_MAYBE_P(self->partition_key)); in PHP_METHOD()
461 array_init(PHP5TO7_ZVAL_MAYBE_P(self->primary_key)); in PHP_METHOD()
466 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->primary_key), 1, 0); in PHP_METHOD()
479 array_init(PHP5TO7_ZVAL_MAYBE_P(self->clustering_key)); in PHP_METHOD()
497 array_init(PHP5TO7_ZVAL_MAYBE_P(self->clustering_order)); in PHP_METHOD()
[all …]
H A DDefaultIndex.c39 object_init_ex(PHP5TO7_ZVAL_MAYBE_P(result), php_driver_default_index_ce); in php_driver_create_index()
41 index = PHP_DRIVER_GET_INDEX(PHP5TO7_ZVAL_MAYBE_P(result)); in php_driver_create_index()
60 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->name), 1, 0); in PHP_METHOD()
79 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->target), 1, 0); in PHP_METHOD()
94 PHP5TO7_ZVAL_STRING(PHP5TO7_ZVAL_MAYBE_P(self->kind), "keys"); in PHP_METHOD()
97 PHP5TO7_ZVAL_STRING(PHP5TO7_ZVAL_MAYBE_P(self->kind), "custom"); in PHP_METHOD()
103 PHP5TO7_ZVAL_STRING(PHP5TO7_ZVAL_MAYBE_P(self->kind), "unknown"); in PHP_METHOD()
108 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->kind), 1, 0); in PHP_METHOD()
116 array_init(PHP5TO7_ZVAL_MAYBE_P(index->options)); in php_driver_index_build_option()
130 PHP5TO7_ADD_ASSOC_STRINGL_EX(PHP5TO7_ZVAL_MAYBE_P(index->options), in php_driver_index_build_option()
[all …]
H A DDefaultAggregate.c36 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->signature), 1, 0); in PHP_METHOD()
55 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->simple_name), 1, 0); in PHP_METHOD()
69 array_init(PHP5TO7_ZVAL_MAYBE_P(self->argument_types)); in PHP_METHOD()
76 PHP5TO7_ZVAL_MAYBE_P(type)); in PHP_METHOD()
82 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->argument_types), 1, 0); in PHP_METHOD()
102 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->state_function), 1, 0); in PHP_METHOD()
122 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->final_function), 1, 0); in PHP_METHOD()
146 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->initial_condition), 1, 0); in PHP_METHOD()
165 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->state_type), 1, 0); in PHP_METHOD()
184 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->return_type), 1, 0); in PHP_METHOD()
[all …]
H A DDefaultSession.c946 array_init(PHP5TO7_ZVAL_MAYBE_P(requests));
947 add_assoc_long(PHP5TO7_ZVAL_MAYBE_P(requests),
991 array_init(PHP5TO7_ZVAL_MAYBE_P(stats));
992 add_assoc_long(PHP5TO7_ZVAL_MAYBE_P(stats),
995 add_assoc_long(PHP5TO7_ZVAL_MAYBE_P(stats),
998 add_assoc_long(PHP5TO7_ZVAL_MAYBE_P(stats),
1001 add_assoc_long(PHP5TO7_ZVAL_MAYBE_P(stats),
1006 array_init(PHP5TO7_ZVAL_MAYBE_P(errors));
1007 add_assoc_long(PHP5TO7_ZVAL_MAYBE_P(errors),
1010 add_assoc_long(PHP5TO7_ZVAL_MAYBE_P(errors),
[all …]
H A DType.c33 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(ztype), 1, 1); \
55 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(ztype), 0, 1); in PHP_METHOD()
79 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(ztype)); in PHP_METHOD()
91 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(ztype), 0, 1); in PHP_METHOD()
132 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(ztype)); in PHP_METHOD()
148 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(ztype), 0, 1); in PHP_METHOD()
167 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(ztype), 0, 1); in PHP_METHOD()
193 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(ztype), 0, 1); in PHP_METHOD()
H A DRows.c48 PHP5TO7_ZVAL_COPY(PHP5TO7_ZVAL_MAYBE_P(rows->rows), in php_driver_rows_create()
49 PHP5TO7_ZVAL_MAYBE_P(current->next_rows)); in php_driver_rows_create()
76 RETURN_LONG(zend_hash_num_elements(Z_ARRVAL_P(PHP5TO7_ZVAL_MAYBE_P(self->rows)))); in PHP_METHOD()
88 zend_hash_internal_pointer_reset(Z_ARRVAL_P(PHP5TO7_ZVAL_MAYBE_P(self->rows))); in PHP_METHOD()
245 future_rows = PHP_DRIVER_GET_FUTURE_ROWS(PHP5TO7_ZVAL_MAYBE_P(self->future_next_page)); in PHP_METHOD()
305 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->future_next_page), 1, 0); in PHP_METHOD()
314 php_driver_rows_create(self, PHP5TO7_ZVAL_MAYBE_P(future_value->value) TSRMLS_CC); in PHP_METHOD()
315 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->future_next_page), 1, 0); in PHP_METHOD()
327 object_init_ex(PHP5TO7_ZVAL_MAYBE_P(self->future_next_page), php_driver_future_rows_ce); in PHP_METHOD()
328 future_rows = PHP_DRIVER_GET_FUTURE_ROWS(PHP5TO7_ZVAL_MAYBE_P(self->future_next_page)); in PHP_METHOD()
[all …]
H A DCollection.c118 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->type), 1, 0); in PHP_METHOD()
143 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(self->type)); in PHP_METHOD()
154PHP5TO7_ZVAL_MAYBE_P(type->data.collection.value_type) TSRMLS_CC)) { in PHP_METHOD()
182 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(value), 1, 0); in PHP_METHOD()
332 PHP5TO7_ZVAL_MAYBE_P(self->type), sizeof(zval)); in php_driver_collection_properties()
333 Z_ADDREF_P(PHP5TO7_ZVAL_MAYBE_P(self->type)); in php_driver_collection_properties()
336 array_init(PHP5TO7_ZVAL_MAYBE_P(values)); in php_driver_collection_properties()
337 php_driver_collection_populate(self, PHP5TO7_ZVAL_MAYBE_P(values)); in php_driver_collection_properties()
338 …PHP5TO7_ZEND_HASH_UPDATE(props, "values", sizeof("values"), PHP5TO7_ZVAL_MAYBE_P(values), sizeof(z… in php_driver_collection_properties()
362 type1 = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(collection1->type)); in php_driver_collection_compare()
[all …]
H A DDefaultColumn.c40 object_init_ex(PHP5TO7_ZVAL_MAYBE_P(result), php_driver_default_column_ce); in php_driver_create_column()
42 column = PHP_DRIVER_GET_COLUMN(PHP5TO7_ZVAL_MAYBE_P(result)); in php_driver_create_column()
48 PHP5TO7_ZVAL_STRINGL(PHP5TO7_ZVAL_MAYBE_P(column->name), name, name_length); in php_driver_create_column()
118 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->name), 1, 0); in PHP_METHOD()
135 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->type), 1, 0); in PHP_METHOD()
189 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(value), 0, 1); in PHP_METHOD()
204 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(value), 0, 1); in PHP_METHOD()
H A DDate.c64 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(type), 1, 1); in PHP_METHOD()
98 php_date_instantiate(php_date_get_date_ce(), PHP5TO7_ZVAL_MAYBE_P(datetime) TSRMLS_CC); in PHP_METHOD()
112 RETVAL_ZVAL(PHP5TO7_ZVAL_MAYBE_P(datetime), 0, 1); in PHP_METHOD()
134 Z_TYPE_P(PHP5TO7_ZVAL_MAYBE_P(retval)) == IS_LONG) { in PHP_METHOD()
208 PHP5TO7_ZEND_HASH_UPDATE(props, "type", sizeof("type"), PHP5TO7_ZVAL_MAYBE_P(type), sizeof(zval)); in php_driver_date_properties()
211 ZVAL_LONG(PHP5TO7_ZVAL_MAYBE_P(seconds), cass_date_time_to_epoch(self->date, 0)); in php_driver_date_properties()
212 …PHP5TO7_ZEND_HASH_UPDATE(props, "seconds", sizeof("seconds"), PHP5TO7_ZVAL_MAYBE_P(seconds), sizeo… in php_driver_date_properties()
H A DUuid.c77 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(type), 1, 1); in PHP_METHOD()
142 PHP5TO7_ZEND_HASH_UPDATE(props, "type", sizeof("type"), PHP5TO7_ZVAL_MAYBE_P(type), sizeof(zval)); in php_driver_uuid_properties()
145 PHP5TO7_ZVAL_STRING(PHP5TO7_ZVAL_MAYBE_P(uuid), string); in php_driver_uuid_properties()
146 PHP5TO7_ZEND_HASH_UPDATE(props, "uuid", sizeof("uuid"), PHP5TO7_ZVAL_MAYBE_P(uuid), sizeof(zval)); in php_driver_uuid_properties()
149 ZVAL_LONG(PHP5TO7_ZVAL_MAYBE_P(version), (long) cass_uuid_version(self->uuid)); in php_driver_uuid_properties()
150 …PHP5TO7_ZEND_HASH_UPDATE(props, "version", sizeof("version"), PHP5TO7_ZVAL_MAYBE_P(version), sizeo… in php_driver_uuid_properties()
H A DTimestamp.c73 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(type), 1, 1); in PHP_METHOD()
210 PHP5TO7_ZEND_HASH_UPDATE(props, "type", sizeof("type"), PHP5TO7_ZVAL_MAYBE_P(type), sizeof(zval)); in php_driver_timestamp_properties()
213 ZVAL_LONG(PHP5TO7_ZVAL_MAYBE_P(seconds), sec); in php_driver_timestamp_properties()
214 …PHP5TO7_ZEND_HASH_UPDATE(props, "seconds", sizeof("seconds"), PHP5TO7_ZVAL_MAYBE_P(seconds), sizeo… in php_driver_timestamp_properties()
217 ZVAL_LONG(PHP5TO7_ZVAL_MAYBE_P(microseconds), usec); in php_driver_timestamp_properties()
218 …PHP5TO7_ZEND_HASH_UPDATE(props, "microseconds", sizeof("microseconds"), PHP5TO7_ZVAL_MAYBE_P(micro… in php_driver_timestamp_properties()
H A DDuration.c171 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(type), 1, 1); in PHP_METHOD()
238 ZVAL_LONG(PHP5TO7_ZVAL_MAYBE_P(wrapped_months), self->months); in php_driver_duration_properties()
239 ZVAL_LONG(PHP5TO7_ZVAL_MAYBE_P(wrapped_days), self->days); in php_driver_duration_properties()
240 ZVAL_LONG(PHP5TO7_ZVAL_MAYBE_P(wrapped_nanos), self->nanos); in php_driver_duration_properties()
241 …PHP5TO7_ZEND_HASH_UPDATE(props, "months", sizeof("months"), PHP5TO7_ZVAL_MAYBE_P(wrapped_months), … in php_driver_duration_properties()
242 …PHP5TO7_ZEND_HASH_UPDATE(props, "days", sizeof("days"), PHP5TO7_ZVAL_MAYBE_P(wrapped_days), sizeof… in php_driver_duration_properties()
243 …PHP5TO7_ZEND_HASH_UPDATE(props, "nanos", sizeof("nanos"), PHP5TO7_ZVAL_MAYBE_P(wrapped_nanos), siz… in php_driver_duration_properties()
/dports/databases/pecl-cassandra/php-driver-61faee0/ext/util/
H A Dtypes.c99 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(ztype)); in php_driver_tuple_from_data_type()
105 PHP5TO7_ZVAL_MAYBE_P(sub_type) in php_driver_tuple_from_data_type()
119 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(ztype)); in php_driver_tuple_from_node()
126 PHP5TO7_ZVAL_MAYBE_P(sub_type) in php_driver_tuple_from_node()
144 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(ztype)); in php_driver_user_type_from_data_type()
175 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(ztype)); in php_driver_user_type_from_node()
530 scalar = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(ztype)); in php_driver_type_scalar_new()
670 map = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(ztype)); in php_driver_type_map()
703 map = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(ztype)); in php_driver_type_map_from_value_types()
724 set = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(ztype)); in php_driver_type_set()
[all …]
H A Dresult.c241 php_driver_collection_add(collection, PHP5TO7_ZVAL_MAYBE_P(v) TSRMLS_CC); in php_driver_value()
268 php_driver_map_set(map, PHP5TO7_ZVAL_MAYBE_P(k), PHP5TO7_ZVAL_MAYBE_P(v) TSRMLS_CC); in php_driver_value()
293 php_driver_set_add(set, PHP5TO7_ZVAL_MAYBE_P(v) TSRMLS_CC); in php_driver_value()
321 php_driver_tuple_set(tuple, index, PHP5TO7_ZVAL_MAYBE_P(v) TSRMLS_CC); in php_driver_value()
357 PHP5TO7_ZVAL_MAYBE_P(v) TSRMLS_CC); in php_driver_value()
438 array_init(PHP5TO7_ZVAL_MAYBE_P(rows)); in php_driver_get_result()
447 array_init(PHP5TO7_ZVAL_MAYBE_P(row)); in php_driver_get_result()
477 PHP5TO7_ADD_ASSOC_ZVAL_EX(PHP5TO7_ZVAL_MAYBE_P(row), in php_driver_get_result()
479 PHP5TO7_ZVAL_MAYBE_P(value)); in php_driver_get_result()
482 add_next_index_zval(PHP5TO7_ZVAL_MAYBE_P(rows), in php_driver_get_result()
[all …]
H A Dcollections.c165 php_driver_type *map_type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(map->type)); in php_driver_validate_object()
177 php_driver_type *set_type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(set->type)); in php_driver_validate_object()
716 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(set->type)); in php_driver_collection_from_set()
728 PHP5TO7_ZVAL_MAYBE_P(curr->value), in php_driver_collection_from_set()
752 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(coll->type)); in php_driver_collection_from_collection()
788 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(map->type)); in php_driver_collection_from_map()
790 key_type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(type->data.map.key_type)); in php_driver_collection_from_map()
801 PHP5TO7_ZVAL_MAYBE_P(curr->key), in php_driver_collection_from_map()
807 PHP5TO7_ZVAL_MAYBE_P(curr->value), in php_driver_collection_from_map()
831 type = PHP_DRIVER_GET_TYPE(PHP5TO7_ZVAL_MAYBE_P(tuple->type)); in php_driver_tuple_from_tuple()
[all …]
/dports/databases/pecl-cassandra/php-driver-61faee0/ext/src/Type/
H A DMap.c56 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->data.map.key_type), 1, 0); in PHP_METHOD()
68 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->data.map.value_type), 1, 0); in PHP_METHOD()
113 PHP5TO7_ZVAL_COPY(PHP5TO7_ZVAL_MAYBE_P(map->type), getThis()); in PHP_METHOD()
163 PHP5TO7_ZVAL_MAYBE_P(self->data.map.key_type), sizeof(zval)); in php_driver_type_map_properties()
164 Z_ADDREF_P(PHP5TO7_ZVAL_MAYBE_P(self->data.map.key_type)); in php_driver_type_map_properties()
168 PHP5TO7_ZVAL_MAYBE_P(self->data.map.value_type), sizeof(zval)); in php_driver_type_map_properties()
169 Z_ADDREF_P(PHP5TO7_ZVAL_MAYBE_P(self->data.map.value_type)); in php_driver_type_map_properties()
H A DCollection.c57 RETURN_ZVAL(PHP5TO7_ZVAL_MAYBE_P(self->data.collection.value_type), 1, 0); in PHP_METHOD()
95 PHP5TO7_ZVAL_COPY(PHP5TO7_ZVAL_MAYBE_P(collection->type), getThis()); in PHP_METHOD()
100PHP5TO7_ZVAL_MAYBE_P(self->data.collection.value_type) TSRMLS_CC)) { in PHP_METHOD()
146 PHP5TO7_ZVAL_MAYBE_P(self->data.collection.value_type), sizeof(zval)); in php_driver_type_collection_properties()
147 Z_ADDREF_P(PHP5TO7_ZVAL_MAYBE_P(self->data.collection.value_type)); in php_driver_type_collection_properties()

123