Home
last modified time | relevance | path

Searched refs:h1 (Results 1 – 25 of 582) sorted by relevance

12345678910>>...24

/external/clang/test/CodeGen/
Dfp16-ops.c16 volatile __fp16 h0 = 0.0, h1 = 1.0, h2; variable
38 test = (!h1); in foo()
44 h1 = -h1; in foo()
49 h1 = +h1; in foo()
54 h1++; in foo()
59 ++h1; in foo()
64 --h1; in foo()
69 h1--; in foo()
77 h1 = h0 * h2; in foo()
84 h1 = h0 * (__fp16) -2.0f; in foo()
[all …]
/external/guava/guava/src/com/google/common/hash/
DMurmur3_32HashFunction.java86 int h1 = mixH1(seed, k1); in hashInt() local
88 return fmix(h1, Ints.BYTES); in hashInt()
96 int h1 = mixH1(seed, k1); in hashLong() local
99 h1 = mixH1(h1, k1); in hashLong()
101 return fmix(h1, Longs.BYTES); in hashLong()
106 int h1 = seed; in hashUnencodedChars() local
112 h1 = mixH1(h1, k1); in hashUnencodedChars()
119 h1 ^= k1; in hashUnencodedChars()
122 return fmix(h1, Chars.BYTES * input.length()); in hashUnencodedChars()
132 private static int mixH1(int h1, int k1) { in mixH1() argument
[all …]
DMurmur3_128HashFunction.java82 private long h1; field in Murmur3_128HashFunction.Murmur3_128Hasher
88 this.h1 = seed; in Murmur3_128Hasher()
101 h1 ^= mixK1(k1); in bmix64()
103 h1 = Long.rotateLeft(h1, 27); in bmix64()
104 h1 += h2; in bmix64()
105 h1 = h1 * 5 + 0x52dce729; in bmix64()
110 h2 += h1; in bmix64()
154 h1 ^= mixK1(k1); in processRemaining()
159 h1 ^= length; in makeHash()
162 h1 += h2; in makeHash()
[all …]
/external/jemalloc/include/jemalloc/internal/
Dhash.h110 uint32_t h1 = seed; in hash_x86_32() local
127 h1 ^= k1; in hash_x86_32()
128 h1 = hash_rotl_32(h1, 13); in hash_x86_32()
129 h1 = h1*5 + 0xe6546b64; in hash_x86_32()
143 k1 *= c2; h1 ^= k1; in hash_x86_32()
148 h1 ^= len; in hash_x86_32()
150 h1 = hash_fmix_32(h1); in hash_x86_32()
152 return (h1); in hash_x86_32()
162 uint32_t h1 = seed; in hash_x86_128() local
183 k1 *= c1; k1 = hash_rotl_32(k1, 15); k1 *= c2; h1 ^= k1; in hash_x86_128()
[all …]
/external/llvm/test/MC/AArch64/
Darm64-fp-encoding.s10 fabs h1, h2
14 ; FP16: fabs h1, h2 ; encoding: [0x41,0xc0,0xe0,0x1e]
16 ; NO-FP16-NEXT: fabs h1, h2
20 fadd h1, h2, h3
24 ; FP16: fadd h1, h2, h3 ; encoding: [0x41,0x28,0xe3,0x1e]
26 ; NO-FP16-NEXT: fadd h1, h2, h3
30 fdiv h1, h2, h3
34 ; FP16: fdiv h1, h2, h3 ; encoding: [0x41,0x18,0xe3,0x1e]
36 ; NO-FP16-NEXT: fdiv h1, h2, h3
40 fmadd h1, h2, h3, h4
[all …]
/external/boringssl/src/ssl/test/runner/poly1305/
Dsum_ref.go16 h0, h1, h2, h3, h4 uint32 // the hash accumulators
31 h1 += (binary.LittleEndian.Uint32(msg[3:]) >> 2) & 0x3ffffff
37 …d0 := (uint64(h0) * r0) + (uint64(h1) * R4) + (uint64(h2) * R3) + (uint64(h3) * R2) + (uint64(h4) …
38 …d1 := (d0 >> 26) + (uint64(h0) * r1) + (uint64(h1) * r0) + (uint64(h2) * R4) + (uint64(h3) * R3) +…
39 …d2 := (d1 >> 26) + (uint64(h0) * r2) + (uint64(h1) * r1) + (uint64(h2) * r0) + (uint64(h3) * R4) +…
40 …d3 := (d2 >> 26) + (uint64(h0) * r3) + (uint64(h1) * r2) + (uint64(h2) * r1) + (uint64(h3) * r0) +…
41 …d4 := (d3 >> 26) + (uint64(h0) * r4) + (uint64(h1) * r3) + (uint64(h2) * r2) + (uint64(h3) * r1) +…
45 h1 = uint32(d1) & 0x3ffffff
51 h1 += h0 >> 26
64 h1 += (binary.LittleEndian.Uint32(block[3:]) >> 2) & 0x3ffffff
[all …]
Dsum_amd64.s9 #define POLY1305_ADD(msg, h0, h1, h2) \ argument
11 ADCQ 8(msg), h1; \
15 #define POLY1305_MUL(h0, h1, h2, r0, r1, t0, t1, t2, t3) \ argument
21 MULQ h1; \
36 MULQ h1; \
43 MOVQ t1, h1; \
49 ADCQ t3, h1; \
54 ADCQ t3, h1; \
/external/libmojo/mojo/public/cpp/system/tests/
Dcore_unittest.cc44 Handle h1(static_cast<MojoHandle>(123)); in TEST() local
45 EXPECT_EQ(static_cast<MojoHandle>(123), h1.value()); in TEST()
46 EXPECT_EQ(static_cast<MojoHandle>(123), *h1.mutable_value()); in TEST()
47 EXPECT_TRUE(h1.is_valid()); in TEST()
48 *h1.mutable_value() = static_cast<MojoHandle>(456); in TEST()
49 EXPECT_EQ(static_cast<MojoHandle>(456), h1.value()); in TEST()
50 EXPECT_TRUE(h1.is_valid()); in TEST()
52 h1.swap(h0); in TEST()
55 EXPECT_FALSE(h1.is_valid()); in TEST()
57 h1.set_value(static_cast<MojoHandle>(789)); in TEST()
[all …]
/external/llvm/test/MC/Disassembler/AArch64/
Darm64-scalar-fp.txt12 # FP16: fabs h1, h2
20 # FP16: fadd h1, h2, h3
28 # FP16: fdiv h1, h2, h3
36 # FP16: fmadd h1, h2, h3, h4
47 # FP16: fmax h1, h2, h3
50 # FP16: fmaxnm h1, h2, h3
61 # FP16: fmin h1, h2, h3
64 # FP16: fminnm h1, h2, h3
72 # FP16: fmsub h1, h2, h3, h4
80 # FP16: fmul h1, h2, h3
[all …]
/external/vboot_reference/tests/
Dcgptlib_test.c272 GptHeader *h1 = (GptHeader *)gpt->primary_header; in HeaderCrcTest() local
275 EXPECT(HeaderCrc(h1) == h1->header_crc32); in HeaderCrcTest()
280 EXPECT(HeaderCrc(h1) != h1->header_crc32); in HeaderCrcTest()
284 gpt->primary_header[h1->size - 1] ^= 0x5a; in HeaderCrcTest()
285 EXPECT(HeaderCrc(h1) != h1->header_crc32); in HeaderCrcTest()
289 gpt->primary_header[h1->size] ^= 0x5a; in HeaderCrcTest()
290 EXPECT(HeaderCrc(h1) == h1->header_crc32); in HeaderCrcTest()
299 GptHeader *h1 = (GptHeader *)gpt->primary_header; in HeaderSameTest() local
303 EXPECT(0 == HeaderFieldsSame(h1, h2)); in HeaderSameTest()
307 EXPECT(1 == HeaderFieldsSame(h1, &h3)); in HeaderSameTest()
[all …]
/external/fio/crc/
Dmurmur3.c24 const uint32_t c2, uint32_t h1) in murmur3_tail() argument
39 h1 ^= k1; in murmur3_tail()
42 return fmix32(h1 ^ len); in murmur3_tail()
49 uint32_t h1 = seed; in murmurhash3() local
62 h1 ^= k1; in murmurhash3()
63 h1 = rotl32(h1, 13); in murmurhash3()
64 h1 = h1 * 5 + 0xe6546b64; in murmurhash3()
67 return murmur3_tail(data, nblocks, len, c1, c2, h1); in murmurhash3()
/external/iproute2/misc/
Dnstat.c316 struct nstat_ent *h1; in dump_kern_db() local
320 for (h1 = h; h1; h1 = h1->next) { in dump_kern_db()
321 if (strcmp(h1->id, n->id) == 0) { in dump_kern_db()
322 val = h1->val; in dump_kern_db()
323 h = h1->next; in dump_kern_db()
360 struct nstat_ent *h1; in dump_incr_db() local
362 for (h1 = h; h1; h1 = h1->next) { in dump_incr_db()
363 if (strcmp(h1->id, n->id) == 0) { in dump_incr_db()
364 if (val < h1->val) { in dump_incr_db()
366 val = h1->val; in dump_incr_db()
[all …]
Difstat.c326 struct ifstat_ent *h1; in dump_raw_db() local
330 for (h1 = h; h1; h1 = h1->next) { in dump_raw_db()
331 if (h1->ifindex == n->ifindex) { in dump_raw_db()
332 vals = h1->val; in dump_raw_db()
333 rates = h1->rate; in dump_raw_db()
334 h = h1->next; in dump_raw_db()
563 struct ifstat_ent *h1; in dump_incr_db() local
567 for (h1 = h; h1; h1 = h1->next) { in dump_incr_db()
568 if (h1->ifindex == n->ifindex) { in dump_incr_db()
570 vals[i] -= h1->val[i]; in dump_incr_db()
[all …]
/external/libyuv/files/unit_test/
Dcompare_test.cc52 uint32 h1 = HashDjb2(src_a, kMaxTest, 5381); in TEST_F() local
54 EXPECT_NE(h1, h2); in TEST_F()
58 h1 = HashDjb2(src_a, kMaxTest, 5381); in TEST_F()
60 EXPECT_NE(h1, h2); in TEST_F()
66 h1 = HashDjb2(src_a, kMaxTest, 5381); in TEST_F()
68 EXPECT_NE(h1, h2); in TEST_F()
72 h1 = HashDjb2(src_a, kMaxTest, 5381); in TEST_F()
74 EXPECT_EQ(h1, h2); in TEST_F()
78 h1 = HashDjb2(src_a, kMaxTest, 5381); in TEST_F()
80 EXPECT_NE(h1, h2); in TEST_F()
[all …]
/external/markdown/docs/extensions/
DHeaderId.txt8 elements (h1-h6) in markdown's output.
26 <h1 id="header1">Header 1</h1>
42 <h1 id="header">Header</h1>
43 <h1 id="header_1">Another Header</h1>
44 <h1 id="header_2">Third Header</h1>
80 <h1>Some Header</h1>
81 <h1 id="foo">Header with ID</h1>
/external/boringssl/src/crypto/poly1305/
Dpoly1305.c47 uint32_t h0, h1, h2, h3, h4; member
84 state->h1 += ((((uint64_t)t1 << 32) | t0) >> 26) & 0x3ffffff; in poly1305_update()
90 t[0] = mul32x32_64(state->h0, state->r0) + mul32x32_64(state->h1, state->s4) + in poly1305_update()
93 t[1] = mul32x32_64(state->h0, state->r1) + mul32x32_64(state->h1, state->r0) + in poly1305_update()
96 t[2] = mul32x32_64(state->h0, state->r2) + mul32x32_64(state->h1, state->r1) + in poly1305_update()
99 t[3] = mul32x32_64(state->h0, state->r3) + mul32x32_64(state->h1, state->r2) + in poly1305_update()
102 t[4] = mul32x32_64(state->h0, state->r4) + mul32x32_64(state->h1, state->r3) + in poly1305_update()
109 state->h1 = (uint32_t)t[1] & 0x3ffffff; in poly1305_update()
147 state->h1 += ((((uint64_t)t1 << 32) | t0) >> 26) & 0x3ffffff; in poly1305_update()
192 state->h1 = 0; in CRYPTO_poly1305_init()
[all …]
/external/llvm/test/Transforms/InstCombine/
Daligned-qpx.ll9 %h1 = getelementptr <4 x float>, <4 x float>* %h, i64 1
10 %hv = bitcast <4 x float>* %h1 to i8*
25 %h1 = getelementptr <4 x float>, <4 x float>* %h, i64 1
26 %hv = bitcast <4 x float>* %h1 to i8*
44 %h1 = getelementptr <4 x float>, <4 x float>* %h, i64 1
45 %hv = bitcast <4 x float>* %h1 to i8*
58 %h1 = getelementptr <4 x float>, <4 x float>* %h, i64 1
59 %hv = bitcast <4 x float>* %h1 to i8*
76 %h1 = getelementptr <4 x double>, <4 x double>* %h, i64 1
77 %hv = bitcast <4 x double>* %h1 to i8*
[all …]
Daligned-altivec.ll9 %h1 = getelementptr <4 x i32>, <4 x i32>* %h, i64 1
10 %hv = bitcast <4 x i32>* %h1 to i8*
24 %h1 = getelementptr <4 x i32>, <4 x i32>* %h, i64 1
25 %hv = bitcast <4 x i32>* %h1 to i8*
41 %h1 = getelementptr <4 x i32>, <4 x i32>* %h, i64 1
42 %hv = bitcast <4 x i32>* %h1 to i8*
55 %h1 = getelementptr <4 x i32>, <4 x i32>* %h, i64 1
56 %hv = bitcast <4 x i32>* %h1 to i8*
71 %h1 = getelementptr <4 x i32>, <4 x i32>* %h, i64 1
72 %hv = bitcast <4 x i32>* %h1 to i8*
[all …]
/external/libmojo/mojo/public/c/system/tests/
Dcore_unittest.cc33 MojoHandle h0, h1; in TEST() local
82 h1 = MOJO_HANDLE_INVALID; in TEST()
84 MojoDuplicateBufferHandle(h0, nullptr, &h1)); in TEST()
90 MojoHandle h0, h1; in TEST() local
96 h1 = MOJO_HANDLE_INVALID; in TEST()
97 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(nullptr, &h0, &h1)); in TEST()
99 EXPECT_NE(h1, MOJO_HANDLE_INVALID); in TEST()
127 EXPECT_EQ(MOJO_RESULT_OK, MojoWriteMessage(h1, kHello, buffer_size, nullptr, in TEST()
160 MojoWait(h1, MOJO_HANDLE_SIGNAL_PEER_CLOSED, in TEST()
166 MojoWait(h1, MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE, in TEST()
[all …]
/external/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/
Dop_++int.pass.cpp24 std::chrono::hours h1(3); in test_constexpr() local
25 std::chrono::hours h2 = h1++; in test_constexpr()
26 return h1.count() == 4 && h2.count() == 3; in test_constexpr()
33 std::chrono::hours h1(3); in main() local
34 std::chrono::hours h2 = h1++; in main()
35 assert(h1.count() == 4); in main()
Dop_--int.pass.cpp24 std::chrono::hours h1(3); in test_constexpr() local
25 std::chrono::hours h2 = h1--; in test_constexpr()
26 return h1.count() == 2 && h2.count() == 3; in test_constexpr()
34 std::chrono::hours h1(3); in main() local
35 std::chrono::hours h2 = h1--; in main()
36 assert(h1.count() == 2); in main()
/external/freetype/src/sfnt/
Dsfdriver.c301 FT_UInt32 h1 = seed; in murmur_hash_3_128() local
327 h1 ^= k1; in murmur_hash_3_128()
329 h1 = ROTL32( h1, 19 ); in murmur_hash_3_128()
330 h1 += h2; in murmur_hash_3_128()
331 h1 = h1 * 5 + 0x561ccd1b; in murmur_hash_3_128()
357 h4 += h1; in murmur_hash_3_128()
420 h1 ^= k1; in murmur_hash_3_128()
424 h1 ^= len; in murmur_hash_3_128()
429 h1 += h2; in murmur_hash_3_128()
430 h1 += h3; in murmur_hash_3_128()
[all …]
/external/python/cpython2/Lib/test/
Dtest_hmac.py277 h1 = hmac.HMAC("key")
278 h2 = h1.copy()
279 self.assertTrue(h1.digest_cons == h2.digest_cons,
281 self.assertTrue(type(h1.inner) == type(h2.inner),
283 self.assertTrue(type(h1.outer) == type(h2.outer),
288 h1 = hmac.HMAC("key")
289 h2 = h1.copy()
291 self.assertTrue(id(h1) != id(h2), "No real copy of the HMAC instance.")
292 self.assertTrue(id(h1.inner) != id(h2.inner),
294 self.assertTrue(id(h1.outer) != id(h2.outer),
[all …]
/external/dtc/tests/
Dreferences.c80 uint32_t h1, h2, h4, h5; in main() local
101 h1 = fdt_get_phandle(fdt, n1); in main()
106 if (h1 != 0x2000) in main()
108 h1, 0x2000); in main()
117 if ((h5 == h4) || (h5 == h2) || (h5 == h1)) in main()
121 check_ref(fdt, n2, h1); in main()
/external/brotli/research/
Ddraw_diff.cc88 size_t h1, w1, h2, w2; in main() local
91 ReadPGM(fimage1, &image1, &h1, &w1); in main()
98 if (!(h1 == h2 && w1 == w2)) { in main()
103 int** diff = new int*[h1]; in main()
104 for (size_t i = 0; i < h1; ++i) diff[i] = new int[w1]; in main()
105 CalculateDiff(diff, image1, image2, h1, w1); in main()
108 DrawDiff(diff, image1, image2, h1, w1, fdiff); in main()

12345678910>>...24