/device/linaro/dragonboard/shared/utils/pd-mapper/ |
D | assoc.c | 41 unsigned long hash = 0; in assoc_hash() local 46 hash = (hash << 4) + *(v++); in assoc_hash() 47 g = hash & 0xF0000000L; in assoc_hash() 49 hash ^= g >> 24; in assoc_hash() 50 hash &= ~g; in assoc_hash() 53 return hash; in assoc_hash() 68 unsigned long hash; in assoc_get() local 70 hash = assoc_hash(key) % assoc->size; in assoc_get() 71 while (assoc->keys[hash]) { in assoc_get() 72 if (!strcmp(assoc->keys[hash], key)) in assoc_get() [all …]
|
/device/generic/goldfish-opengl/system/hwc3/ |
D | DisplayConfig.cpp | 25 inline void hashCombine(size_t& hash, const T& value) { in hashCombine() argument 26 std::hash<T> hasher; in hashCombine() 27 hash ^= hasher(value) + 0x9e3779b9 + (hash << 6) + (hash >> 2); in hashCombine() 98 size_t hash = 0; in addConfigGroups() local 99 hashCombine(hash, config.mWidth); in addConfigGroups() 100 hashCombine(hash, config.mHeight); in addConfigGroups() 101 hashCombine(hash, config.mDpiX); in addConfigGroups() 102 hashCombine(hash, config.mDpiY); in addConfigGroups() 103 return hash; in addConfigGroups()
|
/device/google/contexthub/lib/nanohub/ |
D | nanoapp.c | 101 static void doPrintHash(FILE *out, const char *pfx, const uint32_t *hash, size_t size, int incremen… in doPrintHash() argument 107 fprintf(out, "%08" PRIx32, hash[pos]); in doPrintHash() 111 void printHash(FILE *out, const char *pfx, const uint32_t *hash, size_t size) in printHash() argument 113 doPrintHash(out, pfx, hash, size, 1); in printHash() 116 void printHashRev(FILE *out, const char *pfx, const uint32_t *hash, size_t size) in printHashRev() argument 118 doPrintHash(out, pfx, hash + size - 1, size, -1); in printHashRev()
|
/device/google/cuttlefish/host/libs/msg_queue/ |
D | msg_queue.cc | 43 uint64_t hash = HASH_MULTIPLIER; in GenerateQueueKey() local 47 hash = ((hash << 5) + hash) + c; in GenerateQueueKey() 50 return static_cast<key_t>(hash); in GenerateQueueKey()
|
/device/google/contexthub/util/nanoapp_sign/ |
D | nanoapp_sign.c | 287 uint32_t *hash; in handleVerify() local 292 hash = (uint32_t*)sha2finish(&shaState); in handleVerify() 293 printHash(stderr, "File hash", hash, SHA2_HASH_WORDS); in handleVerify() 296 if (!validateSignature(sigPack, rsa, verbose, hash, false)) { in handleVerify() 321 const uint32_t *hash; in handleSign() local 365 hash = sha2finish(&shaState); in handleSign() 367 printHash(stderr, "SHA2 hash", hash, SHA2_HASH_WORDS); in handleSign() 369 memcpy(rsa->num, hash, SHA2_HASH_SIZE); in handleSign()
|
/device/generic/car/emulator/audio/driver/ |
D | ext_pcm.c | 54 uint32_t hash = 5381; in str_hash_fn() local 57 hash = ((hash << 5) + hash) + *p; in str_hash_fn() 59 return (int)hash; in str_hash_fn()
|
D | audio_hw.c | 1630 uint32_t hash = 5381; in str_hash_fn() local 1633 hash = ((hash << 5) + hash) + *p; in str_hash_fn() 1635 return (int)hash; in str_hash_fn()
|
/device/google/contexthub/util/nanoapp_encr/ |
D | nanoapp_encr.c | 140 const uint32_t *hash = sha2finish(&shaState); in handleEncrypt() local 142 printHash(stderr, "HASH", hash, SHA2_HASH_WORDS); in handleEncrypt() 145 aesCbcEncr(&ctx, hash, outBuf); in handleEncrypt() 147 aesCbcEncr(&ctx, hash + AES_BLOCK_WORDS, outBuf); in handleEncrypt()
|
/device/google/contexthub/lib/include/nanohub/ |
D | nanoapp.h | 31 void printHash(FILE *out, const char *pfx, const uint32_t *hash, size_t size); 32 void printHashRev(FILE *out, const char *pfx, const uint32_t *hash, size_t size);
|
/device/google/contexthub/firmware/os/platform/stm32/lkr/ |
D | app.lkr | 137 .hash : { 138 *(.hash); *(.hash.*);
|
/device/google/cuttlefish_vmm/qemu/scripts/ |
D | genrepo.py | 148 hash: str 231 revision=module.hash,
|
/device/google/tangorpro/cast_auth/mediadrm/ |
D | DrmPlugin.cpp | 48 std::vector<uint8_t> adjustHash(const std::vector<uint8_t>& hash) { in adjustHash() argument 49 std::vector<uint8_t> adjusted_hash(hash); in adjustHash() 52 if (hash.size() == prefix.hash_size) { in adjustHash()
|
/device/google/trout/hal/vehicle/2.0/ |
D | DefaultVehicleHalServer.cpp | 157 int32_t cookie = std::hash<std::string>()(v.stringValue); in handleGenerateFakeDataRequest() 178 int32_t cookie = std::hash<std::string>()(v.stringValue); in handleGenerateFakeDataRequest()
|
/device/google/cuttlefish_vmm/x86_64-linux-gnu/ |
D | cargo_version.txt | 3 commit-hash: 9c4383fb55986096b414d98125421ab87b5fd642
|
D | Cargo.lock | 279 "rustc-hash", 300 "rustc-hash", 1706 "twox-hash", 2391 name = "rustc-hash" 2742 name = "twox-hash"
|
/device/google/cuttlefish_vmm/aarch64-linux-gnu/ |
D | cargo_version.txt | 3 commit-hash: 9c4383fb55986096b414d98125421ab87b5fd642
|
D | Cargo.lock | 279 "rustc-hash", 300 "rustc-hash", 1706 "twox-hash", 2391 name = "rustc-hash" 2742 name = "twox-hash"
|
/device/google/contexthub/firmware/os/core/ |
D | appSec.c | 436 const uint32_t *hash = BL.blSha2finish(&state->cbcSha); in appSecVerifyEncryptedData() local 437 bool verified = memcmp(hash, state->dataBytes, SHA2_BLOCK_SIZE) == 0; in appSecVerifyEncryptedData()
|
/device/linaro/dragonboard/shared/utils/qrtr/ |
D | Android.bp | 41 "src/hash.c",
|
/device/google/cuttlefish/host/commands/metrics/ |
D | utils.cc | 39 const std::hash<std::string> hasher; in Hashing()
|
/device/google/cuttlefish/common/libs/utils/ |
D | unique_resource_allocator.h | 92 return std::hash<const T*>()(std::addressof(resource_wrapper.Get())); in operator()
|
/device/google/coral/json-c/ |
D | ChangeLog | 9 * CVE-2013-6371: hash collision denial of service
|
/device/google/redbull/json-c/ |
D | ChangeLog | 9 * CVE-2013-6371: hash collision denial of service
|
/device/google/sunfish/json-c/ |
D | ChangeLog | 9 * CVE-2013-6371: hash collision denial of service
|
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/ |
D | trace-events-all | 2790 open_eth_receive_mcast(unsigned idx, uint32_t h0, uint32_t h1) "MCAST: idx = %u, hash: %08x:%08x" 2841 net_rx_pkt_rss_ip4(void) "Calculating IPv4 RSS hash" 2842 net_rx_pkt_rss_ip4_tcp(void) "Calculating IPv4/TCP RSS hash" 2843 net_rx_pkt_rss_ip4_udp(void) "Calculating IPv4/UDP RSS hash" 2844 net_rx_pkt_rss_ip6_tcp(void) "Calculating IPv6/TCP RSS hash" 2845 net_rx_pkt_rss_ip6_udp(void) "Calculating IPv6/UDP RSS hash" 2846 net_rx_pkt_rss_ip6(void) "Calculating IPv6 RSS hash" 2847 net_rx_pkt_rss_ip6_ex(void) "Calculating IPv6/EX RSS hash" 2848 net_rx_pkt_rss_ip6_ex_tcp(void) "Calculating IPv6/EX/TCP RSS hash" 2849 net_rx_pkt_rss_ip6_ex_udp(void) "Calculating IPv6/EX/UDP RSS hash" [all …]
|