/external/chromium_org/net/http/ |
http_pipelined_host.cc | 9 HttpPipelinedHost::Key::Key(const HostPortPair& origin) 13 bool HttpPipelinedHost::Key::operator<(const Key& rhs) const {
|
http_pipelined_host.h | 31 class NET_EXPORT_PRIVATE Key { 33 Key(const HostPortPair& origin); 35 // The host and port associated with this key. 38 bool operator<(const Key& rhs) const; 66 Delegate* delegate, const Key& key, 92 // Returns a Key that uniquely identifies this host. 93 virtual const Key& GetKey() const = 0;
|
/external/clang/lib/AST/ |
MangleNumberingContext.cpp | 27 QualType Key = Context.getFunctionType(Context.VoidTy, Proto->getArgTypes(), 29 Key = Context.getCanonicalType(Key); 30 return ++ManglingNumbers[Key->castAs<FunctionProtoType>()];
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/ |
compare.pass.cpp | 12 // template <class Key, class T, class Compare = less<Key>, 13 // class Allocator = allocator<pair<const Key, T>>> 21 struct Key { 22 template <typename T> Key(const T&) {} 23 bool operator< (const Key&) const { return false; } 29 std::map<Key, int>::iterator it = std::map<Key, int>().find(Key(0)); 30 std::pair<std::map<Key, int>::iterator, bool> result [all...] |
/external/chromium/base/ |
global_descriptors_posix.h | 34 // It maps from an abstract key to a descriptor. If independent modules each 39 typedef uint32_t Key; 40 typedef std::vector<std::pair<Key, int> > Mapping; 42 // Often we want a canonical descriptor for a given Key. In this case, we add 43 // the following constant to the key value: 49 // Get a descriptor given a key. It is a fatal error if the key is not known. 50 int Get(Key key) const; 52 // Get a descriptor give a key. Returns -1 on error [all...] |
/external/chromium_org/android_webview/browser/ |
gl_view_renderer_manager.h | 19 typedef ListType::iterator Key; 24 // If |key| is NullKey(), then |view| is inserted at the front and a new key 25 // is returned. Otherwise |key| must point to |view| which is moved to the 27 Key DidDrawGL(Key key, BrowserViewRenderer* view); 29 void NoLongerExpectsDrawGL(Key key); 33 Key NullKey() [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
Key.h | 45 class Key : public ScriptWrappable, public RefCounted<Key> { 47 static PassRefPtr<Key> create(const WebKit::WebCryptoKey& key) { return adoptRef(new Key(key)); } 49 ~Key(); 56 const WebKit::WebCryptoKey& key() const { return m_key; } function in class:WebCore::Key 65 explicit Key(const WebKit::WebCryptoKey&);
|
Key.cpp | 32 #include "modules/crypto/Key.h" 92 Key::~Key() 96 Key::Key(const WebKit::WebCryptoKey& key) 97 : m_key(key) 102 String Key::type() const 107 bool Key::extractable() const 112 Algorithm* Key::algorithm( [all...] |
/libcore/luni/src/main/java/java/security/ |
Key.java | 23 * {@code Key} is the common interface for all keys. 28 public interface Key extends Serializable { 36 * Returns the name of the algorithm of this key. If the algorithm is 39 * @return the name of the algorithm of this key or {@code null} if the 45 * Returns the name of the format used to encode this key, or {@code null} 48 * @return the name of the format used to encode this key, or {@code null} 54 * Returns the encoded form of this key, or {@code null} if encoding is not 55 * supported by this key. 57 * @return the encoded form of this key, or {@code null} if encoding is not 58 * supported by this key [all...] |
/external/chromium_org/base/posix/ |
global_descriptors.h | 33 // It maps from an abstract key to a descriptor. If independent modules each 38 typedef uint32_t Key; 39 typedef std::pair<Key, int> KeyFDPair; 42 // Often we want a canonical descriptor for a given Key. In this case, we add 43 // the following constant to the key value: 49 // Get a descriptor given a key. It is a fatal error if the key is not known. 50 int Get(Key key) const; 52 // Get a descriptor give a key. Returns -1 on error [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/ |
compare.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 13 // class Alloc = allocator<pair<const Key, T>>> 21 struct Key { 22 template <typename T> Key(const T&) {} 23 bool operator== (const Key&) const { return true; } 29 struct hash<Key> 31 size_t operator()(Key const &) const {return 0;} 38 std::unordered_map<Key, int>::iterator it [all...] |
/external/chromium_org/net/dns/ |
host_cache_unittest.cc | 20 // Builds a key for |hostname|, defaulting the address family to unspecified. 21 HostCache::Key Key(const std::string& hostname) { 22 return HostCache::Key(hostname, ADDRESS_FAMILY_UNSPECIFIED, 0); 35 HostCache::Key key1 = Key("foobar.com"); 36 HostCache::Key key2 = Key("foobar2.com"); 66 // Advance to t=10; key is now expired. 99 HostCache::Key key1 = Key("foobar.com") [all...] |
mdns_cache.cc | 25 MDnsCache::Key::Key(unsigned type, const std::string& name, 30 MDnsCache::Key::Key( 31 const MDnsCache::Key& other) 36 MDnsCache::Key& MDnsCache::Key::operator=( 37 const MDnsCache::Key& other) { 44 MDnsCache::Key::~Key() { 175 Key key = Key::CreateFor(record); local [all...] |
host_cache.h | 41 struct Key { 42 Key(const std::string& hostname, AddressFamily address_family, 48 bool operator<(const Key& other) const { 65 void Handle(const Key& key, 72 typedef ExpiringCache<Key, Entry, base::TimeTicks, 81 // Returns a pointer to the entry for |key|, which is valid at time 83 const Entry* Lookup(const Key& key, base::TimeTicks now); 85 // Overwrites or creates an entry for |key| [all...] |
mdns_cache.h | 28 // Key type for the record map. It is a 3-tuple of type, name and optional 32 class Key { 34 Key(unsigned type, const std::string& name, const std::string& optional); 35 Key(const Key&); 36 Key& operator=(const Key&); 37 ~Key(); 38 bool operator<(const Key& key) const [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrTextStrike_impl.h | 14 class GrFontCache::Key { 16 Key(GrFontScaler* scaler) { 22 static bool LT(const GrTextStrike& strike, const Key& key) { 23 return *strike.getFontScalerKey() < *key.fFontScalerKey; 25 static bool EQ(const GrTextStrike& strike, const Key& key) { 26 return *strike.getFontScalerKey() == *key.fFontScalerKey; 54 Key key(scaler) [all...] |
/external/clang/tools/diagtool/ |
DiagnosticNames.cpp | 54 DiagnosticRecord Key = {0, DiagID, 0}; 59 Key, orderByID);
|
/external/llvm/include/llvm/MC/ |
SubtargetFeature.h | 31 /// SubtargetFeatureKV - Used to provide key value pairs for feature and 35 const char *Key; // K-V key string 42 return strcmp(Key, S.Key) < 0; 48 /// SubtargetInfoKV - Used to provide key value pairs for CPU and arbitrary 52 const char *Key; // K-V key string 57 return strcmp(Key, S.Key) < 0 [all...] |
/external/skia/src/gpu/ |
GrTextStrike_impl.h | 14 class GrFontCache::Key { 16 Key(GrFontScaler* scaler) { 22 static bool LT(const GrTextStrike& strike, const Key& key) { 23 return *strike.getFontScalerKey() < *key.fFontScalerKey; 25 static bool EQ(const GrTextStrike& strike, const Key& key) { 26 return *strike.getFontScalerKey() == *key.fFontScalerKey; 54 Key key(scaler) [all...] |
/frameworks/compile/mclinker/include/mcld/Support/ |
MemoryArea.h | 89 class Key { 91 Key(size_t pOffset, size_t pLength) 100 bool operator()(const Key& KEY1, const Key& KEY2) const 113 typedef std::multimap<Key, Space*, Key::Compare> SpaceMapType;
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
ControlPanelEffect.java | 61 static enum Key { 167 final boolean isGlobalEnabled = prefs.getBoolean(Key.global_enabled.toString(), 169 editor.putBoolean(Key.global_enabled.toString(), isGlobalEnabled); 173 final boolean isVIEnabled = prefs.getBoolean(Key.virt_enabled.toString(), 176 final int vIStrength = prefs.getInt(Key.virt_strength.toString(), 179 editor.putBoolean(Key.virt_enabled.toString(), isVIEnabled); 180 editor.putInt(Key.virt_strength.toString(), vIStrength); 187 editor.putBoolean(Key.virt_strength_supported.toString(), 199 final boolean isBBEnabled = prefs.getBoolean(Key.bb_enabled.toString(), 201 final int bBStrength = prefs.getInt(Key.bb_strength.toString() [all...] |
/frameworks/compile/mclinker/include/mcld/LD/ |
BranchIsland.h | 103 /** \class Key 104 * \brief Key to recognize a stub in the island. 107 class Key 110 Key(const Stub* pPrototype, const LDSymbol* pSymbol, Stub::SWord pAddend) 114 ~Key() 125 size_t operator() (const Key& KEY) const 127 llvm::StringRef sym_name(KEY.symbol()->name()); 129 return (size_t((uintptr_t)KEY.prototype())) ^ 131 KEY.addend() [all...] |
/external/chromium/net/base/ |
host_cache.h | 41 struct Key { 42 Key(const std::string& hostname, AddressFamily address_family, 48 bool operator==(const Key& other) const { 57 bool operator<(const Key& other) const { 73 typedef std::map<Key, scoped_refptr<Entry> > EntryMap; 84 // Returns a pointer to the entry for |key|, which is valid at time 86 const Entry* Lookup(const Key& key, base::TimeTicks now) const; 88 // Overwrites or creates an entry for |key|. Returns the pointer to the 92 Entry* Set(const Key& key [all...] |
host_cache_unittest.cc | 22 // Builds a key for |hostname|, defaulting the address family to unspecified. 23 HostCache::Key Key(const std::string& hostname) { 24 return HostCache::Key(hostname, ADDRESS_FAMILY_UNSPECIFIED, 0); 41 EXPECT_TRUE(cache.Lookup(Key("foobar.com"), base::TimeTicks()) == NULL); 42 cache.Set(Key("foobar.com"), OK, AddressList(), now); 43 entry1 = cache.Lookup(Key("foobar.com"), base::TimeTicks()); 51 EXPECT_TRUE(cache.Lookup(Key("foobar2.com"), base::TimeTicks()) == NULL); 52 cache.Set(Key("foobar2.com"), OK, AddressList(), now); 53 entry2 = cache.Lookup(Key("foobar2.com"), base::TimeTicks()) [all...] |
/external/chromium_org/content/common/dom_storage/ |
dom_storage_map.cc | 13 size_t size_of_item(const base::string16& key, const base::string16& value) { 14 return (key.length() + value.length()) * sizeof(char16); 42 base::NullableString16 DOMStorageMap::Key(unsigned index) { 57 base::NullableString16 DOMStorageMap::GetItem(const base::string16& key) const { 58 DOMStorageValuesMap::const_iterator found = values_.find(key); 65 const base::string16& key, const base::string16& value, 67 DOMStorageValuesMap::const_iterator found = values_.find(key); 74 0 : size_of_item(key, old_value->string()); 75 size_t new_item_size = size_of_item(key, value); 83 values_[key] = base::NullableString16(value, false) [all...] |