Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 77) sorted by relevance

1234

/sdk/emulator/opengl/shared/emugl/common/
Did_to_object_map.h34 static inline bool isValidKey(KeyType key) { in isValidKey() argument
35 return key <= kMaxId; in isValidKey()
51 bool contains(KeyType key) const;
57 bool find(KeyType key, void** value) const;
62 void* set(KeyType key, void* value);
67 void* remove(KeyType key);
105 inline bool contains(KeyType key) const { in contains() argument
106 return IdToObjectMapBase::contains(key); in contains()
112 inline bool find(KeyType key, T** value) const { in find() argument
113 return IdToObjectMapBase::find(key, reinterpret_cast<void**>(value)); in find()
[all …]
Did_to_object_map.cpp63 size_t probeKeys(const KeyType* keys, size_t shift, KeyType key) { in probeKeys() argument
99 size_t slot = key % kPrimes[shift]; in probeKeys()
103 if (k == kInvalidKey || k == kTombstone || k == key) in probeKeys()
130 bool IdToObjectMapBase::contains(KeyType key) const { in contains()
131 size_t slot = probeKeys(mKeys, mShift, key); in contains()
142 bool IdToObjectMapBase::find(KeyType key, void** value) const { in find() argument
143 size_t slot = probeKeys(mKeys, mShift, key); in find()
152 void* IdToObjectMapBase::set(KeyType key, void* value) { in set() argument
154 return remove(key); in set()
156 size_t slot = probeKeys(mKeys, mShift, key); in set()
[all …]
Dthread_store.cpp90 void unregisterKey(int key) { in unregisterKey() argument
91 D("key=%d\n", key); in unregisterKey()
92 if (key < 0 || key >= kMaxTlsSlots) { in unregisterKey()
101 mDestructors[key] = NULL; in unregisterKey()
107 void* getValue(int key) const { in getValue()
108 D("Entering key=%d\n", key); in getValue()
109 if (key < 0 || key >= kMaxTlsSlots) { in getValue()
115 void* ret = (*array)[key]; in getValue()
121 void setValue(int key, void* value) { in setValue() argument
122 D("Entering key=%d\n",key); in setValue()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
DGLSparseArrayProperty.java68 public IGLProperty getProperty(int key) { in getProperty() argument
69 IGLProperty p = mSparseArray.get(key); in getProperty()
71 add(key); in getProperty()
72 p = mSparseArray.get(key); in getProperty()
82 public void put(int key, IGLProperty element) { in put() argument
84 mSparseArray.put(key, element); in put()
87 public void add(int key) { in add() argument
90 mSparseArray.put(key, prop); in add()
93 public void delete(int key) { in delete() argument
94 mSparseArray.delete(key); in delete()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/
DAbstractPropertiesFieldsPart.java171 String key = line.substring(0, pos).trim(); in saveFieldsToModel() local
173 Control field = mNameToField.get(key); in saveFieldsToModel()
177 line = key + "=" + getFieldText(field); in saveFieldsToModel()
184 allKeywords.remove(key); in saveFieldsToModel()
197 for (String key : allKeywords) { in saveFieldsToModel()
198 Control field = mNameToField.get(key); in saveFieldsToModel()
201 String line = key + "=" + getFieldText(field); in saveFieldsToModel()
227 allKeywords.remove(key); in saveFieldsToModel()
286 String key = line.substring(0, pos).trim(); in onModelInit() local
288 Control field = mNameToField.get(key); in onModelInit()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DIconFactory.java139 String key = Character.toString((char) shape) + Integer.toString(color) + osName; in getIcon() local
140 Image icon = mIconMap.get(key); in getIcon()
141 if (icon == null && !mIconMap.containsKey(key)) { in getIcon()
148 mIconMap.put(key, icon); in getIcon()
180 String key = Character.toString((char) shape) + Integer.toString(color) + osName; in getImageDescriptor() local
181 ImageDescriptor id = mImageDescMap.get(key); in getImageDescriptor()
182 if (id == null && !mImageDescMap.containsKey(key)) { in getImageDescriptor()
193 mImageDescMap.put(key, id); in getImageDescriptor()
214 String key = osName; in getIcon() local
215 Image icon = mIconMap.get(key); in getIcon()
[all …]
/sdk/emulator/opengl/tests/emulator_test_renderer/
Dmain.cpp143 if (ev.key.keysym.sym == SDLK_q && in WinMain()
144 ev.key.keysym.mod & KMOD_META) { in WinMain()
148 injector->sendKeyDown(convert_keysym(ev.key.keysym.sym)); in WinMain()
150 if (ev.key.keysym.sym == SDLK_KP_MINUS) { in WinMain()
163 else if (ev.key.keysym.sym == SDLK_KP_PLUS) { in WinMain()
176 else if (ev.key.keysym.sym == SDLK_KP_MULTIPLY) { in WinMain()
180 else if (ev.key.keysym.sym == SDLK_KP_ENTER) { in WinMain()
185 injector->sendKeyUp(convert_keysym(ev.key.keysym.sym)); in WinMain()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DAndroidTargetParser.java527 for (String key : new String[] { "Menu", //$NON-NLS-1$ in collectMenuDefinitions()
530 if (map.containsKey(key)) { in collectMenuDefinitions()
531 map2.put(key, map.get(key)); in collectMenuDefinitions()
535 key, attrsXmlParser.getOsAttrsXmlPath()); in collectMenuDefinitions()
538 key, attrsXmlParser.getOsAttrsXmlPath())); in collectMenuDefinitions()
554 for (String key : new String[] { "Searchable", //$NON-NLS-1$ in collectSearchableDefinitions()
556 if (map.containsKey(key)) { in collectSearchableDefinitions()
557 map2.put(key, map.get(key)); in collectSearchableDefinitions()
561 key, attrsXmlParser.getOsAttrsXmlPath()); in collectSearchableDefinitions()
564 key, attrsXmlParser.getOsAttrsXmlPath())); in collectSearchableDefinitions()
[all …]
/sdk/testapps/jarCheckTests2/lib1/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/jarCheckTests3/app/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/jarCheckTests1/lib2/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/gridlayoutTest/app/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/jarCheckTests2/app/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/aidlTest/mainProject/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/customViewTest/mainProject/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/jarCheckTests1/lib1/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/aidlTest/libWithAidl/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/jarCheckTests3/lib1/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/buildConfigTest/app/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/basicProjectWithAidl/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/customViewTest/libWithCustomView/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/jarCheckTests2/lib2/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/jarCheckTests1/app/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/testapps/jarCheckTests3/lib2/
Dant.properties14 # 'key.store' for the location of your keystore and
15 # 'key.alias' for the name of the key to use.
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
DSparseArrayElementRemoveTransform.java28 public SparseArrayElementRemoveTransform(IGLPropertyAccessor accessor, int key) { in SparseArrayElementRemoveTransform() argument
29 mAddTransform = new SparseArrayElementAddTransform(accessor, key); in SparseArrayElementRemoveTransform()

1234