/PHP-5.3/ext/hash/ |
H A D | hash_whirlpool.c | 67 state[0] = block[0] ^ (K[0] = context->state[0]); in WhirlpoolTransform() 68 state[1] = block[1] ^ (K[1] = context->state[1]); in WhirlpoolTransform() 258 context->state[0] ^= state[0] ^ block[0]; in WhirlpoolTransform() 259 context->state[1] ^= state[1] ^ block[1]; in WhirlpoolTransform() 260 context->state[2] ^= state[2] ^ block[2]; in WhirlpoolTransform() 261 context->state[3] ^= state[3] ^ block[3]; in WhirlpoolTransform() 262 context->state[4] ^= state[4] ^ block[4]; in WhirlpoolTransform() 263 context->state[5] ^= state[5] ^ block[5]; in WhirlpoolTransform() 264 context->state[6] ^= state[6] ^ block[6]; in WhirlpoolTransform() 265 context->state[7] ^= state[7] ^ block[7]; in WhirlpoolTransform() [all …]
|
H A D | hash_tiger.c | 119 #define tiger_compress(passes, str, state) \ argument 125 a = state[0]; \ 126 b = state[1]; \ 127 c = state[2]; \ 133 state[0] = a; \ 134 state[1] = b; \ 135 state[2] = c; \ 175 context->state[0] = L64(0x0123456789ABCDEF); in PHP_3TIGERInit() 176 context->state[1] = L64(0xFEDCBA9876543210); in PHP_3TIGERInit() 177 context->state[2] = L64(0xF096A5B4C3B2E187); in PHP_3TIGERInit() [all …]
|
H A D | hash_crc32.c | 28 context->state = ~0; in PHP_CRC32Init() 36 context->state = (context->state << 8) ^ crc32_table[(context->state >> 24) ^ (input[i] & 0xff)]; in PHP_CRC32Update() 45 context->state = (context->state >> 8) ^ crc32b_table[(context->state ^ input[i]) & 0xff]; in PHP_CRC32BUpdate() 51 context->state=~context->state; in PHP_CRC32Final() 54 digest[1] = (unsigned char) ((context->state >> 8) & 0xff); in PHP_CRC32Final() 55 digest[0] = (unsigned char) (context->state & 0xff); in PHP_CRC32Final() 56 context->state = 0; in PHP_CRC32Final() 61 context->state=~context->state; in PHP_CRC32BFinal() 65 digest[3] = (unsigned char) (context->state & 0xff); in PHP_CRC32BFinal() 66 context->state = 0; in PHP_CRC32BFinal() [all …]
|
H A D | hash_haval.c | 347 context->state[3] += (context->state[7] & 0xFF000000) | in PHP_HAVAL128Final() 352 context->state[2] += (((context->state[7] & 0x00FF0000) | in PHP_HAVAL128Final() 401 context->state[4] += ((context->state[7] & 0xFE000000) | in PHP_HAVAL160Final() 405 context->state[3] += ((context->state[7] & 0x01F80000) | in PHP_HAVAL160Final() 409 context->state[2] += (context->state[7] & 0x0007F000) | in PHP_HAVAL160Final() 455 context->state[5] += ((context->state[7] & 0xFC000000) | (context->state[6] & 0x03E00000)) >> 21; in PHP_HAVAL192Final() 456 context->state[4] += ((context->state[7] & 0x03E00000) | (context->state[6] & 0x001F0000)) >> 16; in PHP_HAVAL192Final() 457 context->state[3] += ((context->state[7] & 0x001F0000) | (context->state[6] & 0x0000FC00)) >> 10; in PHP_HAVAL192Final() 458 context->state[2] += ((context->state[7] & 0x0000FC00) | (context->state[6] & 0x000003E0)) >> 5; in PHP_HAVAL192Final() 459 context->state[1] += (context->state[7] & 0x000003E0) | (context->state[6] & 0x0000001F); in PHP_HAVAL192Final() [all …]
|
H A D | hash_adler32.c | 27 context->state = 1; in PHP_ADLER32Init() 34 s[0] = context->state & 0xffff; in PHP_ADLER32Update() 35 s[1] = (context->state >> 16) & 0xffff; in PHP_ADLER32Update() 40 context->state = s[0] + (s[1] << 16); in PHP_ADLER32Update() 45 digest[0] = (unsigned char) ((context->state >> 24) & 0xff); in PHP_ADLER32Final() 46 digest[1] = (unsigned char) ((context->state >> 16) & 0xff); in PHP_ADLER32Final() 47 digest[2] = (unsigned char) ((context->state >> 8) & 0xff); in PHP_ADLER32Final() 48 digest[3] = (unsigned char) (context->state & 0xff); in PHP_ADLER32Final() 49 context->state = 0; in PHP_ADLER32Final() 54 copy_context->state = orig_context->state; in PHP_ADLER32Copy()
|
H A D | hash_ripemd.c | 205 php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3]; in RIPEMD128Transform() 206 php_hash_uint32 aa = state[0], bb = state[1], cc = state[2], dd = state[3]; in RIPEMD128Transform() 241 state[1] = state[2] + d + aa; in RIPEMD128Transform() 242 state[2] = state[3] + a + bb; in RIPEMD128Transform() 243 state[3] = state[0] + b + cc; in RIPEMD128Transform() 296 php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3]; in RIPEMD256Transform() 297 php_hash_uint32 aa = state[4], bb = state[5], cc = state[6], dd = state[7]; in RIPEMD256Transform() 394 php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3], e = state[4]; in RIPEMD160Transform() 395 php_hash_uint32 aa = state[0], bb = state[1], cc = state[2], dd = state[3], ee = state[4]; in RIPEMD160Transform() 493 php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3], e = state[4]; in RIPEMD320Transform() [all …]
|
H A D | hash_sha.c | 224 php_hash_uint32 a = state[0], b = state[1], c = state[2]; in SHA1Transform() 225 php_hash_uint32 d = state[3], e = state[4], x[16], tmp; in SHA1Transform() 317 state[0] += a; in SHA1Transform() 318 state[1] += b; in SHA1Transform() 319 state[2] += c; in SHA1Transform() 320 state[3] += d; in SHA1Transform() 321 state[4] += e; in SHA1Transform() 482 php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3]; in SHA256Transform() 483 php_hash_uint32 e = state[4], f = state[5], g = state[6], h = state[7]; in SHA256Transform() 792 php_hash_uint64 a = state[0], b = state[1], c = state[2], d = state[3]; in SHA512Transform() [all …]
|
H A D | php_hash_sha.h | 39 php_hash_uint32 state[5]; /* state (ABCD) */ member 55 php_hash_uint32 state[8]; /* state */ member 66 php_hash_uint32 state[8]; /* state */ member 77 php_hash_uint64 state[8]; /* state */ member 88 php_hash_uint64 state[8]; /* state */ member
|
H A D | hash_md.c | 358 php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3], x[16]; 434 state[0] += a; 435 state[1] += b; 436 state[2] += c; 437 state[3] += d; 460 php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3], x[16]; in MD4Transform() 518 state[0] += a; in MD4Transform() 519 state[1] += b; in MD4Transform() 520 state[2] += c; in MD4Transform() 640 context->state[32+i] = (context->state[16+i] ^ context->state[i]); in MD2_Transform() [all …]
|
H A D | php_hash_ripemd.h | 27 php_hash_uint32 state[4]; /* state (ABCD) */ member 33 php_hash_uint32 state[5]; /* state (ABCD) */ member 39 php_hash_uint32 state[8]; /* state (ABCD) */ member 45 php_hash_uint32 state[10]; /* state (ABCD) */ member
|
H A D | php_hash_md.h | 63 php_hash_uint32 state[4]; /* state (ABCD) */ member 79 php_hash_uint32 state[4]; member 90 unsigned char state[48]; member
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | bug35022.phpt | 5 $state = array("one" => 1, "two" => 2, "three" => 3); 6 function foo( &$state ) { 7 $contentDict = end( $state ); 8 for ( $contentDict = end( $state ); $contentDict !== false; $contentDict = prev( $state ) ) { 9 echo key($state) . " => " . current($state) . "\n"; 12 foo($state); 13 reset($state); 14 var_dump( key($state), current($state) );
|
H A D | compact.phpt | 10 $state = "CA"; 13 $location_vars = array("c\u0327ity", "state"); 22 ["state"]=>
|
/PHP-5.3/ext/mbstring/oniguruma/enc/ |
H A D | gb18030.c | 110 enum state { enum 148 enum state state = S_START; in gb18030_left_adjust_char_head() local 153 switch (state) { in gb18030_left_adjust_char_head() 187 state = S_one_CMC4; in gb18030_left_adjust_char_head() 197 state = S_odd_C4CM; in gb18030_left_adjust_char_head() 212 state = S_even_CM_one_CX; in gb18030_left_adjust_char_head() 223 state = S_odd_CM_one_CX; in gb18030_left_adjust_char_head() 285 state = S_odd_CMC4; in gb18030_left_adjust_char_head() 353 state = S_even_C4CM; in gb18030_left_adjust_char_head() 377 state = S_odd_C4CM; in gb18030_left_adjust_char_head() [all …]
|
/PHP-5.3/ext/gd/libgd/ |
H A D | gdhelpers.c | 15 gd_strtok_r (char *s, char *sep, char **state) in gd_strtok_r() argument 29 s = *state; in gd_strtok_r() 35 *state = s; in gd_strtok_r() 49 *state = s; in gd_strtok_r() 60 *state = s; in gd_strtok_r() 74 *state = s; in gd_strtok_r()
|
/PHP-5.3/ext/pdo/ |
H A D | pdo_sqlstate.c | 32 const char state[5]; member 325 zend_hash_add(&err_hash, info->state, sizeof(info->state), &info, sizeof(info), NULL); in pdo_sqlstate_init_error_table() 331 const char *pdo_sqlstate_state_to_description(char *state) in pdo_sqlstate_state_to_description() argument 334 if (SUCCESS == zend_hash_find(&err_hash, state, sizeof(err_initializer[0].state), in pdo_sqlstate_state_to_description()
|
/PHP-5.3/ext/mbstring/oniguruma/ |
H A D | regparse.h | 122 int state; member 153 #define SET_EFFECT_STATUS(node,f) (node)->u.effect.state |= (f) 154 #define CLEAR_EFFECT_STATUS(node,f) (node)->u.effect.state &= ~(f) 165 (((en)->state & NST_STOP_BT_SIMPLE_REPEAT) != 0) 168 #define SET_CALL_RECURSION(node) (node)->u.call.state |= NST_RECURSION 169 #define IS_CALL_RECURSION(cn) (((cn)->state & NST_RECURSION) != 0) 170 #define IS_CALL_NAME_REF(cn) (((cn)->state & NST_NAME_REF) != 0) 171 #define IS_BACKREF_NAME_REF(bn) (((bn)->state & NST_NAME_REF) != 0) 177 int state; member 206 int state; member [all …]
|
/PHP-5.3/ext/tokenizer/ |
H A D | tokenizer.php | 16 $state = 0; variable 20 if ($state == 1 && $token[0] == T_STRING) { 22 $state = 0; variable 24 $state = 1; variable
|
/PHP-5.3/ext/sybase_ct/tests/ |
H A D | test.inc | 13 // {{{ bool sybase_msg_handler(int msgnumber, int severity, int state, int line, string text) 15 function sybase_msg_handler($msgnumber, $severity, $state, $line, $text) { 17 "*** Caught Sybase Server Message #%d [Severity %d, state %d] at line %d\n '%s'\n", 20 $state, 30 …// {{{ public static bool static_handler(int msgnumber, int severity, int state, int line, string … 32 static function static_handler($msgnumber, $severity, $state, $line, $text) { 33 return sybase_msg_handler($msgnumber, $severity, $state, $line, $text); 37 // {{{ public bool static_handler(int msgnumber, int severity, int state, int line, string text) 39 function handler($msgnumber, $severity, $state, $line, $text) { 40 return sybase_msg_handler($msgnumber, $severity, $state, $line, $text);
|
/PHP-5.3/ext/standard/ |
H A D | rand.c | 154 static inline void php_mt_initialize(php_uint32 seed, php_uint32 *state) in php_mt_initialize() argument 161 register php_uint32 *s = state; in php_mt_initialize() 162 register php_uint32 *r = state; in php_mt_initialize() 180 register php_uint32 *state = BG(state); in php_mt_reload() local 181 register php_uint32 *p = state; in php_mt_reload() 188 *p = twist(p[M-N], p[0], state[0]); in php_mt_reload() 190 BG(next) = state; in php_mt_reload() 199 php_mt_initialize(seed, BG(state)); in php_mt_srand()
|
/PHP-5.3/sapi/milter/ |
H A D | php_milter.c | 100 int state; 154 MG(state) = MLFI_INIT; in ZEND_DECLARE_MODULE_GLOBALS() 158 MG(state) = MLFI_NONE; in ZEND_DECLARE_MODULE_GLOBALS() 229 MG(state) = MLFI_NONE; in mlfi_connect() 259 MG(state) = MLFI_HELO; in mlfi_helo() 263 MG(state) = MLFI_NONE; in mlfi_helo() 303 MG(state) = MLFI_NONE; in mlfi_envfrom() 343 MG(state) = MLFI_NONE; in mlfi_envrcpt() 382 MG(state) = MLFI_NONE; in mlfi_header() 410 MG(state) = MLFI_EOH; in mlfi_eoh() [all …]
|
/PHP-5.3/ext/mbstring/libmbfl/tests/ |
H A D | strwidth.c | 20 int state = 0; in main() local 50 if (state == 1) { in main() 51 state = 0; in main() 56 state = 1; in main()
|
/PHP-5.3/sapi/cli/ |
H A D | php_cli_readline.c | 283 if (!(*state % 2)) { in cli_completion_generator_ht() 285 (*state)++; in cli_completion_generator_ht() 300 (*state)++; in cli_completion_generator_ht() 304 static char *cli_completion_generator_var(const char *text, int textlen, int *state TSRMLS_DC) /* {… in cli_completion_generator_var() 308 …tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, EG(active_symbol_table), … in cli_completion_generator_var() 318 static char *cli_completion_generator_func(const char *text, int textlen, int *state, HashTable *ht… in cli_completion_generator_func() argument 321 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func TSRMLS_CC); in cli_completion_generator_func() 330 static char *cli_completion_generator_class(const char *text, int textlen, int *state TSRMLS_DC) /*… in cli_completion_generator_class() 333 …char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&pce TSR… in cli_completion_generator_class() 342 static char *cli_completion_generator_define(const char *text, int textlen, int *state, HashTable *… in cli_completion_generator_define() argument [all …]
|
/PHP-5.3/ext/spl/tests/ |
H A D | iterator_041a.phpt | 9 public $state; 11 static function fail($state, $method) 13 if (self::$fail == $state) 15 throw new Exception("State $state: $method()"); 21 $this->state = MyArrayIterator::$fail;
|
H A D | iterator_041.phpt | 9 public $state; 11 static function fail($state, $method) 13 if (self::$fail == $state) 15 throw new Exception("State $state: $method()"); 21 $this->state = MyArrayIterator::$fail;
|