• Home
  • Raw
  • Download

Lines Matching refs:parameter

106 int pysqlite_statement_bind_parameter(pysqlite_Statement* self, int pos, PyObject* parameter, int a…  in pysqlite_statement_bind_parameter()  argument
116 if (parameter == Py_None) { in pysqlite_statement_bind_parameter()
121 if (PyInt_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()
123 } else if (PyLong_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()
125 } else if (PyFloat_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()
127 } else if (PyString_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()
129 } else if (PyUnicode_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()
131 } else if (PyBuffer_Check(parameter)) { in pysqlite_statement_bind_parameter()
133 } else if (PyInt_Check(parameter)) { in pysqlite_statement_bind_parameter()
135 } else if (PyLong_Check(parameter)) { in pysqlite_statement_bind_parameter()
137 } else if (PyFloat_Check(parameter)) { in pysqlite_statement_bind_parameter()
139 } else if (PyString_Check(parameter)) { in pysqlite_statement_bind_parameter()
141 } else if (PyUnicode_Check(parameter)) { in pysqlite_statement_bind_parameter()
148 string = PyString_AS_STRING(parameter); in pysqlite_statement_bind_parameter()
160 long longval = PyInt_AsLong(parameter); in pysqlite_statement_bind_parameter()
165 sqlite_int64 value = _pysqlite_long_as_int64(parameter); in pysqlite_statement_bind_parameter()
173 rc = sqlite3_bind_double(self->st, pos, PyFloat_AsDouble(parameter)); in pysqlite_statement_bind_parameter()
176 PyString_AsStringAndSize(parameter, &string, &buflen); in pysqlite_statement_bind_parameter()
180 stringval = PyUnicode_AsUTF8String(parameter); in pysqlite_statement_bind_parameter()
186 if (PyObject_AsCharBuffer(parameter, &buffer, &buflen) == 0) { in pysqlite_statement_bind_parameter()