Home
last modified time | relevance | path

Searched refs:Config (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/external/glide/library/tests/src/com/bumptech/glide/load/engine/bitmap_recycle/
DSizeStrategyTest.java16 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/
Dsplay-tree-inl.h14 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 …]
Dtypes.cc17 template<class Config>
18 int TypeImpl<Config>::BitsetType::Glb(TypeImpl* type) { in Glb()
31 return REPRESENTATION(Config::is_class(type) in Glb()
32 ? Lub(*Config::as_class(type)) in Glb()
50 template<class Config>
51 int TypeImpl<Config>::BitsetType::Lub(TypeImpl* type) { in Lub()
64 return Config::is_class(type) ? Lub(*Config::as_class(type)) : in Lub()
82 template<class Config>
83 int TypeImpl<Config>::BitsetType::InherentLub(TypeImpl* type) { in InherentLub()
111 template<class Config>
[all …]
Dtypes.h245 template<class Config>
246 class TypeImpl : public Config::Base {
260 typedef typename Config::template Handle<TypeImpl>::type TypeHandle;
261 typedef typename Config::template Handle<ClassType>::type ClassHandle;
262 typedef typename Config::template Handle<ConstantType>::type ConstantHandle;
263 typedef typename Config::template Handle<ContextType>::type ContextHandle;
264 typedef typename Config::template Handle<ArrayType>::type ArrayHandle;
265 typedef typename Config::template Handle<FunctionType>::type FunctionHandle;
266 typedef typename Config::template Handle<UnionType>::type UnionHandle;
267 typedef typename Config::Region Region;
[all …]
/external/chromium_org/v8/tools/push-to-trunk/
Dpush_to_trunk.py61 if(self["current_branch"] == self.Config(TRUNKBRANCH)
62 or self["current_branch"] == self.Config(BRANCHNAME)):
66 self.DeleteBranch(self.Config(TRUNKBRANCH))
73 self.GitCreateBranch(self.Config(BRANCHNAME), "svn/bleeding_edge")
132 self.GitCheckoutFile(self.Config(VERSION_FILE), self["last_push_trunk"])
138 "EDITOR.)" % self.Config(VERSION_FILE))):
139 text = FileToText(self.Config(VERSION_FILE))
143 TextToFile(text, self.Config(VERSION_FILE))
145 self.Editor(self.Config(VERSION_FILE))
179 TextToFile(output, self.Config(CHANGELOG_ENTRY_FILE))
[all …]
Dmerge_to_branch.py56 if os.path.exists(self.Config(ALREADY_MERGING_SENTINEL_FILE)):
58 os.remove(self.Config(ALREADY_MERGING_SENTINEL_FILE))
61 open(self.Config(ALREADY_MERGING_SENTINEL_FILE), "a").close()
79 self.GitCreateBranch(self.Config(BRANCHNAME),
162 TextToFile(patch, self.Config(TEMPORARY_PATCH_FILE))
163 self.ApplyPatch(self.Config(TEMPORARY_PATCH_FILE), self._options.revert)
188 "EDITOR.)" % self.Config(VERSION_FILE)):
189 text = FileToText(self.Config(VERSION_FILE))
193 TextToFile(text, self.Config(VERSION_FILE))
195 self.Editor(self.Config(VERSION_FILE))
[all …]
/external/chromium_org/content/browser/renderer_host/input/
Dinput_router_config_helper.cc24 GestureEventQueue::Config GetGestureEventQueueConfig() { in GetGestureEventQueueConfig()
25 GestureEventQueue::Config config; in GetGestureEventQueueConfig()
51 TouchEventQueue::Config GetTouchEventQueueConfig() { in GetTouchEventQueueConfig()
52 TouchEventQueue::Config config; in GetTouchEventQueueConfig()
69 GestureEventQueue::Config GetGestureEventQueueConfig() {
70 GestureEventQueue::Config config;
83 TouchEventQueue::Config GetTouchEventQueueConfig() {
84 TouchEventQueue::Config config;
102 GestureEventQueue::Config GetGestureEventQueueConfig() {
103 return GestureEventQueue::Config();
[all …]
/external/chromium_org/tools/gn/
Dconfig.cc11 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()
Dconfig.h13 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/webrtc/
Dcall.h59 struct Config { struct
60 explicit Config(newapi::Transport* send_transport) in Config() function
67 webrtc::Config* webrtc_config; argument
84 static Call* Create(const Call::Config& config); argument
86 static Call* Create(const Call::Config& config,
87 const webrtc::Config& webrtc_config);
89 virtual VideoSendStream::Config GetDefaultSendConfig() = 0;
92 const VideoSendStream::Config& config,
98 virtual VideoReceiveStream::Config GetDefaultReceiveConfig() = 0;
101 const VideoReceiveStream::Config& config) = 0;
Dcommon.h38 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/compiler-rt/
DMakefile132 $(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/
Dquic_crypto_server_config.h309 class NET_EXPORT_PRIVATE Config : public QuicCryptoConfig,
310 public base::RefCounted<Config> {
312 Config();
363 friend class base::RefCounted<Config>;
365 virtual ~Config();
367 DISALLOW_COPY_AND_ASSIGN(Config);
370 typedef std::map<ServerConfigID, scoped_refptr<Config> > ConfigMap;
373 scoped_refptr<Config> GetConfigWithScid(
378 static bool ConfigPrimaryTimeLessThan(const scoped_refptr<Config>& a,
379 const scoped_refptr<Config>& b);
[all …]
/external/chromium_org/third_party/webrtc/test/
Dcommon_unittest.cc34 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()
/external/deqp/scripts/
Drun_internal_tests.py25 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/angle/src/libEGL/
DConfig.h26 class Config
29Config(rx::ConfigDesc desc, EGLint minSwapInterval, EGLint maxSwapInterval, EGLint texWidth, EGLin…
78 bool operator()(const Config *x, const Config *y) const;
79 bool operator()(const Config &x, const Config &y) const;
83 EGLint wantedComponentsSize(const Config &config) const;
102 const egl::Config *get(EGLConfig configHandle);
107 typedef std::set<Config, SortConfig> Set;
/external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/
DBitmapHelper.java23 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/chromium_org/ui/events/gesture_detection/
Dgesture_provider.h29 struct GESTURE_DETECTION_EXPORT Config { struct
30 Config();
31 ~Config();
33 GestureDetector::Config gesture_detector_config; argument
34 ScaleGestureDetector::Config scale_gesture_detector_config; argument
55 GestureProvider(const Config& config, GestureProviderClient* client); argument
90 void InitGestureDetectors(const Config& config);
Dgesture_config_helper_aura.cc18 GestureDetector::Config DefaultGestureDetectorConfig() { in DefaultGestureDetectorConfig()
19 GestureDetector::Config config; in DefaultGestureDetectorConfig()
49 ScaleGestureDetector::Config DefaultScaleGestureDetectorConfig() { in DefaultScaleGestureDetectorConfig()
50 ScaleGestureDetector::Config config; in DefaultScaleGestureDetectorConfig()
62 GestureProvider::Config DefaultGestureProviderConfig() { in DefaultGestureProviderConfig()
63 GestureProvider::Config config; in DefaultGestureProviderConfig()
/external/iproute2/
Dconfigure23 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/third_party/libjingle/source/talk/media/webrtc/
Dwebrtcvideoengine2_unittest.h41 FakeVideoSendStream(const webrtc::VideoSendStream::Config& config,
43 webrtc::VideoSendStream::Config GetConfig();
61 webrtc::VideoSendStream::Config config_;
68 const webrtc::VideoReceiveStream::Config& config);
70 webrtc::VideoReceiveStream::Config GetConfig();
79 webrtc::VideoReceiveStream::Config config_;
101 virtual webrtc::VideoSendStream::Config GetDefaultSendConfig() OVERRIDE;
104 const webrtc::VideoSendStream::Config& config,
111 virtual webrtc::VideoReceiveStream::Config GetDefaultReceiveConfig() OVERRIDE;
114 const webrtc::VideoReceiveStream::Config& config) OVERRIDE;
/external/chromium_org/third_party/WebKit/Source/build/scripts/
Dpreprocessor.pm24 use Config;
47 require Config;
50 } elsif (($Config::Config{'osname'}) =~ /solaris/i) {
66 if ($Config{osname} eq "cygwin" || $Config{osname} eq 'MSWin32') {
/external/chromium_org/tools/clang/blink_gc_plugin/
DRecordInfo.cpp61 if (!Config::IsGCCollection(name_) && !Config::IsWTFCollection(name_)) in IsHeapAllocatedCollection()
73 return Config::IsGCCollection(name_); in IsHeapAllocatedCollection()
80 return Config::IsGCBase(record->getName()); in IsGCBaseCallback()
96 if (Config::IsGCBase(name_)) in IsGCDerived()
112 if (Config::IsGCFinalizedBase(base->getName())) in IsGCFinalized()
130 if (!Config::IsGCMixinBase(base->getName())) in IsGCMixin()
144 if (!record || Config::IsIgnoreAnnotated(record)) in Lookup()
169 Config::IsStackAnnotated(*it)) { in IsStackAllocated()
341 if (Config::IsIgnoreAnnotated(field)) in CollectFields()
356 if (Config::IsGCBase(name_)) in DetermineTracingMethods()
[all …]
/external/llvm/include/llvm/IR/
DValueMap.h37 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/cr/cr/base/
Darch.py9 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(

12345678910>>...20