/PHP-7.2/ext/hash/sha3/generic64lc/ |
H A D | KeccakSponge.inc | 49 /* Initialize the state */ 51 SnP_Initialize(state); 68 SnP_Permute(state); 89 SnP_AddByte(state, suffix, partialBlock); 92 SnP_Permute(state); 94 SnP_AddByte(state, 0x80, rateInBytes-1); 103 SnP_Permute(state); 111 SnP_Permute(state); 140 SnP_Initialize(instance->state); 231 SnP_Permute(instance->state); [all …]
|
/PHP-7.2/ext/hash/ |
H A D | hash_md.c | 361 uint32_t a = state[0], b = state[1], c = state[2], d = state[3], x[16]; 437 state[0] += a; 438 state[1] += b; 439 state[2] += c; 440 state[3] += d; 463 uint32_t a = state[0], b = state[1], c = state[2], d = state[3], x[16]; in MD4Transform() 521 state[0] += a; in MD4Transform() 522 state[1] += b; in MD4Transform() 523 state[2] += c; in MD4Transform() 643 context->state[32+i] = (context->state[16+i] ^ context->state[i]); in MD2_Transform() [all …]
|
H A D | php_hash_sha.h | 39 uint32_t state[5]; /* state (ABCD) */ member 55 uint32_t state[8]; /* state */ member 66 uint32_t state[8]; /* state */ member 77 uint64_t state[8]; /* state */ member 88 uint64_t state[8]; /* state */ member
|
H A D | php_hash_ripemd.h | 27 uint32_t state[4]; /* state (ABCD) */ member 33 uint32_t state[5]; /* state (ABCD) */ member 39 uint32_t state[8]; /* state (ABCD) */ member 45 uint32_t state[10]; /* state (ABCD) */ member
|
H A D | php_hash_md.h | 63 uint32_t state[4]; /* state (ABCD) */ member 79 uint32_t state[4]; member 90 unsigned char state[48]; member
|
H A D | hash_snefru.c | 128 context->state[8+j] = ((input[i] & 0xff) << 24) | ((input[i+1] & 0xff) << 16) | in SnefruTransform() 131 Snefru(context->state); in SnefruTransform() 132 ZEND_SECURE_ZERO(&context->state[8], sizeof(uint32_t) * 8); in SnefruTransform() 182 context->state[14] = context->count[0]; in PHP_SNEFRUFinal() 183 context->state[15] = context->count[1]; in PHP_SNEFRUFinal() 184 Snefru(context->state); in PHP_SNEFRUFinal() 187 digest[j] = (unsigned char) ((context->state[i] >> 24) & 0xff); in PHP_SNEFRUFinal() 188 digest[j + 1] = (unsigned char) ((context->state[i] >> 16) & 0xff); in PHP_SNEFRUFinal() 189 digest[j + 2] = (unsigned char) ((context->state[i] >> 8) & 0xff); in PHP_SNEFRUFinal() 190 digest[j + 3] = (unsigned char) (context->state[i] & 0xff); in PHP_SNEFRUFinal()
|
H A D | hash_sha3.c | 67 # define readLane(x, y) load64(ctx->state+sizeof(uint64_t)*idx(x, y)) 68 # define writeLane(x, y, v) store64(ctx->state+sizeof(uint64_t)*idx(x, y), v) 69 # define XORLane(x, y, v) xor64(ctx->state+sizeof(uint64_t)*idx(x, y), v) 71 # define readLane(x, y) (((uint64_t*)ctx->state)[idx(x,y)]) 72 # define writeLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] = v) 73 # define XORLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] ^= v) 166 ctx->state[ctx->pos++] ^= *(buf++); in PHP_SHA3_Update() 182 ctx->state[ctx->pos++] ^= 0x06; in PHP_SHA3_Final() 183 ctx->state[block_size-1] ^= 0x80; in PHP_SHA3_Final() 189 memcpy(digest, ctx->state, bs); in PHP_SHA3_Final()
|
H A D | php_hash_haval.h | 27 uint32_t state[8]; member 33 void (*Transform)(uint32_t state[8], const unsigned char block[128]);
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | compact.phpt | 7 $state = "CA"; 10 $location_vars = array("c\\u0327ity", "state"); 19 ["state"]=>
|
/PHP-7.2/ext/standard/ |
H A D | mt_rand.c | 99 static inline void php_mt_initialize(uint32_t seed, uint32_t *state) in php_mt_initialize() argument 106 register uint32_t *s = state; in php_mt_initialize() 107 register uint32_t *r = state; in php_mt_initialize() 125 register uint32_t *state = BG(state); in php_mt_reload() local 126 register uint32_t *p = state; in php_mt_reload() 134 *p = twist(p[M-N], p[0], state[0]); in php_mt_reload() 141 *p = twist_php(p[M-N], p[0], state[0]); in php_mt_reload() 144 BG(next) = state; in php_mt_reload() 153 php_mt_initialize(seed, BG(state)); in php_mt_srand()
|
H A D | sha1.c | 169 context->state[0] = 0x67452301; in PHP_SHA1Init() 170 context->state[1] = 0xefcdab89; in PHP_SHA1Init() 171 context->state[2] = 0x98badcfe; in PHP_SHA1Init() 260 uint32_t state[5]; in SHA1Transform() 263 uint32_t a = state[0], b = state[1], c = state[2]; 264 uint32_t d = state[3], e = state[4], x[16], tmp; 356 state[0] += a; 357 state[1] += b; 358 state[2] += c; 359 state[3] += d; [all …]
|
/PHP-7.2/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()
|
H A D | conv_kana.c | 31 int state = 0; in main() local 116 if (state == 1) { in main() 117 state = 0; in main() 122 state = 1; in main()
|
H A D | conv_encoding.c | 32 int state = 0; in main() local 70 if (state == 1) { in main() 71 state = 0; in main() 76 state = 1; in main()
|
H A D | strcut.c | 33 int state = 0; in main() local 79 if (state == 1) { in main() 80 state = 0; in main() 85 state = 1; in main()
|
/PHP-7.2/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;
|
H A D | iterator_041b.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;
|
/PHP-7.2/ext/session/tests/ |
H A D | session_set_save_handler_class_006.phpt | 22 public $state = 'ok'; 24 $this->state = 'destroyed'; 48 ["state"]=> 52 ["state"]=>
|
/PHP-7.2/Zend/ |
H A D | zend_virtual_cwd.c | 114 # define CWD_STATE_FREE_ERR(state) CWD_STATE_FREE(state) argument 486 cwd_state *state; in virtual_getcwd_ex() local 488 state = &CWDG(cwd); in virtual_getcwd_ex() 502 if (state->cwd_length == 2 && state->cwd[state->cwd_length-1] == ':') { in virtual_getcwd_ex() 514 if (!state->cwd) { in virtual_getcwd_ex() 1259 } else if (IS_UNC_PATH(state->cwd, state->cwd_length)) { in virtual_file_ex() 1371 tmp = erealloc(state->cwd, state->cwd_length+1); in virtual_file_ex() 1374 memcpy(state->cwd, resolved_path, state->cwd_length+1); in virtual_file_ex() 1377 *state = old_state; in virtual_file_ex() 1385 tmp = erealloc(state->cwd, state->cwd_length+1); in virtual_file_ex() [all …]
|
/PHP-7.2/ext/pdo_mysql/ |
H A D | get_error_codes.php | 20 foreach ($codes as $code => $state) { 22 printf(" case %-{$maxlen}s: return \"%s\";\n", $code, $state);
|
/PHP-7.2/ext/mysqlnd/ |
H A D | mysqlnd_debug.c | 545 state = PARSER_WAIT_COLON; in MYSQLND_METHOD() 591 state = PARSER_WAIT_COLON; in MYSQLND_METHOD() 607 state = PARSER_WAIT_COLON; in MYSQLND_METHOD() 611 state = PARSER_WAIT_COLON; in MYSQLND_METHOD() 615 state = PARSER_WAIT_COLON; in MYSQLND_METHOD() 619 state = PARSER_WAIT_COLON; in MYSQLND_METHOD() 623 state = PARSER_WAIT_COLON; in MYSQLND_METHOD() 644 state = PARSER_WAIT_COLON; in MYSQLND_METHOD() 648 state = PARSER_WAIT_COLON; in MYSQLND_METHOD() 654 state = PARSER_WAIT_COLON; in MYSQLND_METHOD() [all …]
|
H A D | mysqlnd_ps.c | 69 …if (GET_CONNECTION_STATE(&conn->state) != CONN_FETCHING_DATA || stmt->state != MYSQLND_STMT_WAITIN… in MYSQLND_METHOD() 127 stmt->state = MYSQLND_STMT_PREPARED; in MYSQLND_METHOD() 184 stmt->state = MYSQLND_STMT_PREPARED; in MYSQLND_METHOD() 188 stmt->state = MYSQLND_STMT_PREPARED; in MYSQLND_METHOD() 357 stmt->state = MYSQLND_STMT_INITTED; in mysqlnd_stmt_prepare_read_eof() 362 stmt->state = MYSQLND_STMT_PREPARED; in mysqlnd_stmt_prepare_read_eof() 481 stmt->state = MYSQLND_STMT_PREPARED; in MYSQLND_METHOD() 489 stmt->state = MYSQLND_STMT_INITTED; in MYSQLND_METHOD() 519 stmt->state = MYSQLND_STMT_PREPARED; in mysqlnd_stmt_execute_parse_response() 536 stmt->state = MYSQLND_STMT_EXECUTED; in mysqlnd_stmt_execute_parse_response() [all …]
|
/PHP-7.2/ext/pdo_dblib/ |
H A D | pdo_dblib.c | 87 char *state = "HY000"; in ZEND_GET_MODULE() local 119 case SYBEFCON: state = "01002"; break; in ZEND_GET_MODULE() 120 case SYBEMEM: state = "HY001"; break; in ZEND_GET_MODULE() 121 case SYBEPWD: state = "28000"; break; in ZEND_GET_MODULE() 123 strcpy(einfo->sqlstate, state); in ZEND_GET_MODULE()
|
/PHP-7.2/ext/readline/ |
H A D | readline_cli.c | 411 if (!(*state % 2)) { in cli_completion_generator_ht() 413 (*state)++; in cli_completion_generator_ht() 428 (*state)++; in cli_completion_generator_ht() 432 static char *cli_completion_generator_var(const char *text, int textlen, int *state) /* {{{ */ in cli_completion_generator_var() argument 437 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table, NULL); in cli_completion_generator_var() 447 static char *cli_completion_generator_ini(const char *text, int textlen, int *state) /* {{{ */ in cli_completion_generator_ini() argument 451 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, EG(ini_directives), NULL); in cli_completion_generator_ini() 464 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func); in cli_completion_generator_func() 473 static char *cli_completion_generator_class(const char *text, int textlen, int *state) /* {{{ */ in cli_completion_generator_class() argument 476 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); in cli_completion_generator_class() [all …]
|