Home
last modified time | relevance | path

Searched defs:value_hash_traits (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dhash-set-tests.c181 struct value_hash_traits: int_hash<int, -1, -2> struct
183 typedef int_hash<int, -1, -2> base_type;
184 typedef val_t value_type;
185 typedef value_type compare_type;
187 static hashval_t hash (const value_type &v) in hash()
192 static bool equal (const value_type &a, const compare_type &b) in equal()
197 static void mark_deleted (value_type &v) in mark_deleted()
202 static const bool empty_zero_p = false;
204 static void mark_empty (value_type &v) in mark_empty()
228 typedef hash_set <val_t, false, value_hash_traits> Set; in test_set_of_type_with_ctor_and_dtor() argument
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dhash-set-tests.cc181 struct value_hash_traits: int_hash<int, -1, -2> struct
183 typedef int_hash<int, -1, -2> base_type;
184 typedef val_t value_type;
185 typedef value_type compare_type;
187 static hashval_t hash (const value_type &v) in hash()
192 static bool equal (const value_type &a, const compare_type &b) in equal()
197 static void mark_deleted (value_type &v) in mark_deleted()
202 static const bool empty_zero_p = false;
204 static void mark_empty (value_type &v) in mark_empty()
209 static bool is_deleted (const value_type &v) in is_deleted()
[all …]