Home
last modified time | relevance | path

Searched refs:num_fields (Results 1 – 10 of 10) sorted by relevance

/php-src/ext/mysqli/tests/
H A Dmysqli_explain_metadata.phpt17 $num_fields = 0;
24 $num_fields = count($row);
38 $num_fields, gettype($tmp), $tmp);
41 if (($tmp = count($fields)) !== $num_fields) {
43 $num_fields, gettype($tmp), $tmp);
77 $num_fields, gettype($tmp), $tmp);
81 $num_fields, gettype($tmp), $tmp);
85 $num_fields, gettype($tmp), $tmp);
90 $num_fields, gettype($tmp), $tmp);
113 $num_fields, gettype($tmp), $tmp);
[all …]
H A Dfake_server.inc267 $pr1->num_fields = $num_field;
370 $pr1->num_fields = '01';
421 $pr1->num_fields = '02';
/php-src/ext/odbc/tests/
H A Dodbc_num_fields_001.phpt14 odbc_exec($conn, 'CREATE TABLE num_fields (foo INT, bar INT, baz INT)');
15 odbc_exec($conn, 'INSERT INTO num_fields VALUES (1, 2, 3)');
17 $res = odbc_exec($conn, 'SELECT * FROM num_fields');
21 $res = odbc_exec($conn, 'SELECT * FROM num_fields WHERE foo = 4');
31 odbc_exec($conn, 'DROP TABLE num_fields');
/php-src/ext/pdo_dblib/
H A Ddblib_stmt.c122 int num_fields; in pdo_dblib_stmt_next_rowset_no_cancel() local
126 num_fields = dbnumcols(H->link); in pdo_dblib_stmt_next_rowset_no_cancel()
127 } while (H->skip_empty_rowsets && num_fields <= 0 && ret == SUCCEED); in pdo_dblib_stmt_next_rowset_no_cancel()
139 if (H->skip_empty_rowsets && num_fields <= 0) { in pdo_dblib_stmt_next_rowset_no_cancel()
144 stmt->column_count = num_fields; in pdo_dblib_stmt_next_rowset_no_cancel()
/php-src/ext/mysqli/
H A Dmysqli_api.c691 unsigned int i, num_fields; in PHP_FUNCTION() local
700 num_fields = mysql_num_fields(result); in PHP_FUNCTION()
702 for (i = 0; i < num_fields; i++) { in PHP_FUNCTION()
751 unsigned int i, num_fields; in PHP_FUNCTION() local
766 num_fields = mysql_num_fields(result); in PHP_FUNCTION()
768 for (i = 0; i < num_fields; i++) { in PHP_FUNCTION()
/php-src/ext/pgsql/
H A Dpgsql.c1970 int i, num_fields, pgsql_row; in php_pgsql_fetch_hash() local
2031 for (i = 0, num_fields = PQnfields(pgsql_result); i < num_fields; i++) { in php_pgsql_fetch_hash()
2152 size_t num_fields; in PHP_FUNCTION() local
2170 num_fields = PQnfields(pgsql_result); in PHP_FUNCTION()
2171 if (colno >= (zend_long)num_fields) { in PHP_FUNCTION()
6031 size_t num_fields; in php_pgsql_result2array() local
6040 for (i = 0, num_fields = PQnfields(pg_result); i < num_fields; i++) { in php_pgsql_result2array()
/php-src/ext/mysqlnd/
H A Dmysqlnd_result.c894 MYSQLND_METHOD(mysqlnd_res, num_fields)(const MYSQLND_RES * const result) in MYSQLND_METHOD() argument
1067 MYSQLND_METHOD(mysqlnd_res, num_fields),
H A Dmysqlnd.h146 #define mysqlnd_num_fields(result) (result)->m.num_fields((result))
H A Dmysqlnd_structs.h662 func_mysqlnd_res__num_fields num_fields; in MYSQLND_CLASS_METHODS_TYPE() local
/php-src/ext/ffi/
H A Dffi.c398 uint32_t num_fields = !(field_type->attr & ZEND_FFI_ATTR_UNION) ? in zend_ffi_face_struct_add_fields() local
401 if (num_fields > 1) { in zend_ffi_face_struct_add_fields()
402 size += sizeof(ffi_type*) * (num_fields - 1); in zend_ffi_face_struct_add_fields()
424 uint32_t num_fields = !(type->attr & ZEND_FFI_ATTR_UNION) ? in zend_ffi_make_fake_struct_type() local
426 size_t size = sizeof(ffi_type) + sizeof(ffi_type*) * (num_fields + 1); in zend_ffi_make_fake_struct_type()

Completed in 59 milliseconds