/external/glide/library/tests/src/com/bumptech/glide/load/engine/bitmap_recycle/ |
D | SizeStrategyTest.java | 16 assertNull(strategy.get(100, 100, Bitmap.Config.ARGB_8888)); in testIGetNullIfNoMatchingBitmapExists() 20 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testICanAddAndGetABitmapOfTheSameSizeAndDimensions() 22 …assertEquals(bitmap, strategy.get(bitmap.getWidth(), bitmap.getHeight(), Bitmap.Config.ARGB_8888)); in testICanAddAndGetABitmapOfTheSameSizeAndDimensions() 26 Bitmap original = Bitmap.createBitmap(400, 400, Bitmap.Config.ARGB_8888); in testICanAddAndGetABitmapOfDifferentConfigsButSameSize() 28 assertEquals(original, strategy.get(800, 400, Bitmap.Config.RGB_565)); in testICanAddAndGetABitmapOfDifferentConfigsButSameSize() 32 Bitmap original = Bitmap.createBitmap(400, 400, Bitmap.Config.ARGB_8888); in testICanAddAndGetABitmapOfDifferentDimensionsButSameSize() 34 assertEquals(original, strategy.get(200, 800, Bitmap.Config.ARGB_8888)); in testICanAddAndGetABitmapOfDifferentDimensionsButSameSize() 38 Bitmap original = Bitmap.createBitmap(400, 400, Bitmap.Config.ARGB_8888); in testICanGetABitmapUpToFourTimesLarger() 40 assertEquals(original, strategy.get(200, 200, Bitmap.Config.ARGB_8888)); in testICanGetABitmapUpToFourTimesLarger() 44 Bitmap original = Bitmap.createBitmap(401, 401, Bitmap.Config.ARGB_8888); in testICantGetABitmapMoreThanFourTimesLarger() [all …]
|
/external/chromium_org/v8/src/ |
D | splay-tree-inl.h | 14 template<typename Config, class Allocator> 15 SplayTree<Config, Allocator>::~SplayTree() { in ~SplayTree() 21 template<typename Config, class Allocator> 22 bool SplayTree<Config, Allocator>::Insert(const Key& key, in Insert() 26 root_ = new(allocator_) Node(key, Config::NoValue()); in Insert() 32 int cmp = Config::Compare(key, root_->key_); in Insert() 38 Node* node = new(allocator_) Node(key, Config::NoValue()); in Insert() 46 template<typename Config, class Allocator> 47 void SplayTree<Config, Allocator>::InsertInternal(int cmp, Node* node) { in InsertInternal() 61 template<typename Config, class Allocator> [all …]
|
D | types.cc | 22 template<class Config> 23 typename TypeImpl<Config>::Limits TypeImpl<Config>::Intersect( in Intersect() 33 template<class Config> 34 typename TypeImpl<Config>::Limits TypeImpl<Config>::Union( in Union() 44 template<class Config> 45 bool TypeImpl<Config>::Overlap( in Overlap() 46 typename TypeImpl<Config>::RangeType* lhs, in Overlap() 47 typename TypeImpl<Config>::RangeType* rhs) { in Overlap() 49 typename TypeImpl<Config>::Limits lim = Intersect(Limits(lhs), Limits(rhs)); in Overlap() 54 template<class Config> [all …]
|
D | types.h | 288 template<class Config> 289 class TypeImpl : public Config::Base { 305 typedef typename Config::template Handle<TypeImpl>::type TypeHandle; 306 typedef typename Config::template Handle<ClassType>::type ClassHandle; 307 typedef typename Config::template Handle<ConstantType>::type ConstantHandle; 308 typedef typename Config::template Handle<RangeType>::type RangeHandle; 309 typedef typename Config::template Handle<ContextType>::type ContextHandle; 310 typedef typename Config::template Handle<ArrayType>::type ArrayHandle; 311 typedef typename Config::template Handle<FunctionType>::type FunctionHandle; 312 typedef typename Config::template Handle<UnionType>::type UnionHandle; [all …]
|
/external/chromium_org/content/browser/renderer_host/input/ |
D | input_router_config_helper.cc | 23 GestureEventQueue::Config GetGestureEventQueueConfig() { in GetGestureEventQueueConfig() 24 GestureEventQueue::Config config; in GetGestureEventQueueConfig() 50 TouchEventQueue::Config GetTouchEventQueueConfig() { in GetTouchEventQueueConfig() 51 TouchEventQueue::Config config; in GetTouchEventQueueConfig() 65 GestureEventQueue::Config GetGestureEventQueueConfig() { 66 GestureEventQueue::Config config; 79 TouchEventQueue::Config GetTouchEventQueueConfig() { 80 TouchEventQueue::Config config; 98 GestureEventQueue::Config GetGestureEventQueueConfig() { 99 return GestureEventQueue::Config(); [all …]
|
/external/chromium_org/tools/gn/ |
D | config.cc | 11 Config::Config(const Settings* settings, const Label& label) in Config() function in Config 15 Config::~Config() { in ~Config() 18 Config* Config::AsConfig() { in AsConfig() 22 const Config* Config::AsConfig() const { in AsConfig()
|
D | config.h | 13 class Config : public Item { 15 Config(const Settings* settings, const Label& label); 16 virtual ~Config(); 18 virtual Config* AsConfig() OVERRIDE; 19 virtual const Config* AsConfig() const OVERRIDE; 27 DISALLOW_COPY_AND_ASSIGN(Config);
|
/external/chromium_org/third_party/boringssl/src/ssl/test/runner/ |
D | runner.go | 109 config Config 144 resumeConfig *Config 159 config: Config{ 170 config: Config{ 182 config: Config{ 195 config: Config{ 206 config: Config{ 216 config: Config{ 225 config: Config{ 244 config: Config{ [all …]
|
/external/chromium_org/third_party/webrtc/test/ |
D | call_test.h | 49 void CreateCalls(const Call::Config& sender_config, 50 const Call::Config& receiver_config); 51 void CreateSenderCall(const Call::Config& config); 52 void CreateReceiverCall(const Call::Config& config); 67 VideoSendStream::Config send_config_; 72 std::vector<VideoReceiveStream::Config> receive_configs_; 83 BaseTest(unsigned int timeout_ms, const FakeNetworkPipe::Config& config); 91 virtual Call::Config GetSenderCallConfig(); 92 virtual Call::Config GetReceiverCallConfig(); 96 VideoSendStream::Config* send_config, [all …]
|
D | common_unittest.cc | 34 TEST(Config, ReturnsDefaultInstanceIfNotConfigured) { in TEST() argument 35 Config config; in TEST() 41 TEST(Config, ReturnOptionWhenSet) { in TEST() argument 42 Config config; in TEST() 49 TEST(Config, SetNullSetsTheOptionBackToDefault) { in TEST() argument 50 Config config; in TEST() 74 TEST(Config, SupportsPolymorphism) { in TEST() argument 75 Config config; in TEST()
|
D | call_test.cc | 73 void CallTest::CreateCalls(const Call::Config& sender_config, in CreateCalls() 74 const Call::Config& receiver_config) { in CreateCalls() 79 void CallTest::CreateSenderCall(const Call::Config& config) { in CreateSenderCall() 83 void CallTest::CreateReceiverCall(const Call::Config& config) { in CreateReceiverCall() 89 send_config_ = VideoSendStream::Config(); in CreateSendConfig() 102 VideoReceiveStream::Config config; in CreateMatchingReceiveConfigs() 172 const FakeNetworkPipe::Config& config) in BaseTest() 179 Call::Config BaseTest::GetSenderCallConfig() { in GetSenderCallConfig() 180 return Call::Config(SendTransport()); in GetSenderCallConfig() 183 Call::Config BaseTest::GetReceiverCallConfig() { in GetReceiverCallConfig() [all …]
|
/external/chromium_org/v8/tools/push-to-trunk/ |
D | push_to_trunk.py | 47 if(self["current_branch"] == self.Config("TRUNKBRANCH") 48 or self["current_branch"] == self.Config("BRANCHNAME")): 52 self.DeleteBranch(self.Config("TRUNKBRANCH")) 59 self.GitCreateBranch(self.Config("BRANCHNAME"), "svn/bleeding_edge") 195 TextToFile(output, self.Config("CHANGELOG_ENTRY_FILE")) 211 AppendToFile(body, self.Config("CHANGELOG_ENTRY_FILE")) 217 AppendToFile(msg, self.Config("CHANGELOG_ENTRY_FILE")) 221 AppendToFile(comment_body, self.Config("CHANGELOG_ENTRY_FILE")) 232 self.Editor(self.Config("CHANGELOG_ENTRY_FILE")) 235 changelog_entry = FileToText(self.Config("CHANGELOG_ENTRY_FILE")).rstrip() [all …]
|
/external/compiler-rt/ |
D | Makefile | 132 $(call Set,Tmp.Config,$(1)) 133 $(call Set,Tmp.ObjPath,$(ProjObjRoot)/$(Tmp.Name)/$(Tmp.Config)) 135 $(call GetCNAVar,SHARED_LIBRARY,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch)))) 137 $(call GetCNAVar,SHARED_LIBRARY_SUFFIX,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch)))) 149 $(or $($(Tmp.Key).UniversalArchs.$(Tmp.Config)),\ 151 $(call VarOrDefault,$(Tmp.Key).Arch.$(Tmp.Config),$($(Tmp.Key).Arch)))) 164 $(Tmp.Name)-$(Tmp.Config):: $(Tmp.ObjPath)/libcompiler_rt.$(Tmp.LibrarySuffix) 165 .PHONY: $(Tmp.Name)-$(Tmp.Config) 174 $(call Set,Tmp.ObjPath,$(ProjObjRoot)/$(Tmp.Name)/$(Tmp.Config)/$(Tmp.Arch)) 177 $(call GetCNAVar,FUNCTIONS,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch)))) [all …]
|
/external/chromium_org/net/quic/crypto/ |
D | quic_crypto_server_config.h | 299 class NET_EXPORT_PRIVATE Config : public QuicCryptoConfig, 300 public base::RefCounted<Config> { 302 Config(); 353 friend class base::RefCounted<Config>; 355 virtual ~Config(); 357 DISALLOW_COPY_AND_ASSIGN(Config); 360 typedef std::map<ServerConfigID, scoped_refptr<Config> > ConfigMap; 363 scoped_refptr<Config> GetConfigWithScid( 368 static bool ConfigPrimaryTimeLessThan(const scoped_refptr<Config>& a, 369 const scoped_refptr<Config>& b); [all …]
|
/external/deqp/scripts/ |
D | run_internal_tests.py | 25 class Config: class 99 Config( 110 Config( 121 Config( 132 Config( 145 Config( 153 Config( 161 Config( 169 Config( 179 Config( [all …]
|
/external/chromium_org/third_party/webrtc/ |
D | call.h | 63 struct Config { struct 64 explicit Config(newapi::Transport* send_transport) in Config() function 71 webrtc::Config* webrtc_config; argument 88 static Call* Create(const Call::Config& config); argument 90 static Call* Create(const Call::Config& config, 91 const webrtc::Config& webrtc_config); 94 const VideoSendStream::Config& config, 100 const VideoReceiveStream::Config& config) = 0;
|
D | common.h | 38 class Config { 51 Config() {} in Config() function 52 ~Config() { in ~Config() 97 Config(const Config&); 98 void operator=(const Config&); 102 const T& Config::Get() const { in Get() 114 void Config::Set(T* value) { in Set()
|
/external/chromium_org/third_party/angle/src/libEGL/ |
D | Config.h | 25 class Config 28 …Config(rx::ConfigDesc desc, EGLint minSwapInterval, EGLint maxSwapInterval, EGLint texWidth, EGLin… 77 bool operator()(const Config *x, const Config *y) const; 78 bool operator()(const Config &x, const Config &y) const; 82 EGLint wantedComponentsSize(const Config &config) const; 101 const egl::Config *get(EGLConfig configHandle); 106 typedef std::set<Config, SortConfig> Set;
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/ |
D | BitmapHelper.java | 23 Bitmap.Config bitmapConfig = getBitmapConfigForFormat(bitmapFormatValue); in createBitmap() 50 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in decodeDrawableResource() 85 private static int getBitmapFormatForConfig(Bitmap.Config bitmapConfig) { 106 private static Bitmap.Config getBitmapConfigForFormat(int bitmapFormatValue) { 109 return Bitmap.Config.ALPHA_8; 111 return Bitmap.Config.ARGB_4444; 113 return Bitmap.Config.RGB_565; 116 return Bitmap.Config.ARGB_8888;
|
/external/iproute2/ |
D | configure | 23 echo "TC_CONFIG_ATM:=y" >>Config 56 echo "TC_CONFIG_XT:=y" >>Config 65 if grep TC_CONFIG_XT Config > /dev/null 95 echo "TC_CONFIG_XT_OLD:=y" >>Config 104 if grep TC_CONFIG_XT Config > /dev/null 136 echo "TC_CONFIG_XT_OLD_H:=y" >>Config 143 if ! grep TC_CONFIG_XT Config > /dev/null 157 echo "IPT_LIB_DIR:=${file%/*}" >> Config 178 echo "IP_CONFIG_SETNS:=y" >>Config 186 echo "# Generated config based on" $INCLUDE >Config
|
/external/chromium_org/ui/events/gesture_detection/ |
D | gesture_provider.h | 30 struct GESTURE_DETECTION_EXPORT Config { struct 31 Config(); 32 ~Config(); 34 GestureDetector::Config gesture_detector_config; argument 35 ScaleGestureDetector::Config scale_gesture_detector_config; argument 60 GestureProvider(const Config& config, GestureProviderClient* client); argument
|
D | gesture_config_helper_android.cc | 24 GestureDetector::Config DefaultGestureDetectorConfig( in DefaultGestureDetectorConfig() 26 GestureDetector::Config config; in DefaultGestureDetectorConfig() 48 ScaleGestureDetector::Config DefaultScaleGestureDetectorConfig( in DefaultScaleGestureDetectorConfig() 50 ScaleGestureDetector::Config config; in DefaultScaleGestureDetectorConfig() 65 GestureProvider::Config DefaultGestureProviderConfig() { in DefaultGestureProviderConfig() 66 GestureProvider::Config config; in DefaultGestureProviderConfig()
|
/external/llvm/include/llvm/IR/ |
D | ValueMap.h | 37 template<typename KeyT, typename ValueT, typename Config> 76 template<typename KeyT, typename ValueT, typename Config =ValueMapConfig<KeyT> > 78 friend class ValueMapCallbackVH<KeyT, ValueT, Config>; 79 typedef ValueMapCallbackVH<KeyT, ValueT, Config> ValueMapCVH; 81 typedef typename Config::ExtraData ExtraData; 199 template<typename KeyT, typename ValueT, typename Config> 201 friend class ValueMap<KeyT, ValueT, Config>; 203 typedef ValueMap<KeyT, ValueT, Config> ValueMapT; 218 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data); 221 Config::onDelete(Copy.Map->Data, Copy.Unwrap()); // May destroy *this. [all …]
|
/external/chromium_org/tools/clang/blink_gc_plugin/ |
D | RecordInfo.cpp | 62 if (!Config::IsGCCollection(name_) && !Config::IsWTFCollection(name_)) in IsHeapAllocatedCollection() 74 return Config::IsGCCollection(name_); in IsHeapAllocatedCollection() 81 return Config::IsGCBase(record->getName()); in IsGCBaseCallback() 97 if (Config::IsGCBase(name_)) in IsGCDerived() 113 if (Config::IsGCFinalizedBase(base->getName())) in IsGCFinalized() 131 if (!Config::IsGCMixinBase(base->getName())) in IsGCMixin() 145 if (!record || Config::IsIgnoreAnnotated(record)) in Lookup() 170 Config::IsStackAnnotated(*it)) { in IsStackAllocated() 342 if (Config::IsIgnoreAnnotated(field)) in CollectFields() 357 if (Config::IsGCBase(name_)) in DetermineTracingMethods() [all …]
|
/external/chromium_org/tools/cr/cr/base/ |
D | arch.py | 9 DEFAULT = cr.Config.From( 31 ACTIVE = cr.Config.From( 38 ACTIVE = cr.Config.From( 49 ACTIVE = cr.Config.From( 60 ACTIVE = cr.Config.From( 75 ACTIVE = cr.Config.From(
|