Searched defs:tdb_hash (Results 1 - 1 of 1) sorted by relevance

/external/qemu/qobject/
H A Dqdict.c56 * tdb_hash(): based on the hash agorithm from gdbm, via tdb
59 static unsigned int tdb_hash(const char *name) function
137 bucket = tdb_hash(key) % QDICT_BUCKET_MAX;
161 entry = qdict_find(qdict, key, tdb_hash(key) % QDICT_BUCKET_MAX);
172 unsigned int bucket = tdb_hash(key) % QDICT_BUCKET_MAX;
396 unsigned int bucket = tdb_hash(entry->key) % QDICT_BUCKET_MAX;
448 entry = qdict_find(qdict, key, tdb_hash(key) % QDICT_BUCKET_MAX);

Completed in 101 milliseconds