Home
last modified time | relevance | path

Searched refs:sql (Results 1 – 25 of 43) sorted by relevance

12

/third_party/libwebsockets/lib/misc/
Dlws-struct-sqlite.c250 char *sql; in _lws_struct_sq3_ser_one() local
325 sql = malloc(sql_est); in _lws_struct_sq3_ser_one()
326 if (!sql) in _lws_struct_sq3_ser_one()
329 m = lws_snprintf(sql, sql_est, "insert into %s(_lws_idx, ", in _lws_struct_sq3_ser_one()
348 m += lws_snprintf(sql + m, sql_est - (unsigned int)m, in _lws_struct_sq3_ser_one()
353 m += lws_snprintf(sql + m, sql_est - (unsigned int)m, ") values(%u, ", idx); in _lws_struct_sq3_ser_one()
377 m += lws_snprintf(sql + m, sql_est - (unsigned int)m, "%lld", in _lws_struct_sq3_ser_one()
380 m += lws_snprintf(sql + m, sql_est - (unsigned int)m, "%llu", in _lws_struct_sq3_ser_one()
385 sql[m++] = '\''; in _lws_struct_sq3_ser_one()
386 lws_sql_purify(sql + m, (const char *)&stb[map[n].ofs], in _lws_struct_sq3_ser_one()
[all …]
/third_party/python/Modules/_sqlite/clinic/
Dcursor.c.h43 pysqlite_cursor_execute_impl(pysqlite_Cursor *self, PyObject *sql,
50 PyObject *sql; in pysqlite_cursor_execute() local
63 sql = args[0]; in pysqlite_cursor_execute()
69 return_value = pysqlite_cursor_execute_impl(self, sql, parameters); in pysqlite_cursor_execute()
85 pysqlite_cursor_executemany_impl(pysqlite_Cursor *self, PyObject *sql,
92 PyObject *sql; in pysqlite_cursor_executemany() local
105 sql = args[0]; in pysqlite_cursor_executemany()
107 return_value = pysqlite_cursor_executemany_impl(self, sql, seq_of_parameters); in pysqlite_cursor_executemany()
Dconnection.c.h404 pysqlite_connection_execute_impl(pysqlite_Connection *self, PyObject *sql,
411 PyObject *sql; in pysqlite_connection_execute() local
424 sql = args[0]; in pysqlite_connection_execute()
430 return_value = pysqlite_connection_execute_impl(self, sql, parameters); in pysqlite_connection_execute()
447 PyObject *sql, PyObject *parameters);
453 PyObject *sql; in pysqlite_connection_executemany() local
466 sql = args[0]; in pysqlite_connection_executemany()
468 return_value = pysqlite_connection_executemany_impl(self, sql, parameters); in pysqlite_connection_executemany()
/third_party/libsnd/regtest/
Ddatabase.c45 { sqlite3 *sql ; member
96 if ((err = sqlite3_open (db_name, &(db->sql))) != 0) in db_open()
97 { printf ("Can't open database: %s\n", sqlite3_errmsg (db->sql)) ; in db_open()
98 sqlite3_close (db->sql) ; in db_open()
126 err = sqlite3_exec (db->sql, cmd, callback, 0, &errmsg) ; in db_create()
130 sqlite3_close (db->sql) ; in db_create()
142 sqlite3_close (db->sql) ; in db_close()
164 err = sqlite3_exec (db->sql, db->cmdbuf, (sqlite3_callback) count_callback, db, &errmsg) ; in db_file_exists()
212 err = sqlite3_exec (db->sql, db->cmdbuf, callback, 0, &errmsg) ; in db_add_file()
253 err = sqlite3_exec (db->sql, db->cmdbuf, (sqlite3_callback) ekey_max_callback, db, &errmsg) ; in db_check_all()
[all …]
/third_party/python/Lib/sqlite3/
Ddump.py31 for table_name, type, sql in schema_res.fetchall():
46 yield('{0};'.format(sql))
67 for name, type, sql in schema_res.fetchall():
68 yield('{0};'.format(sql))
/third_party/ltp/tools/sparse/sparse-src/
Dsemind.c464 static inline void sqlite_prepare(const char *sql, sqlite3_stmt **stmt) in sqlite_prepare() argument
468 ret = sqlite3_prepare_v2(semind_db, sql, -1, stmt, NULL); in sqlite_prepare()
470 semind_error(1, 0, "unable to prepare query: %s: %s", sqlite3_errmsg(semind_db), sql); in sqlite_prepare()
474 static inline void sqlite_prepare_persistent(const char *sql, sqlite3_stmt **stmt) in sqlite_prepare_persistent() argument
478 ret = sqlite3_prepare_v3(semind_db, sql, -1, SQLITE_PREPARE_PERSISTENT, stmt, NULL); in sqlite_prepare_persistent()
480 semind_error(1, 0, "unable to prepare query: %s: %s", sqlite3_errmsg(semind_db), sql); in sqlite_prepare_persistent()
501 static void sqlite_command(const char *sql) in sqlite_command() argument
504 sqlite_prepare(sql, &stmt); in sqlite_command()
524 char *sql; in set_db_version() local
530 sql = sqlite3_str_finish(query); in set_db_version()
[all …]
/third_party/python/Modules/_sqlite/
Dstatement.c52 pysqlite_statement_create(pysqlite_Connection *connection, PyObject *sql) in pysqlite_statement_create() argument
60 assert(PyUnicode_Check(sql)); in pysqlite_statement_create()
62 sql_cstr = PyUnicode_AsUTF8AndSize(sql, &sql_cstr_len); in pysqlite_statement_create()
66 Py_TYPE(sql)->tp_name); in pysqlite_statement_create()
83 self->sql = Py_NewRef(sql); in pysqlite_statement_create()
414 Py_CLEAR(self->sql); in stmt_clear()
422 Py_VISIT(self->sql); in stmt_traverse()
Dstatement.h37 PyObject* sql; member
45 pysqlite_Statement *pysqlite_statement_create(pysqlite_Connection *connection, PyObject *sql);
Dconnection.c1372 PyObject* sql; in pysqlite_connection_call() local
1383 if (!PyArg_ParseTuple(args, "U", &sql)) in pysqlite_connection_call()
1388 statement = pysqlite_statement_create(self, sql); in pysqlite_connection_call()
1420 pysqlite_connection_execute_impl(pysqlite_Connection *self, PyObject *sql, in pysqlite_connection_execute_impl() argument
1433 result = _PyObject_CallMethodIdObjArgs(cursor, &PyId_execute, sql, parameters, NULL); in pysqlite_connection_execute_impl()
1456 PyObject *sql, PyObject *parameters) in pysqlite_connection_executemany_impl() argument
1468 result = _PyObject_CallMethodIdObjArgs(cursor, &PyId_executemany, sql, in pysqlite_connection_executemany_impl()
Dcursor.c657 pysqlite_cursor_execute_impl(pysqlite_Cursor *self, PyObject *sql, in pysqlite_cursor_execute_impl() argument
661 return _pysqlite_query_execute(self, 0, sql, parameters); in pysqlite_cursor_execute_impl()
675 pysqlite_cursor_executemany_impl(pysqlite_Cursor *self, PyObject *sql, in pysqlite_cursor_executemany_impl() argument
679 return _pysqlite_query_execute(self, 1, sql, seq_of_parameters); in pysqlite_cursor_executemany_impl()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/
Dradius_server.c261 const char *sql = in db_table_create_sim_provisioning() local
271 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_sim_provisioning()
308 char *sql; in srv_log() local
309 sql = sqlite3_mprintf("INSERT INTO authlog" in srv_log()
316 if (sql) { in srv_log()
317 if (sqlite3_exec(sess->server->db, sql, NULL, NULL, in srv_log()
322 sqlite3_free(sql); in srv_log()
668 char *sql; in radius_srv_hs20_t_c_pending() local
688 sql = sqlite3_mprintf("INSERT OR REPLACE INTO pending_tc (mac_addr,identity) VALUES (%Q,%Q)", in radius_srv_hs20_t_c_pending()
691 if (!sql) in radius_srv_hs20_t_c_pending()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/
Dradius_server.c404 const char *sql = in db_table_create_sim_provisioning() local
414 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_sim_provisioning()
451 char *sql; in srv_log() local
452 sql = sqlite3_mprintf("INSERT INTO authlog" in srv_log()
459 if (sql) { in srv_log()
460 if (sqlite3_exec(sess->server->db, sql, NULL, NULL, in srv_log()
465 sqlite3_free(sql); in srv_log()
835 char *sql; in radius_srv_hs20_t_c_pending() local
855 sql = sqlite3_mprintf("INSERT OR REPLACE INTO pending_tc (mac_addr,identity) VALUES (%Q,%Q)", in radius_srv_hs20_t_c_pending()
858 if (!sql) in radius_srv_hs20_t_c_pending()
[all …]
/third_party/python/Lib/sqlite3/test/
Dhooks.py70 sql = """
79 result = con.execute(sql).fetchall()
85 result = con.execute(sql).fetchall()
94 sql = """
103 result = con.execute(sql).fetchall()
Ddbapi.py521 sql = '{} INTO test(id, unique_test) VALUES (?, ?)'
524 self.cu.execute(sql.format(statement), (1, 'foo'))
540 sql = 'INSERT OR {} INTO test(unique_test) VALUES (?)'
542 self.cu.execute(sql.format(statement), (statement,))
545 self.cu.execute(sql.format(statement), (statement,))
/third_party/python/PC/clinic/
D_msi.c.h552 _msi_Database_OpenView_impl(msiobj *self, const Py_UNICODE *sql);
558 const Py_UNICODE *sql; in _msi_Database_OpenView() local
565 sql = _PyUnicode_AsUnicode(arg); in _msi_Database_OpenView()
567 sql = PyUnicode_AsWideCharString(arg, NULL); in _msi_Database_OpenView()
569 if (sql == NULL) { in _msi_Database_OpenView()
572 return_value = _msi_Database_OpenView_impl(self, sql); in _msi_Database_OpenView()
577 PyMem_Free((void *)sql); in _msi_Database_OpenView()
/third_party/json/doc/docset/
DMakefile1 nlohmann_json.docset: Info.plist docSet.sql
18 sqlite3 nlohmann_json.docset/Contents/Resources/docSet.dsidx < docSet.sql
/third_party/skia/platform_tools/android/apps/skottie/
Drun_perf.sh55 ./trace_processor --run-metrics=skottie_metric.sql --metrics-output=json trace > out/data_${rendere…
/third_party/node/deps/npm/node_modules/color-name/
D.npmignore33 *.sql
/third_party/sqlite/include/
Dsqlite3ext.h76 int (*complete)(const char*sql);
77 int (*complete16)(const void*sql);
207 const char *(*sql)(sqlite3_stmt*); member
556 #define sqlite3_sql sqlite3_api->sql
/third_party/cef/patch/patches/
Dstorage_incognito_2289.patch66 meta_table_ = std::make_unique<sql::MetaTable>();
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_sim_db.c97 const char *sql = in db_table_create_pseudonym() local
105 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_pseudonym()
118 const char *sql = in db_table_create_reauth() local
131 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_reauth()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_sim_db.c97 const char *sql = in db_table_create_pseudonym() local
105 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_pseudonym()
118 const char *sql = in db_table_create_reauth() local
131 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_reauth()
/third_party/python/Doc/library/
Dsqlite3.rst109 https://www.w3schools.com/sql/
297 .. function:: complete_statement(sql)
299 Returns :const:`True` if the string *sql* contains one or more complete SQL
365 .. method:: execute(sql[, parameters])
372 .. method:: executemany(sql[, parameters])
597 # Convert file existing_db.db to SQL dump file dump.sql
601 with open('dump.sql', 'w') as f:
670 .. method:: execute(sql[, parameters])
681 .. method:: executemany(sql, seq_of_parameters)
/third_party/python/Lib/msilib/
D__init__.py39 def sql(self): member in Table
82 v = db.OpenView(self.sql())
/third_party/python/PC/
D_msi.c1052 _msi_Database_OpenView_impl(msiobj *self, const Py_UNICODE *sql) in _msi_Database_OpenView_impl() argument
1059 if ((status = MsiDatabaseOpenViewW(self->h, sql, &hView)) != ERROR_SUCCESS) in _msi_Database_OpenView_impl()

12