Home
last modified time | relevance | path

Searched refs:fingerprint (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/external/webrtc/rtc_base/
Dssl_fingerprint.cc55 const std::string& fingerprint) { in CreateFromRfc4572() argument
56 return CreateUniqueFromRfc4572(algorithm, fingerprint).release(); in CreateFromRfc4572()
61 const std::string& fingerprint) { in CreateUniqueFromRfc4572() argument
65 if (fingerprint.empty()) in CreateUniqueFromRfc4572()
70 value, sizeof(value), fingerprint.c_str(), fingerprint.length(), ':'); in CreateUniqueFromRfc4572()
88 std::unique_ptr<SSLFingerprint> fingerprint = in CreateFromCertificate() local
90 if (!fingerprint) { in CreateFromCertificate()
94 return fingerprint; in CreateFromCertificate()
114 std::string fingerprint = in GetRfc4572Fingerprint() local
116 absl::c_transform(fingerprint, fingerprint.begin(), ::toupper); in GetRfc4572Fingerprint()
[all …]
Dssl_certificate.cc30 std::string&& fingerprint, in SSLCertificateStats() argument
34 : fingerprint(std::move(fingerprint)), in SSLCertificateStats()
61 std::string fingerprint = ssl_fingerprint->GetRfc4572Fingerprint(); in GetStats() local
68 return std::make_unique<SSLCertificateStats>(std::move(fingerprint), in GetStats()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DFingerprint.java20 private final byte[] fingerprint; field in Fingerprint
41 this.fingerprint = calculateFingerprint(source, bitLength); in Fingerprint()
69 return Arrays.clone(fingerprint); in getFingerprint()
75 for (int i = 0; i != fingerprint.length; i++) in toString()
81 sb.append(encodingTable[(fingerprint[i] >>> 4) & 0xf]); in toString()
82 sb.append(encodingTable[fingerprint[i] & 0x0f]); in toString()
96 return Arrays.areEqual(((Fingerprint)o).fingerprint, fingerprint); in equals()
104 return Arrays.hashCode(fingerprint); in hashCode()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
DFingerprint.java22 private final byte[] fingerprint; field in Fingerprint
43 this.fingerprint = calculateFingerprint(source, bitLength); in Fingerprint()
71 return Arrays.clone(fingerprint); in getFingerprint()
77 for (int i = 0; i != fingerprint.length; i++) in toString()
83 sb.append(encodingTable[(fingerprint[i] >>> 4) & 0xf]); in toString()
84 sb.append(encodingTable[fingerprint[i] & 0x0f]); in toString()
98 return Arrays.areEqual(((Fingerprint)o).fingerprint, fingerprint); in equals()
106 return Arrays.hashCode(fingerprint); in hashCode()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/util/
DFingerprint.java22 private final byte[] fingerprint; field in Fingerprint
43 this.fingerprint = calculateFingerprint(source, bitLength); in Fingerprint()
71 return Arrays.clone(fingerprint); in getFingerprint()
77 for (int i = 0; i != fingerprint.length; i++) in toString()
83 sb.append(encodingTable[(fingerprint[i] >>> 4) & 0xf]); in toString()
84 sb.append(encodingTable[fingerprint[i] & 0x0f]); in toString()
98 return Arrays.areEqual(((Fingerprint)o).fingerprint, fingerprint); in equals()
106 return Arrays.hashCode(fingerprint); in hashCode()
/external/guava/guava-tests/test/com/google/common/hash/
DFarmHashFingerprint64Test.java39 assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8))); in testReallySimpleFingerprints()
41 assertEquals(-4196240717365766262L, fingerprint(Strings.repeat("test", 8).getBytes(UTF_8))); in testReallySimpleFingerprints()
43 assertEquals(3500507768004279527L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8))); in testReallySimpleFingerprints()
72 assertThat(fingerprint(stringA.getBytes(UTF_8))) in testUtf8()
73 .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8))); in testUtf8()
79 fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1))); in testUtf8()
145 private static long fingerprint(byte[] bytes) { in fingerprint() method in FarmHashFingerprint64Test
146 return fingerprint(bytes, bytes.length); in fingerprint()
150 private static long fingerprint(byte[] bytes, int length) { in fingerprint() method in FarmHashFingerprint64Test
164 h ^= fingerprint(buf, i); in testMultipleLengths()
[all …]
/external/guava/android/guava-tests/test/com/google/common/hash/
DFarmHashFingerprint64Test.java39 assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8))); in testReallySimpleFingerprints()
41 assertEquals(-4196240717365766262L, fingerprint(Strings.repeat("test", 8).getBytes(UTF_8))); in testReallySimpleFingerprints()
43 assertEquals(3500507768004279527L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8))); in testReallySimpleFingerprints()
72 assertThat(fingerprint(stringA.getBytes(UTF_8))) in testUtf8()
73 .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8))); in testUtf8()
79 fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1))); in testUtf8()
145 private static long fingerprint(byte[] bytes) { in fingerprint() method in FarmHashFingerprint64Test
146 return fingerprint(bytes, bytes.length); in fingerprint()
150 private static long fingerprint(byte[] bytes, int length) { in fingerprint() method in FarmHashFingerprint64Test
164 h ^= fingerprint(buf, i); in testMultipleLengths()
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Fingerprint.pbtxt20 name: "fingerprint"
24 fingerprint algorithm.
33 summary: "Generates fingerprint values."
35 Generates fingerprint values of `data`.
38 and `output[i]` contains the fingerprint value generated from contents in
41 Fingerprint op writes fingerprint values as byte arrays. For example, the
42 default method `farmhash64` generates a 64-bit fingerprint value at a time.
47 and that the fingerprint method is `farmhash64`. In this case, the output shape
49 each fingerprint value in bytes. `output[0, :]` is generated from 12 integers in
54 fingerprint Tensor's metadata such as data type and/or shape. For example, the
[all …]
/external/libxkbcommon/src/
Datom.c111 uint32_t fingerprint; member
157 uint32_t fingerprint = hash_buf(string, len); in atom_intern() local
163 if (fingerprint > node->fingerprint) { in atom_intern()
166 else if (fingerprint < node->fingerprint) { in atom_intern()
191 node.fingerprint = fingerprint; in atom_intern()
/external/tensorflow/tensorflow/core/platform/
Dfingerprint_test.cc33 const Fprint128 fingerprint = Fingerprint128("Hello"); in TEST() local
34 EXPECT_EQ(1163506517679092766ULL, fingerprint.low64); in TEST()
35 EXPECT_EQ(10829806600034513965ULL, fingerprint.high64); in TEST()
39 const Fprint128 fingerprint = Fingerprint128("World"); in TEST() local
40 EXPECT_EQ(14404540403896557767ULL, fingerprint.low64); in TEST()
41 EXPECT_EQ(4859093245152058524ULL, fingerprint.high64); in TEST()
Dfingerprint.h105 const auto fingerprint = ::util::Fingerprint128(s.data(), s.size()); in Fingerprint128() local
106 return {::util::Uint128Low64(fingerprint), in Fingerprint128()
107 ::util::Uint128High64(fingerprint)}; in Fingerprint128()
109 const auto fingerprint = farmhash::Fingerprint128(s.data(), s.size()); in Fingerprint128()
110 return {absl::Uint128Low64(fingerprint), absl::Uint128High64(fingerprint)}; in Fingerprint128()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_op_util.cc89 uint64_t fingerprint = 0; in GuaranteedConstFingerprint() local
91 fingerprint = in GuaranteedConstFingerprint()
93 fingerprint, constant.tensor_data().data(), in GuaranteedConstFingerprint()
96 return std::to_string(fingerprint); in GuaranteedConstFingerprint()
155 string fingerprint; in CreateCompilationCacheKey() local
157 fingerprint]() mutable { in CreateCompilationCacheKey()
158 if (fingerprint.empty()) { in CreateCompilationCacheKey()
159 fingerprint = GuaranteedConstFingerprint( in CreateCompilationCacheKey()
162 return fingerprint; in CreateCompilationCacheKey()
/external/autotest/server/site_tests/tast/
Dcontrol.fingerprint-mcu6 NAME = 'tast.fingerprint-mcu'
9 ATTRIBUTES = 'suite:fingerprint-mcu'
13 Run the Tast tests which run in suite:fingerprint-mcu.
15 "group:fingerprint-mcu" indicates tests that run on standalone fingerprint MCU
28 test_exprs=['("group:fingerprint-mcu")'],
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dprogram_cache.h65 explicit ProgramDescriptor(uint64_t fingerprint);
69 uint64_t fingerprint; member
75 return std::hash<uint64_t>()(k.fingerprint); in operator()
86 return a.fingerprint == b.fingerprint; in operator()
Dcompiled_program_cache_generated.h37 uint64_t fingerprint() const { in fingerprint() function
55 void add_fingerprint(uint64_t fingerprint) { in add_fingerprint()
56 fbb_.AddElement<uint64_t>(Program::VT_FINGERPRINT, fingerprint, 0); in add_fingerprint()
75 uint64_t fingerprint = 0,
78 builder_.add_fingerprint(fingerprint);
85 uint64_t fingerprint = 0,
90 fingerprint,
/external/autotest/server/site_tests/firmware_Fingerprint/
Dcontrol.reboot_to_ro10 Validates that booting into RO fingerprint firmware succeeds.
13 Fails if unable to boot into RO fingerprint firmware.
15 ATTRIBUTES = "suite:fingerprint"
20 DEPENDENCIES = "servo_state:WORKING, fingerprint"
Dcontrol.rw_no_update_ro10 Verify HW write protect prevents RO fingerprint firmware modification.
15 ATTRIBUTES = "suite:fingerprint"
20 DEPENDENCIES = "servo_state:WORKING, fingerprint"
27 Enables hardware write protect, attempts to flash the RO fingerprint firmware,
Dcontrol.ro_can_update_rw10 Validates that the RO fingerprint firmware can update the RW firmware.
13 Fails if the RO fingerprint firmware cannot update the RW firmware.
15 ATTRIBUTES = "suite:fingerprint"
20 DEPENDENCIES = "servo_state:WORKING, fingerprint"
Dcontrol.read_flash10 Verify that fingerprint flash cannot be read.
15 ATTRIBUTES = "suite:fingerprint"
20 DEPENDENCIES = "servo_state:WORKING, fingerprint"
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowFingerprintManager.java7 import android.hardware.fingerprint.Fingerprint;
8 import android.hardware.fingerprint.FingerprintManager;
9 import android.hardware.fingerprint.FingerprintManager.AuthenticationCallback;
10 import android.hardware.fingerprint.FingerprintManager.AuthenticationResult;
11 import android.hardware.fingerprint.FingerprintManager.CryptoObject;
/external/openssh/
DREADME.dns12 To create a DNS resource record (RR) containing a fingerprint of the
21 In the example above, ssh-keygen will print the fingerprint in a
26 To publish the fingerprint using the DNS you must add the generated RR
38 Upon connection the client will try to look up the fingerprint RR
39 using DNS. If the fingerprint received from the DNS server matches
/external/tensorflow/tensorflow/python/kernel_tests/
Dfingerprint_op_test.py34 fingerprint0 = self.evaluate(array_ops.fingerprint(data))
35 fingerprint1 = self.evaluate(array_ops.fingerprint(data[:, 1:]))
41 f0 = self.evaluate(array_ops.fingerprint([]))
/external/autotest/test_suites/
Dcontrol.fingerprint6 NAME = "fingerprint"
7 PURPOSE = "Runs fingerprint firmware tests."
15 This is the automated fingerprint firmware test suite.
Dcontrol.fingerprint-mcu6 NAME = "fingerprint-mcu"
7 PURPOSE = "Verify fingerprint MCU unittests pass on device."
14 DOC = """ This suite runs fingerprint MCU unittests on board. """
/external/autotest/server/site_tests/firmware_FingerprintSigner/
Dcontrol12 ATTRIBUTES = "suite:fingerprint"
14 Fails if the on-disk fingerprint firmware image is signed with DEV keys
20 DEPENDENCIES = "fingerprint"

12345678910>>...12