/third_party/node/test/parallel/ |
H A D | test-timers-clearImmediate-als.js | 14 const store = asyncLocalStorage.getStore(); 15 store.set('immediate', immediate); 20 const store = asyncLocalStorage.getStore(); 21 const immediate = store.get('immediate');
|
/third_party/node/benchmark/async_hooks/ |
H A D | async-local-storage-getstore-nested-resources.js | 22 function runBenchmark(store, n) { 24 store.getStore(); 40 const store = new AsyncLocalStorage(); 43 runBenchmark(store, n);
|
H A D | async-resource-vs-destroy.js | 115 const store = asyncLocalStorage.getStore(); 116 if (store === undefined) { 119 return store.state; 123 const store = asyncLocalStorage.getStore(); 124 if (store === undefined) { 127 store.state = state;
|
/third_party/openssl/test/ |
H A D | x509_dup_cert_test.c | 21 X509_STORE *store = NULL; in test_509_dup_cert() local 25 if (TEST_ptr(store = X509_STORE_new()) in test_509_dup_cert() 26 && TEST_ptr(lookup = X509_STORE_add_lookup(store, X509_LOOKUP_file())) in test_509_dup_cert() 32 X509_STORE_free(store); in test_509_dup_cert()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | ssa.c | 97 struct instruction *store = NULL; in rewrite_local_var() local 110 if (!store) in rewrite_local_var() 112 else if (same_memop(store, insn)) in rewrite_local_var() 113 replace_with_pseudo(insn, store->target); in rewrite_local_var() 118 store = insn; in rewrite_local_var() 124 kill_store(store); in rewrite_local_var() 362 struct instruction *store; in remove_dead_stores() local 364 FOR_EACH_PTR(stores, store) { in remove_dead_stores() 365 struct symbol *var = store->addr->sym; in remove_dead_stores() 368 kill_store(store); in remove_dead_stores() [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_test/src/ |
H A D | external_source.cpp | 27 int ExternalOpenCall::OnCreate(NativeRdb::RdbStore &store) in OnCreate() argument 29 return store.ExecuteSql(CREATE_EXTERNAL_FILES); in OnCreate() 32 int ExternalOpenCall::OnUpgrade(NativeRdb::RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() argument 42 shared_ptr<NativeRdb::RdbStore> store = NativeRdb::RdbHelper::GetRdbStore(config, 1, helper, errCode); in Init() local 43 externalStorePtr_ = store; in Init()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/store/ |
H A D | store_cache.cpp | 35 std::shared_ptr<Store> store;
in GetStore() local 45 stores_.Compute(key, [&store, intention](const auto &key, std::shared_ptr<Store> &storePtr) -> bool {
in GetStore() 47 store = storePtr;
in GetStore() 55 ZLOGE("Init runtime store failed.");
in GetStore() 58 store = storePtr;
in GetStore() 68 return store;
in GetStore()
|
/third_party/node/deps/v8/third_party/wasm-api/example/ |
H A D | hello.c | 24 wasm_store_t* store = wasm_store_new(engine); in main() local 46 own wasm_module_t* module = wasm_module_new(store, &binary); in main() 58 wasm_func_new(store, hello_type, hello_callback); in main() 66 wasm_instance_new(store, module, imports, NULL); in main() 102 wasm_store_delete(store); in main()
|
H A D | threads.cc | 27 // Create store. in run() 29 auto store = store_.get(); in run() local 32 auto module = wasm::Module::obtain(store, shared); in run() 48 auto func = wasm::Func::make(store, func_type.get(), callback, mutex); in run() 53 store, global_type.get(), wasm::Val::i32(i)); in run() 57 auto instance = wasm::Instance::make(store, module.get(), imports); in run() 99 auto store = wasm::Store::make(engine.get()); in main() local 100 auto module = wasm::Module::make(store.get(), binary); in main()
|
H A D | trap.cc | 14 auto store = reinterpret_cast<wasm::Store*>(env); variable 16 return wasm::Trap::make(store, message); 33 auto store = store_.get(); in run() local 51 auto module = wasm::Module::make(store, binary); in run() 64 wasm::Func::make(store, fail_type.get(), fail_callback, store); in run() 69 auto instance = wasm::Instance::make(store, module.get(), imports); in run()
|
H A D | trap.c | 37 wasm_store_t* store = wasm_store_new(engine); in main() local 59 own wasm_module_t* module = wasm_module_new(store, &binary); in main() 72 wasm_func_new_with_env(store, fail_type, fail_callback, store, NULL); in main() 80 wasm_instance_new(store, module, imports, NULL); in main() 149 wasm_store_delete(store); in main()
|
H A D | callback.c | 67 wasm_store_t* store = wasm_store_new(engine); in main() local 89 own wasm_module_t* module = wasm_module_new(store, &binary); in main() 100 own wasm_func_t* print_func = wasm_func_new(store, print_type, print_callback); in main() 104 own wasm_func_t* closure_func = wasm_func_new_with_env(store, closure_type, closure_callback, &i, NULL); in main() 115 wasm_instance_new(store, module, imports, NULL); in main() 162 wasm_store_delete(store); in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/cert_mgr_deps/src/ |
H A D | cert_manager_api.c | 23 CM_API_EXPORT int32_t CmGetAppCert(const struct CmBlob *keyUri, const uint32_t store, in CmGetAppCert() argument 27 if (keyUri == NULL || certificate == NULL || (store != CM_CREDENTIAL_STORE && in CmGetAppCert() 28 store != CM_PRI_CREDENTIAL_STORE && store != CM_SYS_CREDENTIAL_STORE)) { in CmGetAppCert() 32 int32_t ret = CmClientGetAppCert(keyUri, store, certificate); in CmGetAppCert()
|
/kernel/linux/linux-6.6/arch/arm/lib/ |
H A D | bitops.h | 31 .macro __testop, name, instr, store, barrier variable 61 .macro testop, name, instr, store 62 __testop \name, \instr, \store, smp_dmb variable 65 .macro sync_testop, name, instr, store 66 __testop \name, \instr, \store, __smp_dmb variable 91 * @store: store instruction 93 * Note: we can trivially conditionalise the store instruction 96 .macro testop, name, instr, store 108 \store r [all...] |
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
H A D | x509_vfy.rs | 29 pub fn X509_STORE_free(store: *mut X509_STORE); in X509_STORE_free() 36 store: *mut X509_STORE, in X509_STORE_CTX_init() 42 pub fn X509_STORE_add_cert(store: *mut X509_STORE, x: *mut X509) -> c_int; in X509_STORE_add_cert() 45 store: *mut X509_STORE, in X509_STORE_add_lookup() 49 pub fn X509_STORE_set_default_paths(store: *mut X509_STORE) -> c_int; in X509_STORE_set_default_paths() 50 pub fn X509_STORE_set_flags(store: *mut X509_STORE, flags: c_ulong) -> c_int; in X509_STORE_set_flags() 58 pub fn X509_STORE_set1_param(store: *mut X509_STORE, pm: #[const_ptr_if(ossl300)] X509_VERIFY_PARAM) -> c_int; in X509_STORE_set1_param()
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/ |
H A D | scheduler.c | 52 * constrained register load/store units, there is an explicit bypass 529 /* This node may have a store as a successor, in which case we have to in _try_place_node() 622 gpir_store_node *store = gpir_node_to_store(node); in schedule_try_place_node() local 624 ~(1ull << (4 * store->index + store->component)); in schedule_try_place_node() 625 if (store->child->sched.physreg_store == store) in schedule_try_place_node() 626 store->child->sched.physreg_store = NULL; in schedule_try_place_node() 897 gpir_store_node *store = gpir_node_to_store(instr->slots[slot]); in get_killed_regs() local 898 if (store in get_killed_regs() 913 spill_node(sched_ctx *ctx, gpir_node *node, gpir_store_node *store) spill_node() argument 1009 gpir_store_node *store = node->sched.physreg_store; try_spill_node() local 1033 gpir_store_node *store = gpir_node_create(ctx->block, gpir_op_store_reg); try_spill_node() local [all...] |
H A D | nir.c | 58 * register and store to it. in register_node_ssa() 79 gpir_store_node *store = gpir_node_create(block, gpir_op_store_reg); in register_node_ssa() local 80 store->child = node; in register_node_ssa() 81 store->reg = gpir_create_reg(block->comp); in register_node_ssa() 82 gpir_node_add_dep(&store->node, node, GPIR_DEP_INPUT); in register_node_ssa() 83 list_addtail(&store->node.list, &block->node_list); in register_node_ssa() 84 block->comp->reg_for_ssa[ssa->index] = store->reg; in register_node_ssa() 91 gpir_store_node *store = gpir_node_create(block, gpir_op_store_reg); in register_node_reg() local 95 store->child = node; in register_node_reg() 96 store in register_node_reg() 276 gpir_store_node *store = gpir_node_create(block, gpir_op_store_varying); gpir_emit_intrinsic() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/ |
H A D | single_kvstore_async_get_test.cpp | 94 std::shared_ptr<SingleKvStore> store = nullptr; in HWTEST_F() local 95 auto status = manager.GetSingleKvStore(options, appId, storeId, store); in HWTEST_F() 97 EXPECT_NE(store, nullptr); in HWTEST_F() 121 std::shared_ptr<SingleKvStore> store = nullptr; in HWTEST_F() local 122 auto status = manager.GetSingleKvStore(options, appId, storeId, store); in HWTEST_F() 143 std::shared_ptr<SingleKvStore> store = nullptr; in HWTEST_F() local 144 auto status = manager.GetSingleKvStore(options, appId, storeId, store); in HWTEST_F() 146 EXPECT_NE(store, nullptr); in HWTEST_F() 150 status = manager.GetSingleKvStore(options, appId, storeId, store); in HWTEST_F() 173 std::shared_ptr<SingleKvStore> store in HWTEST_F() local [all...] |
/foundation/distributeddatamgr/kv_store/test/unittest/distributedKVStore/ |
H A D | SchemaJsTest.js | 102 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => { 104 kvStore = store; 105 expect(store != null).assertTrue(); 149 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => { 151 kvStore = store; 152 expect(store != null).assertTrue(); 196 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) => { 198 kvStore = store; 199 expect(store != null).assertTrue(); 243 await kvManager.getKVStore(TEST_STORE_ID, options).then(async (store) [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/checker/ |
H A D | system_checker.cpp | 102 for (const auto &store : dynamicStores_) { in IsDynamic() 103 if (info.bundleName == store.bundleName && info.storeId == store.storeId) { in IsDynamic() 112 for (const auto &store : staticStores_) { in IsStatic() 113 if (info.bundleName == store.bundleName && info.storeId == store.storeId) { in IsStatic()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/ |
H A D | sequence_lock.h | 65 lock_.store(0, std::memory_order_release); in MarkInitialized() 106 lock_.store(orig_seq + 1, std::memory_order_relaxed); in Write() 117 lock_.store(orig_seq + 2, std::memory_order_release); in Write() 137 lock_.store(val + 2, std::memory_order_relaxed); in IncrementModificationCount() 167 dst->store(word, std::memory_order_relaxed); in RelaxedCopyToAtomic() 175 dst->store(word, std::memory_order_relaxed); in RelaxedCopyToAtomic()
|
/third_party/node/deps/v8/src/wasm/ |
H A D | c-api.cc | 481 auto store = make_own(new (std::nothrow) StoreImpl()); variable 482 if (!store) return own<Store>(); 485 store->create_params_.array_buffer_allocator = 488 store->create_params_.counter_lookup_callback = EngineImpl::LookupCounter; 489 store->create_params_.create_histogram_callback = EngineImpl::CreateHistogram; 490 store->create_params_.add_histogram_sample_callback = 493 v8::Isolate* isolate = v8::Isolate::New(store->create_params_); 495 store->isolate_ = isolate; 496 isolate->SetData(0, store.get()); 509 store 902 make(StoreImpl* store, i::Handle<JSType> obj) make() argument 914 StoreImpl* store() const { return StoreImpl::get(isolate()); } store() function in wasm::RefImpl 1017 auto store = impl(store_abs); global() variable 1048 CreateFrameFromInternal(i::Handle<i::FixedArray> frames, int index, i::Isolate* isolate, StoreImpl* store) CreateFrameFromInternal() argument 1103 StoreImpl* store = impl(store_abs); global() variable 1132 StoreImpl* store = impl(store_abs); global() variable 1217 StoreImpl* store = impl(store_abs); global() variable 1344 Store* store; global() member 1438 auto store = impl(store_abs); global() variable 1512 V8RefValueToWasm(StoreImpl* store, i::Handle<i::Object> value) V8RefValueToWasm() argument 1540 PushArgs(const i::wasm::FunctionSig* sig, const Val args[], i::wasm::CWasmArgumentsPacker* packer, StoreImpl* store) PushArgs() argument 1575 PopArgs(const i::wasm::FunctionSig* sig, Val results[], i::wasm::CWasmArgumentsPacker* packer, StoreImpl* store) PopArgs() argument 1647 auto store = func->store(); global() variable 1715 StoreImpl* store = impl(self->store); v8_callback() local 1815 StoreImpl* store = impl(store_abs); global() variable 1859 StoreImpl* store = impl(this)->store(); global() variable 1916 StoreImpl* store = impl(store_abs); global() variable 2048 StoreImpl* store = impl(store_abs); global() variable 2118 StoreImpl* store = impl(store_abs); make() local 2180 GetInstance(StoreImpl* store, i::Handle<i::WasmInstanceObject> instance) GetInstance() argument 2189 StoreImpl* store = instance->store(); global() variable 2948 wasm_trap_new(wasm_store_t* store, const wasm_message_t* message) wasm_trap_new() argument 2969 wasm_foreign_new(wasm_store_t* store) wasm_foreign_new() argument 2977 wasm_module_validate(wasm_store_t* store, const wasm_byte_vec_t* binary) wasm_module_validate() argument 2982 wasm_module_new(wasm_store_t* store, const wasm_byte_vec_t* binary) wasm_module_new() argument 3002 wasm_module_deserialize(wasm_store_t* store, const wasm_byte_vec_t* binary) wasm_module_deserialize() argument 3012 wasm_module_obtain(wasm_store_t* store, const wasm_shared_module_t* shared) wasm_module_obtain() argument 3050 wasm_func_new(wasm_store_t* store, const wasm_functype_t* type, wasm_func_callback_t callback) wasm_func_new() argument 3056 wasm_func_new_with_env(wasm_store_t* store, const wasm_functype_t* type, wasm_func_callback_with_env_t callback, void* env, void (*finalizer)(void*)) wasm_func_new_with_env() argument 3087 wasm_global_new(wasm_store_t* store, const wasm_globaltype_t* type, const wasm_val_t* val) wasm_global_new() argument 3111 wasm_table_new(wasm_store_t* store, const wasm_tabletype_t* type, wasm_ref_t* ref) wasm_table_new() argument 3142 wasm_memory_new(wasm_store_t* store, const wasm_memorytype_t* type) wasm_memory_new() argument 3235 wasm_instance_new(wasm_store_t* store, const wasm_module_t* module, const wasm_extern_t* const imports[], wasm_trap_t** trap) wasm_instance_new() argument [all...] |
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/multiThread/ |
H A D | rdb_connection_test.cpp | 134 auto taskId1 = executors_->Execute([store = store_, block1]() { in HWTEST_F() 141 errCode = store->ExecuteSql(createTable + std::to_string(i) + createTableColumn); in HWTEST_F() 150 auto taskId2 = executors_->Execute([store = store_, block2]() { in HWTEST_F() 153 auto resultSet = store->QuerySql("SELECT * FROM test"); in HWTEST_F() 181 auto taskId1 = executors_->Execute([store = store_, block1]() { in HWTEST_F() 188 errCode = store->ExecuteSql(createTable + std::to_string(i) + createTableColumn); in HWTEST_F() 197 auto taskId2 = executors_->Execute([store = store_, block2]() { in HWTEST_F() 200 auto resultSet = store->QueryByStep("SELECT * FROM test"); in HWTEST_F()
|
/foundation/distributeddatamgr/relational_store/test/ndk/unittest/ |
H A D | rdb_store_configv2_test.cpp | 75 * @tc.desc: Normal testCase of store for Update、Query. 100 auto store = OH_Rdb_CreateOrOpen(config, &errCode); in VdbTest002() local 101 EXPECT_NE(store, nullptr); in VdbTest002() 104 EXPECT_EQ(OH_Rdb_ErrCode::RDB_OK, OH_Rdb_ExecuteByTrxId(store, 0, createTableSql)); in VdbTest002() 107 EXPECT_EQ(OH_Rdb_ErrCode::RDB_OK, OH_Rdb_BeginTransWithTrxId(store, &trxId)); in VdbTest002() 109 EXPECT_EQ(OH_Rdb_ErrCode::RDB_OK, OH_Rdb_ExecuteByTrxId(store, trxId, insertSql)); in VdbTest002() 110 EXPECT_EQ(OH_Rdb_ErrCode::RDB_OK, OH_Rdb_CommitByTrxId(store, trxId)); in VdbTest002() 113 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(store, querySql); in VdbTest002() 125 EXPECT_EQ(OH_Rdb_ErrCode::RDB_OK, OH_Rdb_ExecuteByTrxId(store, 0, dropSql)); in VdbTest002()
|
/third_party/mesa3d/src/panfrost/shared/test/ |
H A D | test-tiling.cpp | 128 enum pipe_format format, bool store) 137 unsigned dst_stride = store ? tiled_stride : linear_stride; 138 unsigned src_stride = store ? linear_stride : tiled_stride; 142 void *ref = calloc(bpp, store ? (tiled_width * tiled_height) : (rw * linear_stride)); 144 if (store) { 160 ref_access_tiled(ref, store ? linear : tiled, rx, ry, rw, rh, 161 dst_stride, src_stride, format, store); 163 if (store)
|