Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/_sqlite/
Dstatement.c59 char* sql_cstr; in pysqlite_statement_create() local
77 sql_cstr = PyString_AS_STRING(sql_str); in pysqlite_statement_create()
78 if (strlen(sql_cstr) != (size_t)PyString_GET_SIZE(sql_str)) { in pysqlite_statement_create()
89 sql_cstr, in pysqlite_statement_create()
335 char* sql_cstr; in pysqlite_statement_recompile() local
338 sql_cstr = PyString_AsString(self->sql); in pysqlite_statement_recompile()
342 sql_cstr, in pysqlite_statement_recompile()
/external/python/cpython3/Modules/_sqlite/
Dstatement.c55 const char* sql_cstr; in pysqlite_statement_create() local
62 sql_cstr = PyUnicode_AsUTF8AndSize(sql, &sql_cstr_len); in pysqlite_statement_create()
63 if (sql_cstr == NULL) { in pysqlite_statement_create()
67 if (strlen(sql_cstr) != (size_t)sql_cstr_len) { in pysqlite_statement_create()
79 for (p = sql_cstr; *p != 0; p++) { in pysqlite_statement_create()
97 sql_cstr, in pysqlite_statement_create()