Searched refs:Strategy (Results 1 – 7 of 7) sorted by relevance
/haiku/src/kits/support/ |
H A D | ZlibCompressionAlgorithm.cpp | 204 template<typename BaseClass, typename Strategy> 216 if (Strategy::kNeedsFinalFlush) in ~Stream() 218 Strategy::Uninit(fStream); in ~Stream() 222 status_t Init(const typename Strategy::Parameters* parameters) in Init() 231 int zlibError = Strategy::Init(fStream, parameters); in Init() 259 const typename Strategy::Parameters* parameters in Create() 261 = static_cast<const typename Strategy::Parameters*>(_parameters); in Create() 263 = dynamic_cast<const typename Strategy::Parameters*>(_parameters); in Create() 289 int zlibError = Strategy::Process(fStream, flush); in _ProcessData()
|
H A D | ZstdCompressionAlgorithm.cpp | 197 template<typename BaseClass, typename Strategy, typename StreamType> 209 if (Strategy::kNeedsFinalFlush) in ~Stream() 211 Strategy::Uninit(fStream); in ~Stream() 215 status_t Init(const typename Strategy::Parameters* parameters) in Init() 222 size_t zstdError = Strategy::Init(&fStream, parameters); in Init() 250 const typename Strategy::Parameters* parameters in Create() 252 = static_cast<const typename Strategy::Parameters*>(_parameters); in Create() 254 = dynamic_cast<const typename Strategy::Parameters*>(_parameters); in Create() 282 size_t zstdError = Strategy::Process(fStream, &inBuffer, &outBuffer, flush); in _ProcessData()
|
/haiku/src/tests/system/kernel/util/ |
H A D | VectorMapTest.cpp | 56 #define DECLARE_TEST_STRATEGY(Key, Value, Map, Strategy, ClassName) \ argument 59 struct Strategy \ 64 template<typename CS> const char *Strategy<CS>::kClassName = ClassName;
|
H A D | OrderedMapTest.h | 155 class Strategy : public KernelUtilsOrder::Ascending<Value> {}; 163 class Strategy : public KernelUtilsOrder::Descending<Value> {}; 606 typedef typename CompareStrategyWrapper::template Strategy<Key> Compare;
|
/haiku/headers/private/support/ |
H A D | ZlibCompressionAlgorithm.h | 92 template<typename BaseClass, typename Strategy> struct Stream; 93 template<typename BaseClass, typename Strategy>
|
H A D | ZstdCompressionAlgorithm.h | 88 template<typename BaseClass, typename Strategy, typename StreamType> struct Stream; 89 template<typename BaseClass, typename Strategy, typename StreamType>
|
/haiku/src/tests/system/kernel/slab/ |
H A D | Slab.h | 117 template<typename Strategy> 122 : BaseCache(_name, Strategy::RequiredSpace(objectSize), alignment, in Cache() 146 Strategy fStrategy; 276 typedef MergedLinkCacheStrategy<Backend> Strategy; typedef 277 typedef Cache<Strategy> BaseType; 386 typedef HashCacheStrategy<Backend> Strategy; typedef
|