Lines Matching refs:zv
228 typedef void (*serialize_callback_t)(zval *zv,
233 typedef void (*unserialize_callback_t)(zval *zv,
237 static void zend_file_cache_serialize_zval(zval *zv,
241 static void zend_file_cache_unserialize_zval(zval *zv,
382 static void zend_file_cache_serialize_zval(zval *zv, argument
387 switch (Z_TYPE_P(zv)) {
389 if (!IS_SERIALIZED(Z_STR_P(zv))) {
390 SERIALIZE_STR(Z_STR_P(zv));
394 if (!IS_SERIALIZED(Z_ARR_P(zv))) {
397 SERIALIZE_PTR(Z_ARR_P(zv));
398 ht = Z_ARR_P(zv);
404 if (!IS_SERIALIZED(Z_AST_P(zv))) {
407 SERIALIZE_PTR(Z_AST_P(zv));
408 ast = Z_AST_P(zv);
415 SERIALIZE_PTR(Z_INDIRECT_P(zv));
418 ZEND_ASSERT(Z_TYPE_P(zv) < IS_STRING);
423 static void zend_file_cache_serialize_attribute(zval *zv, argument
428 zend_attribute *attr = Z_PTR_P(zv);
431 SERIALIZE_PTR(Z_PTR_P(zv));
432 attr = Z_PTR_P(zv);
537 SERIALIZE_PTR(opline->op1.zv);
540 SERIALIZE_PTR(opline->op2.zv);
650 static void zend_file_cache_serialize_func(zval *zv, argument
656 SERIALIZE_PTR(Z_PTR_P(zv));
657 func = Z_PTR_P(zv);
663 static void zend_file_cache_serialize_prop_info(zval *zv, argument
668 if (!IS_SERIALIZED(Z_PTR_P(zv))) {
671 SERIALIZE_PTR(Z_PTR_P(zv));
672 prop = Z_PTR_P(zv);
702 static void zend_file_cache_serialize_class_constant(zval *zv, argument
707 if (!IS_SERIALIZED(Z_PTR_P(zv))) {
710 SERIALIZE_PTR(Z_PTR_P(zv));
711 c = Z_PTR_P(zv);
729 static void zend_file_cache_serialize_class(zval *zv, argument
736 SERIALIZE_PTR(Z_PTR_P(zv));
737 ce = Z_PTR_P(zv);
1262 static void zend_file_cache_unserialize_zval(zval *zv, argument
1266 switch (Z_TYPE_P(zv)) {
1270 if (IS_SERIALIZED(Z_STR_P(zv)) || IS_SERIALIZED_INTERNED(Z_STR_P(zv))) {
1271 UNSERIALIZE_STR(Z_STR_P(zv));
1275 if (!IS_UNSERIALIZED(Z_ARR_P(zv))) {
1278 UNSERIALIZE_PTR(Z_ARR_P(zv));
1279 ht = Z_ARR_P(zv);
1285 if (!IS_UNSERIALIZED(Z_AST_P(zv))) {
1286 UNSERIALIZE_PTR(Z_AST_P(zv));
1287 zend_file_cache_unserialize_ast(Z_ASTVAL_P(zv), script, buf);
1292 UNSERIALIZE_PTR(Z_INDIRECT_P(zv));
1295 ZEND_ASSERT(Z_TYPE_P(zv) < IS_STRING);
1300 static void zend_file_cache_unserialize_attribute(zval *zv, zend_persistent_script *script, void *b… argument
1305 UNSERIALIZE_PTR(Z_PTR_P(zv));
1306 attr = Z_PTR_P(zv);
1417 UNSERIALIZE_PTR(opline->op1.zv);
1420 UNSERIALIZE_PTR(opline->op2.zv);
1522 static void zend_file_cache_unserialize_func(zval *zv, argument
1527 UNSERIALIZE_PTR(Z_PTR_P(zv));
1528 func = Z_PTR_P(zv);
1533 static void zend_file_cache_unserialize_prop_info(zval *zv, argument
1537 if (!IS_UNSERIALIZED(Z_PTR_P(zv))) {
1540 UNSERIALIZE_PTR(Z_PTR_P(zv));
1541 prop = Z_PTR_P(zv);
1566 static void zend_file_cache_unserialize_class_constant(zval *zv, argument
1570 if (!IS_UNSERIALIZED(Z_PTR_P(zv))) {
1573 UNSERIALIZE_PTR(Z_PTR_P(zv));
1574 c = Z_PTR_P(zv);
1591 static void zend_file_cache_unserialize_class(zval *zv, argument
1597 UNSERIALIZE_PTR(Z_PTR_P(zv));
1598 ce = Z_PTR_P(zv);