Home
last modified time | relevance | path

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

/device/google/bonito/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.mk31 random_seed.c
/device/google/crosshatch/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.mk31 random_seed.c
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_randommodule.c207 random_seed(RandomObject *self, PyObject *args) in random_seed() function
506 tmp = random_seed(self, args); in random_new()
518 {"seed", (PyCFunction)random_seed, METH_VARARGS,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_randommodule.c207 random_seed(RandomObject *self, PyObject *args) in random_seed() function
491 tmp = random_seed(self, args); in random_new()
503 {"seed", (PyCFunction)random_seed, METH_VARARGS,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dregrtest.py232 random_seed=None, use_mp=None, verbose3=False, forever=False, argument
269 if random_seed is None:
270 random_seed = random.randrange(10000000)
294 random_seed = int(a)
441 random.seed(random_seed)
442 print "Using random seed", random_seed