Home
last modified time | relevance | path

Searched refs:random_seed (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/msm8998/json-c/
DMakefile.am27 random_seed.h
46 random_seed.c
Dlinkhash.c402 static volatile int random_seed = -1; in lh_char_hash() local
404 if (random_seed == -1) { in lh_char_hash()
409 __sync_val_compare_and_swap(&random_seed, -1, seed); in lh_char_hash()
411 InterlockedCompareExchange(&random_seed, seed, -1); in lh_char_hash()
414 random_seed = seed; /* potentially racy */ in lh_char_hash()
418 return hashlittle((const char*)k, strlen((const char*)k), random_seed); in lh_char_hash()
DAndroid.mk34 random_seed.c