/external/mesa3d/src/gallium/auxiliary/util/ |
u_keymap.c | 67 default_delete_func(const struct keymap *map, 103 * Create a new map. 113 struct keymap *map = MALLOC_STRUCT(keymap); local 114 if (!map) 117 map->cso = cso_hash_create(); 118 if (!map->cso) { 119 FREE(map); 123 map->max_entries = maxEntries; 124 map->num_entries = 0; 125 map->key_size = keySize [all...] |
/external/chromium/chrome/browser/prefs/ |
pref_value_map_unittest.cc | 13 PrefValueMap map; local 15 EXPECT_FALSE(map.GetValue("key", &result)); 18 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("test"))); 19 EXPECT_FALSE(map.SetValue("key", Value::CreateStringValue("test"))); 20 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("hi mom!"))); 22 EXPECT_TRUE(map.GetValue("key", &result)); 27 PrefValueMap map; local 28 EXPECT_FALSE(map.RemoveValue("key")); 30 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("test"))); 31 EXPECT_TRUE(map.GetValue("key", NULL)) 40 PrefValueMap map; local [all...] |
/external/chromium_org/base/ |
id_map_unittest.cc | 24 IDMap<TestObject> map; local 25 EXPECT_TRUE(map.IsEmpty()); 26 EXPECT_EQ(0U, map.size()); 31 int32 id1 = map.Add(&obj1); 32 EXPECT_FALSE(map.IsEmpty()); 33 EXPECT_EQ(1U, map.size()); 34 EXPECT_EQ(&obj1, map.Lookup(id1)); 36 int32 id2 = map.Add(&obj2); 37 EXPECT_FALSE(map.IsEmpty()); 38 EXPECT_EQ(2U, map.size()) 60 IDMap<TestObject> map; local 93 IDMap<TestObject> map; local 135 IDMap<TestObject> map; local 163 IDMap<TestObject> map; local 193 IDMap<TestObject> map; local [all...] |
/dalvik/libdex/ |
DexDataMap.h | 18 * Verification-time map of data section items 27 u4 count; /* number of items currently in the map */ 41 void dexDataMapFree(DexDataMap* map); 44 * Add a new element to the map. The offset must be greater than the 47 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type); 53 int dexDataMapGet(DexDataMap* map, u4 offset); 56 * Verify that there is an entry in the map, mapping the given offset to 60 bool dexDataMapVerify(DexDataMap* map, u4 offset, u2 type); 65 DEX_INLINE bool dexDataMapVerify0Ok(DexDataMap* map, u4 offset, u2 type) { 70 return dexDataMapVerify(map, offset, type) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
DictionaryExtensions.cs | 45 public static bool containsKey(IDictionary map, object key) { 46 return map.Contains(key); 50 public static object get(IDictionary map, object key) { 51 return map[key]; 55 public static TValue get<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key) { 57 if (map.TryGetValue(key, out value)) 67 public static TValue get<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key) { 69 if (map.TryGetValue(key, out value)) 78 public static TValue get<TKey, TValue>(SortedList<TKey, TValue> map, TKey key) { 80 if (map.TryGetValue(key, out value) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
DictionaryExtensions.cs | 44 public static bool containsKey( this IDictionary map, object key ) 46 return map.Contains( key ); 50 public static object get( this IDictionary map, object key ) 52 return map[key]; 55 public static TValue get<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key ) 58 if ( map.TryGetValue( key, out value ) ) 68 public static TValue get<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key ) 71 if ( map.TryGetValue( key, out value ) ) 80 public static TValue get<TKey, TValue>( this SortedList<TKey, TValue> map, TKey key ) 83 if ( map.TryGetValue( key, out value ) [all...] |
/external/oprofile/daemon/liblegacy/ |
opd_mapping.h | 62 * @param proc process to add map to 84 * @param map map to check 88 * of the map @map, %0 otherwise. 90 inline static int opd_is_in_map(struct opd_map * map, unsigned long eip) 92 return (eip >= map->start && eip < map->end); 97 * opd_map_offset - return offset of sample against map 98 * @param map map to us [all...] |
/external/qemu/memcheck/ |
memcheck_malloc_map.h | 15 * tree (a map) of memory blocks allocated by the guest system. The map is 16 * organized in such a way, that each entry in the map describes a virtual 19 * malloc's caller. Map considers two blocks to be equal if their address ranges 34 /* Allocation descriptors map. */ 36 /* Head of the map. */ 41 // Map API 44 /* Initializes allocation descriptors map. 46 * map - Allocation descriptors map to initialize [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
IdentityHashMapTest.java | 25 import java.util.Map; 28 import java.util.Map.Entry; 43 IdentityHashMap map = new IdentityHashMap(); local 47 result = map.put(null, null); 48 assertTrue("testA can not find null key", map.containsKey(null)); 49 assertTrue("testA can not find null value", map.containsValue(null)); 51 map.get(null)); 56 result = map.put(null, value); 57 assertTrue("testB can not find null key", map.containsKey(null)); 58 assertTrue("testB can not find a value with null key", map 97 IdentityHashMap<Object, Object> map = new IdentityHashMap<Object, Object>(); local 115 IdentityHashMap map = new IdentityHashMap(); local 156 IdentityHashMap map = new IdentityHashMap(); local 190 IdentityHashMap map = new IdentityHashMap(); local 209 IdentityHashMap map = new IdentityHashMap(); local 228 IdentityHashMap map = new IdentityHashMap(); local 278 IdentityHashMap map = new IdentityHashMap(); local 296 IdentityHashMap map = new IdentityHashMap(); local 322 IdentityHashMap map = new IdentityHashMap(); local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
H2MapTest.java | 17 H2Map map; field in class:H2MapTest 21 map = new H2Map(); 26 assertThat(map.getDriverClassName(), equalTo("org.h2.Driver")); 31 assertThat(map.getConnectionString(), equalTo("jdbc:h2:mem:")); 36 assertThat(map.getScrubSQL("autoincrement"), equalTo("auto_increment")); 41 assertThat(map.getScrubSQL("integer"), equalTo("bigint(19)")); 46 map.getScrubSQL("INTEGER PRIMARY KEY AUTOINCREMENT"); 51 map.getScrubSQL("INT PRIMARY KEY AUTOINCREMENT"); 56 map.getScrubSQL("CHAR PRIMARY KEY AUTOINCREMENT"); 61 assertThat(map.getSelectLastInsertIdentity(), equalTo("SELECT IDENTITY();")) [all...] |
/external/chromium_org/chrome/browser/ |
internal_auth_unittest.cc | 36 std::map<std::string, std::string> map; local 37 map["key"] = "value"; 39 "zapata", map); 42 map["key2"] = "value2"; 43 token = InternalAuthGeneration::GeneratePassport("zapata", map); 48 std::map<std::string, std::string> map; local 49 map["key"] = "value"; 51 "zapata", map); 62 std::map<std::string, std::string> map; local 99 std::map<std::string, std::string> map; local 112 std::map<std::string, std::string> map; local 139 std::map<std::string, std::string> map; local 171 std::map<std::string, std::string> map; local [all...] |
/art/runtime/ |
mem_map_test.cc | 27 UniquePtr<MemMap> map(MemMap::MapAnonymous("MapAnonymousEmpty", 31 ASSERT_TRUE(map.get() != NULL);
|
/external/apache-http/src/org/apache/http/protocol/ |
BasicHttpContext.java | 35 import java.util.Map; 49 private Map map = null; field in class:BasicHttpContext 65 if (this.map != null) { 66 obj = this.map.get(id); 78 if (this.map == null) { 79 this.map = new HashMap(); 81 this.map.put(id, obj); 88 if (this.map != null) { 89 return this.map.remove(id) [all...] |
/external/chromium/net/proxy/ |
proxy_retry_info.h | 9 #include <map> 25 // Map of proxy servers with the associated RetryInfo structures. 27 typedef std::map<std::string, ProxyRetryInfo> ProxyRetryInfoMap;
|
/external/chromium/net/tools/fetch/ |
http_server_request_info.h | 9 #include <map> 15 // This is geared toward servers in that it keeps a map of the headers and 23 // A map of the names -> values for HTTP headers. 24 std::map<std::string, std::string> headers;
|
/external/chromium_org/chrome/browser/install_verification/win/ |
module_ids.h | 8 #include <map> 13 typedef std::map<std::string, size_t> ModuleIDs; 20 // The result is a map of module name digests to module IDs.
|
/external/chromium_org/chrome/browser/ui/app_list/search/ |
history_types.h | 8 #include <map> 23 typedef std::map<std::string, KnownResultType> KnownResults;
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/mappy/ |
popup.css | 12 #map {
|
/external/chromium_org/chrome/test/ui/ |
javascript_test_util.h | 9 #include <map> 15 // fills in a map with the results. No attempt is made to clear the map. 18 std::map<std::string, std::string>* results);
|
/external/chromium_org/net/proxy/ |
proxy_retry_info.h | 8 #include <map> 24 // Map of proxy servers with the associated RetryInfo structures. 26 typedef std::map<std::string, ProxyRetryInfo> ProxyRetryInfoMap;
|
/external/chromium_org/net/tools/fetch/ |
http_server_request_info.h | 8 #include <map> 14 // This is geared toward servers in that it keeps a map of the headers and 22 // A map of the names -> values for HTTP headers. 23 std::map<std::string, std::string> headers;
|
/external/chromium_org/sync/internal_api/public/base/ |
progress_marker_map.h | 10 #include <map> 28 typedef std::map<ModelType, std::string> ProgressMarkerMap;
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldLinkedHashMapTest.java | 29 LinkedHashMap map = new LinkedHashMap<String, String>(10, 0.75f, true); local 31 map.put("key1", "value1"); 32 map.put("key2", "value2"); 33 map.put("key3", "value3"); 35 Iterator iterator = map.keySet().iterator(); 37 map.get(id); 49 LinkedHashMap mapClone = (LinkedHashMap) map.clone(); 51 iterator = map.keySet().iterator();
|
/system/core/include/log/ |
event_tag_map.h | 30 * Open the specified file as an event log tag map. 37 * Close the map. 39 void android_closeEventTagMap(EventTagMap* map); 44 const char* android_lookupEventTag(const EventTagMap* map, int tag);
|
/bionic/libc/kernel/arch-x86/asm/ |
mpspec_32.h | 32 #define physid_set(physid, map) set_bit(physid, (map).mask) 34 #define physid_clear(physid, map) clear_bit(physid, (map).mask) 35 #define physid_isset(physid, map) test_bit(physid, (map).mask) 36 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask) 40 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS [all...] |