Home
last modified time | relevance | path

Searched refs:state (Results 26 – 50 of 165) sorted by relevance

1234567

/PHP-7.3/ext/hash/
H A Dhash_md.c356 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 Dphp_hash_ripemd.h25 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 Dphp_hash_md.h61 uint32_t state[4]; /* state (ABCD) */ member
77 uint32_t state[4]; member
88 unsigned char state[48]; member
H A Dhash_snefru.c126 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 Dhash_sha3.c67 # 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 Dphp_hash_haval.h25 uint32_t state[8]; member
31 void (*Transform)(uint32_t state[8], const unsigned char block[128]);
/PHP-7.3/ext/standard/
H A Dmt_rand.c98 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 Dsha1.c164 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 Dstrwidth.c20 int state = 0; in main() local
50 if (state == 1) { in main()
51 state = 0; in main()
56 state = 1; in main()
H A Dconv_kana.c31 int state = 0; in main() local
116 if (state == 1) { in main()
117 state = 0; in main()
122 state = 1; in main()
H A Dstrcut.c33 int state = 0; in main() local
79 if (state == 1) { in main()
80 state = 0; in main()
85 state = 1; in main()
H A Dconv_encoding.c32 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 Dcompact.phpt7 $state = "CA";
10 $location_vars = array("c\\u0327ity", "state");
20 ["state"]=>
/PHP-7.3/ext/spl/tests/
H A Diterator_041a.phpt9 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 Diterator_041.phpt9 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 Diterator_041b.phpt9 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 Dsession_set_save_handler_class_006.phpt22 public $state = 'ok';
24 $this->state = 'destroyed';
48 ["state"]=>
52 ["state"]=>
/PHP-7.3/ext/pdo_mysql/
H A Dget_error_codes.php20 foreach ($codes as $code => $state) {
22 printf(" case %-{$maxlen}s: return \"%s\";\n", $code, $state);
/PHP-7.3/Zend/
H A Dzend_virtual_cwd.c120 # 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 Dmysqlnd_debug.c545 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 Dmysqlnd_ps.c69 …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 Dmysqlnd_commands.c66 &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 Dpdo_dblib.c85 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 Dreadline_cli.c412 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 DKeccakP-1600-inplace32BI.c87 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 …]

Completed in 75 milliseconds

1234567