Home
last modified time | relevance | path

Searched refs:Strategy (Results 1 – 25 of 108) sorted by relevance

12345

/external/icing/icing/file/
Dfile-backed-vector_test.cc88 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC)); in TEST_F()
96 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC)); in TEST_F()
106 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC)); in TEST_F()
135 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC), in TEST_F()
145 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC)); in TEST_F()
157 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC)); in TEST_F()
173 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC)); in TEST_F()
200 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC)); in TEST_F()
239 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC)); in TEST_F()
280 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC)); in TEST_F()
[all …]
Dmemory-mapped-file.cc35 Strategy mmap_strategy) in MemoryMappedFile()
91 case Strategy::READ_ONLY: { in Remap()
97 case Strategy::READ_WRITE_AUTO_SYNC: { in Remap()
103 case Strategy::READ_WRITE_MANUAL_SYNC: { in Remap()
138 if (strategy_ == Strategy::READ_ONLY) { in PersistToDisk()
148 if (strategy_ == Strategy::READ_WRITE_AUTO_SYNC && in PersistToDisk()
158 if (strategy_ == Strategy::READ_WRITE_MANUAL_SYNC && in PersistToDisk()
Dmemory-mapped-file.h62 enum Strategy { enum
81 Strategy mmap_strategy);
137 Strategy strategy() const { return strategy_; } in strategy()
146 Strategy strategy_;
Dfile-backed-vector.h161 MemoryMappedFile::Strategy mmap_strategy);
286 ScopedFd fd, MemoryMappedFile::Strategy mmap_strategy);
292 MemoryMappedFile::Strategy mmap_strategy);
336 MemoryMappedFile::Strategy mmap_strategy) { in Create()
337 if (mmap_strategy == MemoryMappedFile::Strategy::READ_WRITE_MANUAL_SYNC) { in Create()
374 MemoryMappedFile::Strategy mmap_strategy) { in InitializeNewFile()
405 const ScopedFd fd, MemoryMappedFile::Strategy mmap_strategy) { in InitializeExistingFile()
493 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC) { in ~FileBackedVector()
766 MemoryMappedFile::Strategy strategy = mmapped_file_->strategy(); in PersistToDisk()
768 if (strategy == MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC) { in PersistToDisk()
Dfile-backed-bitmap.h83 MemoryMappedFile::Strategy mmap_strategy);
179 MemoryMappedFile::Strategy mmap_strategy);
/external/llvm-project/llvm/include/llvm/Analysis/
DDomTreeUpdater.h32 explicit DomTreeUpdater(UpdateStrategy Strategy_) : Strategy(Strategy_) {} in DomTreeUpdater()
34 : DT(&DT_), Strategy(Strategy_) {} in DomTreeUpdater()
36 : DT(DT_), Strategy(Strategy_) {} in DomTreeUpdater()
38 : PDT(&PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
40 : PDT(PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
43 : DT(&DT_), PDT(&PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
46 : DT(DT_), PDT(PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
51 bool isLazy() const { return Strategy == UpdateStrategy::Lazy; }; in isLazy()
54 bool isEager() const { return Strategy == UpdateStrategy::Eager; }; in isEager()
267 const UpdateStrategy Strategy; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DDomTreeUpdater.h30 explicit DomTreeUpdater(UpdateStrategy Strategy_) : Strategy(Strategy_) {} in DomTreeUpdater()
32 : DT(&DT_), Strategy(Strategy_) {} in DomTreeUpdater()
34 : DT(DT_), Strategy(Strategy_) {} in DomTreeUpdater()
36 : PDT(&PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
38 : PDT(PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
41 : DT(&DT_), PDT(&PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
44 : DT(DT_), PDT(PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
49 bool isLazy() const { return Strategy == UpdateStrategy::Lazy; }; in isLazy()
52 bool isEager() const { return Strategy == UpdateStrategy::Eager; }; in isEager()
265 const UpdateStrategy Strategy; variable
/external/mockito/src/test/java/org/mockitousage/misuse/
DSpyStubbingMisuseTest.java18 Strategy mfoo = mock(Strategy.class); in nestedWhenTest()
32 public class Strategy { class in SpyStubbingMisuseTest
40 Sampler(Strategy f) { in Sampler()
46 Strategy strategy;
47 Producer(Strategy f) { in Producer()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDomTreeUpdater.cpp60 if (Strategy != UpdateStrategy::Lazy || !DT) in applyDomTreeUpdates()
81 if (Strategy != UpdateStrategy::Lazy || !PDT) in applyPostDomTreeUpdates()
123 if (Strategy == UpdateStrategy::Eager) { in recalculate()
168 if (Strategy == UpdateStrategy::Eager || DeletedBBs.empty()) in isBBPendingDeletion()
180 if (Strategy == UpdateStrategy::Lazy) { in deleteBB()
193 if (Strategy == UpdateStrategy::Lazy) { in callbackDeleteBB()
235 if (Strategy == UpdateStrategy::Lazy) { in applyUpdates()
294 if (Strategy == UpdateStrategy::Lazy) in applyUpdatesPermissive()
331 if (Strategy == UpdateStrategy::Eager) { in insertEdge()
352 if (Strategy == UpdateStrategy::Eager) { in insertEdgeRelaxed()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DDomTreeUpdater.cpp59 if (Strategy != UpdateStrategy::Lazy || !DT) in applyDomTreeUpdates()
80 if (Strategy != UpdateStrategy::Lazy || !PDT) in applyPostDomTreeUpdates()
122 if (Strategy == UpdateStrategy::Eager) { in recalculate()
167 if (Strategy == UpdateStrategy::Eager || DeletedBBs.empty()) in isBBPendingDeletion()
179 if (Strategy == UpdateStrategy::Lazy) { in deleteBB()
192 if (Strategy == UpdateStrategy::Lazy) { in callbackDeleteBB()
234 if (Strategy == UpdateStrategy::Lazy) { in applyUpdates()
293 if (Strategy == UpdateStrategy::Lazy) in applyUpdatesPermissive()
330 if (Strategy == UpdateStrategy::Eager) { in insertEdge()
351 if (Strategy == UpdateStrategy::Eager) { in insertEdgeRelaxed()
[all …]
/external/rust/crates/scopeguard/src/
Dlib.rs201 pub trait Strategy { trait
229 impl Strategy for Always {
235 impl Strategy for OnUnwind {
241 impl Strategy for OnSuccess {
300 S: Strategy,
310 S: Strategy,
425 S: Strategy
430 S: Strategy
441 S: Strategy
450 S: Strategy
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/jdk/
DAtomicTypeSerializationTest.java42 public AtomicReference<Strategy> strategy =
43 new AtomicReference<>((Strategy) new Foo(42));
47 public AtomicReference<List<Strategy>> strategy;
49 List<Strategy> list = new ArrayList<>();
57 interface Strategy { } interface in AtomicTypeSerializationTest
59 static class Foo implements Strategy {
/external/rust/crates/libz-sys/src/zlib/contrib/ada/
Dtest.adb44 Strategy : constant ZLib.Strategy_Type := ZLib.Default_Strategy; constant
312 Strategy => Strategy,
357 Strategy => Strategy,
412 Strategy => Strategy,
/external/guava/guava/src/com/google/common/base/
DSplitter.java105 private final Strategy strategy;
108 private Splitter(Strategy strategy) { in Splitter()
112 private Splitter(Strategy strategy, boolean omitEmptyStrings, CharMatcher trimmer, int limit) { in Splitter()
144 new Strategy() { in on()
176 new Strategy() {
227 new Strategy() {
285 new Strategy() {
536 private interface Strategy {
/external/guava/android/guava/src/com/google/common/base/
DSplitter.java103 private final Strategy strategy;
106 private Splitter(Strategy strategy) { in Splitter()
110 private Splitter(Strategy strategy, boolean omitEmptyStrings, CharMatcher trimmer, int limit) { in Splitter()
142 new Strategy() { in on()
174 new Strategy() {
225 new Strategy() {
283 new Strategy() {
519 private interface Strategy {
/external/skia/gm/
Dimagemakewithfilter.cpp175 enum class Strategy { enum
190 ImageMakeWithFilterGM (Strategy strategy, bool filterWithCropRect = false) in ImageMakeWithFilterGM()
203 if (fStrategy == Strategy::kSaveLayer) { in onShortName()
331 if (fStrategy != Strategy::kSaveLayer) { in onDraw()
345 Strategy fStrategy;
360 if (fStrategy == Strategy::kSaveLayer) { in drawImageWithFilter()
403 DEF_GM( return new ImageMakeWithFilterGM(Strategy::kMakeWithFilter); )
404 DEF_GM( return new ImageMakeWithFilterGM(Strategy::kSaveLayer); )
406 DEF_GM( return new ImageMakeWithFilterGM(Strategy::kMakeWithFilter, true); )
407 DEF_GM( return new ImageMakeWithFilterGM(Strategy::kSaveLayer, true); )
/external/llvm-project/clang-tools-extra/clang-include-fixer/
DSymbolIndexManager.h37 auto Strategy = std::launch::async; in addSymbolIndex() local
39 auto Strategy = std::launch::deferred; in addSymbolIndex()
41 SymbolIndices.push_back(std::async(Strategy, F)); in addSymbolIndex()
/external/skqp/include/android/
DSkBitmapRegionDecoder.h23 enum Strategy { enum
32 static SkBitmapRegionDecoder* Create(sk_sp<SkData>, Strategy strategy);
40 SkStreamRewindable* stream, Strategy strategy);
/external/llvm-project/llvm/lib/FuzzMutate/
DIRMutator.cpp62 for (const auto &Strategy : Strategies) in mutateModule() local
63 RS.sample(Strategy.get(), in mutateModule()
64 Strategy->getWeight(CurSize, MaxSize, RS.totalWeight())); in mutateModule()
65 auto Strategy = RS.getSelection(); in mutateModule() local
67 Strategy->mutate(M, IB); in mutateModule()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DIRMutator.cpp62 for (const auto &Strategy : Strategies) in mutateModule() local
63 RS.sample(Strategy.get(), in mutateModule()
64 Strategy->getWeight(CurSize, MaxSize, RS.totalWeight())); in mutateModule()
65 auto Strategy = RS.getSelection(); in mutateModule() local
67 Strategy->mutate(M, IB); in mutateModule()
/external/guava/android/guava/src/com/google/common/hash/
DBloomFilter.java72 interface Strategy extends java.io.Serializable { interface in BloomFilter
109 private final Strategy strategy;
113 LockFreeBitArray bits, int numHashFunctions, Funnel<? super T> funnel, Strategy strategy) { in BloomFilter()
342 Funnel<? super T> funnel, long expectedInsertions, double fpp, Strategy strategy) { in create()
467 final Strategy strategy;
532 Strategy strategy = BloomFilterStrategies.values()[strategyOrdinal];
/external/guava/guava/src/com/google/common/hash/
DBloomFilter.java73 interface Strategy extends java.io.Serializable { interface in BloomFilter
110 private final Strategy strategy;
114 LockFreeBitArray bits, int numHashFunctions, Funnel<? super T> funnel, Strategy strategy) { in BloomFilter()
409 Funnel<? super T> funnel, long expectedInsertions, double fpp, Strategy strategy) { in create()
534 final Strategy strategy;
599 Strategy strategy = BloomFilterStrategies.values()[strategyOrdinal];
/external/skqp/src/android/
DSkBitmapRegionDecoder.cpp15 sk_sp<SkData> data, Strategy strategy) { in Create()
21 SkStreamRewindable* stream, Strategy strategy) { in Create()
/external/python/cpython3/Lib/test/test_email/data/
Dmsg_06.txt15 X-Oblique-Strategy: Be dirty
30 X-Oblique-Strategy: Spectrum analysis
/external/python/cpython2/Lib/email/test/data/
Dmsg_06.txt15 X-Oblique-Strategy: Be dirty
30 X-Oblique-Strategy: Spectrum analysis

12345