Lines Matching refs:NULL

80 		zend_hash_init(zobj->properties, ce->default_properties_count, NULL, ZVAL_PTR_DTOR, 0);  in rebuild_object_properties()
132 *table = NULL; in zend_std_get_gc()
139 *table = NULL; in zend_std_get_gc()
145 return NULL; in zend_std_get_gc()
161 : NULL; in zend_std_get_debug_info()
181 zend_hash_init(ht, 0, NULL, ZVAL_PTR_DTOR, 0); in zend_std_get_debug_info()
187 …return NULL; /* Compilers are dumb and don't understand that noreturn means that the function does… in zend_std_get_debug_info()
238 zend_call_method_with_1_params(object, ce, &ce->__unset, ZEND_UNSET_FUNC_NAME, NULL, member); in zend_std_call_unsetter()
292 zend_property_info *property_info = NULL; in zend_get_property_offset()
302 zend_throw_error(NULL, "Cannot access empty property"); in zend_get_property_offset()
304 zend_throw_error(NULL, "Cannot access property started with '\\0'"); in zend_get_property_offset()
315 if (EXPECTED(zv != NULL)) { in zend_get_property_offset()
320 property_info = NULL; in zend_get_property_offset()
343 && (zv = zend_hash_find(&EG(scope)->properties_info, member)) != NULL in zend_get_property_offset()
349 } else if (UNEXPECTED(property_info == NULL)) { in zend_get_property_offset()
358 …zend_throw_error(NULL, "Cannot access %s property %s::$%s", zend_visibility_string(flags), ZSTR_VA… in zend_get_property_offset()
374 zend_property_info *property_info = NULL; in zend_get_property_info()
380 zend_throw_error(NULL, "Cannot access empty property"); in zend_get_property_info()
382 zend_throw_error(NULL, "Cannot access property started with '\\0'"); in zend_get_property_info()
393 if (EXPECTED(zv != NULL)) { in zend_get_property_info()
398 property_info = NULL; in zend_get_property_info()
420 && (zv = zend_hash_find(&EG(scope)->properties_info, member)) != NULL in zend_get_property_info()
423 } else if (UNEXPECTED(property_info == NULL)) { in zend_get_property_info()
425 return NULL; in zend_get_property_info()
429 …zend_throw_error(NULL, "Cannot access %s property %s::$%s", zend_visibility_string(flags), ZSTR_VA… in zend_get_property_info()
442 const char *class_name = NULL; in zend_check_property_access()
455 if (property_info == NULL) { in zend_check_property_access()
491 ZEND_ASSERT(guards != NULL); in zend_get_property_guard()
492 if ((guard = (zend_long *)zend_hash_find_ptr(guards, member)) != NULL) { in zend_get_property_guard()
497 zend_hash_init(guards, 8, NULL, zend_property_guard_dtor, 0); in zend_get_property_guard()
513 zend_long *guard = NULL; in zend_std_read_property()
521 cache_slot = NULL; in zend_std_read_property()
529 …ty_offset(zobj->ce, Z_STR_P(member), (type == BP_VAR_IS) || (zobj->ce->__get != NULL), cache_slot); in zend_std_read_property()
537 } else if (EXPECTED(zobj->properties != NULL)) { in zend_std_read_property()
578 if (guard == NULL) { in zend_std_read_property()
608 zend_throw_error(NULL, "Cannot access empty property"); in zend_std_read_property()
612 zend_throw_error(NULL, "Cannot access property started with '\\0'"); in zend_std_read_property()
649 cache_slot = NULL; in zend_std_write_property()
652 …property_offset = zend_get_property_offset(zobj->ce, Z_STR_P(member), (zobj->ce->__set != NULL), c… in zend_std_write_property()
660 } else if (EXPECTED(zobj->properties != NULL)) { in zend_std_write_property()
667 if ((variable_ptr = zend_hash_find(zobj->properties, Z_STR_P(member))) != NULL) { in zend_std_write_property()
696 zend_throw_error(NULL, "Cannot access empty property"); in zend_std_write_property()
699 zend_throw_error(NULL, "Cannot access property started with '\\0'"); in zend_std_write_property()
740 if (offset == NULL) { in zend_std_read_dimension()
750 zend_call_method_with_1_params(&tmp_object, ce, NULL, "offsetexists", rv, &tmp_offset); in zend_std_read_dimension()
754 return NULL; in zend_std_read_dimension()
765 zend_call_method_with_1_params(&tmp_object, ce, NULL, "offsetget", rv, &tmp_offset); in zend_std_read_dimension()
772 …zend_throw_error(NULL, "Undefined offset for object of type %s used as array", ZSTR_VAL(ce->name)); in zend_std_read_dimension()
774 return NULL; in zend_std_read_dimension()
778 zend_throw_error(NULL, "Cannot use object of type %s as array", ZSTR_VAL(ce->name)); in zend_std_read_dimension()
779 return NULL; in zend_std_read_dimension()
797 zend_call_method_with_2_params(&tmp_object, ce, NULL, "offsetset", NULL, &tmp_offset, value); in zend_std_write_dimension()
801 zend_throw_error(NULL, "Cannot use object of type %s as array", ZSTR_VAL(ce->name)); in zend_std_write_dimension()
816 zend_call_method_with_1_params(&tmp_object, ce, NULL, "offsetexists", &retval, &tmp_offset); in zend_std_has_dimension()
821 zend_call_method_with_1_params(&tmp_object, ce, NULL, "offsetget", &retval, &tmp_offset); in zend_std_has_dimension()
833 zend_throw_error(NULL, "Cannot use object of type %s as array", ZSTR_VAL(ce->name)); in zend_std_has_dimension()
844 zval *retval = NULL; in zend_std_get_property_ptr_ptr()
858 property_offset = zend_get_property_offset(zobj->ce, name, (zobj->ce->__get != NULL), cache_slot); in zend_std_get_property_ptr_ptr()
874 retval = NULL; in zend_std_get_property_ptr_ptr()
885 if (EXPECTED((retval = zend_hash_find(zobj->properties, name)) != NULL)) { in zend_std_get_property_ptr_ptr()
926 cache_slot = NULL; in zend_std_unset_property()
929 …property_offset = zend_get_property_offset(zobj->ce, Z_STR_P(member), (zobj->ce->__unset != NULL),… in zend_std_unset_property()
943 } else if (EXPECTED(zobj->properties != NULL)) { in zend_std_unset_property()
973 zend_throw_error(NULL, "Cannot access empty property"); in zend_std_unset_property()
976 zend_throw_error(NULL, "Cannot access property started with '\\0'"); in zend_std_unset_property()
999 zend_call_method_with_1_params(&tmp_object, ce, NULL, "offsetunset", NULL, &tmp_offset); in zend_std_unset_dimension()
1003 zend_throw_error(NULL, "Cannot use object of type %s as array", ZSTR_VAL(ce->name)); in zend_std_unset_dimension()
1047 return NULL; in zend_check_private_int()
1053 return zend_check_private_int(fbc, ce, function_name) != NULL; in zend_check_private()
1094 if (EXPECTED(EG(trampoline).common.function_name == NULL)) { in zend_get_call_trampoline_func()
1145 if (EXPECTED(key != NULL)) { in zend_std_get_method()
1155 if (UNEXPECTED((func = zend_hash_find(&zobj->ce->function_table, lc_method_name)) == NULL)) { in zend_std_get_method()
1162 return NULL; in zend_std_get_method()
1175 if (EXPECTED(updated_fbc != NULL)) { in zend_std_get_method()
1181 …zend_throw_error(NULL, "Call to %s method %s::%s() from context '%s'", zend_visibility_string(fbc-… in zend_std_get_method()
1182 fbc = NULL; in zend_std_get_method()
1192 if ((func = zend_hash_find(&EG(scope)->function_table, lc_method_name)) != NULL) { in zend_std_get_method()
1208 …zend_throw_error(NULL, "Call to %s method %s::%s() from context '%s'", zend_visibility_string(fbc-… in zend_std_get_method()
1209 fbc = NULL; in zend_std_get_method()
1230 zend_function *fbc = NULL; in zend_std_get_static_method()
1235 if (EXPECTED(key != NULL)) { in zend_std_get_static_method()
1254 if (EXPECTED(func != NULL)) { in zend_std_get_static_method()
1261 (object = zend_get_this_object(EG(current_execute_data))) != NULL && in zend_std_get_static_method()
1275 return NULL; in zend_std_get_static_method()
1295 if (EXPECTED(updated_fbc != NULL)) { in zend_std_get_static_method()
1301 …zend_throw_error(NULL, "Call to %s method %s::%s() from context '%s'", zend_visibility_string(fbc-… in zend_std_get_static_method()
1302 fbc = NULL; in zend_std_get_static_method()
1312 …zend_throw_error(NULL, "Call to %s method %s::%s() from context '%s'", zend_visibility_string(fbc-… in zend_std_get_static_method()
1313 fbc = NULL; in zend_std_get_static_method()
1331 if (UNEXPECTED(property_info == NULL)) { in zend_std_get_static_property()
1337 …zend_throw_error(NULL, "Cannot access %s property %s::$%s", zend_visibility_string(property_info->… in zend_std_get_static_property()
1339 return NULL; in zend_std_get_static_property()
1348 return NULL; in zend_std_get_static_property()
1354 if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { in zend_std_get_static_property()
1357 …zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_V… in zend_std_get_static_property()
1359 ret = NULL; in zend_std_get_static_property()
1368 …zend_throw_error(NULL, "Attempt to unset static property %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(pr… in zend_std_unset_static_property()
1385 …zend_throw_error(NULL, "Call to private %s::%s() from context '%s'", ZSTR_VAL(constructor->common.… in zend_std_get_constructor()
1386 constructor = NULL; in zend_std_get_constructor()
1388 …zend_throw_error(NULL, "Call to private %s::%s() from invalid context", ZSTR_VAL(constructor->comm… in zend_std_get_constructor()
1389 constructor = NULL; in zend_std_get_constructor()
1399 …zend_throw_error(NULL, "Call to protected %s::%s() from context '%s'", ZSTR_VAL(constructor->commo… in zend_std_get_constructor()
1400 constructor = NULL; in zend_std_get_constructor()
1402 …zend_throw_error(NULL, "Call to protected %s::%s() from invalid context", ZSTR_VAL(constructor->co… in zend_std_get_constructor()
1403 constructor = NULL; in zend_std_get_constructor()
1483 zval *value = NULL; in zend_std_has_property()
1493 cache_slot = NULL; in zend_std_has_property()
1504 } else if (EXPECTED(zobj->properties != NULL) && in zend_std_has_property()
1505 (value = zend_hash_find(zobj->properties, Z_STR_P(member))) != NULL) { in zend_std_has_property()
1590 if (UNEXPECTED(EG(exception) != NULL)) { in zend_std_cast_object_tostring()
1594 EG(exception) = NULL; in zend_std_cast_object_tostring()
1660 …h_str_find(&ce->function_table, ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1)) == NULL) { in zend_std_get_closure()
1668 *obj_ptr = NULL; in zend_std_get_closure()
1691 NULL, /* get */
1692 NULL, /* set */
1699 NULL, /* call_method */
1704 NULL, /* count_elements */
1708 NULL, /* do_operation */
1709 NULL, /* compare */