Home
last modified time | relevance | path

Searched refs:cur_py_value (Results 1 – 1 of 1) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dconnection.c581 PyObject* cur_py_value; in _pysqlite_build_py_params() local
597 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 …]