Searched refs:colname (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/_sqlite/ |
D | cursor.c | 163 const char* colname; in pysqlite_build_row_cast_map() local 179 colname = sqlite3_column_name(self->statement->st, i); in pysqlite_build_row_cast_map() 180 if (colname) { in pysqlite_build_row_cast_map() 181 for (pos = colname; *pos != 0; pos++) { in pysqlite_build_row_cast_map() 240 PyObject* _pysqlite_build_column_name(const char* colname) in _pysqlite_build_column_name() argument 244 if (!colname) { in _pysqlite_build_column_name() 249 for (pos = colname;; pos++) { in _pysqlite_build_column_name() 251 if ((*pos == '[') && (pos > colname) && (*(pos-1) == ' ')) { in _pysqlite_build_column_name() 254 return PyString_FromStringAndSize(colname, pos - colname); in _pysqlite_build_column_name() 305 const char* colname; in _pysqlite_fetch_one_row() local [all …]
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_dbtables.py | 61 colname = 'cool numbers' 66 self.tdb.CreateTable(tabname, [colname]) 69 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 1)}) 71 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 78 tabname, [colname], conditions={colname: None}) 82 colval = pickle.loads(values[0][colname]) 84 colval = pickle.loads(bytes(values[0][colname], "iso8859-1"))
|