Home
last modified time | relevance | path

Searched defs:SaveAndRestore (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/llvm/include/llvm/Support/
DSaveAndRestore.h21 template <typename T> struct SaveAndRestore { struct
22 SaveAndRestore(T &X) : X(X), OldValue(X) {} in SaveAndRestore() function
23 SaveAndRestore(T &X, const T &NewValue) : X(X), OldValue(X) { in SaveAndRestore() argument
26 ~SaveAndRestore() { X = OldValue; } in ~SaveAndRestore() argument
27 T get() { return OldValue; } in get()
31 T OldValue;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSaveAndRestore.h21 template <typename T> struct SaveAndRestore { struct
22 SaveAndRestore(T &X) : X(X), OldValue(X) {} in SaveAndRestore() argument
23 SaveAndRestore(T &X, const T &NewValue) : X(X), OldValue(X) { in SaveAndRestore() function
26 ~SaveAndRestore() { X = OldValue; } in ~SaveAndRestore() argument
27 T get() { return OldValue; } in get()
31 T OldValue;
/external/llvm/include/llvm/Support/
DSaveAndRestore.h22 template <typename T> struct SaveAndRestore { struct
23 SaveAndRestore(T &X) : X(X), OldValue(X) {} in SaveAndRestore() function
24 SaveAndRestore(T &X, const T &NewValue) : X(X), OldValue(X) { in SaveAndRestore() function
27 ~SaveAndRestore() { X = OldValue; } in ~SaveAndRestore() argument
35 /// Similar to \c SaveAndRestore. Operates only on bools; the old value of a argument
/external/tensorflow/tensorflow/core/kernels/data/
Dsplit_utils_test.cc30 Status SaveAndRestore(SplitProvider* split_provider) { in SaveAndRestore() function
73 TEST(IndexSplitProviderTest, SaveAndRestore) { in TEST() argument
120 TEST(ShardingSplitProviderTest, SaveAndRestore) { in TEST() argument
Dtensor_slice_dataset_op_test.cc260 TEST_P(ParameterizedIteratorSaveAndRestoreTest, SaveAndRestore) { in TEST_P() argument
Dtensor_dataset_op_test.cc226 TEST_P(ParameterizedIteratorSaveAndRestoreTest, SaveAndRestore) { in TEST_P() argument
Dcache_dataset_ops_test.cc309 TEST_P(ParameterizedIteratorSaveAndRestoreTest, SaveAndRestore) { in TEST_P() argument
/external/rust/crates/quiche/deps/boringssl/src/crypto/err/
Derr_test.cc133 TEST(ErrTest, SaveAndRestore) { in TEST() argument
/external/boringssl/src/crypto/err/
Derr_test.cc133 TEST(ErrTest, SaveAndRestore) { in TEST() argument