Home
last modified time | relevance | path

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

1234567

/PHP-7.2/ext/hash/sha3/generic64lc/
H A DKeccakSponge.inc49 /* 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 Dhash_md.c361 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 Dphp_hash_sha.h39 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 Dphp_hash_ripemd.h27 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 Dphp_hash_md.h63 uint32_t state[4]; /* state (ABCD) */ member
79 uint32_t state[4]; member
90 unsigned char state[48]; member
H A Dhash_snefru.c128 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 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.h27 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 Dcompact.phpt7 $state = "CA";
10 $location_vars = array("c\\u0327ity", "state");
19 ["state"]=>
/PHP-7.2/ext/standard/
H A Dmt_rand.c99 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 Dsha1.c169 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 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 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()
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()
/PHP-7.2/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.2/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.2/Zend/
H A Dzend_virtual_cwd.c114 # 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 Dget_error_codes.php20 foreach ($codes as $code => $state) {
22 printf(" case %-{$maxlen}s: return \"%s\";\n", $code, $state);
/PHP-7.2/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()
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 Dpdo_dblib.c87 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 Dreadline_cli.c411 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 …]

Completed in 105 milliseconds

1234567