Lines Matching refs:func_name_len

387 	uint func_name_len;  in PHP_FUNCTION()  local
403 …zend_hash_get_current_key_ex(SPL_G(autoload_functions), &func_name, &func_name_len, &dummy, 0, &fu… in PHP_FUNCTION()
405 …(alfi->obj ? &alfi->obj : NULL, alfi->ce, &alfi->func_ptr, func_name, func_name_len, &retval, 1, c… in PHP_FUNCTION()
438 int func_name_len; in PHP_FUNCTION() local
464 …if (!zend_is_callable_ex(zcallable, NULL, IS_CALLABLE_STRICT, &func_name, &func_name_len, &fcc, &e… in PHP_FUNCTION()
515 lc_name = safe_emalloc(func_name_len, 1, sizeof(long) + 1); in PHP_FUNCTION()
516 zend_str_tolower_copy(lc_name, func_name, func_name_len); in PHP_FUNCTION()
523 lc_name = erealloc(lc_name, func_name_len + 2 + sizeof(zend_object_handle)); in PHP_FUNCTION()
524 memcpy(lc_name + func_name_len, &Z_OBJ_HANDLE_P(zcallable), in PHP_FUNCTION()
526 func_name_len += sizeof(zend_object_handle); in PHP_FUNCTION()
527 lc_name[func_name_len] = '\0'; in PHP_FUNCTION()
530 …oload_functions) && zend_hash_exists(SPL_G(autoload_functions), (char*)lc_name, func_name_len+1)) { in PHP_FUNCTION()
539 lc_name = erealloc(lc_name, func_name_len + 2 + sizeof(zend_object_handle)); in PHP_FUNCTION()
540 memcpy(lc_name + func_name_len, &Z_OBJ_HANDLE_P(obj_ptr), sizeof(zend_object_handle)); in PHP_FUNCTION()
541 func_name_len += sizeof(zend_object_handle); in PHP_FUNCTION()
542 lc_name[func_name_len] = '\0'; in PHP_FUNCTION()
570 …zend_hash_add(SPL_G(autoload_functions), lc_name, func_name_len+1, &alfi.func_ptr, sizeof(autoload… in PHP_FUNCTION()
592 int func_name_len; in PHP_FUNCTION() local
604 …lable_ex(zcallable, NULL, IS_CALLABLE_CHECK_SYNTAX_ONLY, &func_name, &func_name_len, &fcc, &error … in PHP_FUNCTION()
619 lc_name = safe_emalloc(func_name_len, 1, sizeof(long) + 1); in PHP_FUNCTION()
620 zend_str_tolower_copy(lc_name, func_name, func_name_len); in PHP_FUNCTION()
624 lc_name = erealloc(lc_name, func_name_len + 2 + sizeof(zend_object_handle)); in PHP_FUNCTION()
625 memcpy(lc_name + func_name_len, &Z_OBJ_HANDLE_P(zcallable), in PHP_FUNCTION()
627 func_name_len += sizeof(zend_object_handle); in PHP_FUNCTION()
628 lc_name[func_name_len] = '\0'; in PHP_FUNCTION()
632 if (func_name_len == sizeof("spl_autoload_call")-1 && !strcmp(lc_name, "spl_autoload_call")) { in PHP_FUNCTION()
641 success = zend_hash_del(SPL_G(autoload_functions), lc_name, func_name_len+1); in PHP_FUNCTION()
643 lc_name = erealloc(lc_name, func_name_len + 2 + sizeof(zend_object_handle)); in PHP_FUNCTION()
644 memcpy(lc_name + func_name_len, &Z_OBJ_HANDLE_P(obj_ptr), sizeof(zend_object_handle)); in PHP_FUNCTION()
645 func_name_len += sizeof(zend_object_handle); in PHP_FUNCTION()
646 lc_name[func_name_len] = '\0'; in PHP_FUNCTION()
647 success = zend_hash_del(SPL_G(autoload_functions), lc_name, func_name_len+1); in PHP_FUNCTION()
650 } else if (func_name_len == sizeof("spl_autoload")-1 && !strcmp(lc_name, "spl_autoload")) { in PHP_FUNCTION()