Lines Matching refs:zv

225 typedef void (*serialize_callback_t)(zval                     *zv,
230 typedef void (*unserialize_callback_t)(zval *zv,
234 static void zend_file_cache_serialize_zval(zval *zv,
238 static void zend_file_cache_unserialize_zval(zval *zv,
376 static void zend_file_cache_serialize_zval(zval *zv, argument
381 switch (Z_TYPE_P(zv)) {
383 if (!IS_SERIALIZED(Z_STR_P(zv))) {
384 SERIALIZE_STR(Z_STR_P(zv));
388 if (!IS_SERIALIZED(Z_ARR_P(zv))) {
391 SERIALIZE_PTR(Z_ARR_P(zv));
392 ht = Z_ARR_P(zv);
398 if (!IS_SERIALIZED(Z_AST_P(zv))) {
401 SERIALIZE_PTR(Z_AST_P(zv));
402 ast = Z_AST_P(zv);
409 SERIALIZE_PTR(Z_INDIRECT_P(zv));
412 ZEND_ASSERT(Z_TYPE_P(zv) < IS_STRING);
417 static void zend_file_cache_serialize_attribute(zval *zv, argument
422 zend_attribute *attr = Z_PTR_P(zv);
425 SERIALIZE_PTR(Z_PTR_P(zv));
426 attr = Z_PTR_P(zv);
530 SERIALIZE_PTR(opline->op1.zv);
533 SERIALIZE_PTR(opline->op2.zv);
641 static void zend_file_cache_serialize_func(zval *zv, argument
647 SERIALIZE_PTR(Z_PTR_P(zv));
648 func = Z_PTR_P(zv);
654 static void zend_file_cache_serialize_prop_info(zval *zv, argument
659 if (!IS_SERIALIZED(Z_PTR_P(zv))) {
662 SERIALIZE_PTR(Z_PTR_P(zv));
663 prop = Z_PTR_P(zv);
679 static void zend_file_cache_serialize_class_constant(zval *zv, argument
684 if (!IS_SERIALIZED(Z_PTR_P(zv))) {
687 SERIALIZE_PTR(Z_PTR_P(zv));
688 c = Z_PTR_P(zv);
706 static void zend_file_cache_serialize_class(zval *zv, argument
713 SERIALIZE_PTR(Z_PTR_P(zv));
714 ce = Z_PTR_P(zv);
1227 static void zend_file_cache_unserialize_zval(zval *zv, argument
1231 switch (Z_TYPE_P(zv)) {
1235 if (IS_SERIALIZED(Z_STR_P(zv)) || IS_SERIALIZED_INTERNED(Z_STR_P(zv))) {
1236 UNSERIALIZE_STR(Z_STR_P(zv));
1240 if (!IS_UNSERIALIZED(Z_ARR_P(zv))) {
1243 UNSERIALIZE_PTR(Z_ARR_P(zv));
1244 ht = Z_ARR_P(zv);
1250 if (!IS_UNSERIALIZED(Z_AST_P(zv))) {
1251 UNSERIALIZE_PTR(Z_AST_P(zv));
1252 zend_file_cache_unserialize_ast(Z_ASTVAL_P(zv), script, buf);
1257 UNSERIALIZE_PTR(Z_INDIRECT_P(zv));
1260 ZEND_ASSERT(Z_TYPE_P(zv) < IS_STRING);
1265 static void zend_file_cache_unserialize_attribute(zval *zv, zend_persistent_script *script, void *b… argument
1270 UNSERIALIZE_PTR(Z_PTR_P(zv));
1271 attr = Z_PTR_P(zv);
1381 UNSERIALIZE_PTR(opline->op1.zv);
1384 UNSERIALIZE_PTR(opline->op2.zv);
1484 static void zend_file_cache_unserialize_func(zval *zv, argument
1489 UNSERIALIZE_PTR(Z_PTR_P(zv));
1490 func = Z_PTR_P(zv);
1495 static void zend_file_cache_unserialize_prop_info(zval *zv, argument
1499 if (!IS_UNSERIALIZED(Z_PTR_P(zv))) {
1502 UNSERIALIZE_PTR(Z_PTR_P(zv));
1503 prop = Z_PTR_P(zv);
1518 static void zend_file_cache_unserialize_class_constant(zval *zv, argument
1522 if (!IS_UNSERIALIZED(Z_PTR_P(zv))) {
1525 UNSERIALIZE_PTR(Z_PTR_P(zv));
1526 c = Z_PTR_P(zv);
1543 static void zend_file_cache_unserialize_class(zval *zv, argument
1549 UNSERIALIZE_PTR(Z_PTR_P(zv));
1550 ce = Z_PTR_P(zv);