Lines Matching refs:h

47 				ctx->h = (uint32_t) Z_LVAL_P(seed);  in PHP_MURMUR3AInit()
50 ctx->h = 0; in PHP_MURMUR3AInit()
53 ctx->h = 0; in PHP_MURMUR3AInit()
56 ctx->h = 0; in PHP_MURMUR3AInit()
65 PMurHash32_Process(&ctx->h, &ctx->carry, in, len); in PHP_MURMUR3AUpdate()
70 ctx->h = PMurHash32_Result(ctx->h, ctx->carry, ctx->len); in PHP_MURMUR3AFinal()
72 digest[0] = (unsigned char)((ctx->h >> 24) & 0xff); in PHP_MURMUR3AFinal()
73 digest[1] = (unsigned char)((ctx->h >> 16) & 0xff); in PHP_MURMUR3AFinal()
74 digest[2] = (unsigned char)((ctx->h >> 8) & 0xff); in PHP_MURMUR3AFinal()
75 digest[3] = (unsigned char)(ctx->h & 0xff); in PHP_MURMUR3AFinal()
80 copy_context->h = orig_context->h; in PHP_MURMUR3ACopy()
110 ctx->h[0] = _seed; in PHP_MURMUR3CInit()
111 ctx->h[1] = _seed; in PHP_MURMUR3CInit()
112 ctx->h[2] = _seed; in PHP_MURMUR3CInit()
113 ctx->h[3] = _seed; in PHP_MURMUR3CInit()
116 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3CInit()
119 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3CInit()
122 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3CInit()
131 PMurHash128x86_Process(ctx->h, ctx->carry, in, len); in PHP_MURMUR3CUpdate()
136 uint32_t h[4] = {0, 0, 0, 0}; in PHP_MURMUR3CFinal() local
137 PMurHash128x86_Result(ctx->h, ctx->carry, ctx->len, h); in PHP_MURMUR3CFinal()
139 digest[0] = (unsigned char)((h[0] >> 24) & 0xff); in PHP_MURMUR3CFinal()
140 digest[1] = (unsigned char)((h[0] >> 16) & 0xff); in PHP_MURMUR3CFinal()
141 digest[2] = (unsigned char)((h[0] >> 8) & 0xff); in PHP_MURMUR3CFinal()
142 digest[3] = (unsigned char)(h[0] & 0xff); in PHP_MURMUR3CFinal()
143 digest[4] = (unsigned char)((h[1] >> 24) & 0xff); in PHP_MURMUR3CFinal()
144 digest[5] = (unsigned char)((h[1] >> 16) & 0xff); in PHP_MURMUR3CFinal()
145 digest[6] = (unsigned char)((h[1] >> 8) & 0xff); in PHP_MURMUR3CFinal()
146 digest[7] = (unsigned char)(h[1] & 0xff); in PHP_MURMUR3CFinal()
147 digest[8] = (unsigned char)((h[2] >> 24) & 0xff); in PHP_MURMUR3CFinal()
148 digest[9] = (unsigned char)((h[2] >> 16) & 0xff); in PHP_MURMUR3CFinal()
149 digest[10] = (unsigned char)((h[2] >> 8) & 0xff); in PHP_MURMUR3CFinal()
150 digest[11] = (unsigned char)(h[2] & 0xff); in PHP_MURMUR3CFinal()
151 digest[12] = (unsigned char)((h[3] >> 24) & 0xff); in PHP_MURMUR3CFinal()
152 digest[13] = (unsigned char)((h[3] >> 16) & 0xff); in PHP_MURMUR3CFinal()
153 digest[14] = (unsigned char)((h[3] >> 8) & 0xff); in PHP_MURMUR3CFinal()
154 digest[15] = (unsigned char)(h[3] & 0xff); in PHP_MURMUR3CFinal()
159 memcpy(&copy_context->h, &orig_context->h, sizeof orig_context->h); in PHP_MURMUR3CCopy()
189 ctx->h[0] = _seed; in PHP_MURMUR3FInit()
190 ctx->h[1] = _seed; in PHP_MURMUR3FInit()
193 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3FInit()
196 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3FInit()
199 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3FInit()
208 PMurHash128x64_Process(ctx->h, ctx->carry, in, len); in PHP_MURMUR3FUpdate()
213 uint64_t h[2] = {0, 0}; in PHP_MURMUR3FFinal() local
214 PMurHash128x64_Result(ctx->h, ctx->carry, ctx->len, h); in PHP_MURMUR3FFinal()
216 digest[0] = (unsigned char)((h[0] >> 56) & 0xff); in PHP_MURMUR3FFinal()
217 digest[1] = (unsigned char)((h[0] >> 48) & 0xff); in PHP_MURMUR3FFinal()
218 digest[2] = (unsigned char)((h[0] >> 40) & 0xff); in PHP_MURMUR3FFinal()
219 digest[3] = (unsigned char)((h[0] >> 32) & 0xff); in PHP_MURMUR3FFinal()
220 digest[4] = (unsigned char)((h[0] >> 24) & 0xff); in PHP_MURMUR3FFinal()
221 digest[5] = (unsigned char)((h[0] >> 16) & 0xff); in PHP_MURMUR3FFinal()
222 digest[6] = (unsigned char)((h[0] >> 8) & 0xff); in PHP_MURMUR3FFinal()
223 digest[7] = (unsigned char)(h[0] & 0xff); in PHP_MURMUR3FFinal()
224 digest[8] = (unsigned char)((h[1] >> 56) & 0xff); in PHP_MURMUR3FFinal()
225 digest[9] = (unsigned char)((h[1] >> 48) & 0xff); in PHP_MURMUR3FFinal()
226 digest[10] = (unsigned char)((h[1] >> 40) & 0xff); in PHP_MURMUR3FFinal()
227 digest[11] = (unsigned char)((h[1] >> 32) & 0xff); in PHP_MURMUR3FFinal()
228 digest[12] = (unsigned char)((h[1] >> 24) & 0xff); in PHP_MURMUR3FFinal()
229 digest[13] = (unsigned char)((h[1] >> 16) & 0xff); in PHP_MURMUR3FFinal()
230 digest[14] = (unsigned char)((h[1] >> 8) & 0xff); in PHP_MURMUR3FFinal()
231 digest[15] = (unsigned char)(h[1] & 0xff); in PHP_MURMUR3FFinal()
236 memcpy(&copy_context->h, &orig_context->h, sizeof orig_context->h); in PHP_MURMUR3FCopy()