Searched refs:field_offset (Results 1 – 7 of 7) sorted by relevance
/PHP-5.4/ext/mysql/tests/ |
H A D | mysql_list_fields.phpt | 38 for ($field_offset = 0; $field_offset < mysql_num_fields($res); $field_offset++) { 39 printf("Field Offset %d\n", $field_offset); 40 printf("mysql_field_flags(): %s\n", mysql_field_flags($res, $field_offset)); 41 printf("mysql_field_len(): %s\n", mysql_field_len($res, $field_offset)); 42 printf("mysql_field_name(): %s\n", mysql_field_name($res, $field_offset)); 43 printf("mysql_field_type(): %s\n", mysql_field_type($res, $field_offset));
|
/PHP-5.4/ext/mssql/ |
H A D | php_mssql.c | 1693 long field_offset = -1; local 1702 if (field_offset==-1) { 1707 if (field_offset<0 || field_offset >= result->num_fields) { 1743 if (field_offset<0 || field_offset >= result->num_fields) { 1773 if (field_offset<0 || field_offset >= result->num_fields) { 1803 if (field_offset<0 || field_offset >= result->num_fields) { 1819 long field_offset; local 1828 if (field_offset<0 || field_offset >= result->num_fields) { 1844 int field_offset=0; local 1864 field_offset = i; [all …]
|
/PHP-5.4/ext/sybase_ct/ |
H A D | php_sybase_ct.c | 1982 long field_offset = -1; in PHP_FUNCTION() local 1990 if (field_offset == -1) { in PHP_FUNCTION() 1991 field_offset = result->cur_field; in PHP_FUNCTION() 1995 if (field_offset < 0 || field_offset >= result->num_fields) { in PHP_FUNCTION() 2018 long field_offset; in PHP_FUNCTION() local 2026 if (field_offset < 0 || field_offset >= result->num_fields) { in PHP_FUNCTION() 2031 result->cur_field = field_offset; in PHP_FUNCTION() 2044 int field_offset = 0; in PHP_FUNCTION() local 2068 field_offset = i; in PHP_FUNCTION() 2080 field_offset = Z_LVAL_P(field); in PHP_FUNCTION() [all …]
|
/PHP-5.4/ext/mysql/ |
H A D | php_mysql.c | 225 ZEND_ARG_INFO(0, field_offset) 230 ZEND_ARG_INFO(0, field_offset) 1917 int field_offset=0; local 1953 field_offset = i; 1975 field_offset = Z_LVAL_P(field); 1976 if (field_offset<0 || field_offset>=(int)mysql_num_fields(mysql_result)) { 1989 if (sql_row[field_offset]) { 1994 …Z_STRVAL_P(return_value) = php_addslashes(sql_row[field_offset], sql_row_lengths[field_offset],&Z_… 1997 Z_STRLEN_P(return_value) = sql_row_lengths[field_offset]; 1998 …Z_STRVAL_P(return_value) = (char *) safe_estrndup(sql_row[field_offset], Z_STRLEN_P(return_value)); [all …]
|
/PHP-5.4/ext/pgsql/ |
H A D | pgsql.c | 2510 int field_offset, pgsql_row, argc = ZEND_NUM_ARGS(); local 2543 field_offset = PQfnumber(pgsql_result, Z_STRVAL_PP(field)); 2547 field_offset = Z_LVAL_PP(field); 2550 if (field_offset<0 || field_offset>=PQnfields(pgsql_result)) { 2555 if (PQgetisnull(pgsql_result, pgsql_row, field_offset)) { 2558 char *value = PQgetvalue(pgsql_result, pgsql_row, field_offset); 2559 int value_len = PQgetlength(pgsql_result, pgsql_row, field_offset); 2876 int field_offset, pgsql_row, argc = ZEND_NUM_ARGS(); local 2911 field_offset = PQfnumber(pgsql_result, Z_STRVAL_PP(field)); 2915 field_offset = Z_LVAL_PP(field); [all …]
|
/PHP-5.4/ext/mysqlnd/ |
H A D | mysqlnd_result.c | 1476 …D(mysqlnd_res, field_seek)(MYSQLND_RES * const result, MYSQLND_FIELD_OFFSET field_offset TSRMLS_DC) in MYSQLND_METHOD() 1481 result->meta->current_field = field_offset; in MYSQLND_METHOD()
|
H A D | mysqlnd_structs.h | 581 …_mysqlnd_res__seek_field)(MYSQLND_RES * const result, MYSQLND_FIELD_OFFSET field_offset TSRMLS_DC);
|
Completed in 51 milliseconds