Blender V5.3
BLI_ghash_utils.cc File Reference
#include <cstring>
#include "MEM_guardedalloc.h"
#include "BLI_ghash.hh"
#include "BLI_hash_mm2a.hh"
#include "BLI_utildefines.hh"
#include "BLI_strict_flags.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

GHash/GSet Utils

Defined in BLI_ghash_utils.cc

unsigned int blender::BLI_ghashutil_ptrhash (const void *key)
bool blender::BLI_ghashutil_ptrcmp (const void *a, const void *b)
unsigned int blender::BLI_ghashutil_uinthash_v4 (const unsigned int key[4])
unsigned int blender::BLI_ghashutil_uinthash_v4_murmur (const unsigned int key[4])
bool blender::BLI_ghashutil_uinthash_v4_cmp (const void *a, const void *b)
unsigned int blender::BLI_ghashutil_uinthash (unsigned int key)
unsigned int blender::BLI_ghashutil_inthash_p (const void *ptr)
unsigned int blender::BLI_ghashutil_inthash_p_murmur (const void *ptr)
unsigned int blender::BLI_ghashutil_inthash_p_simple (const void *ptr)
bool blender::BLI_ghashutil_intcmp (const void *a, const void *b)
size_t blender::BLI_ghashutil_combine_hash (size_t hash_a, size_t hash_b)
unsigned int blender::BLI_ghashutil_strhash_n (const char *key, size_t n)
unsigned int blender::BLI_ghashutil_strhash_p (const void *ptr)
unsigned int blender::BLI_ghashutil_strhash_p_murmur (const void *ptr)
bool blender::BLI_ghashutil_strcmp (const void *a, const void *b)
GHashPair * blender::BLI_ghashutil_pairalloc (const void *first, const void *second)
unsigned int blender::BLI_ghashutil_pairhash (const void *ptr)
bool blender::BLI_ghashutil_paircmp (const void *a, const void *b)
void blender::BLI_ghashutil_pairfree (void *ptr)
GHash * blender::BLI_ghash_ptr_new_ex (const char *info, unsigned int nentries_reserve) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
GHash * blender::BLI_ghash_ptr_new (const char *info) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
GHash * blender::BLI_ghash_str_new_ex (const char *info, unsigned int nentries_reserve) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
GHash * blender::BLI_ghash_str_new (const char *info) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
GHash * blender::BLI_ghash_int_new_ex (const char *info, unsigned int nentries_reserve) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
GHash * blender::BLI_ghash_int_new (const char *info) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
GHash * blender::BLI_ghash_pair_new_ex (const char *info, unsigned int nentries_reserve) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
GHash * blender::BLI_ghash_pair_new (const char *info) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
GSet * blender::BLI_gset_ptr_new_ex (const char *info, unsigned int nentries_reserve) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
GSet * blender::BLI_gset_ptr_new (const char *info)
GSet * blender::BLI_gset_str_new_ex (const char *info, unsigned int nentries_reserve) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
GSet * blender::BLI_gset_str_new (const char *info)
GSet * blender::BLI_gset_pair_new_ex (const char *info, unsigned int nentries_reserve) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
GSet * blender::BLI_gset_pair_new (const char *info) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
GSet * blender::BLI_gset_int_new_ex (const char *info, unsigned int nentries_reserve) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
GSet * blender::BLI_gset_int_new (const char *info) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT

Detailed Description

Helper functions and implementations of standard data types for #GHash (not its implementation).

Definition in file BLI_ghash_utils.cc.