Lines Matching refs:ent1
881 st_entry *ent1, *ent2; in php_wddx_pop_element() local
897 wddx_stack_top(stack, (void**)&ent1); in php_wddx_pop_element()
899 if (Z_TYPE(ent1->data) == IS_UNDEF) { in php_wddx_pop_element()
902 efree(ent1); in php_wddx_pop_element()
912 if (ZSTR_EMPTY_ALLOC() != Z_STR(ent1->data)) { in php_wddx_pop_element()
914 (unsigned char *)Z_STRVAL(ent1->data), Z_STRLEN(ent1->data)); in php_wddx_pop_element()
917 zval_ptr_dtor(&ent1->data); in php_wddx_pop_element()
919 ZVAL_STR(&ent1->data, new_str); in php_wddx_pop_element()
921 ZVAL_EMPTY_STRING(&ent1->data); in php_wddx_pop_element()
926 if (Z_TYPE(ent1->data) == IS_OBJECT) { in php_wddx_pop_element()
931 call_user_function_ex(NULL, &ent1->data, &fname, &retval, 0, 0, 0, NULL); in php_wddx_pop_element()
943 zval_ptr_dtor(&ent1->data); in php_wddx_pop_element()
944 efree(ent1); in php_wddx_pop_element()
951 if (ent1->varname) { in php_wddx_pop_element()
952 if (!strcmp(ent1->varname, PHP_CLASS_NAME_VAR) && in php_wddx_pop_element()
953 Z_TYPE(ent1->data) == IS_STRING && Z_STRLEN(ent1->data) && in php_wddx_pop_element()
957 zend_str_tolower(Z_STRVAL(ent1->data), Z_STRLEN(ent1->data)); in php_wddx_pop_element()
958 zend_string_forget_hash_val(Z_STR(ent1->data)); in php_wddx_pop_element()
959 if ((pce = zend_hash_find_ptr(EG(class_table), Z_STR(ent1->data))) == NULL) { in php_wddx_pop_element()
967 php_error_docref(NULL, E_WARNING, "Class %s can not be unserialized", Z_STRVAL(ent1->data)); in php_wddx_pop_element()
973 php_error_docref(NULL, E_WARNING, "Class %s can not be instantiated", Z_STRVAL(ent1->data)); in php_wddx_pop_element()
981 php_store_class_name(&obj, Z_STRVAL(ent1->data), Z_STRLEN(ent1->data)); in php_wddx_pop_element()
993 zval_ptr_dtor(&ent1->data); in php_wddx_pop_element()
995 …zend_update_property(Z_OBJCE(ent2->data), &ent2->data, ent1->varname, strlen(ent1->varname), &ent1… in php_wddx_pop_element()
996 if Z_REFCOUNTED(ent1->data) Z_DELREF(ent1->data); in php_wddx_pop_element()
998 zend_symtable_str_update(target_hash, ent1->varname, strlen(ent1->varname), &ent1->data); in php_wddx_pop_element()
1000 efree(ent1->varname); in php_wddx_pop_element()
1002 zend_hash_next_index_insert(target_hash, &ent1->data); in php_wddx_pop_element()
1005 efree(ent1); in php_wddx_pop_element()