Home
last modified time | relevance | path

Searched refs:seed (Results 1 – 11 of 11) sorted by relevance

/device/generic/goldfish/network/netmgr/
Dmacaddress.h36 inline void hash_combine(size_t& seed, const T& value) { in hash_combine() argument
38 seed ^= hasher(value) + 0x9e3779b9 + (seed << 6) + (seed >> 2); in hash_combine()
44 size_t seed = 0;
46 hash_combine(seed, *reinterpret_cast<const uint32_t*>(addr.addr));
48 hash_combine(seed, *reinterpret_cast<const uint16_t*>(addr.addr + 4));
49 return seed;
/device/generic/goldfish/network/wifi_forwarder/
Dhash.h22 inline void hash_combine(size_t& seed, const T& value) { in hash_combine() argument
24 seed ^= hasher(value) + 0x9e3779b9 + (seed << 6) + (seed >> 2); in hash_combine()
Dframe_id.h41 size_t seed = 0;
42 hash_combine(seed, id.cookie);
43 hash_combine(seed, id.transmitter);
44 return seed;
Dmacaddress.h56 size_t seed = 0;
58 hash_combine(seed, *reinterpret_cast<const uint32_t*>(addr.addr));
60 hash_combine(seed, *reinterpret_cast<const uint16_t*>(addr.addr + 4));
61 return seed;
/device/generic/goldfish/radio/ril/
Dipv6_monitor.cpp62 static inline void hash_combine(size_t& seed, const T& value) { in hash_combine() argument
64 seed ^= hasher(value) + 0x9e3779b9 + (seed << 6) + (seed >> 2); in hash_combine()
70 size_t seed = 0; in operator ()() local
71 hash_combine(seed, *reinterpret_cast<const uint32_t*>(&ad.s6_addr[0])); in operator ()()
72 hash_combine(seed, *reinterpret_cast<const uint32_t*>(&ad.s6_addr[4])); in operator ()()
73 hash_combine(seed, *reinterpret_cast<const uint32_t*>(&ad.s6_addr[8])); in operator ()()
74 hash_combine(seed, *reinterpret_cast<const uint32_t*>(&ad.s6_addr[12])); in operator ()()
75 return seed; in operator ()()
/device/google/crosshatch/json-c/
Dlinkhash.c405 int seed; in lh_char_hash() local
407 while ((seed = json_c_get_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()
/device/google/bonito/json-c/
Dlinkhash.c405 int seed; in lh_char_hash() local
407 while ((seed = json_c_get_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()
/device/google/coral/json-c/
Dlinkhash.c405 int seed; in lh_char_hash() local
407 while ((seed = json_c_get_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()
/device/google/cuttlefish/guest/hals/keymaster/remote/
Dremote_keymaster4_device.cpp277 params.seed.setToExternal(const_cast<uint8_t*>(response.params.seed.data), in getHmacSharingParameters()
278 response.params.seed.data_length); in getHmacSharingParameters()
291 request.params_array.params_array[i].seed = {params[i].seed.data(), params[i].seed.size()}; in computeSharedHmac()
/device/google/cuttlefish_kernel/5.4-x86_64/
DSystem.map123781 ffffffff82d1b860 d rt6_exception_hash.seed
/device/google/cuttlefish_kernel/5.4-arm64/
DSystem.map224164 ffffffc0118a57f0 d rt6_exception_hash.seed