HomeSort by relevance Sort by last modified time
    Searched full:hashmap (Results 1 - 25 of 1246) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/JavaScriptGlue/ForwardingHeaders/wtf/
HashMap.h 1 #include <JavaScriptCore/HashMap.h>
  /external/webkit/WebKit/mac/ForwardingHeaders/wtf/
HashMap.h 1 #import <JavaScriptCore/HashMap.h>
  /external/webkit/WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/
HashMap.h 1 #include <JavaScriptCore/HashMap.h>
  /external/webkit/WebCore/ForwardingHeaders/wtf/
HashMap.h 3 #include <JavaScriptCore/HashMap.h>
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
HashMapTest.java 27 import java.util.HashMap;
96 HashMap hm;
113 * @tests java.util.HashMap#HashMap()
116 // Test for method java.util.HashMap()
117 new Support_MapTest2(new HashMap()).runTest();
119 HashMap hm2 = new HashMap();
120 assertEquals("Created incorrect HashMap", 0, hm2.size());
124 * @tests java.util.HashMap#HashMap(int
250 HashMap hashmap = new HashMap(); local
    [all...]
IdentityHashMapTest.java 134 IdentityHashMap<String, String> hashMap = new IdentityHashMap<String, String>();
135 hashMap.remove("absent");
136 assertEquals("Assert 0: Size is incorrect", 0, hashMap.size());
138 hashMap.put("key", "value");
139 hashMap.remove("key");
140 assertEquals("Assert 1: After removing non-null element size is incorrect", 0, hashMap.size());
142 hashMap.put(null, null);
143 assertEquals("Assert 2: adding literal null failed", 1, hashMap.size());
144 hashMap.remove(null);
145 assertEquals("Assert 3: After removing null element size is incorrect", 0, hashMap.size())
    [all...]
  /external/srec/shared/include/
HashMapImpl.h 31 * HashMap implementation.
38 HashMap Interface;
50 ESR_SHARED_API ESR_ReturnCode HashMap_Put(HashMap* self, const LCHAR* key, void* value);
54 ESR_SHARED_API ESR_ReturnCode HashMap_Remove(HashMap* self, const LCHAR* key);
58 ESR_SHARED_API ESR_ReturnCode HashMap_RemoveAndFree(HashMap* self, const LCHAR* key);
62 ESR_SHARED_API ESR_ReturnCode HashMap_RemoveAtIndex(HashMap* self, const size_t index);
66 ESR_SHARED_API ESR_ReturnCode HashMap_RemoveAll(HashMap* self);
70 ESR_SHARED_API ESR_ReturnCode HashMap_RemoveAndFreeAll(HashMap* self);
74 ESR_SHARED_API ESR_ReturnCode HashMap_ContainsKey(HashMap* self, const LCHAR* key, ESR_BOOL* exists);
78 ESR_SHARED_API ESR_ReturnCode HashMap_Get(HashMap* self, const LCHAR* key, void** value)
    [all...]
HashMap.h 2 * HashMap.h *
32 * @addtogroup HashMapModule HashMap API functions
47 * @param self HashMap handle
57 * @param self HashMap handle
66 * @param self HashMap handle
75 * @param self HashMap handle
84 * @param self HashMap handle
92 * @param self HashMap handle
100 * @param self HashMap handle
110 * @param self HashMap handl
    [all...]
  /frameworks/base/core/java/com/google/android/collect/
Maps.java 19 import java.util.HashMap;
26 * Creates a {@code HashMap} instance.
28 * @return a newly-created, initially-empty {@code HashMap}
30 public static <K, V> HashMap<K, V> newHashMap() {
31 return new HashMap<K, V>();
  /libcore/luni/src/test/java/tests/api/java/util/
HashMapTest.java 30 @TestTargetClass(HashMap.class)
51 HashMap hm;
60 * @tests java.util.HashMap#HashMap()
65 method = "HashMap",
69 // Test for method java.util.HashMap()
70 new Support_MapTest2(new HashMap()).runTest();
72 HashMap hm2 = new HashMap();
73 assertEquals("Created incorrect HashMap", 0, hm2.size())
212 HashMap hashmap = new HashMap(); local
    [all...]
  /external/srec/tools/grxmlcompile/
hashmap.cpp 1 /* FILE: hashmap.cpp
33 #include "hashmap.h"
39 HashMap<T1,T2>::HashMap():
45 void HashMap<T1,T2>::setName(std::string s)
51 bool HashMap<T1,T2>::insert( T1 const & index, T2 const & value)
63 bool HashMap<T1,T2>::remove( T1 const & index )
70 bool HashMap<T1,T2>::isEmpty()
77 bool HashMap<T1,T2>::clear()
86 bool HashMap<T1,T2>::getIndex( T2 const & value, T1 *index
    [all...]
  /system/core/include/cutils/
hashmap.h 32 typedef struct Hashmap Hashmap;
41 Hashmap* hashmapCreate(size_t initialCapacity,
47 void hashmapFree(Hashmap* map);
62 void* hashmapPut(Hashmap* map, void* key, void* value);
68 void* hashmapGet(Hashmap* map, void* key);
73 bool hashmapContainsKey(Hashmap* map, void* key);
82 void* hashmapMemoize(Hashmap* map, void* key,
89 void* hashmapRemove(Hashmap* map, void* key);
94 size_t hashmapSize(Hashmap* map)
    [all...]
  /external/srec/shared/src/
HashMap.c 2 * HashMap.c *
20 #include "HashMap.h"
25 ESR_ReturnCode HashMapPut(HashMap* self, const LCHAR* key, void* value)
32 ESR_ReturnCode HashMapRemove(HashMap* self, const LCHAR* key)
39 ESR_ReturnCode HashMapRemoveAndFree(HashMap* self, const LCHAR* key)
46 ESR_ReturnCode HashMapRemoveAtIndex(HashMap* self, const size_t index)
53 ESR_ReturnCode HashMapRemoveAll(HashMap* self)
60 ESR_ReturnCode HashMapRemoveAndFreeAll(HashMap* self)
67 ESR_ReturnCode HashMapContainsKey(HashMap* self, const LCHAR* key, ESR_BOOL* exists)
74 ESR_ReturnCode HashMapGetSize(HashMap* self, size_t* size
    [all...]
  /external/webkit/JavaScriptCore/wtf/
HashMap.h 32 class HashMap : public FastAllocBase {
53 void swap(HashMap&);
143 inline void HashMap<T, U, V, W, X>::swap(HashMap& other)
149 inline int HashMap<T, U, V, W, X>::size() const
155 inline int HashMap<T, U, V, W, X>::capacity() const
161 inline bool HashMap<T, U, V, W, X>::isEmpty() const
167 inline typename HashMap<T, U, V, W, X>::iterator HashMap<T, U, V, W, X>::begin()
173 inline typename HashMap<T, U, V, W, X>::iterator HashMap<T, U, V, W, X>::end(
    [all...]
RefPtrHashMap.h 23 // This specialization is a direct copy of HashMap, with overloaded functions
26 // FIXME: Find a better way that doesn't require an entire copy of the HashMap template.
45 class HashMap<RefPtr<T>, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg> : public FastAllocBase {
70 void swap(HashMap&);
120 inline void HashMap<RefPtr<T>, U, V, W, X>::swap(HashMap& other)
126 inline int HashMap<RefPtr<T>, U, V, W, X>::size() const
132 inline int HashMap<RefPtr<T>, U, V, W, X>::capacity() const
138 inline bool HashMap<RefPtr<T>, U, V, W, X>::isEmpty() const
144 inline typename HashMap<RefPtr<T>, U, V, W, X>::iterator HashMap<RefPtr<T>, U, V, W, X>::begin(
    [all...]
  /frameworks/base/tests/CoreTests/android/core/
HashMapTest.java 21 import java.util.HashMap;
26 * Test cases for Hashmap.
34 private void addItems(HashMap map) {
53 HashMap map = new HashMap();
62 HashMap map = new HashMap();
74 HashMap map = new HashMap();
82 * does some manipulation with a filled HashMap and check
    [all...]
HashMapPerformanceTest.java 20 import java.util.HashMap;
28 public HashMap mMap;
35 mMap = new HashMap();
171 HashMap cMap;
173 cMap = (HashMap) mMap.clone();
174 cMap = (HashMap) mMap.clone();
175 cMap = (HashMap) mMap.clone();
176 cMap = (HashMap) mMap.clone();
177 cMap = (HashMap) mMap.clone();
178 cMap = (HashMap) mMap.clone()
    [all...]
  /dalvik/hit/src/com/android/hit/
Heap.java 20 import java.util.HashMap;
26 HashMap<Long, StackFrame> mFrames = new HashMap<Long, StackFrame>();
29 HashMap<Integer, StackTrace> mTraces = new HashMap<Integer, StackTrace>();
35 HashMap<Integer, ThreadObj> mThreads = new HashMap<Integer, ThreadObj>();
38 HashMap<Long, ClassObj> mClassesById = new HashMap<Long, ClassObj>();
39 HashMap<String, ClassObj> mClassesByName = new HashMap<String, ClassObj>()
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/
MockNamedNodeMap.java 24 import java.util.HashMap;
29 private final HashMap<String, HashMap<String, Node>> mNodeMap =
30 new HashMap<String, HashMap<String, Node>>();
43 HashMap<String, Node> map = mNodeMap.get(namespace);
45 map = new HashMap<String, Node>();
63 HashMap<String, Node> map = mNodeMap.get(""); // no namespace
76 HashMap<String, Node> map = mNodeMap.get(namespaceURI);
  /external/nist-sip/java/gov/nist/javax/sip/header/
SIPHeaderNamesCache.java 3 import java.util.HashMap;
12 private static final HashMap lowercaseMap = new HashMap();
  /external/v8/src/
hashmap.cc 30 #include "hashmap.h"
35 Allocator HashMap::DefaultAllocator;
38 HashMap::HashMap() {
44 HashMap::HashMap(MatchFun match,
53 HashMap::~HashMap() {
60 HashMap::Entry* HashMap::Lookup(void* key, uint32_t hash, bool insert)
    [all...]
  /frameworks/base/services/java/com/android/server/
ProcessMap.java 21 import java.util.HashMap;
24 final HashMap<String, SparseArray<E>> mMap
25 = new HashMap<String, SparseArray<E>>();
53 public HashMap<String, SparseArray<E>> getMap() {
  /external/webkit/WebCore/css/
CSSFontSelector.h 31 #include <wtf/HashMap.h>
70 HashMap<String, Vector<RefPtr<CSSFontFace> >*, CaseFoldingHash> m_fontFaces;
71 HashMap<String, Vector<RefPtr<CSSFontFace> >*, CaseFoldingHash> m_locallyInstalledFontFaces;
72 HashMap<String, HashMap<unsigned, RefPtr<CSSSegmentedFontFace> >*, CaseFoldingHash> m_fonts;
  /system/core/libcutils/
hashmap.c 17 #include <cutils/hashmap.h>
34 struct Hashmap {
43 Hashmap* hashmapCreate(size_t initialCapacity,
48 Hashmap* map = malloc(sizeof(Hashmap));
80 static inline int hashKey(Hashmap* map, void* key) {
93 size_t hashmapSize(Hashmap* map) {
101 static void expandIfNecessary(Hashmap* map) {
132 void hashmapLock(Hashmap* map) {
136 void hashmapUnlock(Hashmap* map)
    [all...]
  /external/webkit/WebCore/platform/graphics/openvg/
EGLDisplayOpenVG.h 24 #include <wtf/HashMap.h>
80 HashMap<EGLSurface, SurfaceOpenVG*> m_platformSurfaces;
81 HashMap<EGLNativeWindowType, EGLSurface> m_windowSurfaces;
82 HashMap<EGLSurface, EGLint> m_surfaceConfigIds;
83 HashMap<EGLint, EGLint> m_compatibleConfigIds;
84 HashMap<EGLint, EGLContext> m_contexts;

Completed in 407 milliseconds

1 2 3 4 5 6 7 8 91011>>