/third_party/libbpf/src/ |
D | hashmap.c | 38 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, in hashmap__init() 51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, in hashmap__new() 55 struct hashmap *map = malloc(sizeof(struct hashmap)); in hashmap__new() 63 void hashmap__clear(struct hashmap *map) in hashmap__clear() 76 void hashmap__free(struct hashmap *map) in hashmap__free() 85 size_t hashmap__size(const struct hashmap *map) in hashmap__size() 90 size_t hashmap__capacity(const struct hashmap *map) in hashmap__capacity() 95 static bool hashmap_needs_to_grow(struct hashmap *map) in hashmap_needs_to_grow() 101 static int hashmap_grow(struct hashmap *map) in hashmap_grow() 130 static bool hashmap_find_entry(const struct hashmap *map, in hashmap_find_entry() [all …]
|
D | hashmap.h | 72 struct hashmap { struct 93 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, argument 95 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, 98 void hashmap__clear(struct hashmap *map); 99 void hashmap__free(struct hashmap *map); 101 size_t hashmap__size(const struct hashmap *map); 102 size_t hashmap__capacity(const struct hashmap *map); 139 int hashmap_insert(struct hashmap *map, long key, long value, 160 bool hashmap_delete(struct hashmap *map, long key, long *old_key, long *old_value); 167 bool hashmap_find(const struct hashmap *map, long key, long *value);
|
D | strset.c | 19 struct hashmap *strs_hash; 42 struct hashmap *hash; in strset__new()
|
D | btf_dump.c | 109 struct hashmap *type_names; 114 struct hashmap *ident_names; 223 static void btf_dump_free_names(struct hashmap *map) in btf_dump_free_names() 649 static size_t btf_dump_name_dups(struct btf_dump *d, struct hashmap *name_map, 1632 static size_t btf_dump_name_dups(struct btf_dump *d, struct hashmap *name_map, in btf_dump_name_dups() 1656 struct hashmap *name_map) in btf_dump_resolve_name()
|
D | Makefile | 54 btf_dump.o hashmap.o ringbuf.o strset.o linker.o gen_loader.o \
|
D | usdt.c | 886 static int allocate_spec_id(struct usdt_manager *man, struct hashmap *specs_hash, in allocate_spec_id() 948 struct hashmap *specs_hash = NULL; in usdt_manager_attach_usdt()
|
/third_party/rust/crates/once_cell/examples/ |
D | lazy_static.rs | 15 fn hashmap() -> &'static HashMap<u32, &'static str> { in hashmap() function 34 assert_eq!(hashmap().get(&0), Some(&"foo")); in main() 35 assert_eq!(hashmap().get(&1), Some(&"bar")); in main()
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | map.c | 740 VALUE Map_merge(VALUE _self, VALUE hashmap) { in Map_merge() argument 742 return Map_merge_into_self(dupped, hashmap); in Map_merge() 751 VALUE Map_merge_into_self(VALUE _self, VALUE hashmap) { in Map_merge_into_self() argument 752 if (TYPE(hashmap) == T_HASH) { in Map_merge_into_self() 753 rb_hash_foreach(hashmap, merge_into_self_callback, _self); in Map_merge_into_self() 754 } else if (RB_TYPE_P(hashmap, T_DATA) && RTYPEDDATA_P(hashmap) && in Map_merge_into_self() 755 RTYPEDDATA_TYPE(hashmap) == &Map_type) { in Map_merge_into_self() 758 Map* other = ruby_to_Map(hashmap); in Map_merge_into_self()
|
D | protobuf.h | 490 VALUE Map_merge(VALUE _self, VALUE hashmap); 491 VALUE Map_merge_into_self(VALUE _self, VALUE hashmap);
|
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMap.java | 378 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()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-map.hh | 360 using hashmap = hb_hashmap_t<hb_codepoint_t, typedef 372 hb_map_t (std::initializer_list<hb_pair_t<hb_codepoint_t, hb_codepoint_t>> lst) : hashmap (lst) {} in hb_map_t() 375 hb_map_t (const Iterable &o) : hashmap (o) {} in hb_map_t()
|
/third_party/libbpf/ |
D | BUILD.gn | 72 "./src/hashmap.c", 73 "./src/hashmap.h",
|
/third_party/libbpf/ci/vmtest/configs/ |
D | ALLOWLIST-4.9.0 | 4 hashmap
|
D | ALLOWLIST-5.5.0 | 18 hashmap
|
/third_party/rust/crates/serde/test_suite/tests/macros/ |
D | mod.rs | 43 macro_rules! hashmap { macro
|
/third_party/pulseaudio/src/ |
D | meson.build | 27 'pulsecore/hashmap.c', 103 'pulsecore/hashmap.h',
|
D | .gitignore | 52 hashmap-test
|
/third_party/rust/crates/rustc-hash/ |
D | README.md | 6 A speedy hash algorithm used within rustc. The hashmap in liballoc by
|
/third_party/pulseaudio/src/tests/ |
D | meson.build | 33 [ 'hashmap-test', 'hashmap-test.c',
|
/third_party/rust/crates/serde/test_suite/tests/ |
D | test_de.rs | 1196 hashmap![1 => 2], in test_hashmap() 1205 hashmap![1 => 2, 3 => 4], in test_hashmap() 1216 hashmap![1 => hashmap![], 2 => hashmap![3 => 4, 5 => 6]], in test_hashmap() 1243 hashmap![FnvHasher @ 1 => 2, 3 => 4], in test_hashmap()
|
D | test_ser.rs | 296 &hashmap![1 => 2], in test_hashmap() 305 &hashmap![FnvHasher @ 1 => 2], in test_hashmap()
|
/third_party/jerryscript/docs/ |
D | 04.INTERNALS.md | 291 …limit is defined to 16), a hash map (called [Property Hashmap](#property-hashmap)) is inserted at … 293 Property hashmap contains 2<sup>n</sup> elements, where 2<sup>n</sup> is larger than the number of … 299 This hashmap is a must-return type cache, meaning that every property that the object have, can be … 313 LCache is a hashmap for finding a property specified by an object and by a property name. The objec…
|
/third_party/pulseaudio/ohosbuild/src/ |
D | BUILD.gn | 73 "../../src/pulsecore/hashmap.c",
|
/third_party/rust/crates/strsim-rs/ |
D | CHANGELOG.md | 25 - Revert back to the standard library hashmap because it will use hashbrown very
|
/third_party/pulseaudio/po/ |
D | POTFILES.in | 105 src/pulsecore/hashmap.c
|