Home
last modified time | relevance | path

Searched refs:getStore (Results 1 – 25 of 56) sorted by relevance

123

/third_party/node/test/async-hooks/
Dtest-async-local-storage-no-mix-contexts.js12 const store = asyncLocalStorage.getStore();
13 const store2 = asyncLocalStorage2.getStore();
17 assert.strictEqual(asyncLocalStorage.getStore().get('hello'), 'world');
18 assert.strictEqual(asyncLocalStorage2.getStore().get('hello'), 'foo');
20 assert.strictEqual(asyncLocalStorage.getStore(), undefined);
21 assert.strictEqual(asyncLocalStorage2.getStore().get('hello'), 'foo');
23 assert.strictEqual(asyncLocalStorage.getStore().get('hello'), 'world');
24 assert.strictEqual(asyncLocalStorage2.getStore().get('hello'), 'foo');
32 const store = asyncLocalStorage.getStore();
35 assert.strictEqual(asyncLocalStorage.getStore().get('hello'), 'earth');
Dtest-async-local-storage-thenable.js14 assert.strictEqual(store.getStore(), data);
26 assert.strictEqual(store.getStore(), data);
28 assert.strictEqual(store.getStore(), data);
34 assert.strictEqual(store.getStore(), data);
37 assert.strictEqual(store.getStore(), data);
43 assert.strictEqual(store.getStore(), data);
45 assert.strictEqual(store.getStore(), data);
50 assert.strictEqual(store.getStore(), data);
52 assert.strictEqual(store.getStore(), data);
Dtest-async-local-storage-enable-disable.js9 asyncLocalStorage.getStore().set('foo', 'bar');
11 assert.strictEqual(asyncLocalStorage.getStore().get('foo'), 'bar');
13 assert.strictEqual(asyncLocalStorage.getStore(), undefined);
17 assert.strictEqual(asyncLocalStorage.getStore(), undefined);
21 assert.strictEqual(asyncLocalStorage.getStore(), undefined);
23 assert.strictEqual(asyncLocalStorage.getStore(), undefined);
26 assert.strictEqual(asyncLocalStorage.getStore(), undefined);
28 assert.strictEqual(asyncLocalStorage.getStore().get('bar'), 'foo');
Dtest-async-local-storage-nested.js11 assert.strictEqual(asyncLocalStorage.getStore(), outer);
14 assert.strictEqual(asyncLocalStorage.getStore(), inner);
16 assert.strictEqual(asyncLocalStorage.getStore(), outer);
19 assert.strictEqual(asyncLocalStorage.getStore(), undefined);
21 assert.strictEqual(asyncLocalStorage.getStore(), outer);
25 assert.strictEqual(asyncLocalStorage.getStore(), undefined);
Dtest-async-local-storage-async-functions.js12 assert.strictEqual(asyncLocalStorage.getStore(), undefined);
17 assert.notStrictEqual(asyncLocalStorage.getStore(), undefined);
18 assert.strictEqual(asyncLocalStorage.getStore().get('key'), 'value');
23 const store = asyncLocalStorage.getStore();
27 assert.strictEqual(asyncLocalStorage.getStore(), undefined);
Dtest-async-local-storage-promises.js11 assert.strictEqual(asyncLocalStorage.getStore().get('a'), 1);
16 const store = asyncLocalStorage.getStore();
22 assert.strictEqual(asyncLocalStorage.getStore(), undefined);
25 assert.strictEqual(asyncLocalStorage.getStore(), undefined);
Dtest-async-local-storage-enter-with.js12 assert.strictEqual(asyncLocalStorage.getStore(), store);
14 assert.strictEqual(asyncLocalStorage.getStore(), store);
19 assert.strictEqual(asyncLocalStorage.getStore(), undefined);
Dtest-async-local-storage-async-await.js9 asyncLocalStorage.getStore().set('foo', 'bar');
11 assert.strictEqual(asyncLocalStorage.getStore().get('foo'), 'bar');
16 assert.strictEqual(asyncLocalStorage.getStore(), undefined);
Dtest-async-local-storage-errors.js13 assert.strictEqual(asyncLocalStorage.getStore().get('hello'), 'node');
18 const store = asyncLocalStorage.getStore();
30 assert.strictEqual(asyncLocalStorage.getStore(), undefined);
Dtest-async-local-storage-misc-stores.js9 assert.strictEqual(asyncLocalStorage.getStore(), 'hello node');
14 assert.strictEqual(asyncLocalStorage.getStore(), runStore);
Dtest-async-local-storage-http.js14 const store = asyncLocalStorage.getStore();
17 assert.strictEqual(asyncLocalStorage.getStore().get('hello'), 'world');
Dtest-async-local-storage-http-agent.js26 assert.strictEqual(asyncLocalStorage.getStore(), i);
/third_party/node/test/parallel/
Dtest-async-local-storage-http-multiclients.js35 const store = cls.getStore();
51 const store = cls.getStore();
60 const store = cls.getStore();
Dtest-async-local-storage-contexts.js30 assert.strictEqual(storage.getStore().test, 'main context');
32 assert.strictEqual(storage.getStore().test, 'main context');
Dtest-timers-clearImmediate-als.js14 const store = asyncLocalStorage.getStore();
20 const store = asyncLocalStorage.getStore();
Dtest-diagnostics-channel-http-server-start.js32 compare(als.getStore(), context);
/third_party/node/benchmark/diagnostics_channel/
Dhttp.js52 ...als.getStore(),
83 ...als.getStore(),
/third_party/node/benchmark/async_hooks/
Dasync-resource-vs-destroy.js115 const store = asyncLocalStorage.getStore();
123 const store = asyncLocalStorage.getStore();
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZSelectionDAGInfo.cpp70 return DAG.getStore( in memsetStore()
113 SDValue Chain1 = DAG.getStore(Chain, DL, Byte, Dst, DstPtrInfo, Align); in EmitTargetCodeForMemset()
119 DAG.getStore(Chain, DL, Byte, Dst2, DstPtrInfo.getWithOffset(1), in EmitTargetCodeForMemset()
134 Chain = DAG.getStore(Chain, DL, Byte, Dst, DstPtrInfo, Align); in EmitTargetCodeForMemset()
/third_party/node/doc/api/
Dasync_hooks.md980 const id = asyncLocalStorage.getStore();
1022 to `asyncLocalStorage.getStore()` will return `undefined` until
1036 ### `asyncLocalStorage.getStore()`
1065 asyncLocalStorage.getStore(); // Returns the store object
1067 asyncLocalStorage.getStore(); // Returns the same object
1085 asyncLocalStorage.getStore(); // Returns the same object
1088 asyncLocalStorage.getStore(); // Returns undefined
1090 asyncLocalStorage.getStore(); // Returns the same object
1118 asyncLocalStorage.getStore(); // Returns the store object
1120 asyncLocalStorage.getStore(); // Returns the store object
[all …]
/third_party/node/lib/
Dasync_hooks.js302 if (ObjectIs(store, this.getStore())) {
332 getStore() { method in AsyncLocalStorage
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCISelLowering.cpp298 DAG.getStore(Chain, dl, Arg, PtrOff, MachinePointerInfo()); in LowerCall()
546 DAG.getStore(Val.getValue(1), dl, Val, VAObj, MachinePointerInfo()); in LowerCallArguments()
648 MemOpChains.push_back(DAG.getStore( in LowerReturn()
743 return DAG.getStore(Op.getOperand(0), dl, FR, Op.getOperand(1), in LowerVASTART()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp753 InChain = DAG.getStore(VAList.getValue(1), dl, nextPtr, VAListPtr, in LowerVAARG()
768 return DAG.getStore(Op.getOperand(0), dl, Addr, Op.getOperand(1), in LowerVASTART()
886 DAG.getStore(Chain, dl, DAG.getConstant(0x0a3cd805, dl, MVT::i32), Addr, in LowerINIT_TRAMPOLINE()
892 DAG.getStore(Chain, dl, DAG.getConstant(0xd80456c0, dl, MVT::i32), Addr, in LowerINIT_TRAMPOLINE()
898 DAG.getStore(Chain, dl, DAG.getConstant(0x27fb0a3c, dl, MVT::i32), Addr, in LowerINIT_TRAMPOLINE()
904 DAG.getStore(Chain, dl, Nest, Addr, MachinePointerInfo(TrmpAddr, 12)); in LowerINIT_TRAMPOLINE()
909 DAG.getStore(Chain, dl, FPtr, Addr, MachinePointerInfo(TrmpAddr, 16)); in LowerINIT_TRAMPOLINE()
978 return DAG.getStore(N->getChain(), SDLoc(Op), N->getVal(), N->getBasePtr(), in LowerATOMIC_STORE()
1370 DAG.getStore(Val.getValue(1), dl, Val, FIN, MachinePointerInfo()); in LowerCCCArguments()
1486 MemOpChains.push_back(DAG.getStore( in LowerReturn()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp165 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, InOp, StackPtr, PtrInfo); in ExpandRes_BITCAST()
477 Lo = DAG.getStore(Chain, dl, Lo, Ptr, St->getPointerInfo(), Alignment, in ExpandOp_NormalStore()
481 Hi = DAG.getStore(Chain, dl, Hi, Ptr, in ExpandOp_NormalStore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp564 DAG.getStore(DAG.getRoot(), dl, Arg, FIPtr, MachinePointerInfo())); in LowerFormalArguments_32()
676 DAG.getStore(Chain, DL, VArg, DAG.getFrameIndex(FI, PtrVT), in LowerFormalArguments_64()
826 DAG.getStore(Chain, dl, Arg, PtrOff, MachinePointerInfo())); in LowerCall_32()
847 DAG.getStore(Chain, dl, Arg, PtrOff, MachinePointerInfo())); in LowerCall_32()
881 DAG.getStore(Chain, dl, Part1, PtrOff, MachinePointerInfo())); in LowerCall_32()
890 DAG.getStore(Chain, dl, Part0, PtrOff, MachinePointerInfo())); in LowerCall_32()
895 DAG.getStore(Chain, dl, Part1, PtrOff, MachinePointerInfo())); in LowerCall_32()
920 DAG.getStore(Chain, dl, Arg, PtrOff, MachinePointerInfo())); in LowerCall_32()
1179 DAG.getStore(Chain, DL, Arg, HiPtrOff, MachinePointerInfo()); in LowerCall_64()
1224 DAG.getStore(Chain, DL, Arg, PtrOff, MachinePointerInfo())); in LowerCall_64()
[all …]

123