Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/_sqlite/
Dcursor.c258 PyObject* pysqlite_unicode_from_string(const char* val_str, Py_ssize_t size, int optimize) in pysqlite_unicode_from_string() argument
267 check = val_str; in pysqlite_unicode_from_string()
279 return PyString_FromStringAndSize(val_str, size); in pysqlite_unicode_from_string()
281 return PyUnicode_DecodeUTF8(val_str, size, NULL); in pysqlite_unicode_from_string()
302 const char* val_str; in _pysqlite_fetch_one_row() local
332 val_str = (const char*)sqlite3_column_blob(self->statement->st, i); in _pysqlite_fetch_one_row()
333 if (!val_str) { in _pysqlite_fetch_one_row()
337 item = PyString_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row()
359 val_str = (const char*)sqlite3_column_text(self->statement->st, i); in _pysqlite_fetch_one_row()
364 converted = pysqlite_unicode_from_string(val_str, nbytes, in _pysqlite_fetch_one_row()
[all …]
Dconnection.c592 const char* val_str; in _pysqlite_build_py_params() local
611 val_str = (const char*)sqlite3_value_text(cur_value); in _pysqlite_build_py_params()
612 cur_py_value = PyUnicode_DecodeUTF8(val_str, strlen(val_str), NULL); in _pysqlite_build_py_params()
/external/python/cpython3/Modules/_sqlite/
Dcursor.c230 const char* val_str; in _pysqlite_fetch_one_row() local
261 val_str = (const char*)sqlite3_column_blob(self->statement->st, i); in _pysqlite_fetch_one_row()
262 if (!val_str) { in _pysqlite_fetch_one_row()
266 item = PyBytes_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row()
284 val_str = (const char*)sqlite3_column_text(self->statement->st, i); in _pysqlite_fetch_one_row()
287 converted = PyUnicode_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row()
295 colname , val_str); in _pysqlite_fetch_one_row()
305 converted = PyBytes_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row()
307 converted = PyByteArray_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row()
309 … converted = PyObject_CallFunction(self->connection->text_factory, "y#", val_str, nbytes); in _pysqlite_fetch_one_row()
Dconnection.c541 const char* val_str; in _pysqlite_build_py_params() local
559 val_str = (const char*)sqlite3_value_text(cur_value); in _pysqlite_build_py_params()
560 cur_py_value = PyUnicode_FromString(val_str); in _pysqlite_build_py_params()
/external/u-boot/tools/
Drkmux.py173 val_str = '%#x' % value
175 val_str = '%d' % value
177 str += '%s= %s' % ('\t' * tabs, val_str)
/external/toolchain-utils/binary_search_tool/
Drun_bisect.py80 val_str = str(val)
81 out += ' %s : %s\n' % (key_str, val_str)
91 val_str = str(val)
94 out += ' %s %s : %s\n' % (changed_str, key_str, val_str)
/external/strace/tests/
Ds390_guarded_storage.c47 gs_no_arg(kernel_ulong_t val, const char *val_str) in gs_no_arg() argument
57 printf("s390_guarded_storage(%s) = %s\n", val_str, sprintrc(rc)); in gs_no_arg()
/external/strace/tests-m32/
Ds390_guarded_storage.c47 gs_no_arg(kernel_ulong_t val, const char *val_str) in gs_no_arg() argument
57 printf("s390_guarded_storage(%s) = %s\n", val_str, sprintrc(rc)); in gs_no_arg()
/external/strace/tests-mx32/
Ds390_guarded_storage.c47 gs_no_arg(kernel_ulong_t val, const char *val_str) in gs_no_arg() argument
57 printf("s390_guarded_storage(%s) = %s\n", val_str, sprintrc(rc)); in gs_no_arg()