| /external/v8/test/cctest/compiler/ |
| test-gap-resolver.cc | 34 struct Key { 40 bool operator<(const Key& other) const { 53 bool operator==(const Key& other) const { 60 typedef Key Value; 61 typedef std::map<Key, Value> OperandMap; 76 static Key KeyFor(const InstructionOperand& op) { 95 Key key = {is_constant, is_float, kind, index}; local 96 return key; 101 static InstructionOperand FromKey(Key key) [all...] |
| /frameworks/base/services/core/java/com/android/server/accounts/ |
| TokenCache.java | 48 private static class Key { 54 public Key(Account account, String tokenType, String packageName, byte[] sigDigest) { 63 if (o != null && o instanceof Key) { 64 Key cacheKey = (Key) o; 83 private static class TokenLruCache extends LruCache<Key, Value> { 86 private final List<Key> mKeys; 92 public void add(Key k) { 97 for (Key k : mKeys) { 116 protected int sizeOf(Key k, Value v) [all...] |
| /frameworks/native/include/input/ |
| KeyCharacterMap.h | 40 * Describes a mapping from Android key codes to characters. 42 * and key modifier semantics. 68 // Substitute key code and meta state for fallback action. 74 /* Loads a key character map from a file. */ 77 /* Loads a key character map from its string contents. */ 81 /* Combines a base key character map and an overlay. */ 85 /* Returns an empty key character map. */ 91 /* Gets the primary character for this key as in the label physically printed on it. 95 /* Gets the Unicode character for the number or symbol generated by the key 101 /* Gets the Unicode character generated by the key and meta key modifiers [all...] |
| InputTransport.h | 63 struct Key { 77 return sizeof(Key); 79 } key; member in union:android::InputMessage::Body 202 /* Publishes a key event to the input channel.
|
| /libcore/ojluni/src/main/java/sun/util/locale/ |
| BaseLocale.java | 68 CACHE.put(new Key(language, region), base); 85 Key key = new Key(language, script, region, variant); local 86 BaseLocale baseLocale = CACHE.get(key); 166 private static final class Key implements Comparable<Key> { 175 * Creates a Key. language and region must be normalized 178 private Key(String language, String region) { 198 public Key(String language, String script, String region, String variant) [all...] |
| /ndk/tests/device/test-gnustl-full/unit/ |
| map_test.cpp | 303 struct Key 305 Key() : m_data(0) {} 306 explicit Key(int data) : m_data(data) {} 313 bool operator () (Key lhs, Key rhs) const 316 bool operator () (Key lhs, int rhs) const 319 bool operator () (int lhs, Key rhs) const 325 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 328 bool operator () (Key const volatile *lhs, int rhs) cons [all...] |
| set_test.cpp | 360 struct Key 362 Key() : m_data(0) {} 363 explicit Key(int data) : m_data(data) {} 370 bool operator () (Key lhs, Key rhs) const 373 bool operator () (Key lhs, int rhs) const 376 bool operator () (int lhs, Key rhs) const 382 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 385 bool operator () (Key const volatile *lhs, int rhs) cons [all...] |
| unordered_test.cpp | 514 struct Key 516 Key() : m_data(0) {} 517 explicit Key(int data) : m_data(data) {} 522 bool operator==(const Key&) const; 528 size_t operator () (Key key) const 529 { return (size_t)key.m_data; } 537 bool operator () (Key lhs, Key rhs) const 540 bool operator () (Key lhs, int rhs) cons [all...] |
| /ndk/tests/device/test-stlport/unit/ |
| map_test.cpp | 303 struct Key 305 Key() : m_data(0) {} 306 explicit Key(int data) : m_data(data) {} 313 bool operator () (Key lhs, Key rhs) const 316 bool operator () (Key lhs, int rhs) const 319 bool operator () (int lhs, Key rhs) const 325 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 328 bool operator () (Key const volatile *lhs, int rhs) cons [all...] |
| set_test.cpp | 360 struct Key 362 Key() : m_data(0) {} 363 explicit Key(int data) : m_data(data) {} 370 bool operator () (Key lhs, Key rhs) const 373 bool operator () (Key lhs, int rhs) const 376 bool operator () (int lhs, Key rhs) const 382 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 385 bool operator () (Key const volatile *lhs, int rhs) cons [all...] |
| unordered_test.cpp | 514 struct Key 516 Key() : m_data(0) {} 517 explicit Key(int data) : m_data(data) {} 522 bool operator==(const Key&) const; 528 size_t operator () (Key key) const 529 { return (size_t)key.m_data; } 537 bool operator () (Key lhs, Key rhs) const 540 bool operator () (Key lhs, int rhs) cons [all...] |
| /packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
| writer.h | 140 bool Key(const Ch* str, SizeType length, bool copy = false) { return String(str, length, copy); }
176 bool Key(const Ch* str) { return Key(str, internal::StrLen(str)); }
|
| /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
| valuetest.cpp | [all...] |
| /toolchain/binutils/binutils-2.25/gold/ |
| stringpool.h | 64 // There is a key associated with every string in the pool. If you 65 // add strings to the Stringpool in the same order, then the key for 69 // linker (e.g., the symbol table) use the key value instead of the 82 // offset of any string (or any key) in the stringpool in the string 177 // The type of a key into the stringpool. As described above, a key 179 // is never a valid key value. 180 typedef size_t Key; 218 // *PKEY to the key for the string. 220 add(const Stringpool_char* s, bool copy, Key* pkey) [all...] |
| /external/guice/core/test/com/google/inject/ |
| BindingTest.java | 123 * This test ensures that the asEagerSingleton() scoping applies to the key, 124 * not to what the key is linked to. 242 final Key<Object> s = new Key<Object>(named("s")) {}; 243 final Key<Object> i = new Key<Object>(named("i")) {}; 275 "1) T cannot be used as a key; It is not fully specified.", 277 "2) T cannot be used as a key; It is not fully specified.", 323 final Key<Object> d = Key.get(Object.class, named("D")); // default scopin [all...] |
| PrivateModuleTest.java | 68 AB ab1 = injector.getInstance(Key.get(AB.class, named("one"))); 72 AB ab2 = injector.getInstance(Key.get(AB.class, named("two"))); 92 assertEquals("i", injector.getInstance(Key.get(String.class, named("a")))); 93 assertEquals("ii", injector.getInstance(Key.get(String.class, named("b")))); 160 assertEquals("i", injector.getInstance(Key.get(String.class, named("a")))); 163 injector.getInstance(Key.get(String.class, named("b"))); 169 injector.getInstance(Key.get(String.class, named("c"))); 174 assertEquals("ii", injector.getInstance(Key.get(String.class, named("d")))); 309 injector.getInstance(Key.get(String.class, named("bound outer, exposed outer")))); 311 injector.getInstance(Key.get(String.class, named("bound inner, exposed both")))) [all...] |
| /development/tools/idegen/src/com/android/idegen/ |
| Module.java | 62 protected enum Key { 166 Iterable<String> values = makeFileParser.getValues(Key.LOCAL_SRC_FILES.name()); 204 parseDirectDependencies(Key.LOCAL_STATIC_JAVA_LIBRARIES); 205 parseDirectDependencies(Key.LOCAL_JAVA_LIBRARIES); 209 private void parseDirectDependencies(Key key) { 210 Iterable<String> names = makeFileParser.getValues(key.name());
|
| /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/db/manager/ |
| sdbmanager.py | 26 from boto.sdb.db.key import Key 66 Key: (self.encode_reference, self.decode_reference), 117 for key in value: 121 encoded_value = self.encode(item_type, value[key]) 123 new_value.append('%s:%s' % (urllib.quote(key), encoded_value)) 164 key = value 166 key, value = value.split(':', 1) 167 key = urllib.unquote(key) [all...] |
| xmlmanager.py | 23 from boto.sdb.db.key import Key 48 Key : (self.encode_reference, self.decode_reference), 390 key = order_by[1:] 393 key = order_by 395 parts.append("['%s' starts-with ''] sort '%s' %s" % (key, key, type))
|
| /external/guice/extensions/mini/src/com/google/inject/mini/ |
| MiniGuice.java | 48 private final Map<Key, Provider<?>> bindings = new HashMap<Key, Provider<?>>(); 50 private final Set<Key> singletons = new HashSet<Key>(); 79 Key key = new Key(type, null); local 84 miniGuice.requireKey(key, "root injection"); 88 Provider<?> provider = miniGuice.bindings.get(key); 93 Map<Key, Provider<?>> providerBindings = new HashMap<Key, Provider<?>>() 95 Key key = binding.getKey(); local 136 Key key = key(method, method.getGenericReturnType(), method.getAnnotations()); local 171 Key key = requiredKey.key; local 300 public Key key(Object subject, Type type, Annotation[] annotations) { method in class:MiniGuice 347 private final Key key; field in class:MiniGuice.RequiredKey [all...] |
| /external/llvm/include/llvm/Support/ |
| YAMLParser.h | 257 /// \brief A key and value pair. While not technically a Node under the YAML 269 : Node(NK_KeyValue, D, StringRef(), StringRef()), Key(nullptr), 272 /// \brief Parse and return the key. 276 /// \returns The key, or nullptr if failed() == true. 297 Node *Key; 382 MT_Inline ///< An inline mapping node is used for "[key: value]". 431 // key:
|
| /external/v8/src/crankshaft/ |
| hydrogen-bce.cc | 17 // To do so we keep a dictionary of all checks where the key if the pair 19 // The class BoundsCheckKey represents this key. 85 // (the key is BoundsCheckKey). 89 // with the same key (the dictionary holds the head of the list). 99 BoundsCheckKey* Key() const { return key_; } 196 BoundsCheckBbData(BoundsCheckKey* key, 204 : key_(key), 316 BoundsCheckBbData** BoundsCheckTable::LookupOrInsert(BoundsCheckKey* key, 319 &(ZoneHashMap::LookupOrInsert(key, key->Hash() 394 BoundsCheckKey* key = local [all...] |
| /external/vixl/src/vixl/ |
| invalset.h | 50 // - A key must be available to represent invalid elements. 51 // - Elements with an invalid key must compare higher or equal to any other 58 // - Elements are (generally) inserted in order (sorted according to their key). 59 // - A key is available to mark elements as invalid (deleted). 64 // marked with the 'invalid' key. Other methods of the container take care of 70 // their key. The structure only reclaims memory when safe to do so, if the 113 // This returns the key of the minimum element in the set. 117 static KeyType Key(const ElementType& element); 118 static void SetKey(ElementType* element, KeyType key); 146 // Delete the elements that have an invalid key. The complexity is linea [all...] |
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
| gdiplusmetaheader.h | 67 UINT32 Key;
|
| /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/ |
| key.py | 48 class Key(object): 50 Represents a key (object) in an S3 bucket. 53 :ivar name: The name of this Key object. 139 name = u'<Key: %s,%s>' % (self.bucket.name, self.name) 141 name = u'<Key: None,%s>' % self.name 165 key = property(_get_key, _set_key); variable in class:Key 204 # Key is not yet saved? Just use default... 235 # If the Key object already has a version_id attribute value, it 238 # version of the Key. In that case, we don't really want to 239 # overwrite the version_id in this Key object. Comprende [all...] |