Lines Matching refs:zv

224 typedef void (*serialize_callback_t)(zval                     *zv,
229 typedef void (*unserialize_callback_t)(zval *zv,
233 static void zend_file_cache_serialize_zval(zval *zv,
237 static void zend_file_cache_unserialize_zval(zval *zv,
357 static void zend_file_cache_serialize_zval(zval *zv, argument
362 switch (Z_TYPE_P(zv)) {
364 if (!IS_SERIALIZED(Z_STR_P(zv))) {
365 SERIALIZE_STR(Z_STR_P(zv));
369 if (!IS_SERIALIZED(Z_ARR_P(zv))) {
372 SERIALIZE_PTR(Z_ARR_P(zv));
373 ht = Z_ARR_P(zv);
379 if (!IS_SERIALIZED(Z_AST_P(zv))) {
382 SERIALIZE_PTR(Z_AST_P(zv));
383 ast = Z_AST_P(zv);
390 SERIALIZE_PTR(Z_INDIRECT_P(zv));
393 ZEND_ASSERT(Z_TYPE_P(zv) < IS_STRING);
398 static void zend_file_cache_serialize_attribute(zval *zv, argument
403 zend_attribute *attr = Z_PTR_P(zv);
406 SERIALIZE_PTR(Z_PTR_P(zv));
407 attr = Z_PTR_P(zv);
511 SERIALIZE_PTR(opline->op1.zv);
514 SERIALIZE_PTR(opline->op2.zv);
624 static void zend_file_cache_serialize_func(zval *zv, argument
630 SERIALIZE_PTR(Z_PTR_P(zv));
631 func = Z_PTR_P(zv);
637 static void zend_file_cache_serialize_prop_info(zval *zv, argument
642 if (!IS_SERIALIZED(Z_PTR_P(zv))) {
645 SERIALIZE_PTR(Z_PTR_P(zv));
646 prop = Z_PTR_P(zv);
662 static void zend_file_cache_serialize_class_constant(zval *zv, argument
667 if (!IS_SERIALIZED(Z_PTR_P(zv))) {
670 SERIALIZE_PTR(Z_PTR_P(zv));
671 c = Z_PTR_P(zv);
689 static void zend_file_cache_serialize_class(zval *zv, argument
696 SERIALIZE_PTR(Z_PTR_P(zv));
697 ce = Z_PTR_P(zv);
1149 static void zend_file_cache_unserialize_zval(zval *zv, argument
1153 switch (Z_TYPE_P(zv)) {
1157 if (IS_SERIALIZED(Z_STR_P(zv)) || IS_SERIALIZED_INTERNED(Z_STR_P(zv))) {
1158 UNSERIALIZE_STR(Z_STR_P(zv));
1162 if (!IS_UNSERIALIZED(Z_ARR_P(zv))) {
1165 UNSERIALIZE_PTR(Z_ARR_P(zv));
1166 ht = Z_ARR_P(zv);
1172 if (!IS_UNSERIALIZED(Z_AST_P(zv))) {
1173 UNSERIALIZE_PTR(Z_AST_P(zv));
1174 zend_file_cache_unserialize_ast(Z_ASTVAL_P(zv), script, buf);
1179 UNSERIALIZE_PTR(Z_INDIRECT_P(zv));
1182 ZEND_ASSERT(Z_TYPE_P(zv) < IS_STRING);
1187 static void zend_file_cache_unserialize_attribute(zval *zv, zend_persistent_script *script, void *b… argument
1192 UNSERIALIZE_PTR(Z_PTR_P(zv));
1193 attr = Z_PTR_P(zv);
1312 UNSERIALIZE_PTR(opline->op1.zv);
1315 UNSERIALIZE_PTR(opline->op2.zv);
1417 static void zend_file_cache_unserialize_func(zval *zv, argument
1422 UNSERIALIZE_PTR(Z_PTR_P(zv));
1423 func = Z_PTR_P(zv);
1428 static void zend_file_cache_unserialize_prop_info(zval *zv, argument
1432 if (!IS_UNSERIALIZED(Z_PTR_P(zv))) {
1435 UNSERIALIZE_PTR(Z_PTR_P(zv));
1436 prop = Z_PTR_P(zv);
1451 static void zend_file_cache_unserialize_class_constant(zval *zv, argument
1455 if (!IS_UNSERIALIZED(Z_PTR_P(zv))) {
1458 UNSERIALIZE_PTR(Z_PTR_P(zv));
1459 c = Z_PTR_P(zv);
1475 static void zend_file_cache_unserialize_class(zval *zv, argument
1481 UNSERIALIZE_PTR(Z_PTR_P(zv));
1482 ce = Z_PTR_P(zv);