Home
last modified time | relevance | path

Searched refs:hashmap (Results 1 – 18 of 18) sorted by relevance

/external/e2fsprogs/contrib/android/
Dhashmap.h7 struct hashmap { struct
22 struct hashmap *hashmap_create(uint32_t(*hash_fct)(const void*), argument
24 void hashmap_add(struct hashmap *h, void *data, const void *key);
25 void *hashmap_lookup(struct hashmap *h, const void *key);
26 void *hashmap_iter_in_order(struct hashmap *h, struct hashmap_entry **it);
27 void hashmap_del(struct hashmap *h, struct hashmap_entry *e);
28 void hashmap_free(struct hashmap *h);
Dhashmap.c15 struct hashmap *hashmap_create(uint32_t(*hash_fct)(const void*), in hashmap_create()
18 struct hashmap *h = calloc(sizeof(struct hashmap) + in hashmap_create()
27 void hashmap_add(struct hashmap *h, void *data, const void *key) in hashmap_add()
46 void *hashmap_lookup(struct hashmap *h, const void *key) in hashmap_lookup()
57 void *hashmap_iter_in_order(struct hashmap *h, struct hashmap_entry **it) in hashmap_iter_in_order()
63 void hashmap_free(struct hashmap *h) in hashmap_free()
Dbasefs_allocator.c9 struct hashmap *entries;
41 struct hashmap *entries = basefs_parse(file, mountpoint); in base_fs_alloc_load()
Dbase_fs.h16 struct hashmap *basefs_parse(const char *file, const char *mountpoint);
Dbase_fs.c102 struct hashmap *basefs_parse(const char *file, const char *mountpoint) in basefs_parse()
105 struct hashmap *entries = NULL; in basefs_parse()
DAndroid.bp18 "hashmap.c",
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingMapTest.java352 Map<String, String> hashmap = Maps.newHashMap();
353 hashmap.put("foo", "bar");
354 hashmap.put(null, "baz");
362 assertEquals(hashmap.toString(), forwardingMap.toString());
366 Map<String, String> hashmap = Maps.newHashMap();
367 hashmap.put("foo", "bar");
368 hashmap.put("baz", null);
376 assertEquals(hashmap.toString(), forwardingMap.toString());
DMapsTest.java327 Map<String, String> hashmap = Maps.newHashMap(); in testToStringImplWithNullKeys() local
328 hashmap.put("foo", "bar"); in testToStringImplWithNullKeys()
329 hashmap.put(null, "baz"); in testToStringImplWithNullKeys()
331 assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap)); in testToStringImplWithNullKeys()
335 Map<String, String> hashmap = Maps.newHashMap(); in testToStringImplWithNullValues() local
336 hashmap.put("foo", "bar"); in testToStringImplWithNullValues()
337 hashmap.put("baz", null); in testToStringImplWithNullValues()
339 assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap)); in testToStringImplWithNullValues()
/external/protobuf/ruby/ext/google/protobuf_c/
Dmap.c705 VALUE Map_merge(VALUE _self, VALUE hashmap) { in Map_merge() argument
707 return Map_merge_into_self(dupped, hashmap); in Map_merge()
716 VALUE Map_merge_into_self(VALUE _self, VALUE hashmap) { in Map_merge_into_self() argument
717 if (TYPE(hashmap) == T_HASH) { in Map_merge_into_self()
718 rb_hash_foreach(hashmap, merge_into_self_callback, _self); in Map_merge_into_self()
719 } else if (RB_TYPE_P(hashmap, T_DATA) && RTYPEDDATA_P(hashmap) && in Map_merge_into_self()
720 RTYPEDDATA_TYPE(hashmap) == &Map_type) { in Map_merge_into_self()
723 Map* other = ruby_to_Map(hashmap); in Map_merge_into_self()
Dprotobuf.h425 VALUE Map_merge(VALUE _self, VALUE hashmap);
426 VALUE Map_merge_into_self(VALUE _self, VALUE hashmap);
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMap.java378 protected RubyMap mergeIntoSelf(final ThreadContext context, IRubyObject hashmap) { in mergeIntoSelf() argument
379 if (hashmap instanceof RubyHash) { in mergeIntoSelf()
380 ((RubyHash) hashmap).visitAll(new RubyHash.Visitor() { in mergeIntoSelf()
386 } else if (hashmap instanceof RubyMap) { in mergeIntoSelf()
387 RubyMap other = (RubyMap) hashmap; in mergeIntoSelf()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMapsTest.java266 Map<String, String> hashmap = Maps.newHashMap(); in testToStringImplWithNullKeys() local
267 hashmap.put("foo", "bar"); in testToStringImplWithNullKeys()
268 hashmap.put(null, "baz"); in testToStringImplWithNullKeys()
270 assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap)); in testToStringImplWithNullKeys()
274 Map<String, String> hashmap = Maps.newHashMap(); in testToStringImplWithNullValues() local
275 hashmap.put("foo", "bar"); in testToStringImplWithNullValues()
276 hashmap.put("baz", null); in testToStringImplWithNullValues()
278 assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap)); in testToStringImplWithNullValues()
/external/kmod/
DNEWS172 - Add tests for hashmap implementation
/external/v8/src/
Dv8.gyp1815 'base/hashmap.h',
1816 'base/hashmap-entry.h',
/external/v8/
DBUILD.gn2230 "src/base/hashmap-entry.h",
2231 "src/base/hashmap.h",
/external/protobuf/util/
DCHANGES.txt443 native Ruby hashmap.
/external/protobuf/
DCHANGES.txt443 native Ruby hashmap.
/external/owasp/sanitizer/tools/findbugs/lib/
Dbcel.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...