Lines Matching refs:colname
126 const char* colname; in pysqlite_build_row_cast_map() local
143 colname = sqlite3_column_name(self->statement->st, i); in pysqlite_build_row_cast_map()
144 if (colname) { in pysqlite_build_row_cast_map()
146 for (pos = colname; *pos != 0; pos++) { in pysqlite_build_row_cast_map()
196 _pysqlite_build_column_name(pysqlite_Cursor *self, const char *colname) in _pysqlite_build_column_name() argument
201 if (!colname) { in _pysqlite_build_column_name()
206 for (pos = colname; *pos; pos++) { in _pysqlite_build_column_name()
208 if ((pos != colname) && (*(pos-1) == ' ')) { in _pysqlite_build_column_name()
214 len = pos - colname; in _pysqlite_build_column_name()
217 len = strlen(colname); in _pysqlite_build_column_name()
219 return PyUnicode_FromStringAndSize(colname, len); in _pysqlite_build_column_name()
240 const char* colname; in _pysqlite_fetch_one_row() local
298 colname = sqlite3_column_name(self->statement->st, i); in _pysqlite_fetch_one_row()
299 if (!colname) { in _pysqlite_fetch_one_row()
300 colname = "<unknown column name>"; in _pysqlite_fetch_one_row()
303 colname , val_str); in _pysqlite_fetch_one_row()