Searched refs:cur_py_value (Results 1 – 1 of 1) sorted by relevance
581 PyObject* cur_py_value; in _pysqlite_build_py_params() local597 cur_py_value = PyInt_FromLong((long)val_int); in _pysqlite_build_py_params()600 cur_py_value = PyFloat_FromDouble(sqlite3_value_double(cur_value)); in _pysqlite_build_py_params()604 cur_py_value = PyUnicode_DecodeUTF8(val_str, strlen(val_str), NULL); in _pysqlite_build_py_params()606 if (!cur_py_value) { in _pysqlite_build_py_params()609 cur_py_value = Py_None; in _pysqlite_build_py_params()614 cur_py_value = PyBuffer_New(buflen); in _pysqlite_build_py_params()615 if (!cur_py_value) { in _pysqlite_build_py_params()618 if (PyObject_AsWriteBuffer(cur_py_value, &raw_buffer, &buflen)) { in _pysqlite_build_py_params()619 Py_DECREF(cur_py_value); in _pysqlite_build_py_params()[all …]