Lines Matching refs:colno
544 static inline void fetch_value(pdo_stmt_t *stmt, zval *dest, int colno, int *type_override) /* {{{ … in fetch_value() argument
552 col = &stmt->columns[colno]; in fetch_value()
559 stmt->methods->get_col(stmt, colno, &value, &value_len, &caller_frees); in fetch_value()
839 int colno; in do_fetch() local
857 colno = 1; in do_fetch()
859 colno = stmt->fetch.column; in do_fetch()
897 if (colno >= 0 && colno < stmt->column_count) { in do_fetch()
900 } else if (flags == PDO_FETCH_GROUP && colno) { in do_fetch()
903 fetch_value(stmt, return_value, colno, NULL); in do_fetch()
1008 fetch_value(stmt, &grp_val, colno, NULL); in do_fetch()
1800 zend_long colno; in PHP_METHOD() local
1804 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "l", &colno)) { in PHP_METHOD()
1807 if(colno < 0) { in PHP_METHOD()
1818 if (FAILURE == stmt->methods->get_column_meta(stmt, colno, return_value)) { in PHP_METHOD()
1824 col = &stmt->columns[colno]; in PHP_METHOD()
2496 int colno = -1; in row_prop_read() local
2515 for (colno = 0; colno < stmt->column_count; colno++) { in row_prop_read()
2516 if (ZSTR_LEN(stmt->columns[colno].name) == Z_STRLEN_P(member) && in row_prop_read()
2517 strncmp(ZSTR_VAL(stmt->columns[colno].name), Z_STRVAL_P(member), Z_STRLEN_P(member)) == 0) { in row_prop_read()
2518 fetch_value(stmt, rv, colno, NULL); in row_prop_read()
2552 int colno = -1; in row_prop_exists() local
2568 for (colno = 0; colno < stmt->column_count; colno++) { in row_prop_exists()
2569 if (ZSTR_LEN(stmt->columns[colno].name) == Z_STRLEN_P(member) && in row_prop_exists()
2570 strncmp(ZSTR_VAL(stmt->columns[colno].name), Z_STRVAL_P(member), Z_STRLEN_P(member)) == 0) { in row_prop_exists()
2574 fetch_value(stmt, &val, colno, NULL); in row_prop_exists()