Searched refs:val_str (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Modules/_sqlite/ |
D | cursor.c | 258 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 …]
|
D | connection.c | 592 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/ |
D | cursor.c | 238 const char* val_str; in _pysqlite_fetch_one_row() local 269 val_str = (const char*)sqlite3_column_blob(self->statement->st, i); in _pysqlite_fetch_one_row() 270 if (!val_str) { in _pysqlite_fetch_one_row() 274 item = PyBytes_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row() 292 val_str = (const char*)sqlite3_column_text(self->statement->st, i); in _pysqlite_fetch_one_row() 295 converted = PyUnicode_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row() 303 colname , val_str); in _pysqlite_fetch_one_row() 313 converted = PyBytes_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row() 315 converted = PyByteArray_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row() 317 … converted = PyObject_CallFunction(self->connection->text_factory, "y#", val_str, nbytes); in _pysqlite_fetch_one_row()
|
D | connection.c | 539 const char* val_str; in _pysqlite_build_py_params() local 557 val_str = (const char*)sqlite3_value_text(cur_value); in _pysqlite_build_py_params() 558 cur_py_value = PyUnicode_FromString(val_str); in _pysqlite_build_py_params()
|
/external/toolchain-utils/binary_search_tool/ |
D | run_bisect.py | 80 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-m32/ |
D | s390_guarded_storage.c | 47 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/ |
D | s390_guarded_storage.c | 47 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/ |
D | s390_guarded_storage.c | 47 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/rust/crates/clap/src/app/ |
D | validator.rs | 109 let val_str = val.to_string_lossy(); in validate_arg_values() localVariable 111 p_vals.iter().any(|pv| pv.eq_ignore_ascii_case(&*val_str)) in validate_arg_values() 113 p_vals.contains(&&*val_str) in validate_arg_values() 117 val_str, in validate_arg_values()
|
/external/llvm-project/polly/lib/External/isl/ |
D | isl_test_python.py | 46 val_str = isl.val(str(i)) 47 assert(val_int.eq(val_str))
|