Home
last modified time | relevance | path

Searched refs:h1 (Results 1 - 25 of 220) sorted by relevance

123456789

/third_party/node/deps/npm/node_modules/imurmurhash/
H A Dimurmurhash.js38 var h1, k1, i, top, len;
57 h1 = this.h1;
63 h1 ^= k1;
64 h1 = (h1 << 13) | (h1 >>> 19);
65 h1 = (h1 * 5 + 0xe6546b64) & 0xffffffff;
86 this.h1
[all...]
/third_party/ffmpeg/libavutil/
H A Dmurmur3.c28 uint64_t h1, h2; member
42 c->h1 = c->h2 = seed; in av_murmur3_init_seeded()
74 static inline uint64_t update_h1(uint64_t k, uint64_t h1, uint64_t h2) in update_h1() argument
76 k ^= h1; in update_h1()
84 static inline uint64_t update_h2(uint64_t k, uint64_t h1, uint64_t h2) in update_h2() argument
88 k += h1; in update_h2()
97 uint64_t h1 = c->h1, h2 = c->h2; in av_murmur3_update() local
109 h1 = update_h1(k1, h1, h in av_murmur3_update()
145 uint64_t h1 = c->h1, h2 = c->h2; av_murmur3_final() local
[all...]
/third_party/skia/third_party/externals/angle2/src/common/third_party/smhasher/src/
H A DPMurHash.cpp150 #define DOBLOCK(h1, k1) \
157 h1 ^= k1; \
158 h1 = ROTL32(h1, 13); \
159 h1 = h1 * 5 + 0xe6546b64; \
163 /* cnt=bytes to process, h1=name of h1 var, c=carry, n=bytes in c, ptr/len=payload */
164 #define DOBYTES(cnt, h1, c, n, ptr, len) \
175 DOBLOCK(h1,
189 uint32_t h1 = *ph1; PMurHash32_Process() local
309 uint32_t h1 = seed, carry = 0; PMurHash32() local
319 uint32_t h1 = seed, carry = 0; PMurHash32_test() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/poly1305/
H A Dpoly1305.c153 u64 h0, h1, h2, c; in poly1305_blocks() local
162 h1 = st->h[1]; in poly1305_blocks()
168 h1 = (u64)(d1 = (u128)h1 + (d0 >> 64) + U8TOU64(inp + 8)); in poly1305_blocks()
177 ((u128)h1 * s1); in poly1305_blocks()
179 ((u128)h1 * r0) + in poly1305_blocks()
186 h1 = (u64)(d1 += d0 >> 64); in poly1305_blocks()
192 h1 += (c = CONSTANT_TIME_CARRY(h0,c)); in poly1305_blocks()
193 h2 += CONSTANT_TIME_CARRY(h1,c); in poly1305_blocks()
209 st->h[1] = h1; in poly1305_blocks()
217 u64 h0, h1, h2; poly1305_emit() local
295 u32 h0, h1, h2, h3, h4, c; poly1305_blocks() local
383 u32 h0, h1, h2, h3, h4; poly1305_emit() local
[all...]
H A Dpoly1305_base2_44.c87 u64 h0, h1, h2, c; in poly1305_blocks() local
99 h1 = st->h[1]; in poly1305_blocks()
110 h1 += ((m0 >> 44) | (m1 << 20)) & 0x0fffffffffff; in poly1305_blocks()
114 d0 = ((u128)h0 * r0) + ((u128)h1 * s2) + ((u128)h2 * s1); in poly1305_blocks()
115 d1 = ((u128)h0 * r1) + ((u128)h1 * r0) + ((u128)h2 * s2); in poly1305_blocks()
116 d2 = ((u128)h0 * r2) + ((u128)h1 * r1) + ((u128)h2 * r0); in poly1305_blocks()
120 h1 = (u64)(d1 += (u64)(d0 >> 44)) & 0x0fffffffffff; in poly1305_blocks()
131 st->h[1] = h1; in poly1305_blocks()
138 u64 h0, h1, h2; in poly1305_emit() local
144 h1 in poly1305_emit()
[all...]
/third_party/openssl/crypto/poly1305/
H A Dpoly1305.c153 u64 h0, h1, h2, c; in poly1305_blocks() local
162 h1 = st->h[1]; in poly1305_blocks()
168 h1 = (u64)(d1 = (u128)h1 + (d0 >> 64) + U8TOU64(inp + 8)); in poly1305_blocks()
177 ((u128)h1 * s1); in poly1305_blocks()
179 ((u128)h1 * r0) + in poly1305_blocks()
186 h1 = (u64)(d1 += d0 >> 64); in poly1305_blocks()
192 h1 += (c = CONSTANT_TIME_CARRY(h0,c)); in poly1305_blocks()
193 h2 += CONSTANT_TIME_CARRY(h1,c); in poly1305_blocks()
209 st->h[1] = h1; in poly1305_blocks()
217 u64 h0, h1, h2; poly1305_emit() local
295 u32 h0, h1, h2, h3, h4, c; poly1305_blocks() local
383 u32 h0, h1, h2, h3, h4; poly1305_emit() local
[all...]
H A Dpoly1305_base2_44.c87 u64 h0, h1, h2, c; in poly1305_blocks() local
99 h1 = st->h[1]; in poly1305_blocks()
110 h1 += ((m0 >> 44) | (m1 << 20)) & 0x0fffffffffff; in poly1305_blocks()
114 d0 = ((u128)h0 * r0) + ((u128)h1 * s2) + ((u128)h2 * s1); in poly1305_blocks()
115 d1 = ((u128)h0 * r1) + ((u128)h1 * r0) + ((u128)h2 * s2); in poly1305_blocks()
116 d2 = ((u128)h0 * r2) + ((u128)h1 * r1) + ((u128)h2 * r0); in poly1305_blocks()
120 h1 = (u64)(d1 += (u64)(d0 >> 44)) & 0x0fffffffffff; in poly1305_blocks()
131 st->h[1] = h1; in poly1305_blocks()
138 u64 h0, h1, h2; in poly1305_emit() local
144 h1 in poly1305_emit()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DcheckJsxChildrenProperty4.js25 <h1>{ user.NAme }</h1>
38 <h1>{ user.Name }</h1>
41 <h1>{ user.Name }</h1>
81 {function (user) { return (<h1>{user.NAme}</h1>); }}
89 {function (user) { return (<h1>{user.Name}</h1>); }}
[all...]
H A DstrictFunctionTypesErrors.js49 declare let h1: Func<Func<Object, void>, Object>;
54 h1 = h2; // Ok
55 h1 = h3; // Ok
56 h1 = h4; // Ok
58 h2 = h1; // Error
62 h3 = h1; // Error
66 h4 = h1; // Error
186 h1 = h2; // Ok
187 h1 = h3; // Ok
188 h1
[all...]
H A DcheckJsxChildrenProperty3.js25 <h1>{ user.Name }</h1>
36 <h1>{ user.Name }</h1>
76 {function (user) { return (<h1>{user.Name}</h1>); }}
82 {function (user) { return (<h1>{user.Name}</h1>); }}
/third_party/backends/backend/
H A Depson2_net.c167 unsigned char *h1, *h2, *payload; in sanei_epson_net_write() local
175 h1 = packet; in sanei_epson_net_write()
201 memset(h1, 0x00, 12); in sanei_epson_net_write()
204 h1[0] = 'I'; in sanei_epson_net_write()
205 h1[1] = 'S'; in sanei_epson_net_write()
207 h1[2] = cmd >> 8; in sanei_epson_net_write()
208 h1[3] = cmd; in sanei_epson_net_write()
210 h1[4] = 0x00; in sanei_epson_net_write()
211 h1[5] = 0x0C; /* Don't know what's that */ in sanei_epson_net_write()
213 DBG(24, "H1[0]: %02x %02x %02x %02x\n", h1[ in sanei_epson_net_write()
[all...]
H A Depsonds-net.c184 unsigned char *h1, *h2; in epsonds_net_write() local
192 h1 = packet; // packet header in epsonds_net_write()
217 memset(h1, 0x00, 12); in epsonds_net_write()
220 h1[0] = 'I'; in epsonds_net_write()
221 h1[1] = 'S'; in epsonds_net_write()
223 h1[2] = cmd >> 8; // packet type in epsonds_net_write()
224 h1[3] = cmd; // data type in epsonds_net_write()
226 h1[4] = 0x00; in epsonds_net_write()
227 h1[5] = 0x0C; // data offset in epsonds_net_write()
229 DBG(24, "H1[0]: %02x %02x %02x %02x\n", h1[ in epsonds_net_write()
[all...]
/third_party/libwebsockets/plugins/ssh-base/crypto/
H A Dpoly1305.c33 uint32_t h0,h1,h2,h3,h4; in poly1305_auth() local
64 h1 = 0; in poly1305_auth()
83 h1 += (uint32_t)(((((uint64_t)t1 << 32) | t0) >> 26) & 0x3ffffff); in poly1305_auth()
89 t[0] = mul32x32_64(h0,r0) + mul32x32_64(h1,s4) + in poly1305_auth()
92 t[1] = mul32x32_64(h0,r1) + mul32x32_64(h1,r0) + in poly1305_auth()
95 t[2] = mul32x32_64(h0,r2) + mul32x32_64(h1,r1) + in poly1305_auth()
98 t[3] = mul32x32_64(h0,r3) + mul32x32_64(h1,r2) + in poly1305_auth()
101 t[4] = mul32x32_64(h0,r4) + mul32x32_64(h1,r3) + in poly1305_auth()
106 t[1] += c; h1 = (uint32_t)t[1] & 0x3ffffff; b = (uint32_t)(t[1] >> 26); in poly1305_auth()
133 h1 in poly1305_auth()
[all...]
/third_party/node/deps/openssl/openssl/crypto/poly1305/asm/
H A Dpoly1305-ppc.pl103 my ($h0,$h1,$h2,$d0,$d1,$d2, $r0,$r1,$s1, $t0,$t1) = map("r$_",(7..12,27..31));
127 li $h1,12
129 lwbrx $h1,$h1,$inp
131 insrdi $d1,$h1,32,0
134 lis $h1,0xfff # 0x0fff0000
135 ori $h1,$h1,0xfffc # 0x0ffffffc
136 insrdi $h1,$h1,3
[all...]
H A Dpoly1305-armv8.pl55 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
125 ldp $h0,$h1,[$ctx] // load hash value
140 adcs $h1,$h1,$t1
146 mul $t0,$h1,$s1 // h1*5*r1
147 umulh $t1,$h1,$s1
155 mul $t0,$h1,$r0 // h1*r0
157 umulh $t1,$h1,
[all...]
H A Dpoly1305-armv4.pl177 my ($h0,$h1,$h2,$h3,$h4,$r0,$r1,$r2,$r3)=map("r$_",(4..12));
229 adcs $h1,$h1,r3
263 adcs $h1,$h1,r1
271 umull r2,r3,$h1,$r0
278 umlal r0,r1,$h1,$s3
288 str r2,[sp,#4] @ future $h1
297 umlal r0,r1,$h1,$r1
298 umlal r2,r3,$h1,
[all...]
H A Dpoly1305-sparcv9.pl51 my ($h0,$h1,$h2,$h3, $t0,$t1,$t2) = map("%o$_",(0..5,7));
102 set 8,$h1
111 ldxa [$inp+$h1]0x88,$h1
115 sllx $h1,$shl,$t2
116 srlx $h1,$shr,$h1
119 or $h2,$h1,$h1
123 and $t1,$h1,
[all...]
/third_party/openssl/crypto/poly1305/asm/
H A Dpoly1305-ppc.pl103 my ($h0,$h1,$h2,$d0,$d1,$d2, $r0,$r1,$s1, $t0,$t1) = map("r$_",(7..12,27..31));
127 li $h1,12
129 lwbrx $h1,$h1,$inp
131 insrdi $d1,$h1,32,0
134 lis $h1,0xfff # 0x0fff0000
135 ori $h1,$h1,0xfffc # 0x0ffffffc
136 insrdi $h1,$h1,3
[all...]
H A Dpoly1305-armv8.pl55 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
125 ldp $h0,$h1,[$ctx] // load hash value
140 adcs $h1,$h1,$t1
146 mul $t0,$h1,$s1 // h1*5*r1
147 umulh $t1,$h1,$s1
155 mul $t0,$h1,$r0 // h1*r0
157 umulh $t1,$h1,
[all...]
H A Dpoly1305-armv4.pl177 my ($h0,$h1,$h2,$h3,$h4,$r0,$r1,$r2,$r3)=map("r$_",(4..12));
229 adcs $h1,$h1,r3
263 adcs $h1,$h1,r1
271 umull r2,r3,$h1,$r0
278 umlal r0,r1,$h1,$s3
288 str r2,[sp,#4] @ future $h1
297 umlal r0,r1,$h1,$r1
298 umlal r2,r3,$h1,
[all...]
H A Dpoly1305-sparcv9.pl51 my ($h0,$h1,$h2,$h3, $t0,$t1,$t2) = map("%o$_",(0..5,7));
102 set 8,$h1
111 ldxa [$inp+$h1]0x88,$h1
115 sllx $h1,$shl,$t2
116 srlx $h1,$shr,$h1
119 or $h2,$h1,$h1
123 and $t1,$h1,
[all...]
/third_party/libuv/test/
H A Dtest-udp-bind.c33 uv_udp_t h1, h2; in TEST_IMPL() local
40 r = uv_udp_init(loop, &h1); in TEST_IMPL()
46 r = uv_udp_bind(&h1, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
52 uv_close((uv_handle_t*) &h1, NULL); in TEST_IMPL()
66 uv_udp_t h1, h2; in TEST_IMPL() local
73 r = uv_udp_init(loop, &h1); in TEST_IMPL()
79 r = uv_udp_bind(&h1, (const struct sockaddr*) &addr, UV_UDP_REUSEADDR); in TEST_IMPL()
85 uv_close((uv_handle_t*) &h1, NULL); in TEST_IMPL()
/third_party/ffmpeg/libavcodec/
H A Dvp9_mc_template.c41 int w1 = ref1->width, h1 = ref1->height, w2, h2; in inter_pred() local
60 row << 3, col << 3, &b->mv[0][0],,,,, 8, 4, w1, h1, 0); in inter_pred()
64 (row << 3) + 4, col << 3, &b->mv[2][0],,,,, 8, 4, w1, h1, 0); in inter_pred()
67 h1 = (h1 + 1) >> 1; in inter_pred()
74 &uvmv,,,,, 8 >> s->ss_h, 4, w1, h1, 0); in inter_pred()
81 &b->mv[0][0],,,,, 8 >> s->ss_h, 4, w1, h1, 0); in inter_pred()
95 &uvmv,,,,, 8 >> s->ss_h, 4, w1, h1, 0); in inter_pred()
142 row << 3, col << 3, &b->mv[0][0],,,,, 4, 8, w1, h1, 0); in inter_pred()
145 row << 3, (col << 3) + 4, &b->mv[1][0],,,,, 4, 8, w1, h1, in inter_pred()
[all...]
/third_party/python/Lib/test/
H A Dtest_context.py488 h1 = h.set('1', o)
489 h2 = h1.set('1', o)
490 self.assertIs(h1, h2)
494 h1 = h.set('key', [])
495 h2 = h1.set('key', [])
496 self.assertIsNot(h1, h2)
497 self.assertEqual(len(h1), 1)
499 self.assertIsNot(h1.get('key'), h2.get('key'))
959 h1 = hamt()
960 h1
[all...]
H A Dtest_hmac.py487 h1 = hmac.HMAC.__new__(hmac.HMAC)
488 h1._init_old(b"key", b"msg", digestmod="sha256")
489 h2 = h1.copy()
490 self.assertEqual(type(h1._inner), type(h2._inner),
492 self.assertEqual(type(h1._outer), type(h2._outer),
498 h1 = hmac.HMAC.__new__(hmac.HMAC)
499 h1._init_old(b"key", b"msg", digestmod="sha256")
500 h2 = h1.copy()
502 self.assertTrue(id(h1) != id(h2), "No real copy of the HMAC instance.")
503 self.assertTrue(id(h1
[all...]

Completed in 10 milliseconds

123456789