| /external/clang/lib/Lex/ |
| HeaderMap.cpp | 38 uint32_t Key; // Offset (into strings) of key. 133 /// this return a bucket with an empty key (0). 136 Result.Key = HMAP_EmptyBucketKey; 150 Result.Key = getEndianAdjustedWord(BucketPtr->Key); 187 if (B.Key == HMAP_EmptyBucketKey) continue; 189 const char *Key = getString(B.Key); 192 fprintf(stderr, " %d. %s -> '%s' '%s'\n", i, Key, Prefix, Suffix) [all...] |
| /external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
| AttributeStrategy.java | 12 private final GroupedLinkedMap<Key, Bitmap> groupedMap = new GroupedLinkedMap<Key, Bitmap>(); 15 final Key key = keyPool.get(bitmap.getWidth(), bitmap.getHeight(), bitmap.getConfig()); local 17 groupedMap.put(key, bitmap); 22 final Key key = keyPool.get(width, height, config); local 24 return groupedMap.get(key); 61 static class KeyPool extends BaseKeyPool<Key> { 62 public Key get(int width, int height, Bitmap.Config config) [all...] |
| /external/guice/core/test/com/google/inject/ |
| GenericInjectionTest.java | 60 = Guice.createInjector().getInstance(Key.get(new TypeLiteral<Parameterized<String>>() {})); 67 bind(Key.get(new TypeLiteral<Parameterized<String>>() {})) 73 = injector.getInstance(Key.get(new TypeLiteral<Parameterized<String>>() { })); 83 assertParameterizedDepsInjected(new Key<ParameterizedDeps<String, Integer>>() {}, 91 assertParameterizedDepsInjected(Key.get(Object.class), new AbstractModule() { 102 assertParameterizedDepsInjected(Key.get(type), new AbstractModule() { 113 assertParameterizedDepsInjected(Key.get(type), new AbstractModule() { 124 assertParameterizedDepsInjected(Key.get(type), new AbstractModule() { 132 public void assertParameterizedDepsInjected(Key<?> key, Module bindingModule) [all...] |
| /external/guice/core/test/com/google/inject/name/ |
| NamesTest.java | 27 import com.google.inject.Key; 69 assertEquals("Sharks", injector.getInstance(Key.get(String.class, Names.named("SanJose")))); 70 assertEquals("Oilers", injector.getInstance(Key.get(String.class, Names.named("Edmonton")))); 83 assertEquals("Sharks", injector.getInstance(Key.get(String.class, Names.named("SanJose")))); 84 assertEquals("Oilers", injector.getInstance(Key.get(String.class, Names.named("Edmonton")))); 102 assertEquals("Pats", injector.getInstance(Key.get(String.class, Names.named("Regina")))); 103 assertEquals("Oilers", injector.getInstance(Key.get(String.class, Names.named("Edmonton")))); 104 assertEquals("Sharks", injector.getInstance(Key.get(String.class, Names.named("SanJose")))); 107 injector.getInstance(Key.get(String.class, Names.named("Calgary")));
|
| /external/guice/core/test/com/google/inject/spi/ |
| ToolStageInjectorTest.java | 9 import com.google.inject.Key; 44 injector.getInstance(Key.get(Injector.class)); 56 injector.getProvider(Key.get(Injector.class));
|
| /external/guice/extensions/servlet/test/com/google/inject/servlet/ |
| ExtensionSpiTest.java | 27 import com.google.inject.Key; 81 new Params("/class", Key.get(DummyFilterImpl.class), ImmutableMap.of(), SERVLET), 82 new Params("/class/2", Key.get(DummyFilterImpl.class), ImmutableMap.of(), SERVLET), 83 new Params("/key", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), SERVLET), 84 new Params("/key/2", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), SERVLET), 87 new Params("/class/keyvalues", Key.get(DummyFilterImpl.class), ImmutableMap.of("key", "value"), SERVLET), 88 new Params("/class/keyvalues/2", Key.get(DummyFilterImpl.class), ImmutableMap.of("key", "value"), SERVLET) [all...] |
| /external/llvm/lib/Object/ |
| IRObjectFile.cpp | 92 StringRef Key = KV.first(); 110 std::make_pair<std::string, uint32_t>(Key, std::move(Res)));
|
| /external/llvm/unittests/ADT/ |
| StringMapTest.cpp | 71 const char StringMapTest::testKey[] = "key"; 232 // the particular key, and the implementation of StringMap and HashString. 282 StringRef Key = "Test"; 283 StringMapEntry<MoveOnly>::Create(Key, MoveOnly(42)) 288 StringRef Key = "Test"; 289 StringMapEntry<MoveOnly>::Create(Key, Immovable())
|
| /external/lzma/CS/7zip/Compress/LzmaAlone/ |
| LzmaAlone.cs | 62 enum Key
156 if (parser[(int)Key.Help1].ThereIs || parser[(int)Key.Help2].ThereIs)
172 if (parser[(int)Key.Dictionary].ThereIs)
175 if (!GetNumber((string)parser[(int)Key.Dictionary].PostStrings[0], out dicLog))
181 if (parser[(int)Key.MatchFinder].ThereIs)
182 mf = (string)parser[(int)Key.MatchFinder].PostStrings[0];
196 if (parser[(int)Key.Train].ThereIs)
197 train = (string)parser[(int)Key.Train].PostStrings[0];
207 bool stdInMode = parser[(int)Key.StdIn].ThereIs; [all...] |
| /external/mesa3d/src/mesa/main/ |
| hash.c | 8 * \note key=0 is illegal. 53 GLuint Key; /**< the entry's key */ 64 GLuint MaxKey; /**< highest key inserted so far */ 127 _mesa_HashLookup_unlocked(struct _mesa_HashTable *table, GLuint key) 133 assert(key); 135 pos = HASH_FUNC(key); 138 if (entry->Key == key) { 151 * \param key the key 460 GLuint key; local [all...] |
| /external/skia/src/gpu/text/ |
| GrStencilAndCoverTextContext.h | 115 typedef SkTArray<uint32_t, true> Key; 117 static const Key& GetKey(const TextBlob* blob) { return blob->key(); } 119 static uint32_t Hash(const Key& key) { 120 SkASSERT(key.count() > 1); // 1-length keys should be using the blob-id hash map. 121 return SkChecksum::Murmur3(key.begin(), sizeof(uint32_t) * key.count()); 127 TextBlob(const Key& key, const SkTextBlob* skBlob, const SkPaint& skPaint 134 const Key& key() const { return fKey; } function in class:GrStencilAndCoverTextContext::TextBlob [all...] |
| /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
| ProtoPool.java | 37 import org.jf.dexlib2.writer.pool.ProtoPool.Key; 47 public class ProtoPool extends BaseIndexPool<Key> 48 implements ProtoSection<CharSequence, CharSequence, Key, TypeListPool.Key<? extends Collection<? extends CharSequence>>> { 63 Key key = new Key(method); local 64 Integer prev = internedItems.put(key, 0); 66 stringPool.intern(key.getShorty()); 72 @Nonnull @Override public CharSequence getShorty(@Nonnull Key key) [all...] |
| /external/snakeyaml/src/main/java/org/yaml/snakeyaml/tokens/ |
| Token.java | 23 Alias, Anchor, BlockEnd, BlockEntry, BlockMappingStart, BlockSequenceStart, Directive, DocumentEnd, DocumentStart, FlowEntry, FlowMappingEnd, FlowMappingStart, FlowSequenceEnd, FlowSequenceStart, Key, Scalar, StreamEnd, StreamStart, Tag, Value, Whitespace, Comment, Error
|
| /external/v8/src/ast/ |
| scopeinfo.h | 55 struct Key { 103 Key keys_[kLength];
|
| /external/v8/src/ |
| splay-tree.h | 17 // typedef Key: the key type 19 // static const Key kNoKey: the dummy key used when no key is set 21 // static int (Compare)(Key& a, Key& b) -> {-1, 0, 1}: comparison function 33 typedef typename Config::Key Key; 56 // Checks if there is a mapping for the key 120 Key key() { return key_; } function in class:v8::internal::SplayTree::Node 140 const Key& key() { return node_->key_; } function in class:v8::internal::SplayTree::BASE_EMBEDDED [all...] |
| /external/vulkan-validation-layers/demos/smoke/ |
| Game.h | 62 enum Key { 72 virtual void on_key(Key key) {}
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/ |
| Prefs.java | 33 Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME, 34 Key.DEBUG_MODE_ENABLED, 35 Key.HOTSPOT_TILE_LAST_USED, 36 Key.COLOR_INVERSION_TILE_LAST_USED, 37 Key.DND_TILE_VISIBLE, 38 Key.DND_TILE_COMBINED_ICON, 39 Key.DND_CONFIRMED_PRIORITY_INTRODUCTION, 40 Key.DND_CONFIRMED_SILENCE_INTRODUCTION, 41 Key.DND_FAVORITE_BUCKET_INDEX, 42 Key.DND_NONE_SELECTED [all...] |
| /frameworks/base/tools/split-select/ |
| Rule.h | 48 enum Key { 59 Key key; member in struct:split::Rule 74 , key(NONE)
|
| /frameworks/native/services/surfaceflinger/RenderEngine/ |
| ProgramCache.h | 43 * Key is used to retrieve a Program in the cache. 44 * A Key is generated from a Description. 46 class Key { 74 inline Key() : mKey(0) { } 75 inline Key(const Key& rhs) : mKey(rhs.mKey) { } 77 inline Key& set(key_t mask, key_t value) { 102 friend inline int strictly_order_type(const Key& lhs, const Key& rhs) { 117 // compute a cache Key from a Descriptio [all...] |
| /ndk/tests/device/test-gnustl-full/unit/ |
| find_test.cpp | 51 struct Key 90 Key keys[10] = { {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} }; 91 Key const* k = find(keys + 0, keys + 10, 5);
|
| /ndk/tests/device/test-stlport/unit/ |
| find_test.cpp | 51 struct Key 90 Key keys[10] = { {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} }; 91 Key const* k = find(keys + 0, keys + 10, 5);
|
| /packages/apps/Launcher2/src/com/android/launcher2/ |
| PagedViewIconCache.java | 34 public static class Key { 43 public Key(ApplicationInfo info) { 47 public Key(ResolveInfo info) { 53 public Key(AppWidgetProviderInfo info) { 67 if (o instanceof Key) { 68 Key k = (Key) o; 79 private final HashMap<Key, Bitmap> mIconOutlineCache = new HashMap<Key, Bitmap>(); 82 for (Key key : mIconOutlineCache.keySet()) [all...] |
| /frameworks/native/libs/input/ |
| KeyCharacterMap.cpp | 98 mKeys.add(other.mKeys.keyAt(i), new Key(*other.mKeys.valueAt(i))); 104 Key* key = mKeys.editValueAt(i); local 105 delete key; 116 ALOGE("Error %d opening key character map file %s.", status, filename.string()); 131 ALOGE("Error %d opening key character map.", status); 144 ALOGE("Error allocating key character map."); 154 ALOGD("Parsed key character map file '%s' %d lines in %0.3fms.", 177 Key* key = overlay->mKeys.valueAt(i) local 209 const Key* key; local 221 const Key* key; local 233 const Key* key; local 250 const Key* key; local 271 const Key* key; local 367 const Key* key; local 415 const Key* key; local 467 const Key* key = mKeys.valueAt(i); local 623 Key* key = new Key(); local 665 const Key* key = mKeys.valueAt(i); local 927 Key* key = mMap->mKeys.valueFor(mKeyCode); local [all...] |
| /toolchain/binutils/binutils-2.25/gold/ |
| arm.cc | 502 // Reloc_stub key. A key is logically a triplet of a stub type, a symbol 506 class Key 512 Key(Stub_type stub_type, const Symbol* symbol, const Relobj* relobj, 529 ~Key() 555 // Whether this equals to another key k. 557 eq(const Key& k) const 584 operator()(const Key& k) const 591 operator()(const Key& k1, const Key& k2) cons [all...] |
| /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Collections/ |
| HashList.cs | 58 Key, 94 public object Key 154 if (_mode == EnumerationMode.Key) 273 return new HashListEnumerator(_hashList, HashListEnumerator.EnumerationMode.Key); 388 public object this[object key] 390 get { return _dictionary[key]; } 393 bool isNewEntry = !_dictionary.Contains(key); 394 _dictionary[key] = value; 396 _insertionOrderList.Add(key); 401 public void Remove(object key) [all...] |