Lines Matching refs:field_offset
1850 PGresult *result, zend_string *field_name, zend_long field_offset, int arg_num) { in field_arg_to_offset() argument
1852 field_offset = PQfnumber(result, ZSTR_VAL(field_name)); in field_arg_to_offset()
1853 if (field_offset < 0) { in field_arg_to_offset()
1860 if (field_offset < 0) { in field_arg_to_offset()
1864 if (field_offset >= PQnfields(result)) { in field_arg_to_offset()
1869 return field_offset; in field_arg_to_offset()
1877 zend_long row, field_offset = 0; in PHP_FUNCTION() local
1894 Z_PARAM_STR_OR_LONG(field_name, field_offset) in PHP_FUNCTION()
1904 Z_PARAM_STR_OR_LONG(field_name, field_offset) in PHP_FUNCTION()
1934 field_offset = field_arg_to_offset(pgsql_result, field_name, field_offset, ZEND_NUM_ARGS()); in PHP_FUNCTION()
1935 if (field_offset < 0) { in PHP_FUNCTION()
1939 if (PQgetisnull(pgsql_result, pgsql_row, field_offset)) { in PHP_FUNCTION()
1942 RETVAL_STRINGL(PQgetvalue(pgsql_result, pgsql_row, field_offset), in PHP_FUNCTION()
1943 PQgetlength(pgsql_result, pgsql_row, field_offset)); in PHP_FUNCTION()
2209 zend_long row, field_offset = 0; in php_pgsql_data_info() local
2227 Z_PARAM_STR_OR_LONG(field_name, field_offset) in php_pgsql_data_info()
2237 Z_PARAM_STR_OR_LONG(field_name, field_offset) in php_pgsql_data_info()
2266 field_offset = field_arg_to_offset(pgsql_result, field_name, field_offset, ZEND_NUM_ARGS()); in php_pgsql_data_info()
2267 if (field_offset < 0) { in php_pgsql_data_info()
2273 RETVAL_LONG(PQgetlength(pgsql_result, pgsql_row, field_offset)); in php_pgsql_data_info()
2276 RETVAL_LONG(PQgetisnull(pgsql_result, pgsql_row, field_offset)); in php_pgsql_data_info()