Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 25 of 54) sorted by relevance

123

/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawDevice.h59 std::hash<unsigned int> hash; in operator() local
60 return hash(v.first) ^ hash(v.second); in operator()
DDummyDynamicAccelDaemon.cpp112 size_t hash = std::hash<std::string>()(mSensorName); in getUuid() local
114 memcpy(uuid, &hash, sizeof(hash)); in getUuid()
/hardware/interfaces/tests/hash/1.0/default/
DAndroid.bp2 name: "android.hardware.tests.hash@1.0-impl",
17 static_libs: ["android.hardware.tests.hash@1.0"],
DHash.h11 namespace hash {
15 using ::android::hardware::tests::hash::V1_0::IHash;
DHash.cpp6 namespace hash { namespace
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
DStreamConfigurationMap.h45 std::hash<android_pixel_format_t>{}(std::get<0>(entry)); in operator()
47 hashValue * result + std::hash<uint32_t>{}(std::get<1>(entry).first); in operator()
49 hashValue * result + std::hash<uint32_t>{}(std::get<1>(entry).second); in operator()
/hardware/interfaces/tests/hash/1.0/
DIHash.hal17 package android.hardware.tests.hash@1.0;
21 * This file is FREEZED to ensure its hash doesn't change.
DAndroid.bp4 name: "android.hardware.tests.hash@1.0",
/hardware/nxp/secure_element/ls_client/src/
DLsClient.cpp65 static int compareLSHash(uint8_t* hash, uint8_t length);
69 static int compareLSHash(uint8_t* hash, uint8_t length) { in compareLSHash() argument
96 if (0 == memcmp(hash, hashList[i], length)) { in compareLSHash()
302 uint8_t hash[20] = {0}; in performLSDownload_thread() local
305 hash[i / 2] = in performLSDownload_thread()
393 status = LSC_Start(sourcePath.c_str(), outPath.c_str(), (uint8_t*)hash, in performLSDownload_thread()
394 (uint16_t)sizeof(hash), resSW); in performLSDownload_thread()
/hardware/google/camera/common/hal/utils/
Dvendor_tag_utils.h96 std::hash<TagString::first_type> h1; in operator()
97 std::hash<TagString::second_type> h2; in operator()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVmsUtils.h56 return std::hash<int>()(layer.type) ^ std::hash<int>()(layer.type) ^ in operator()
57 std::hash<int>()(layer.type); in operator()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DValidateRequest.cpp53 char hash = 0; in validate() local
55 hash ^= c; in validate()
57 MeasureTiming measure = (hash & 1) ? MeasureTiming::YES : MeasureTiming::NO; in validate()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DValidateRequest.cpp57 char hash = 0; in validate() local
59 hash ^= c; in validate()
61 MeasureTiming measure = (hash & 1) ? MeasureTiming::YES : MeasureTiming::NO; in validate()
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api-rpc/gen-1240/
Dloc_api.xdr91 rpc_uint32 proghash; /* Unique hash value for the API XDR definition */
92 rpc_uint32 cbproghash; /* Unique hash value for the Callbacks' XDR definition */
/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api-rpc/gen-1240/
Dloc_api.xdr91 rpc_uint32 proghash; /* Unique hash value for the API XDR definition */
92 rpc_uint32 cbproghash; /* Unique hash value for the Callbacks' XDR definition */
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc/gen-1240/
Dloc_api.xdr91 rpc_uint32 proghash; /* Unique hash value for the API XDR definition */
92 rpc_uint32 cbproghash; /* Unique hash value for the Callbacks' XDR definition */
/hardware/qcom/sdm845/gps/loc_api/libloc_api-rpc/gen-1240/
Dloc_api.xdr91 rpc_uint32 proghash; /* Unique hash value for the API XDR definition */
92 rpc_uint32 cbproghash; /* Unique hash value for the Callbacks' XDR definition */
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-1240/
Dloc_api.xdr91 rpc_uint32 proghash; /* Unique hash value for the API XDR definition */
92 rpc_uint32 cbproghash; /* Unique hash value for the Callbacks' XDR definition */
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc/gen-1240/
Dloc_api.xdr91 rpc_uint32 proghash; /* Unique hash value for the API XDR definition */
92 rpc_uint32 cbproghash; /* Unique hash value for the Callbacks' XDR definition */
/hardware/nxp/secure_element/ls_client/inc/
DLsLib.h498 LSCSTATUS LSC_ReadLsHash(uint8_t* hash, uint16_t* readHashLen, uint8_t slotId);
509 LSCSTATUS LSC_UpdateLsHash(uint8_t* hash, long hashLen, uint8_t slotId);
/hardware/google/camera/common/hal/common/
Dhal_types.h314 return std::hash<T1>{}(p.first) ^ std::hash<T2>{}(p.second); in operator()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/src/
Dipa_nat_drvi.c306 uint16_t hash = ((uint16_t)(trgt_ip)) ^ ((uint16_t)(trgt_ip >> 16)) ^ in dst_hash() local
310 hash ^= ((uint16_t)(public_ip)) ^ in dst_hash()
318 hash = (hash & size); in dst_hash()
322 if (0 == hash) { in dst_hash()
326 IPADBG("dst_hash returning value: %d\n", hash); in dst_hash()
327 return hash; in dst_hash()
350 uint16_t hash = ((uint16_t)(priv_ip)) ^ ((uint16_t)(priv_ip >> 16)) ^ in src_hash() local
359 hash = (hash & size); in src_hash()
363 if (0 == hash) { in src_hash()
367 IPADBG("src_hash returning value: %d\n", hash); in src_hash()
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipanat/src/
Dipa_nat_drvi.c307 uint16_t hash = ((uint16_t)(trgt_ip)) ^ ((uint16_t)(trgt_ip >> 16)) ^ in dst_hash() local
311 hash ^= ((uint16_t)(public_ip)) ^ in dst_hash()
319 hash = (hash & size); in dst_hash()
323 if (0 == hash) { in dst_hash()
327 IPADBG("dst_hash returning value: %d\n", hash); in dst_hash()
328 return hash; in dst_hash()
351 uint16_t hash = ((uint16_t)(priv_ip)) ^ ((uint16_t)(priv_ip >> 16)) ^ in src_hash() local
360 hash = (hash & size); in src_hash()
364 if (0 == hash) { in src_hash()
368 IPADBG("src_hash returning value: %d\n", hash); in src_hash()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/src/
Dipa_nat_drvi.c268 uint16_t hash = ((uint16_t)(trgt_ip)) ^ ((uint16_t)(trgt_ip >> 16)) ^ in dst_hash() local
275 hash = (hash & size); in dst_hash()
279 if (0 == hash) { in dst_hash()
283 IPADBG("dst_hash returning value: %d\n", hash); in dst_hash()
284 return hash; in dst_hash()
307 uint16_t hash = ((uint16_t)(priv_ip)) ^ ((uint16_t)(priv_ip >> 16)) ^ in src_hash() local
316 hash = (hash & size); in src_hash()
320 if (0 == hash) { in src_hash()
324 IPADBG("src_hash returning value: %d\n", hash); in src_hash()
325 return hash; in src_hash()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dml_math_func.c544 uint32_t hash = 5381; in inv_checksum() local
549 hash = ((hash << 5) + hash) + c; /* hash * 33 + c */ in inv_checksum()
552 return hash; in inv_checksum()

123