Lines Matching refs:field_ind
2069 int field_ind; in PHP_FUNCTION() local
2081 field_ind = -1; in PHP_FUNCTION()
2092 field_ind = Z_LVAL_PP(pv_field) - 1; in PHP_FUNCTION()
2111 field_ind = i; in PHP_FUNCTION()
2116 if (field_ind < 0) { in PHP_FUNCTION()
2122 if (field_ind >= result->numcols || field_ind < 0) { in PHP_FUNCTION()
2144 switch(result->values[field_ind].coltype) { in PHP_FUNCTION()
2158 if (IS_SQL_LONG(result->values[field_ind].coltype)) { in PHP_FUNCTION()
2165 PHP_ODBC_SQLCOLATTRIBUTE(result->stmt, (SQLUSMALLINT)(field_ind + 1), in PHP_FUNCTION()
2177 rc = SQLGetData(result->stmt, (SQLUSMALLINT)(field_ind + 1), sql_c_type, in PHP_FUNCTION()
2178 field, fieldsize, &result->values[field_ind].vallen); in PHP_FUNCTION()
2186 if (result->values[field_ind].vallen == SQL_NULL_DATA) { in PHP_FUNCTION()
2195 if ((result->values[field_ind].coltype == SQL_LONGVARCHAR) in PHP_FUNCTION()
2197 || (result->values[field_ind].coltype == SQL_WLONGVARCHAR) in PHP_FUNCTION()
2205 …RETURN_STRINGL(field, (rc == SQL_SUCCESS_WITH_INFO) ? fieldsize : result->values[field_ind].vallen… in PHP_FUNCTION()
2209 if (result->values[field_ind].vallen == SQL_NULL_DATA) { in PHP_FUNCTION()
2212 RETURN_STRINGL(result->values[field_ind].value, result->values[field_ind].vallen, 1); in PHP_FUNCTION()
2225 … SQLGetData(result->stmt, (SQLUSMALLINT)(field_ind + 1),sql_c_type, field, fieldsize, &result->val… in PHP_FUNCTION()
2233 if (result->values[field_ind].vallen == SQL_NULL_DATA) { in PHP_FUNCTION()
2238 PHPWRITE(field,(rc == SQL_SUCCESS_WITH_INFO) ? 4095 : result->values[field_ind].vallen); in PHP_FUNCTION()
2927 int i, field_ind, fname_len; in PHP_FUNCTION() local
2942 field_ind = -1; in PHP_FUNCTION()
2945 field_ind = i + 1; in PHP_FUNCTION()
2949 if (field_ind == -1) { in PHP_FUNCTION()
2952 RETURN_LONG(field_ind); in PHP_FUNCTION()