Home
last modified time | relevance | path

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

12

/third_party/libbpf/src/
Dhashmap.c38 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 …]
Dhashmap.h72 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);
Dstrset.c19 struct hashmap *strs_hash;
42 struct hashmap *hash; in strset__new()
Dbtf_dump.c109 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()
DMakefile54 btf_dump.o hashmap.o ringbuf.o strset.o linker.o gen_loader.o \
Dusdt.c886 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/
Dlazy_static.rs15 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/
Dmap.c740 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()
Dprotobuf.h490 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/
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()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-map.hh360 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/
DBUILD.gn72 "./src/hashmap.c",
73 "./src/hashmap.h",
/third_party/libbpf/ci/vmtest/configs/
DALLOWLIST-4.9.04 hashmap
DALLOWLIST-5.5.018 hashmap
/third_party/rust/crates/serde/test_suite/tests/macros/
Dmod.rs43 macro_rules! hashmap { macro
/third_party/pulseaudio/src/
Dmeson.build27 'pulsecore/hashmap.c',
103 'pulsecore/hashmap.h',
D.gitignore52 hashmap-test
/third_party/rust/crates/rustc-hash/
DREADME.md6 A speedy hash algorithm used within rustc. The hashmap in liballoc by
/third_party/pulseaudio/src/tests/
Dmeson.build33 [ 'hashmap-test', 'hashmap-test.c',
/third_party/rust/crates/serde/test_suite/tests/
Dtest_de.rs1196 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()
Dtest_ser.rs296 &hashmap![1 => 2], in test_hashmap()
305 &hashmap![FnvHasher @ 1 => 2], in test_hashmap()
/third_party/jerryscript/docs/
D04.INTERNALS.md291 …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/
DBUILD.gn73 "../../src/pulsecore/hashmap.c",
/third_party/rust/crates/strsim-rs/
DCHANGELOG.md25 - Revert back to the standard library hashmap because it will use hashbrown very
/third_party/pulseaudio/po/
DPOTFILES.in105 src/pulsecore/hashmap.c

12