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);
642 static void zend_file_cache_serialize_func(zval *zv, argument
648 SERIALIZE_PTR(Z_PTR_P(zv));
649 func = Z_PTR_P(zv);
655 static void zend_file_cache_serialize_prop_info(zval *zv, argument
660 if (!IS_SERIALIZED(Z_PTR_P(zv))) {
663 SERIALIZE_PTR(Z_PTR_P(zv));
664 prop = Z_PTR_P(zv);
680 static void zend_file_cache_serialize_class_constant(zval *zv, argument
685 if (!IS_SERIALIZED(Z_PTR_P(zv))) {
688 SERIALIZE_PTR(Z_PTR_P(zv));
689 c = Z_PTR_P(zv);
707 static void zend_file_cache_serialize_class(zval *zv, argument
714 SERIALIZE_PTR(Z_PTR_P(zv));
715 ce = Z_PTR_P(zv);
1228 static void zend_file_cache_unserialize_zval(zval *zv, argument
1232 switch (Z_TYPE_P(zv)) {
1236 if (IS_SERIALIZED(Z_STR_P(zv)) || IS_SERIALIZED_INTERNED(Z_STR_P(zv))) {
1237 UNSERIALIZE_STR(Z_STR_P(zv));
1241 if (!IS_UNSERIALIZED(Z_ARR_P(zv))) {
1244 UNSERIALIZE_PTR(Z_ARR_P(zv));
1245 ht = Z_ARR_P(zv);
1251 if (!IS_UNSERIALIZED(Z_AST_P(zv))) {
1252 UNSERIALIZE_PTR(Z_AST_P(zv));
1253 zend_file_cache_unserialize_ast(Z_ASTVAL_P(zv), script, buf);
1258 UNSERIALIZE_PTR(Z_INDIRECT_P(zv));
1261 ZEND_ASSERT(Z_TYPE_P(zv) < IS_STRING);
1266 static void zend_file_cache_unserialize_attribute(zval *zv, zend_persistent_script *script, void *b… argument
1271 UNSERIALIZE_PTR(Z_PTR_P(zv));
1272 attr = Z_PTR_P(zv);
1382 UNSERIALIZE_PTR(opline->op1.zv);
1385 UNSERIALIZE_PTR(opline->op2.zv);
1486 static void zend_file_cache_unserialize_func(zval *zv, argument
1491 UNSERIALIZE_PTR(Z_PTR_P(zv));
1492 func = Z_PTR_P(zv);
1497 static void zend_file_cache_unserialize_prop_info(zval *zv, argument
1501 if (!IS_UNSERIALIZED(Z_PTR_P(zv))) {
1504 UNSERIALIZE_PTR(Z_PTR_P(zv));
1505 prop = Z_PTR_P(zv);
1520 static void zend_file_cache_unserialize_class_constant(zval *zv, argument
1524 if (!IS_UNSERIALIZED(Z_PTR_P(zv))) {
1527 UNSERIALIZE_PTR(Z_PTR_P(zv));
1528 c = Z_PTR_P(zv);
1545 static void zend_file_cache_unserialize_class(zval *zv, argument
1551 UNSERIALIZE_PTR(Z_PTR_P(zv));
1552 ce = Z_PTR_P(zv);