Home
last modified time | relevance | path

Searched refs:SQLITE_OK (Results 1 – 25 of 34) sorted by relevance

12

/third_party/sqlite/src/
Dsqlite3.c754 #define SQLITE_OK 0 /* Successful result */ macro
878 #define SQLITE_OK_LOAD_PERMANENTLY (SQLITE_OK | (1<<8))
879 #define SQLITE_OK_SYMLINK (SQLITE_OK | (2<<8))
14617 # define sqlite3PagerWalWriteLock(y,z) SQLITE_OK
16264 #define sqlite3_mutex_try(X) SQLITE_OK
16269 #define sqlite3MutexInit() SQLITE_OK
19513 # define sqlite3FaultSim(X) SQLITE_OK
19776 # define sqlite3AuthCheck(a,b,c,d,e) SQLITE_OK
20013 # define sqlite3ExprCheckIN(x,y) SQLITE_OK
20057 # define sqlite3VtabSync(X,Y) SQLITE_OK
[all …]
Dshell.c2126 int rc = SQLITE_OK; in sqlite3_shathree_init()
2132 if( rc==SQLITE_OK ){ in sqlite3_shathree_init()
2137 if( rc==SQLITE_OK ){ in sqlite3_shathree_init()
2142 if( rc==SQLITE_OK ){ in sqlite3_shathree_init()
2479 int rc = SQLITE_OK; in makeDirectory()
2487 while( rc==SQLITE_OK ){ in makeDirectory()
2657 if( makeDirectory(zFile)==SQLITE_OK ){ in writefileFunc()
2758 if( rc==SQLITE_OK ){ in fsdirConnect()
2773 return SQLITE_OK; in fsdirDisconnect()
2787 return SQLITE_OK; in fsdirOpen()
[all …]
/third_party/python/Modules/_sqlite/
Dstatement.c116 if (rc != SQLITE_OK) { in pysqlite_statement_create()
121 if (rc == SQLITE_OK && pysqlite_check_remaining_sql(tail)) { in pysqlite_statement_create()
138 int rc = SQLITE_OK; in pysqlite_statement_bind_parameter()
288 if (rc != SQLITE_OK) { in pysqlite_statement_bind_parameters()
339 if (rc != SQLITE_OK) { in pysqlite_statement_bind_parameters()
355 rc = SQLITE_OK; in pysqlite_statement_finalize()
372 rc = SQLITE_OK; in pysqlite_statement_reset()
379 if (rc == SQLITE_OK) { in pysqlite_statement_reset()
Dconnection.c120 if (rc != SQLITE_OK) { in pysqlite_connection_init()
378 if (rc != SQLITE_OK) { in pysqlite_connection_close_impl()
419 if (rc != SQLITE_OK) { in _pysqlite_connection_begin()
433 if (rc != SQLITE_OK && !PyErr_Occurred()) { in _pysqlite_connection_begin()
467 if (rc != SQLITE_OK) { in pysqlite_connection_commit_impl()
480 if (rc != SQLITE_OK && !PyErr_Occurred()) { in pysqlite_connection_commit_impl()
517 if (rc != SQLITE_OK) { in pysqlite_connection_rollback_impl()
530 if (rc != SQLITE_OK && !PyErr_Occurred()) { in pysqlite_connection_rollback_impl()
929 if (rc != SQLITE_OK) { in pysqlite_connection_create_function_impl()
968 if (rc != SQLITE_OK) { in pysqlite_connection_create_aggregate_impl()
[all …]
Dmodule.c140 if (rc != SQLITE_OK) { in pysqlite_enable_shared_cache_impl()
287 ADD_INT(SQLITE_OK); in add_integer_constants()
372 if (rc != SQLITE_OK) { in PyInit__sqlite3()
Dutil.c48 case SQLITE_OK: in _pysqlite_seterror()
Dcursor.c732 if (rc != SQLITE_OK) { in pysqlite_cursor_executescript()
753 if (rc != SQLITE_OK) { in pysqlite_cursor_executescript()
/third_party/libsnd/regtest/
Ddatabase.c127 if (err != SQLITE_OK) in db_create()
213 if (err != SQLITE_OK) in db_add_file()
254 if (err != SQLITE_OK) in db_check_all()
294 if (err != SQLITE_OK) in get_ekey_from_filename()
319 if (err != SQLITE_OK) in get_filename_pathname_by_ekey()
366 if (err != SQLITE_OK) in check_file_by_ekey()
/third_party/libwebsockets/lib/misc/
Dlws-struct-sqlite.c223 if (sqlite3_exec(pdb, s, lws_struct_sq3_deser_cb, &a, NULL) != SQLITE_OK) { in lws_struct_sq3_deserialize()
422 if (n != SQLITE_OK) { in _lws_struct_sq3_ser_one()
494 if (sqlite3_exec(pdb, s, NULL, NULL, NULL) != SQLITE_OK) { in lws_struct_sq3_create_table()
515 NULL) != SQLITE_OK) { in lws_struct_sq3_open()
548 if (n != SQLITE_OK) { in lws_struct_sq3_close()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_index_generator.cc132 if (rc != SQLITE_OK) { in ExecuteSQL()
202 if (sqlite3_prepare_v2(db, common::SafeCStr(sql), -1, &stmt, 0) != SQLITE_OK) { in CreateShardNameTable()
211 if (sqlite3_bind_text(stmt, index, shard_name.data(), -1, SQLITE_STATIC) != SQLITE_OK) { in CreateShardNameTable()
310 if (sqlite3_prepare_v2(db, common::SafeCStr(sql), -1, &stmt, 0) != SQLITE_OK) { in BindParameterExecuteSQL()
325 if (sqlite3_bind_int64(stmt, index, std::stoll(field_value)) != SQLITE_OK) { in BindParameterExecuteSQL()
332 if (sqlite3_bind_double(stmt, index, std::stold(field_value)) != SQLITE_OK) { in BindParameterExecuteSQL()
339 if (sqlite3_bind_null(stmt, index) != SQLITE_OK) { in BindParameterExecuteSQL()
347 …f (sqlite3_bind_text(stmt, index, common::SafeCStr(field_value), -1, SQLITE_STATIC) != SQLITE_OK) { in BindParameterExecuteSQL()
Dshard_reader.cc139 sqlite3_open_v2(common::SafeCStr(file + ".db"), db, SQLITE_OPEN_READONLY, nullptr) == SQLITE_OK, in VerifyDataset()
146 if (sqlite3_exec(*db, common::SafeCStr(sql), SelectCallback, &name, &errmsg) != SQLITE_OK) { in VerifyDataset()
258 if (ret != SQLITE_OK) { in FileStreamsOperator()
414 if (rc != SQLITE_OK) { in ReadAllRowsInShard()
477 if (ret != SQLITE_OK) { in GetClassesInShard()
627 if (rc != SQLITE_OK) { in GetImageOffset()
668 if (rc != SQLITE_OK) { in GetPagesByCategory()
715 if (sqlite3_prepare_v2(db, common::SafeCStr(sql), -1, &stmt, 0) != SQLITE_OK) { in QueryWithCriteria()
719 if (sqlite3_bind_text(stmt, index, common::SafeCStr(criteria), -1, SQLITE_STATIC) != SQLITE_OK) { in QueryWithCriteria()
804 if (rc != SQLITE_OK) { in GetLabelsFromPage()
[all …]
Dshard_segment.cc46 if (rc != SQLITE_OK) { in GetCategoryFields()
108 … if (sqlite3_exec(db, common::SafeCStr(sql), SelectCallback, &field_count, &errmsg) != SQLITE_OK) { in WrapCategoryInfo()
/third_party/ltp/tools/sparse/sparse-src/
Dsemind.c440 if ((status = sqlite3_str_errcode(query)) == SQLITE_OK) in query_appendf()
454 …3_bind_text(stmt, sqlite3_bind_parameter_index(stmt, field), var, len, SQLITE_STATIC) != SQLITE_OK) in sqlite_bind_text()
460 if (sqlite3_bind_int64(stmt, sqlite3_bind_parameter_index(stmt, field), var) != SQLITE_OK) in sqlite_bind_int64()
469 if (ret != SQLITE_OK && ret != SQLITE_BUSY) in sqlite_prepare()
479 if (ret != SQLITE_OK && ret != SQLITE_BUSY) in sqlite_prepare_persistent()
579 if (sqlite3_open_v2(filename, &semind_db, flags, NULL) != SQLITE_OK) in open_database()
/third_party/python/Lib/sqlite3/test/
Duserfunctions.py495 return sqlite.SQLITE_OK
531 return sqlite.SQLITE_OK
540 return sqlite.SQLITE_OK
549 return sqlite.SQLITE_OK
Dbackup.py77 self.assertEqual(journal[0], sqlite.SQLITE_OK)
Dregression.py401 return sqlite.SQLITE_OK
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_sim_db.c90 return sqlite3_exec(db, cmd, NULL, NULL, NULL) == SQLITE_OK; in db_table_exists()
105 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_pseudonym()
131 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_reauth()
196 if (sqlite3_exec(data->sqlite_db, cmd, NULL, NULL, &err) != SQLITE_OK) in db_add_pseudonym()
235 SQLITE_OK) in db_get_pseudonym()
296 if (sqlite3_exec(data->sqlite_db, cmd, NULL, NULL, &err) != SQLITE_OK) in db_add_reauth()
352 SQLITE_OK) in db_get_reauth()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_sim_db.c90 return sqlite3_exec(db, cmd, NULL, NULL, NULL) == SQLITE_OK; in db_table_exists()
105 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_pseudonym()
131 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_reauth()
196 if (sqlite3_exec(data->sqlite_db, cmd, NULL, NULL, &err) != SQLITE_OK) in db_add_pseudonym()
235 SQLITE_OK) in db_get_pseudonym()
296 if (sqlite3_exec(data->sqlite_db, cmd, NULL, NULL, &err) != SQLITE_OK) in db_add_reauth()
352 SQLITE_OK) in db_get_reauth()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Deap_user_db.c195 SQLITE_OK) { in eap_user_sqlite_get()
207 NULL) != SQLITE_OK) { in eap_user_sqlite_get()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Deap_user_db.c195 SQLITE_OK) { in eap_user_sqlite_get()
207 NULL) != SQLITE_OK) { in eap_user_sqlite_get()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dhlr_auc_gw.c116 return sqlite3_exec(db, cmd, NULL, NULL, NULL) == SQLITE_OK; in db_table_exists()
134 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_milenage()
218 NULL) != SQLITE_OK) in db_get_milenage()
240 if (sqlite3_exec(sqlite_db, cmd, NULL, NULL, NULL) != SQLITE_OK) { in db_update_milenage_sqn()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dhlr_auc_gw.c116 return sqlite3_exec(db, cmd, NULL, NULL, NULL) == SQLITE_OK; in db_table_exists()
134 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_milenage()
218 NULL) != SQLITE_OK) in db_get_milenage()
240 if (sqlite3_exec(sqlite_db, cmd, NULL, NULL, NULL) != SQLITE_OK) { in db_update_milenage_sqn()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/
Dradius_server.c397 return sqlite3_exec(db, cmd, NULL, NULL, NULL) == SQLITE_OK; in db_table_exists()
414 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_sim_provisioning()
461 NULL) != SQLITE_OK) { in srv_log()
862 SQLITE_OK) { in radius_srv_hs20_t_c_pending()
892 NULL) != SQLITE_OK) { in radius_server_add_session()
940 SQLITE_OK) { in db_update_last_msk()
1045 SQLITE_OK) { in radius_server_sim_provisioning_session()
1811 if (res != SQLITE_OK) { in radius_server_receive_coa_resp()
2950 if (res != SQLITE_OK) { in radius_server_dac_request()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/
Dradius_server.c254 return sqlite3_exec(db, cmd, NULL, NULL, NULL) == SQLITE_OK; in db_table_exists()
271 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_sim_provisioning()
318 NULL) != SQLITE_OK) { in srv_log()
695 SQLITE_OK) { in radius_srv_hs20_t_c_pending()
725 NULL) != SQLITE_OK) { in radius_server_add_session()
773 SQLITE_OK) { in db_update_last_msk()
878 SQLITE_OK) { in radius_server_sim_provisioning_session()
1644 if (res != SQLITE_OK) { in radius_server_receive_coa_resp()
2753 if (res != SQLITE_OK) { in radius_server_dac_request()
/third_party/mindspore/third_party/patch/sqlite/
Dsqlite.patch00195 testcase( rc!=SQLITE_OK );
281 int rc = SQLITE_OK;

12