Lines Matching refs:func_name_len

418 	uint func_name_len;  in PHP_FUNCTION()  local
434 …zend_hash_get_current_key_ex(SPL_G(autoload_functions), &func_name, &func_name_len, &dummy, 0, &fu… in PHP_FUNCTION()
436 …(alfi->obj ? &alfi->obj : NULL, alfi->ce, &alfi->func_ptr, func_name, func_name_len, &retval, 1, c… in PHP_FUNCTION()
469 int func_name_len; in PHP_FUNCTION() local
495 …if (!zend_is_callable_ex(zcallable, NULL, IS_CALLABLE_STRICT, &func_name, &func_name_len, &fcc, &e… in PHP_FUNCTION()
546 lc_name = safe_emalloc(func_name_len, 1, sizeof(long) + 1); in PHP_FUNCTION()
547 zend_str_tolower_copy(lc_name, func_name, func_name_len); in PHP_FUNCTION()
554 lc_name = erealloc(lc_name, func_name_len + 2 + sizeof(zend_object_handle)); in PHP_FUNCTION()
555 memcpy(lc_name + func_name_len, &Z_OBJ_HANDLE_P(zcallable), in PHP_FUNCTION()
557 func_name_len += sizeof(zend_object_handle); in PHP_FUNCTION()
558 lc_name[func_name_len] = '\0'; in PHP_FUNCTION()
561 …oload_functions) && zend_hash_exists(SPL_G(autoload_functions), (char*)lc_name, func_name_len+1)) { in PHP_FUNCTION()
570 lc_name = erealloc(lc_name, func_name_len + 2 + sizeof(zend_object_handle)); in PHP_FUNCTION()
571 memcpy(lc_name + func_name_len, &Z_OBJ_HANDLE_P(obj_ptr), sizeof(zend_object_handle)); in PHP_FUNCTION()
572 func_name_len += sizeof(zend_object_handle); in PHP_FUNCTION()
573 lc_name[func_name_len] = '\0'; in PHP_FUNCTION()
601 …if (zend_hash_add(SPL_G(autoload_functions), lc_name, func_name_len+1, &alfi.func_ptr, sizeof(auto… in PHP_FUNCTION()
630 int func_name_len; in PHP_FUNCTION() local
642 …lable_ex(zcallable, NULL, IS_CALLABLE_CHECK_SYNTAX_ONLY, &func_name, &func_name_len, &fcc, &error … in PHP_FUNCTION()
657 lc_name = safe_emalloc(func_name_len, 1, sizeof(long) + 1); in PHP_FUNCTION()
658 zend_str_tolower_copy(lc_name, func_name, func_name_len); in PHP_FUNCTION()
662 lc_name = erealloc(lc_name, func_name_len + 2 + sizeof(zend_object_handle)); in PHP_FUNCTION()
663 memcpy(lc_name + func_name_len, &Z_OBJ_HANDLE_P(zcallable), in PHP_FUNCTION()
665 func_name_len += sizeof(zend_object_handle); in PHP_FUNCTION()
666 lc_name[func_name_len] = '\0'; in PHP_FUNCTION()
670 if (func_name_len == sizeof("spl_autoload_call")-1 && !strcmp(lc_name, "spl_autoload_call")) { in PHP_FUNCTION()
679 success = zend_hash_del(SPL_G(autoload_functions), lc_name, func_name_len+1); in PHP_FUNCTION()
681 lc_name = erealloc(lc_name, func_name_len + 2 + sizeof(zend_object_handle)); in PHP_FUNCTION()
682 memcpy(lc_name + func_name_len, &Z_OBJ_HANDLE_P(obj_ptr), sizeof(zend_object_handle)); in PHP_FUNCTION()
683 func_name_len += sizeof(zend_object_handle); in PHP_FUNCTION()
684 lc_name[func_name_len] = '\0'; in PHP_FUNCTION()
685 success = zend_hash_del(SPL_G(autoload_functions), lc_name, func_name_len+1); in PHP_FUNCTION()
688 } else if (func_name_len == sizeof("spl_autoload")-1 && !strcmp(lc_name, "spl_autoload")) { in PHP_FUNCTION()