Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dcursor.c271 PyObject* pysqlite_unicode_from_string(const char* val_str, int optimize) in pysqlite_unicode_from_string() argument
279 check = val_str; in pysqlite_unicode_from_string()
291 return PyString_FromString(val_str); in pysqlite_unicode_from_string()
293 return PyUnicode_DecodeUTF8(val_str, strlen(val_str), NULL); in pysqlite_unicode_from_string()
315 const char* val_str; in _pysqlite_fetch_one_row() local
345 val_str = (const char*)sqlite3_column_blob(self->statement->st, i); in _pysqlite_fetch_one_row()
346 if (!val_str) { in _pysqlite_fetch_one_row()
350 item = PyString_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row()
377 val_str = (const char*)sqlite3_column_text(self->statement->st, i); in _pysqlite_fetch_one_row()
381 converted = pysqlite_unicode_from_string(val_str, in _pysqlite_fetch_one_row()
[all …]
Dconnection.c582 const char* val_str; in _pysqlite_build_py_params() local
603 val_str = (const char*)sqlite3_value_text(cur_value); in _pysqlite_build_py_params()
604 cur_py_value = PyUnicode_DecodeUTF8(val_str, strlen(val_str), NULL); in _pysqlite_build_py_params()