Lines Matching refs:columns
197 stmt->columns = ecalloc(stmt->column_count, sizeof(struct pdo_column_data)); in pdo_stmt_describe_columns()
206 char *s = ZSTR_VAL(stmt->columns[col].name); in pdo_stmt_describe_columns()
231 stmt->columns[col].name)) != NULL) { in pdo_stmt_describe_columns()
327 if (!is_param && param->name && stmt->columns) { in really_register_bound_param()
332 if (ZSTR_LEN(stmt->columns[i].name) == ZSTR_LEN(param->name) && in really_register_bound_param()
333 … strncmp(ZSTR_VAL(stmt->columns[i].name), ZSTR_VAL(param->name), ZSTR_LEN(param->name) + 1) == 0) { in really_register_bound_param()
507 if (stmt->dbh->alloc_own_columns && !stmt->columns) { in PHP_METHOD()
542 col = &stmt->columns[colno]; in fetch_value()
683 if (!stmt->columns && !pdo_stmt_describe_columns(stmt)) { in do_fetch_common()
1014 zend_symtable_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
1035 zend_symtable_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
1046 if ((curr_val = zend_hash_find(Z_ARRVAL_P(return_value), stmt->columns[i].name))) { in do_fetch()
1071 zend_hash_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
1083 stmt->columns[i].name, in do_fetch()
1091 stmt->columns[i].name, in do_fetch()
1824 col = &stmt->columns[colno]; in PHP_METHOD()
2023 if (stmt->columns) { in pdo_stmt_do_next_rowset()
2025 struct pdo_column_data *cols = stmt->columns; in pdo_stmt_do_next_rowset()
2032 efree(stmt->columns); in pdo_stmt_do_next_rowset()
2033 stmt->columns = NULL; in pdo_stmt_do_next_rowset()
2329 if (stmt->columns) { in php_pdo_free_statement()
2331 struct pdo_column_data *cols = stmt->columns; in php_pdo_free_statement()
2339 efree(stmt->columns); in php_pdo_free_statement()
2340 stmt->columns = NULL; in php_pdo_free_statement()
2513 if (ZSTR_LEN(stmt->columns[colno].name) == Z_STRLEN_P(member) && in row_prop_read()
2514 strncmp(ZSTR_VAL(stmt->columns[colno].name), Z_STRVAL_P(member), Z_STRLEN_P(member)) == 0) { in row_prop_read()
2566 if (ZSTR_LEN(stmt->columns[colno].name) == Z_STRLEN_P(member) && in row_prop_exists()
2567 strncmp(ZSTR_VAL(stmt->columns[colno].name), Z_STRVAL_P(member), Z_STRLEN_P(member)) == 0) { in row_prop_exists()
2615 zend_hash_update(stmt->std.properties, stmt->columns[i].name, &val); in row_get_properties()