Lines Matching refs:s
30 uint32_t i, s[2]; in PHP_ADLER32Update() local
32 s[0] = context->state & 0xffff; in PHP_ADLER32Update()
33 s[1] = (context->state >> 16) & 0xffff; in PHP_ADLER32Update()
35 s[0] += input[i]; in PHP_ADLER32Update()
36 s[1] += s[0]; in PHP_ADLER32Update()
37 if (s[1]>=0x7fffffff) in PHP_ADLER32Update()
39 s[0] = s[0] % 65521; in PHP_ADLER32Update()
40 s[1] = s[1] % 65521; in PHP_ADLER32Update()
43 s[0] = s[0] % 65521; in PHP_ADLER32Update()
44 s[1] = s[1] % 65521; in PHP_ADLER32Update()
45 context->state = s[0] + (s[1] << 16); in PHP_ADLER32Update()