Home
last modified time | relevance | path

Searched refs:store (Results 26 - 50 of 2589) sorted by relevance

12345678910>>...104

/third_party/openssl/crypto/
H A Dprovider_core.c21 #include "crypto/store.h" /* ossl_store_loader_store_cache_flush */
52 * provider store. Each provider that exists in the parent provider store, has
53 * an associated child provider in the child library context's provider store.
84 * The store default_path_lock: Used to control access to the provider store's
87 * The store lock: Used to control the stack of provider's held within the
88 * provider store, as well as the stack of registered child provider callbacks.
102 * provider store lock, the provider flag_lock and the provider refcnt_lock.
105 * 1) provider store loc
160 struct provider_store_st *store; /* The store this instance belongs to */ global() member
288 struct provider_store_st *store = vstore; provider_store_free() local
310 struct provider_store_st *store = OPENSSL_zalloc(sizeof(*store)); provider_store_new() local
337 struct provider_store_st *store = NULL; get_provider_store() local
348 struct provider_store_st *store; ossl_provider_disable_fallback_loading() local
365 struct provider_store_st *store = get_provider_store(libctx); ossl_provider_info_add_to_store() local
413 struct provider_store_st *store = NULL; ossl_provider_find() local
534 struct provider_store_st *store = NULL; ossl_provider_new() local
592 struct provider_store_st *store = prov->store; create_provider_children() local
613 struct provider_store_st *store; ossl_provider_add_to_store() local
804 struct provider_store_st *store; OSSL_PROVIDER_set_default_search_path() local
1044 struct provider_store_st *store; provider_deactivate() local
1118 struct provider_store_st *store; provider_activate() local
1173 struct provider_store_st *store; provider_flush_store_cache() local
1205 struct provider_store_st *store; provider_remove_store_methods() local
1283 provider_activate_fallbacks(struct provider_store_st *store) provider_activate_fallbacks() argument
1356 struct provider_store_st *store = get_provider_store(ctx); ossl_provider_doall_activated() local
1473 struct provider_store_st *store = get_provider_store(libctx); OSSL_PROVIDER_available() local
1687 struct provider_store_st *store = NULL; ossl_provider_default_props_update() local
1727 struct provider_store_st *store = NULL; ossl_provider_register_child_cb() local
1802 struct provider_store_st *store = NULL; ossl_provider_deregister_child_cb() local
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dstacktrace.c75 unsigned long *store; member
92 c->store[c->len++] = addr; in stack_trace_consume_entry()
105 * @store: Pointer to storage array
111 unsigned int stack_trace_save(unsigned long *store, unsigned int size, in stack_trace_save() argument
116 .store = store, in stack_trace_save()
129 * @store: Pointer to storage array
135 unsigned int stack_trace_save_tsk(struct task_struct *tsk, unsigned long *store, in stack_trace_save_tsk() argument
140 .store = store, in stack_trace_save_tsk()
163 stack_trace_save_regs(struct pt_regs *regs, unsigned long *store, unsigned int size, unsigned int skipnr) stack_trace_save_regs() argument
190 stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store, unsigned int size) stack_trace_save_tsk_reliable() argument
221 stack_trace_save_user(unsigned long *store, unsigned int size) stack_trace_save_user() argument
269 stack_trace_save(unsigned long *store, unsigned int size, unsigned int skipnr) stack_trace_save() argument
292 stack_trace_save_tsk(struct task_struct *task, unsigned long *store, unsigned int size, unsigned int skipnr) stack_trace_save_tsk() argument
316 stack_trace_save_regs(struct pt_regs *regs, unsigned long *store, unsigned int size, unsigned int skipnr) stack_trace_save_regs() argument
342 stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store, unsigned int size) stack_trace_save_tsk_reliable() argument
363 stack_trace_save_user(unsigned long *store, unsigned int size) stack_trace_save_user() argument
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dstacktrace.c76 unsigned long *store; member
93 c->store[c->len++] = addr; in stack_trace_consume_entry()
106 * @store: Pointer to storage array
112 unsigned int stack_trace_save(unsigned long *store, unsigned int size, in stack_trace_save() argument
117 .store = store, in stack_trace_save()
130 * @store: Pointer to storage array
136 unsigned int stack_trace_save_tsk(struct task_struct *tsk, unsigned long *store, in stack_trace_save_tsk() argument
141 .store = store, in stack_trace_save_tsk()
164 stack_trace_save_regs(struct pt_regs *regs, unsigned long *store, unsigned int size, unsigned int skipnr) stack_trace_save_regs() argument
191 stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store, unsigned int size) stack_trace_save_tsk_reliable() argument
222 stack_trace_save_user(unsigned long *store, unsigned int size) stack_trace_save_user() argument
267 stack_trace_save(unsigned long *store, unsigned int size, unsigned int skipnr) stack_trace_save() argument
290 stack_trace_save_tsk(struct task_struct *task, unsigned long *store, unsigned int size, unsigned int skipnr) stack_trace_save_tsk() argument
314 stack_trace_save_regs(struct pt_regs *regs, unsigned long *store, unsigned int size, unsigned int skipnr) stack_trace_save_regs() argument
340 stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store, unsigned int size) stack_trace_save_tsk_reliable() argument
361 stack_trace_save_user(unsigned long *store, unsigned int size) stack_trace_save_user() argument
[all...]
/third_party/node/test/async-hooks/
H A Dtest-async-local-storage-thenable.js10 const store = new AsyncLocalStorage();
14 assert.strictEqual(store.getStore(), data);
25 store.run(data, async () => {
26 assert.strictEqual(store.getStore(), data);
28 assert.strictEqual(store.getStore(), data);
32 store.run(data, async () => {
34 assert.strictEqual(store.getStore(), data);
37 assert.strictEqual(store.getStore(), data);
42 store.run(data, () => {
43 assert.strictEqual(store
[all...]
/foundation/multimedia/ringtone_library/services/utils/src/
H A Dringtone_rdb_callbacks.cpp117 int32_t RingtoneDataCallBack::InitSql(NativeRdb::RdbStore &store) in InitSql() argument
120 if (store.ExecuteSql(sqlStr) != NativeRdb::E_OK) { in InitSql()
128 int32_t RingtoneDataCallBack::OnCreate(NativeRdb::RdbStore &store) in OnCreate() argument
130 if (InitSql(store) != NativeRdb::E_OK) { in OnCreate()
139 static void ExecSqls(const vector<string> &sqls, NativeRdb::RdbStore &store) in ExecSqls() argument
143 err = store.ExecuteSql(sql); in ExecSqls()
151 static void AddDisplayLanguageColumn(NativeRdb::RdbStore &store) in AddDisplayLanguageColumn() argument
157 ExecSqls(sqls, store); in AddDisplayLanguageColumn()
160 static void AddVibrateTable(NativeRdb::RdbStore &store) in AddVibrateTable() argument
178 ExecSqls(sqls, store); in AddVibrateTable()
181 UpdateMimeType(NativeRdb::RdbStore &store) UpdateMimeType() argument
218 AddPreloadConfTable(NativeRdb::RdbStore &store) AddPreloadConfTable() argument
228 UpdateDefaultSystemTone(NativeRdb::RdbStore &store) UpdateDefaultSystemTone() argument
254 UpgradeExtension(NativeRdb::RdbStore &store, int32_t oldVersion) UpgradeExtension() argument
271 OnUpgrade(NativeRdb::RdbStore &store, int32_t oldVersion, int32_t newVersion) OnUpgrade() argument
[all...]
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_delete_test.cpp36 static std::shared_ptr<RdbStore> store; member in RdbDeleteTest
40 std::shared_ptr<RdbStore> RdbDeleteTest::store = nullptr; member in RdbDeleteTest
44 int OnCreate(RdbStore &store) override;
45 int OnUpgrade(RdbStore &store, int oldVersion, int newVersion) override;
54 int DeleteTestOpenCallback::OnCreate(RdbStore &store) in OnCreate() argument
56 return store.ExecuteSql(CREATE_TABLE_TEST); in OnCreate()
59 int DeleteTestOpenCallback::OnUpgrade(RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() argument
69 RdbDeleteTest::store = RdbHelper::GetRdbStore(config, 1, helper, errCode); in SetUpTestCase() member in RdbDeleteTest
70 EXPECT_NE(RdbDeleteTest::store, nullptr); in SetUpTestCase()
80 store in SetUp()
94 std::shared_ptr<RdbStore> &store = RdbDeleteTest::store; HWTEST_F() local
149 std::shared_ptr<RdbStore> &store = RdbDeleteTest::store; HWTEST_F() local
203 std::shared_ptr<RdbStore> &store = RdbDeleteTest::store; HWTEST_F() local
[all...]
H A Drdb_attach_test.cpp34 void QueryCheck1(std::shared_ptr<RdbStore> &store) const;
35 void QueryCheck2(std::shared_ptr<RdbStore> &store) const;
36 void DeleteCheck(std::shared_ptr<RdbStore> &store) const;
37 void UpdateCheck(std::shared_ptr<RdbStore> &store) const;
38 void InsertCheck(std::shared_ptr<RdbStore> &store) const;
48 int OnCreate(RdbStore &store) override;
49 int OnUpgrade(RdbStore &store, int oldVersion, int newVersion) override;
56 int MainOpenCallback::OnCreate(RdbStore &store) in OnCreate() argument
58 return store.ExecuteSql(CREATE_TABLE_TEST); in OnCreate()
61 int MainOpenCallback::OnUpgrade(RdbStore &store, in argument
76 OnCreate(RdbStore &store) OnCreate() argument
81 OnUpgrade(RdbStore &store, int oldVersion, int newVersion) OnUpgrade() argument
120 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); HWTEST_F() local
138 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); HWTEST_F() local
[all...]
H A Drdb_update_test.cpp39 static std::shared_ptr<RdbStore> store; member in RdbStoreUpdateTest
43 std::shared_ptr<RdbStore> RdbStoreUpdateTest::store = nullptr; member in RdbStoreUpdateTest
47 int OnCreate(RdbStore &store) override;
48 int OnUpgrade(RdbStore &store, int oldVersion, int newVersion) override;
62 int UpdateTestOpenCallback::OnCreate(RdbStore &store) in OnCreate() argument
64 return store.ExecuteSql(CREATE_TABLE_TEST); in OnCreate()
67 int UpdateTestOpenCallback::OnUpgrade(RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() argument
78 RdbStoreUpdateTest::store = RdbHelper::GetRdbStore(config, 1, helper, errCode); in SetUpTestCase() member in RdbStoreUpdateTest
79 EXPECT_NE(RdbStoreUpdateTest::store, nullptr); in SetUpTestCase()
84 store in TearDownTestCase()
105 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
146 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
192 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
215 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
239 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
260 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
301 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
340 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
380 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
427 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
457 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
506 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
555 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
605 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
654 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
704 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
749 std::shared_ptr<RdbStore> &store = RdbStoreUpdateTest::store; HWTEST_F() local
[all...]
H A Drdb_double_write_concurrent_test.cpp43 void CheckNumber(std::shared_ptr<RdbStore> &store, int num, int errCode = E_OK,
53 std::shared_ptr<RdbStore> store = nullptr; member in RdbDoubleWriteConcurrentTest
58 int OnCreate(RdbStore &store) override;
59 int OnUpgrade(RdbStore &store, int oldVersion, int newVersion) override;
77 int RdbDoubleWriteConcurrentTest::Callback::OnCreate(RdbStore &store) in OnCreate() argument
79 return store.ExecuteSql(CREATE_TABLE_TEST); in OnCreate()
82 int RdbDoubleWriteConcurrentTest::Callback::OnUpgrade(RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() argument
101 store = nullptr; in TearDown()
112 RdbDoubleWriteConcurrentTest::store = RdbHelper::GetRdbStore(config, 1, helper, errCode); in InitDb() member in RdbDoubleWriteConcurrentTest
113 EXPECT_NE(RdbDoubleWriteConcurrentTest::store, nullpt in InitDb()
173 CheckNumber(std::shared_ptr<RdbStore> &store, int num, int errCode, const std::string &tableName) CheckNumber() argument
[all...]
H A Drdb_double_write_test.cpp43 void CheckResultSet(std::shared_ptr<RdbStore> &store);
47 void CheckNumber(std::shared_ptr<RdbStore> &store, int num, int errCode = E_OK,
56 static std::shared_ptr<RdbStore> store; member in RdbDoubleWriteTest
71 std::shared_ptr<RdbStore> RdbDoubleWriteTest::store = nullptr; member in RdbDoubleWriteTest
81 int OnCreate(RdbStore &store) override;
82 int OnUpgrade(RdbStore &store, int oldVersion, int newVersion) override;
91 int DoubleWriteTestOpenCallback::OnCreate(RdbStore &store) in OnCreate() argument
93 return store.ExecuteSql(CREATE_TABLE_TEST); in OnCreate()
96 int DoubleWriteTestOpenCallback::OnUpgrade(RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() argument
115 store in TearDown()
126 RdbDoubleWriteTest::store = RdbHelper::GetRdbStore(config, 1, helper, errCode); InitDb() member in RdbDoubleWriteTest
230 CheckResultSet(std::shared_ptr<RdbStore> &store) CheckResultSet() argument
332 CheckNumber(std::shared_ptr<RdbStore> &store, int num, int errCode, const std::string &tableName) CheckNumber() argument
466 RdbDoubleWriteTest::store = RdbHelper::GetRdbStore(config, 1, helper, errCode); HWTEST_F() member in RdbDoubleWriteTest
[all...]
H A Drdb_upgrade_test.cpp34 void InsertValues(std::shared_ptr<RdbStore> &store);
37 static std::shared_ptr<RdbStore> store; member in RdbUpgradeTest
41 std::shared_ptr<RdbStore> RdbUpgradeTest::store = nullptr; member in RdbUpgradeTest
45 int OnCreate(RdbStore &store) override;
46 int OnUpgrade(RdbStore &store, int oldVersion, int newVersion) override;
55 int UpgradeTestOpenCallback::OnCreate(RdbStore &store) in OnCreate() argument
57 return store.ExecuteSql(CREATE_TABLE_TEST); in OnCreate()
60 int UpgradeTestOpenCallback::OnUpgrade(RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() argument
67 int OnCreate(RdbStore &store) override;
68 int OnUpgrade(RdbStore &store, in
74 OnCreate(RdbStore &store) OnCreate() argument
79 OnUpgrade(RdbStore &store, int oldVersion, int newVersion) OnUpgrade() argument
90 RdbUpgradeTest::store = RdbHelper::GetRdbStore(config, 1, helper, errCode); SetUpTestCase() member in RdbUpgradeTest
167 InsertValues(std::shared_ptr<RdbStore> &store) InsertValues() argument
[all...]
/third_party/openssl/test/
H A Dproperty_test.c53 OSSL_METHOD_STORE *store; in test_property_string() local
57 if (TEST_ptr(store = ossl_method_store_new(NULL)) in test_property_string()
76 ossl_method_store_free(store); in test_property_string()
119 OSSL_METHOD_STORE *store; in test_property_parse() local
123 if (TEST_ptr(store = ossl_method_store_new(NULL)) in test_property_parse()
132 ossl_method_store_free(store); in test_property_parse()
138 OSSL_METHOD_STORE *store; in test_property_query_value_create() local
143 if (TEST_ptr(store = ossl_method_store_new(NULL)) in test_property_query_value_create()
154 ossl_method_store_free(store); in test_property_query_value_create()
183 OSSL_METHOD_STORE *store; in test_property_parse_error() local
233 OSSL_METHOD_STORE *store; test_property_merge() local
258 OSSL_METHOD_STORE *store; test_property_defn_cache() local
319 OSSL_METHOD_STORE *store; test_definition_compares() local
349 OSSL_METHOD_STORE *store; test_register_deregister() local
421 OSSL_METHOD_STORE *store; test_property() local
529 OSSL_METHOD_STORE *store; test_query_cache_stochastic() local
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-snap-persistent.c8 #include "dm-exception-store.h"
30 * We need to store a record of which parts of the origin have
33 * of the COW store. It makes sense therefore, to store the
100 * The top level structure for a persistent exception store.
103 struct dm_exception_store *store; member
139 * the exception store because chunks can be committed out of
172 len = ps->store->chunk_size << SECTOR_SHIFT; in alloc_area()
233 .bdev = dm_snap_cow(ps->store->snap)->bdev, in chunk_io()
234 .sector = ps->store in chunk_io()
563 get_info(struct dm_exception_store *store) get_info() argument
568 persistent_usage(struct dm_exception_store *store, sector_t *total_sectors, sector_t *sectors_allocated, sector_t *metadata_sectors) persistent_usage() argument
587 persistent_dtr(struct dm_exception_store *store) persistent_dtr() argument
604 persistent_read_metadata(struct dm_exception_store *store, int (*callback)(void *callback_context, chunk_t old, chunk_t new), void *callback_context) persistent_read_metadata() argument
669 persistent_prepare_exception(struct dm_exception_store *store, struct dm_exception *e) persistent_prepare_exception() argument
692 persistent_commit_exception(struct dm_exception_store *store, struct dm_exception *e, int valid, void (*callback) (void *, int success), void *callback_context) persistent_commit_exception() argument
758 persistent_prepare_merge(struct dm_exception_store *store, chunk_t *last_old_chunk, chunk_t *last_new_chunk) persistent_prepare_merge() argument
804 persistent_commit_merge(struct dm_exception_store *store, int nr_merged) persistent_commit_merge() argument
837 persistent_drop_snapshot(struct dm_exception_store *store) persistent_drop_snapshot() argument
846 persistent_ctr(struct dm_exception_store *store, char *options) persistent_ctr() argument
899 persistent_status(struct dm_exception_store *store, status_type_t status, char *result, unsigned maxlen) persistent_status() argument
[all...]
H A Ddm-snap-transient.c8 #include "dm-exception-store.h"
20 * Implementation of the store for non-persistent snapshots.
26 static void transient_dtr(struct dm_exception_store *store) in transient_dtr() argument
28 kfree(store->context); in transient_dtr()
31 static int transient_read_metadata(struct dm_exception_store *store, in transient_read_metadata() argument
39 static int transient_prepare_exception(struct dm_exception_store *store, in transient_prepare_exception() argument
42 struct transient_c *tc = store->context; in transient_prepare_exception()
43 sector_t size = get_dev_size(dm_snap_cow(store->snap)->bdev); in transient_prepare_exception()
45 if (size < (tc->next_free + store->chunk_size)) in transient_prepare_exception()
48 e->new_chunk = sector_to_chunk(store, t in transient_prepare_exception()
54 transient_commit_exception(struct dm_exception_store *store, struct dm_exception *e, int valid, void (*callback) (void *, int success), void *callback_context) transient_commit_exception() argument
63 transient_usage(struct dm_exception_store *store, sector_t *total_sectors, sector_t *sectors_allocated, sector_t *metadata_sectors) transient_usage() argument
73 transient_ctr(struct dm_exception_store *store, char *options) transient_ctr() argument
87 transient_status(struct dm_exception_store *store, status_type_t status, char *result, unsigned maxlen) transient_status() argument
[all...]
H A Ddm-exception-store.c8 #include "dm-exception-store.h"
64 * 'dm-exception-store-<type_name>' is too long of a name in my
66 * containing exception store implementations be 'dm-exstore-<type_name>'.
142 static int set_chunk_size(struct dm_exception_store *store, in set_chunk_size() argument
153 store->chunk_size = store->chunk_mask = store->chunk_shift = 0; in set_chunk_size()
157 return dm_exception_store_set_chunk_size(store, chunk_size, error); in set_chunk_size()
160 int dm_exception_store_set_chunk_size(struct dm_exception_store *store, in dm_exception_store_set_chunk_size() argument
172 (bdev_logical_block_size(dm_snap_cow(store in dm_exception_store_set_chunk_size()
191 dm_exception_store_create(struct dm_target *ti, int argc, char **argv, struct dm_snapshot *snap, unsigned *args_used, struct dm_exception_store **store) dm_exception_store_create() argument
254 dm_exception_store_destroy(struct dm_exception_store *store) dm_exception_store_destroy() argument
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-snap-persistent.c9 #include "dm-exception-store.h"
33 * We need to store a record of which parts of the origin have
36 * of the COW store. It makes sense therefore, to store the
103 * The top level structure for a persistent exception store.
106 struct dm_exception_store *store; member
142 * the exception store because chunks can be committed out of
175 len = ps->store->chunk_size << SECTOR_SHIFT; in alloc_area()
236 .bdev = dm_snap_cow(ps->store->snap)->bdev, in chunk_io()
237 .sector = ps->store in chunk_io()
568 get_info(struct dm_exception_store *store) get_info() argument
573 persistent_usage(struct dm_exception_store *store, sector_t *total_sectors, sector_t *sectors_allocated, sector_t *metadata_sectors) persistent_usage() argument
592 persistent_dtr(struct dm_exception_store *store) persistent_dtr() argument
609 persistent_read_metadata(struct dm_exception_store *store, int (*callback)(void *callback_context, chunk_t old, chunk_t new), void *callback_context) persistent_read_metadata() argument
674 persistent_prepare_exception(struct dm_exception_store *store, struct dm_exception *e) persistent_prepare_exception() argument
697 persistent_commit_exception(struct dm_exception_store *store, struct dm_exception *e, int valid, void (*callback)(void *, int success), void *callback_context) persistent_commit_exception() argument
763 persistent_prepare_merge(struct dm_exception_store *store, chunk_t *last_old_chunk, chunk_t *last_new_chunk) persistent_prepare_merge() argument
809 persistent_commit_merge(struct dm_exception_store *store, int nr_merged) persistent_commit_merge() argument
842 persistent_drop_snapshot(struct dm_exception_store *store) persistent_drop_snapshot() argument
851 persistent_ctr(struct dm_exception_store *store, char *options) persistent_ctr() argument
905 persistent_status(struct dm_exception_store *store, status_type_t status, char *result, unsigned int maxlen) persistent_status() argument
[all...]
H A Ddm-snap-transient.c9 #include "dm-exception-store.h"
22 * Implementation of the store for non-persistent snapshots.
29 static void transient_dtr(struct dm_exception_store *store) in transient_dtr() argument
31 kfree(store->context); in transient_dtr()
34 static int transient_read_metadata(struct dm_exception_store *store, in transient_read_metadata() argument
42 static int transient_prepare_exception(struct dm_exception_store *store, in transient_prepare_exception() argument
45 struct transient_c *tc = store->context; in transient_prepare_exception()
46 sector_t size = get_dev_size(dm_snap_cow(store->snap)->bdev); in transient_prepare_exception()
48 if (size < (tc->next_free + store->chunk_size)) in transient_prepare_exception()
51 e->new_chunk = sector_to_chunk(store, t in transient_prepare_exception()
57 transient_commit_exception(struct dm_exception_store *store, struct dm_exception *e, int valid, void (*callback)(void *, int success), void *callback_context) transient_commit_exception() argument
66 transient_usage(struct dm_exception_store *store, sector_t *total_sectors, sector_t *sectors_allocated, sector_t *metadata_sectors) transient_usage() argument
76 transient_ctr(struct dm_exception_store *store, char *options) transient_ctr() argument
90 transient_status(struct dm_exception_store *store, status_type_t status, char *result, unsigned int maxlen) transient_status() argument
[all...]
H A Ddm-exception-store.c9 #include "dm-exception-store.h"
65 * 'dm-exception-store-<type_name>' is too long of a name in my
67 * containing exception store implementations be 'dm-exstore-<type_name>'.
143 static int set_chunk_size(struct dm_exception_store *store, in set_chunk_size() argument
154 store->chunk_size = store->chunk_mask = store->chunk_shift = 0; in set_chunk_size()
158 return dm_exception_store_set_chunk_size(store, chunk_size, error); in set_chunk_size()
161 int dm_exception_store_set_chunk_size(struct dm_exception_store *store, in dm_exception_store_set_chunk_size() argument
173 (bdev_logical_block_size(dm_snap_cow(store in dm_exception_store_set_chunk_size()
192 dm_exception_store_create(struct dm_target *ti, int argc, char **argv, struct dm_snapshot *snap, unsigned int *args_used, struct dm_exception_store **store) dm_exception_store_create() argument
255 dm_exception_store_destroy(struct dm_exception_store *store) dm_exception_store_destroy() argument
[all...]
/foundation/distributeddatamgr/relational_store/test/js/rdb/unittest/src/
H A DRdbstoreRdbstoreJsunit.test.js48 * @tc.name rdb store getRdbStore test
50 * @tc.desc rdb store getRdbStore test
63 * @tc.name rdb store getRdbStore and create table
65 * @tc.desc rdb store getRdbStore and create table
70 let store = await dataRdb.getRdbStore(STORE_CONFIG, 2);
71 await store.executeSql(CREATE_TABLE_TEST);
82 * @tc.desc rdb store getRdbStore with wrong path
101 * @tc.name rdb store deleteRdbStore
103 * @tc.desc rdb store deleteRdbStore
108 let store
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dtransaction_impl.cpp169 auto store = GetStore(); in Insert() local
170 if (store == nullptr) { in Insert()
174 return store->Insert(table, row, resolution); in Insert()
179 auto store = GetStore(); in BatchInsert() local
180 if (store == nullptr) { in BatchInsert()
185 auto errorCode = store->BatchInsert(insertRows, table, rows); in BatchInsert()
191 auto store = GetStore(); in BatchInsert() local
192 if (store == nullptr) { in BatchInsert()
196 return store->BatchInsert(table, rows); in BatchInsert()
202 auto store in Update() local
213 auto store = GetStore(); Update() local
225 auto store = GetStore(); Delete() local
237 auto store = GetStore(); Delete() local
255 auto store = GetStore(); QueryByStep() local
269 auto store = GetStore(); QueryByStep() local
283 auto store = GetStore(); Execute() local
[all...]
/foundation/distributeddatamgr/relational_store/test/native/relational_store_test/unittest/
H A Drelational_store_test.cpp35 void QueryCheck1(std::shared_ptr<RdbStore> &store) const;
36 void QueryCheck2(std::shared_ptr<RdbStore> &store) const;
41 static std::shared_ptr<RdbStore> store; member in RdbTest
47 std::shared_ptr<RdbStore> RdbTest::store = nullptr; member in RdbTest
61 int DeleteTestOpenCallback::OnCreate(RdbStore &store) in OnCreate() argument
63 return store.ExecuteSql(CREATE_TABLE_TEST); in OnCreate()
66 int DeleteTestOpenCallback::OnUpgrade(RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() argument
81 int MainOpenCallback::OnCreate(RdbStore &store) in OnCreate() argument
83 return store.ExecuteSql(CREATE_TABLE_TEST); in OnCreate()
86 int MainOpenCallback::OnUpgrade(RdbStore &store, in argument
103 OnCreate(RdbStore &store) OnCreate() argument
108 OnUpgrade(RdbStore &store, int oldVersion, int newVersion) OnUpgrade() argument
149 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); HWTEST_F() local
172 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); HWTEST_F() local
277 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
352 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
413 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); HWTEST_F() local
431 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); HWTEST_F() local
449 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); HWTEST_F() local
528 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); HWTEST_F() local
553 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); HWTEST_F() local
571 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); HWTEST_F() local
596 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); HWTEST_F() local
618 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); HWTEST_F() local
636 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); HWTEST_F() local
669 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
733 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
802 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
824 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
861 CheckResultSet(std::shared_ptr<RdbStore> &store) CheckResultSet() argument
972 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
1047 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
1132 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
1167 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
1200 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
1234 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
1318 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
1508 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); HWTEST_F() local
1588 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
1637 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
1686 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
1736 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
1785 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
1835 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
1880 std::shared_ptr<RdbStore> &store = RdbTest::store; HWTEST_F() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_single_ver_natural_store_testcase.cpp46 void DistributedDBStorageSingleVerNaturalStoreTestCase::GetSyncData001(SQLiteSingleVerNaturalStore *&store, in GetSyncData001() argument
58 store->GetMaxTimestamp(timeBegin); in GetSyncData001()
66 store->GetMaxTimestamp(timeEnd); in GetSyncData001()
72 EXPECT_EQ(DistributedDBToolsUnitTest::GetSyncDataTest(inputArg, store, vect, token), E_OK); in GetSyncData001()
86 void DistributedDBStorageSingleVerNaturalStoreTestCase::GetSyncData002(SQLiteSingleVerNaturalStore *&store, in GetSyncData002() argument
106 store->GetMaxTimestamp(timestamp); in GetSyncData002()
111 EXPECT_EQ(DistributedDBToolsUnitTest::GetSyncDataTest(inputArg, store, vect, token), E_OK); in GetSyncData002()
125 void DistributedDBStorageSingleVerNaturalStoreTestCase::GetSyncData003(SQLiteSingleVerNaturalStore *&store, in GetSyncData003() argument
140 EXPECT_EQ(DistributedDBToolsUnitTest::GetSyncDataTest(inputArg1, store, vect, token), -E_INVALID_ARGS); in GetSyncData003()
144 EXPECT_EQ(DistributedDBToolsUnitTest::GetSyncDataTest(inputArg2, store, vec in GetSyncData003()
168 GetSyncData004(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) GetSyncData004() argument
232 GetSyncData005(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) GetSyncData005() argument
270 GetSyncData006(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) GetSyncData006() argument
307 PutSyncData001(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) PutSyncData001() argument
402 PutSyncData002(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) PutSyncData002() argument
486 PutSyncData003(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) PutSyncData003() argument
564 PutMetaData001(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) PutMetaData001() argument
577 GetMetaData001(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) GetMetaData001() argument
595 DeleteMetaData001(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) DeleteMetaData001() argument
613 GetCurrentMaxTimestamp001(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) GetCurrentMaxTimestamp001() argument
658 GetCurrentMaxTimestamp002(SQLiteSingleVerNaturalStore *&store) GetCurrentMaxTimestamp002() argument
676 LocalDatabaseOperate001(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) LocalDatabaseOperate001() argument
691 LocalDatabaseOperate002(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) LocalDatabaseOperate002() argument
706 LocalDatabaseOperate003(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) LocalDatabaseOperate003() argument
721 SyncDatabaseOperate001(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) SyncDatabaseOperate001() argument
736 SyncDatabaseOperate002(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) SyncDatabaseOperate002() argument
786 SyncDatabaseOperate003(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) SyncDatabaseOperate003() argument
801 SyncDatabaseOperate004(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) SyncDatabaseOperate004() argument
848 SyncDatabaseOperate005(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) SyncDatabaseOperate005() argument
863 SyncDatabaseOperate006(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) SyncDatabaseOperate006() argument
924 ClearRemoteData001(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) ClearRemoteData001() argument
994 DeleteUserKeyValue001(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) DeleteUserKeyValue001() argument
1038 MemoryDbDeleteUserKeyValue001( SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) MemoryDbDeleteUserKeyValue001() argument
1082 DeleteUserKeyValue002(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) DeleteUserKeyValue002() argument
1129 DeleteUserKeyValue003(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) DeleteUserKeyValue003() argument
1212 DeleteUserKeyValue004(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) DeleteUserKeyValue004() argument
1261 MemoryDbDeleteUserKeyValue004( SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) MemoryDbDeleteUserKeyValue004() argument
1307 DeleteUserKeyValue005(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) DeleteUserKeyValue005() argument
1364 MemoryDbDeleteUserKeyValue005( SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) MemoryDbDeleteUserKeyValue005() argument
1419 DeleteUserKeyValue006(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection, const std::string &url) DeleteUserKeyValue006() argument
1564 TestMetaDataPutAndGet(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) TestMetaDataPutAndGet() argument
1669 DataBaseCommonPutOperate(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection, IOption option) DataBaseCommonPutOperate() argument
1760 DataBaseCommonDeleteOperate(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection, IOption option) DataBaseCommonDeleteOperate() argument
1804 DataBaseCommonGetOperate(SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection, IOption option) DataBaseCommonGetOperate() argument
1862 TestMetaDataDeleteByPrefixKey( SQLiteSingleVerNaturalStore *&store, SQLiteSingleVerNaturalStoreConnection *&connection) TestMetaDataDeleteByPrefixKey() argument
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/event_handler/
H A Dalbum_plugin_table_event_handler.cpp29 bool AlbumPluginTableEventHandler::IsTableCreated(NativeRdb::RdbStore &store, const std::string &tableName) in IsTableCreated() argument
33 auto resultSet = store.QuerySql(sql, params); in IsTableCreated()
51 int32_t AlbumPluginTableEventHandler::InitiateData(NativeRdb::RdbStore &store) in InitiateData() argument
55 store.BeginTransaction(); in InitiateData()
66 err = store.ExecuteSql(this->INSERT_DATA_SQL, bindArgs); in InitiateData()
68 store.RollBack(); in InitiateData()
72 store.Commit(); in InitiateData()
79 int32_t AlbumPluginTableEventHandler::GetAlbumPluginDataCount(NativeRdb::RdbStore &store) in GetAlbumPluginDataCount() argument
82 auto resultSet = store.QuerySql(querySql); in GetAlbumPluginDataCount()
92 * @param store rd
94 OnCreate(NativeRdb::RdbStore &store) OnCreate() argument
111 OnUpgrade(NativeRdb::RdbStore &store, int oldVersion, int newVersion) OnUpgrade() argument
[all...]
/third_party/node/deps/v8/src/api/
H A Dapi-arguments.cc16 slot_at(T::kThisIndex).store(self); in PropertyCallbackArguments()
17 slot_at(T::kHolderIndex).store(holder); in PropertyCallbackArguments()
18 slot_at(T::kDataIndex).store(data); in PropertyCallbackArguments()
19 slot_at(T::kIsolateIndex).store(Object(reinterpret_cast<Address>(isolate))); in PropertyCallbackArguments()
24 slot_at(T::kShouldThrowOnErrorIndex).store(Smi::FromInt(value)); in PropertyCallbackArguments()
29 slot_at(T::kReturnValueDefaultValueIndex).store(the_hole); in PropertyCallbackArguments()
30 slot_at(T::kReturnValueIndex).store(the_hole); in PropertyCallbackArguments()
40 slot_at(T::kDataIndex).store(data); in FunctionCallbackArguments()
41 slot_at(T::kHolderIndex).store(holder); in FunctionCallbackArguments()
42 slot_at(T::kNewTargetIndex).store(new_targe in FunctionCallbackArguments()
[all...]
/foundation/communication/netstack/frameworks/native/net_ssl/
H A Dnet_ssl_verify_cert.cpp114 X509_STORE *store = nullptr; in VerifyCert() local
121 store = X509_STORE_new(); in VerifyCert()
122 if (store == nullptr) { in VerifyCert()
126 if (X509_STORE_load_locations(store, nullptr, SslConstant::SYSPRECAPATH) != VERIFY_RESULT_SUCCESS) { in VerifyCert()
127 NETSTACK_LOGE("load SYSPRECAPATH store failed\n"); in VerifyCert()
129 if (X509_STORE_load_locations(store, nullptr, userInstalledCaPath.c_str()) != VERIFY_RESULT_SUCCESS) { in VerifyCert()
130 NETSTACK_LOGI("load userInstalledCaPath store failed\n"); in VerifyCert()
136 X509_STORE_CTX_init(ctx, store, certX509, nullptr); in VerifyCert()
149 FreeResources(&certX509, nullptr, &store, &ctx); in VerifyCert()
158 X509_STORE *store in VerifyCert() local
197 FreeResources(X509 **certX509, X509 **caX509, X509_STORE **store, X509_STORE_CTX **ctx) FreeResources() argument
[all...]

Completed in 16 milliseconds

12345678910>>...104