Lines Matching refs:colno
491 static inline void fetch_value(pdo_stmt_t *stmt, zval *dest, int colno, int *type_override) /* {{{ … in fetch_value() argument
499 if (colno < 0) { in fetch_value()
505 if (colno >= stmt->column_count) { in fetch_value()
511 col = &stmt->columns[colno]; in fetch_value()
518 stmt->methods->get_col(stmt, colno, &value, &value_len, &caller_frees); in fetch_value()
793 int colno; in do_fetch() local
812 colno = 1; in do_fetch()
814 colno = stmt->fetch.column; in do_fetch()
854 if (colno < 0 ) { in do_fetch()
859 if (colno >= stmt->column_count) { in do_fetch()
866 } else if (flags == PDO_FETCH_GROUP && colno) { in do_fetch()
869 fetch_value(stmt, return_value, colno, NULL); in do_fetch()
974 fetch_value(stmt, &grp_val, colno, NULL); in do_fetch()
1733 zend_long colno; in PHP_METHOD() local
1737 Z_PARAM_LONG(colno) in PHP_METHOD()
1741 if (colno < 0) { in PHP_METHOD()
1752 if (FAILURE == stmt->methods->get_column_meta(stmt, colno, return_value)) { in PHP_METHOD()
1758 col = &stmt->columns[colno]; in PHP_METHOD()
2338 int colno = -1; in row_prop_read() local
2350 for (colno = 0; colno < stmt->column_count; colno++) { in row_prop_read()
2351 if (ZSTR_LEN(stmt->columns[colno].name) == ZSTR_LEN(name) && in row_prop_read()
2352 strncmp(ZSTR_VAL(stmt->columns[colno].name), ZSTR_VAL(name), ZSTR_LEN(name)) == 0) { in row_prop_read()
2353 fetch_value(stmt, rv, colno, NULL); in row_prop_read()
2371 int colno = -1; in row_dim_read() local
2392 for (colno = 0; colno < stmt->column_count; colno++) { in row_dim_read()
2393 if (ZSTR_LEN(stmt->columns[colno].name) == Z_STRLEN_P(member) && in row_dim_read()
2394 strncmp(ZSTR_VAL(stmt->columns[colno].name), Z_STRVAL_P(member), Z_STRLEN_P(member)) == 0) { in row_dim_read()
2395 fetch_value(stmt, rv, colno, NULL); in row_dim_read()
2424 int colno = -1; in row_prop_exists() local
2434 for (colno = 0; colno < stmt->column_count; colno++) { in row_prop_exists()
2435 if (ZSTR_LEN(stmt->columns[colno].name) == ZSTR_LEN(name) && in row_prop_exists()
2436 strncmp(ZSTR_VAL(stmt->columns[colno].name), ZSTR_VAL(name), ZSTR_LEN(name)) == 0) { in row_prop_exists()
2440 fetch_value(stmt, &val, colno, NULL); in row_prop_exists()
2456 int colno = -1; in row_dim_exists() local
2474 for (colno = 0; colno < stmt->column_count; colno++) { in row_dim_exists()
2475 if (ZSTR_LEN(stmt->columns[colno].name) == Z_STRLEN_P(member) && in row_dim_exists()
2476 strncmp(ZSTR_VAL(stmt->columns[colno].name), Z_STRVAL_P(member), Z_STRLEN_P(member)) == 0) { in row_dim_exists()
2480 fetch_value(stmt, &val, colno, NULL); in row_dim_exists()