Lines Matching refs:t

177 	zval t;  in serialize()  local
180 ZVAL_STR(&t, php_random_bin2hex_le(&s->state[i], sizeof(uint32_t))); in serialize()
181 zend_hash_next_index_insert(data, &t); in serialize()
183 ZVAL_LONG(&t, s->count); in serialize()
184 zend_hash_next_index_insert(data, &t); in serialize()
185 ZVAL_LONG(&t, s->mode); in serialize()
186 zend_hash_next_index_insert(data, &t); in serialize()
194 zval *t; in unserialize() local
202 t = zend_hash_index_find(data, i); in unserialize()
203 if (!t || Z_TYPE_P(t) != IS_STRING || Z_STRLEN_P(t) != (2 * sizeof(uint32_t))) { in unserialize()
206 if (!php_random_hex2bin_le(Z_STR_P(t), &s->state[i])) { in unserialize()
210 t = zend_hash_index_find(data, N); in unserialize()
211 if (!t || Z_TYPE_P(t) != IS_LONG) { in unserialize()
214 s->count = Z_LVAL_P(t); in unserialize()
219 t = zend_hash_index_find(data, N + 1); in unserialize()
220 if (!t || Z_TYPE_P(t) != IS_LONG) { in unserialize()
223 s->mode = Z_LVAL_P(t); in unserialize()
320 zval t; in PHP_METHOD() local
327 ZVAL_ARR(&t, zend_std_get_properties(&engine->std)); in PHP_METHOD()
328 Z_TRY_ADDREF(t); in PHP_METHOD()
329 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &t); in PHP_METHOD()
332 array_init(&t); in PHP_METHOD()
333 if (!engine->engine.algo->serialize(engine->engine.state, Z_ARRVAL(t))) { in PHP_METHOD()
337 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &t); in PHP_METHOD()
346 zval *t; in PHP_METHOD() local
359 t = zend_hash_index_find(d, 0); in PHP_METHOD()
360 if (!t || Z_TYPE_P(t) != IS_ARRAY) { in PHP_METHOD()
364 object_properties_load(&engine->std, Z_ARRVAL_P(t)); in PHP_METHOD()
371 t = zend_hash_index_find(d, 1); in PHP_METHOD()
372 if (!t || Z_TYPE_P(t) != IS_ARRAY) { in PHP_METHOD()
376 if (!engine->engine.algo->unserialize(engine->engine.state, Z_ARRVAL_P(t))) { in PHP_METHOD()
387 zval t; in PHP_METHOD() local
394 array_init(&t); in PHP_METHOD()
395 if (!engine->engine.algo->serialize(engine->engine.state, Z_ARRVAL(t))) { in PHP_METHOD()
399 zend_hash_str_add(Z_ARR_P(return_value), "__states", strlen("__states"), &t); in PHP_METHOD()