/PHP-7.3/ext/hash/ |
H A D | hash_md.c | 356 uint32_t a = state[0], b = state[1], c = state[2], d = state[3], x[16]; 432 state[0] += a; 433 state[1] += b; 434 state[2] += c; 435 state[3] += d; 458 uint32_t a = state[0], b = state[1], c = state[2], d = state[3], x[16]; in MD4Transform() 516 state[0] += a; in MD4Transform() 517 state[1] += b; in MD4Transform() 518 state[2] += c; in MD4Transform() 638 context->state[32+i] = (context->state[16+i] ^ context->state[i]); in MD2_Transform() [all …]
|
H A D | php_hash_ripemd.h | 25 uint32_t state[4]; /* state (ABCD) */ member 31 uint32_t state[5]; /* state (ABCD) */ member 37 uint32_t state[8]; /* state (ABCD) */ member 43 uint32_t state[10]; /* state (ABCD) */ member
|
H A D | php_hash_md.h | 61 uint32_t state[4]; /* state (ABCD) */ member 77 uint32_t state[4]; member 88 unsigned char state[48]; member
|
H A D | hash_snefru.c | 126 context->state[8+j] = ((input[i] & 0xff) << 24) | ((input[i+1] & 0xff) << 16) | in SnefruTransform() 129 Snefru(context->state); in SnefruTransform() 130 ZEND_SECURE_ZERO(&context->state[8], sizeof(uint32_t) * 8); in SnefruTransform() 180 context->state[14] = context->count[0]; in PHP_SNEFRUFinal() 181 context->state[15] = context->count[1]; in PHP_SNEFRUFinal() 182 Snefru(context->state); in PHP_SNEFRUFinal() 185 digest[j] = (unsigned char) ((context->state[i] >> 24) & 0xff); in PHP_SNEFRUFinal() 186 digest[j + 1] = (unsigned char) ((context->state[i] >> 16) & 0xff); in PHP_SNEFRUFinal() 187 digest[j + 2] = (unsigned char) ((context->state[i] >> 8) & 0xff); in PHP_SNEFRUFinal() 188 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 | 25 uint32_t state[8]; member 31 void (*Transform)(uint32_t state[8], const unsigned char block[128]);
|
/PHP-7.3/ext/standard/ |
H A D | mt_rand.c | 98 static inline void php_mt_initialize(uint32_t seed, uint32_t *state) in php_mt_initialize() argument 105 register uint32_t *s = state; in php_mt_initialize() 106 register uint32_t *r = state; in php_mt_initialize() 124 register uint32_t *state = BG(state); in php_mt_reload() local 125 register uint32_t *p = state; in php_mt_reload() 133 *p = twist(p[M-N], p[0], state[0]); in php_mt_reload() 140 *p = twist_php(p[M-N], p[0], state[0]); in php_mt_reload() 143 BG(next) = state; in php_mt_reload() 152 php_mt_initialize(seed, BG(state)); in php_mt_srand()
|
H A D | sha1.c | 164 context->state[0] = 0x67452301; in PHP_SHA1Init() 165 context->state[1] = 0xefcdab89; in PHP_SHA1Init() 166 context->state[2] = 0x98badcfe; in PHP_SHA1Init() 255 uint32_t state[5]; in SHA1Transform() 258 uint32_t a = state[0], b = state[1], c = state[2]; 259 uint32_t d = state[3], e = state[4], x[16], tmp; 351 state[0] += a; 352 state[1] += b; 353 state[2] += c; 354 state[3] += d; [all …]
|
/PHP-7.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()
|
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 | 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()
|
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()
|
/PHP-7.3/ext/standard/tests/array/ |
H A D | compact.phpt | 7 $state = "CA"; 10 $location_vars = array("c\\u0327ity", "state"); 20 ["state"]=>
|
/PHP-7.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;
|
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.3/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.3/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.3/Zend/ |
H A D | zend_virtual_cwd.c | 120 # define CWD_STATE_FREE_ERR(state) CWD_STATE_FREE(state) argument 493 cwd_state *state; in virtual_getcwd_ex() local 495 state = &CWDG(cwd); in virtual_getcwd_ex() 509 if (state->cwd_length == 2 && state->cwd[state->cwd_length-1] == ':') { in virtual_getcwd_ex() 521 if (!state->cwd) { in virtual_getcwd_ex() 1298 } else if (IS_UNC_PATH(state->cwd, state->cwd_length)) { in virtual_file_ex() 1411 tmp = erealloc(state->cwd, state->cwd_length+1); in virtual_file_ex() 1414 memcpy(state->cwd, resolved_path, state->cwd_length+1); in virtual_file_ex() 1417 *state = old_state; in virtual_file_ex() 1425 tmp = erealloc(state->cwd, state->cwd_length+1); in virtual_file_ex() [all …]
|
/PHP-7.3/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() 351 stmt->state = MYSQLND_STMT_INITTED; in mysqlnd_stmt_prepare_read_eof() 356 stmt->state = MYSQLND_STMT_PREPARED; in mysqlnd_stmt_prepare_read_eof() 470 stmt->state = MYSQLND_STMT_PREPARED; in MYSQLND_METHOD() 478 stmt->state = MYSQLND_STMT_INITTED; in MYSQLND_METHOD() 508 stmt->state = MYSQLND_STMT_PREPARED; in mysqlnd_stmt_execute_parse_response() 525 stmt->state = MYSQLND_STMT_EXECUTED; in mysqlnd_stmt_execute_parse_response() [all …]
|
H A D | mysqlnd_commands.c | 66 &conn->state, in mysqlnd_com_set_option_run() 113 &conn->state, in mysqlnd_com_debug_run() 171 &conn->state, in mysqlnd_com_init_db_run() 237 &conn->state, in mysqlnd_com_ping_run() 299 &conn->state, in mysqlnd_com_statistics_run() 368 &conn->state, in mysqlnd_com_process_kill_run() 439 &conn->state, in mysqlnd_com_refresh_run() 499 &conn->state, in mysqlnd_com_shutdown_run() 555 &conn->state, in mysqlnd_com_quit_run() 606 &conn->state, in mysqlnd_com_query_run() [all …]
|
/PHP-7.3/ext/pdo_dblib/ |
H A D | pdo_dblib.c | 85 char *state = "HY000"; in ZEND_GET_MODULE() local 117 case SYBEFCON: state = "01002"; break; in ZEND_GET_MODULE() 118 case SYBEMEM: state = "HY001"; break; in ZEND_GET_MODULE() 119 case SYBEPWD: state = "28000"; break; in ZEND_GET_MODULE() 121 strcpy(einfo->sqlstate, state); in ZEND_GET_MODULE()
|
/PHP-7.3/ext/readline/ |
H A D | readline_cli.c | 412 if (!(*state % 2)) { in cli_completion_generator_ht() 414 (*state)++; in cli_completion_generator_ht() 429 (*state)++; in cli_completion_generator_ht() 433 static char *cli_completion_generator_var(const char *text, size_t textlen, int *state) /* {{{ */ in cli_completion_generator_var() argument 438 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table, NULL); in cli_completion_generator_var() 448 static char *cli_completion_generator_ini(const char *text, size_t textlen, int *state) /* {{{ */ in cli_completion_generator_ini() argument 452 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, EG(ini_directives), NULL); in cli_completion_generator_ini() 465 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func); in cli_completion_generator_func() 474 static char *cli_completion_generator_class(const char *text, size_t textlen, int *state) /* {{{ */ in cli_completion_generator_class() argument 477 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); in cli_completion_generator_class() [all …]
|
/PHP-7.3/ext/hash/sha3/generic32lc/ |
H A D | KeccakP-1600-inplace32BI.c | 87 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_SetBytesInLaneToZero() 110 void KeccakP1600_Initialize(void *state) in KeccakP1600_Initialize() argument 112 memset(state, 0, 200); in KeccakP1600_Initialize() 123 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_AddByte() 143 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_AddBytesInLane() 169 UINT32 * pS = (UINT32*)state; in KeccakP1600_AddLanes() 224 UINT32 * pS = (UINT32 *)state; in KeccakP1600_OverwriteLanes() 269 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_OverwriteWithZeroes() 284 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractBytesInLane() 1150 KeccakP1600_Permute_Nrounds(state, 12); in KeccakP1600_Permute_12rounds() [all …]
|