OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:hsearch
(Results
1 - 4
of
4
) sorted by null
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
hcreate_r.c
32
#include "
hsearch
.h"
37
struct __hsearch *
hsearch
;
local
45
hsearch
= malloc(sizeof(*
hsearch
));
46
if (
hsearch
== NULL)
48
hsearch
->entries = calloc(16, sizeof(ENTRY));
49
if (
hsearch
->entries == NULL) {
50
free(
hsearch
);
58
arc4random_buf(&
hsearch
->offset_basis, sizeof(
hsearch
->offset_basis))
[
all
...]
hdestroy_r.c
32
#include "
hsearch
.h"
37
struct __hsearch *
hsearch
;
local
40
hsearch
= htab->__hsearch;
41
free(
hsearch
->entries);
42
free(
hsearch
);
hcreate.c
60
hsearch
(ENTRY item, ACTION action)
function
hsearch_r.c
36
#include "
hsearch
.h"
44
hsearch_lookup_free(struct __hsearch *
hsearch
, size_t hash)
49
ENTRY *entry = &
hsearch
->entries[index &
hsearch
->index_mask];
78
struct __hsearch *
hsearch
;
local
82
hsearch
= htab->__hsearch;
83
hash = hsearch_hash(
hsearch
->offset_basis, item.key);
90
entry = &
hsearch
->entries[index &
hsearch
->index_mask];
105
if (
hsearch
->entries_used * 2 >= hsearch->index_mask)
[
all
...]
Completed in 66 milliseconds