Searched defs:field_count (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/ext/mysqli/
H A Dmysqli_prop.c314 uint field_count; local
320 field_count = mysql_num_fields(p);
321 if (!p || !field_count || !(ret = mysql_fetch_lengths(p))) {
328 for (i = 0; i < field_count; i++) {
458 {"field_count", sizeof("field_count") - 1, link_field_count_read, NULL},
482 {ZEND_ACC_PUBLIC, "field_count", sizeof("field_count") - 1, -1, 0, NULL, 0, NULL},
499 {"field_count", sizeof("field_count")
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps.c65 if (!stmt->field_count) {
93 result->stored_data = (MYSQLND_RES_BUFFERED *) mysqlnd_result_buffered_zval_init(result->field_count, TRUE, result->persistent TSRMLS_CC);
109 if (result->stored_data->row_count * result->meta->field_count * sizeof(zval *) > SIZE_MAX) {
114 set->data = mnd_emalloc((size_t)(result->stored_data->row_count * result->meta->field_count * sizeof(zval *)));
119 memset(set->data, 0, (size_t)(result->stored_data->row_count * result->meta->field_count * sizeof(zval *)));
161 if (!stmt->field_count) {
182 result = conn->m->result_init(stmt->result->field_count, stmt->persistent TSRMLS_CC);
328 stmt->field_count = stmt->conn->field_count = prepare_resp->field_count;
741 unsigned int field_count = meta->field_count; local
872 unsigned int i, field_count = result->field_count; local
1051 unsigned int i, field_count = result->field_count; local
[all...]
H A Dmysqlnd_result.c42 const unsigned int field_count = meta->field_count; local
54 while ((data_cursor - data_begin) < (int)(row_count * field_count)) {
56 rc = result->m.row_decoder(result->row_buffers[(data_cursor - data_begin) / field_count],
58 field_count,
67 for (i = 0; i < field_count; i++) {
81 data_cursor += field_count;
95 const unsigned int field_count = meta->field_count; local
102 zval ** current_row = mnd_emalloc(field_count * sizeo
277 unsigned int field_count = set->field_count; local
798 unsigned int i, field_count = meta->field_count; local
917 unsigned int i, field_count = meta->field_count; local
1055 unsigned int field_count = meta->field_count; local
1147 unsigned int field_count = meta->field_count; local
1240 unsigned int field_count = meta->field_count; local
2018 mysqlnd_result_unbuffered_init(unsigned int field_count, zend_bool ps, zend_bool persistent TSRMLS_DC) argument
2059 mysqlnd_result_buffered_zval_init(unsigned int field_count, zend_bool ps, zend_bool persistent TSRMLS_DC) argument
2102 mysqlnd_result_buffered_c_init(unsigned int field_count, zend_bool ps, zend_bool persistent TSRMLS_DC) argument
[all...]
H A Dmysqlnd_wireprotocol.c822 packet->field_count = uint1korr(p);
826 if (ERROR_MARKER == packet->field_count) {
912 packet->field_count = uint1korr(p);
916 if (ERROR_MARKER == packet->field_count) {
945 packet->field_count, packet->server_status, packet->warning_count);
1078 packet->field_count = php_mysqlnd_net_field_length(&p);
1081 switch (packet->field_count) {
1197 unsigned int i, field_count = sizeof(rset_field_offsets)/sizeof(size_t); local
1227 for (i = 0; i < field_count; i += 2) {
1481 unsigned int field_count, cons
1480 php_mysqlnd_rowp_read_binary_protocol(MYSQLND_MEMORY_POOL_CHUNK * row_buffer, zval ** fields, unsigned int field_count, const MYSQLND_FIELD * fields_metadata, zend_bool as_int_or_float, MYSQLND_STATS * stats TSRMLS_DC) argument
1577 php_mysqlnd_rowp_read_text_protocol_aux(MYSQLND_MEMORY_POOL_CHUNK * row_buffer, zval ** fields, unsigned int field_count, const MYSQLND_FIELD * fields_metadata, zend_bool as_int_or_float, zend_bool copy_data, MYSQLND_STATS * stats TSRMLS_DC) argument
1763 php_mysqlnd_rowp_read_text_protocol_zval(MYSQLND_MEMORY_POOL_CHUNK * row_buffer, zval ** fields, unsigned int field_count, const MYSQLND_FIELD * fields_metadata, zend_bool as_int_or_float, MYSQLND_STATS * stats TSRMLS_DC) argument
1777 php_mysqlnd_rowp_read_text_protocol_c(MYSQLND_MEMORY_POOL_CHUNK * row_buffer, zval ** fields, unsigned int field_count, const MYSQLND_FIELD * fields_metadata, zend_bool as_int_or_float, MYSQLND_STATS * stats TSRMLS_DC) argument
[all...]
H A Dmysqlnd_wireprotocol.h142 uint8_t field_count; /* always 0x0 */ member in struct:st_mysqlnd_packet_ok
168 uint8_t field_count; /* 0xFE */ member in struct:st_mysqlnd_packet_eof
186 others => result set -> Read res_field packets up to field_count
188 unsigned long field_count; member in struct:st_mysqlnd_packet_rset_header
222 uint32_t field_count; member in struct:st_mysqlnd_packet_row
259 /* also known as field_count 0x00=OK , 0xFF=error */
262 unsigned int field_count; member in struct:st_mysqlnd_packet_prepare_response
311 unsigned int field_count, const MYSQLND_FIELD * fields_metadata,
316 unsigned int field_count, const MYSQLND_FIELD * fields_metadata,
320 unsigned int field_count, cons
[all...]
H A Dmysqlnd_structs.h484 typedef MYSQLND_RES * (*func_mysqlnd_conn_data__result_init)(unsigned int field_count, zend_bool persistent TSRMLS_DC);
622 unsigned int field_count, const MYSQLND_FIELD * fields_metadata,
654 typedef MYSQLND_RES_METADATA * (*func_mysqlnd_res__result_meta_init)(unsigned int field_count, zend_bool persistent TSRMLS_DC);
958 unsigned int field_count; member in struct:st_mysqlnd_connection_data
996 unsigned int field_count; member in struct:st_mysqlnd_result_metadata
1020 unsigned int field_count; \
1074 unsigned int field_count; member in struct:st_mysqlnd_unbuffered_result
1086 unsigned int field_count; member in struct:st_mysqlnd_res
1123 unsigned int field_count; member in struct:st_mysqlnd_stmt_data

Completed in 18 milliseconds