/php-src/ext/xml/ |
H A D | xml.c | 1077 zend_string *method_name, in php_xml_check_string_method_arg() argument 1080 if (ZSTR_LEN(method_name) == 0) { in php_xml_check_string_method_arg() 1093 zend_function *method_ptr = zend_hash_find_ptr_lc(&ce->function_table, method_name); in php_xml_check_string_method_arg() 1096 …_value_error(arg_num, "method %s::%s() does not exist", ZSTR_VAL(ce->name), ZSTR_VAL(method_name)); in php_xml_check_string_method_arg() 1116 …zend_string *method_name = zend_string_copy(parser_to_check->fcc_field.function_handler->common.fu… 1118 …bool status = php_xml_check_string_method_arg(0, new_this_obj, method_name, &parser_to_check->fcc_… 1121 ZSTR_VAL(new_this_obj->ce->name), ZSTR_VAL(method_name)); \ 1122 zend_string_release(method_name); \ 1125 zend_string_release(method_name); \ 1275 zend_string *method_name = NULL; in php_xml_set_handler_parse_callable() local [all …]
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_print.c | 351 char *method_name, *class_name = strtok(function_lowercase, "::"); in phpdbg_print_opcodes() local 352 if ((method_name = strtok(NULL, "::")) == NULL) { in phpdbg_print_opcodes() 355 phpdbg_print_opcodes_method(class_name, method_name); in phpdbg_print_opcodes()
|
/php-src/Zend/ |
H A D | zend_object_handlers.c | 1642 if (UNEXPECTED((mname_len = strlen(ZSTR_VAL(method_name))) != ZSTR_LEN(method_name))) { in zend_get_call_trampoline_func() 1643 func->function_name = zend_string_init(ZSTR_VAL(method_name), mname_len, 0); in zend_get_call_trampoline_func() 1645 func->function_name = zend_string_copy(method_name); in zend_get_call_trampoline_func() 1741 return zend_get_call_trampoline_func(ce, method_name, 0); in zend_get_user_call_function() 1748 zend_visibility_string(fbc->common.fn_flags), ZEND_FN_SCOPE_NAME(fbc), ZSTR_VAL(method_name), in zend_bad_method_call() 1777 ZSTR_ALLOCA_ALLOC(lc_method_name, ZSTR_LEN(method_name), use_heap); in zend_std_get_method() 1778 zend_str_tolower_copy(ZSTR_VAL(lc_method_name), ZSTR_VAL(method_name), ZSTR_LEN(method_name)); in zend_std_get_method() 1786 return zend_get_user_call_function(zobj->ce, method_name); in zend_std_get_method() 1812 fbc = zend_get_user_call_function(zobj->ce, method_name); in zend_std_get_method() 1814 zend_bad_method_call(fbc, method_name, scope); in zend_std_get_method() [all …]
|
H A D | zend_object_handlers.h | 269 ZEND_API zend_function *zend_std_get_method(zend_object **obj_ptr, zend_string *method_name, const … 311 …zend_get_call_trampoline_func(const zend_class_entry *ce, zend_string *method_name, bool is_static…
|
H A D | zend_builtin_functions.c | 905 zval method_name; in ZEND_FUNCTION() local 925 ZVAL_STR_COPY(&method_name, mptr->common.function_name); in ZEND_FUNCTION() 926 zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), &method_name); in ZEND_FUNCTION() 936 zend_string *method_name; in ZEND_FUNCTION() local 944 Z_PARAM_STR(method_name) in ZEND_FUNCTION() 958 lcname = zend_string_tolower(method_name); in ZEND_FUNCTION() 972 func = Z_OBJ_HT_P(klass)->get_method(&obj, method_name, NULL); in ZEND_FUNCTION() 977 && zend_string_equals_literal_ci(method_name, ZEND_INVOKE_FUNC_NAME)); in ZEND_FUNCTION() 988 && zend_string_equals_literal_ci(method_name, ZEND_INVOKE_FUNC_NAME)) { in ZEND_FUNCTION()
|
H A D | zend_inheritance.c | 2412 && zend_string_equals_ci(alias->trait_method.method_name, fnname) in zend_traits_copy_functions() 2446 && zend_string_equals_ci(alias->trait_method.method_name, fnname) in zend_traits_copy_functions() 2516 lcname = zend_string_tolower(cur_method_ref->method_name); in zend_traits_init_trait_structures() 2521 ZSTR_VAL(cur_method_ref->method_name)); in zend_traits_init_trait_structures() 2557 ZSTR_VAL(cur_method_ref->method_name), in zend_traits_init_trait_structures() 2578 lcname = zend_string_tolower(cur_method_ref->method_name); in zend_traits_init_trait_structures() 2607 ZSTR_VAL(cur_method_ref->method_name), in zend_traits_init_trait_structures() 2609 ZSTR_VAL(trait->name), ZSTR_VAL(cur_method_ref->method_name), in zend_traits_init_trait_structures() 2610 ZSTR_VAL(traits[j]->name), ZSTR_VAL(cur_method_ref->method_name)); in zend_traits_init_trait_structures() 2621 ZSTR_VAL(cur_alias->trait_method.method_name)); in zend_traits_init_trait_structures() [all …]
|
H A D | zend_opcode.c | 215 if (ce->trait_aliases[i]->trait_method.method_name) { in _destroy_zend_class_traits_info() 216 zend_string_release_ex(ce->trait_aliases[i]->trait_method.method_name, 0); in _destroy_zend_class_traits_info() 238 zend_string_release_ex(ce->trait_precedences[i]->trait_method.method_name, 0); in _destroy_zend_class_traits_info()
|
H A D | zend.h | 91 zend_string *method_name; member
|
H A D | zend_execute_API.c | 1121 zend_object *object, zend_string *method_name, zval *retval, in zend_call_method_if_exists() argument 1127 ZVAL_STR(&fci.function_name, method_name); in zend_call_method_if_exists()
|
H A D | zend_API.h | 882 zend_object *object, zend_string *method_name, zval *retval,
|
/php-src/ext/opcache/ |
H A D | zend_persist_calc.c | 538 if (ce->trait_aliases[i]->trait_method.method_name) { in zend_persist_class_entry_calc() 539 ADD_INTERNED_STRING(ce->trait_aliases[i]->trait_method.method_name); in zend_persist_class_entry_calc() 559 ADD_INTERNED_STRING(ce->trait_precedences[i]->trait_method.method_name); in zend_persist_class_entry_calc()
|
H A D | zend_file_cache.c | 834 if (q->trait_method.method_name) { 835 SERIALIZE_STR(q->trait_method.method_name); 861 if (q->trait_method.method_name) { 862 SERIALIZE_STR(q->trait_method.method_name); 1687 if (q->trait_method.method_name) { 1688 UNSERIALIZE_STR(q->trait_method.method_name); 1712 if (q->trait_method.method_name) { 1713 UNSERIALIZE_STR(q->trait_method.method_name);
|
H A D | zend_persist.c | 1067 if (ce->trait_aliases[i]->trait_method.method_name) { in zend_persist_class_entry() 1068 zend_accel_store_interned_string(ce->trait_aliases[i]->trait_method.method_name); in zend_persist_class_entry() 1090 zend_accel_store_interned_string(ce->trait_precedences[i]->trait_method.method_name); in zend_persist_class_entry()
|
/php-src/ext/zend_test/ |
H A D | test.c | 433 zend_string *method_name; in ZEND_FUNCTION() local 441 Z_PARAM_STR(method_name) in ZEND_FUNCTION() 462 …zend_call_method(obj, ce, NULL, ZSTR_VAL(method_name), ZSTR_LEN(method_name), return_value, argc -… in ZEND_FUNCTION()
|
/php-src/ext/pdo/ |
H A D | pdo_dbh.c | 1405 static zend_function *dbh_method_get(zend_object **object, zend_string *method_name, const zval *ke… in dbh_method_get() argument 1411 if ((fbc = zend_std_get_method(object, method_name, key)) == NULL) { in dbh_method_get() 1422 lc_method_name = zend_string_tolower(method_name); in dbh_method_get()
|
H A D | pdo_stmt.c | 2031 static zend_function *dbstmt_method_get(zend_object **object_pp, zend_string *method_name, const zv… in dbstmt_method_get() argument 2037 lc_method_name = zend_string_tolower(method_name); in dbstmt_method_get() 2064 fbc = zend_std_get_method(object_pp, method_name, key); in dbstmt_method_get()
|
/php-src/ext/reflection/ |
H A D | php_reflection.c | 3167 char *method_name; in instantiate_reflection_method() local 3203 method_name = ZSTR_VAL(arg2_str); in instantiate_reflection_method() 3207 method_name = ZSTR_VAL(arg2_str); in instantiate_reflection_method() 3221 method_name = tmp + 2; in instantiate_reflection_method() 3245 lcname = zend_str_tolower_dup(method_name, method_name_len); in instantiate_reflection_method() 3255 "Method %s::%s() does not exist", ZSTR_VAL(ce->name), method_name); in instantiate_reflection_method() 5349 zend_string *lcname = zend_string_tolower(cur_ref->method_name); in ZEND_METHOD() 5847 zend_string *method_name = get_active_function_or_method_name(); in ZEND_METHOD() local 5849 zend_string_release(method_name); in ZEND_METHOD() 5855 zend_string *method_name = get_active_function_or_method_name(); in ZEND_METHOD() local [all …]
|
/php-src/ext/phar/ |
H A D | phar_internal.h | 436 …r* tracker, zval *value, bool persistent, HashTable *unserialize_options, const char* method_name);
|
H A D | phar_object.c | 2896 zend_string *method_name = get_active_function_or_method_name(); in PHP_METHOD() local 2897 …rror(E_DEPRECATED, "Calling %s(resource $stub, int $length) is deprecated", ZSTR_VAL(method_name)); in PHP_METHOD() 2898 zend_string_release(method_name); in PHP_METHOD()
|
H A D | phar.c | 593 …zval *metadata, bool persistent, HashTable *unserialize_options, const char* method_name) /* {{{ */ in phar_metadata_tracker_unserialize_or_copy() argument 614 …nserialize_with_options(metadata, start, ZSTR_LEN(tracker->str), unserialize_options, method_name); in phar_metadata_tracker_unserialize_or_copy()
|
/php-src/main/streams/ |
H A D | userspace.c | 255 zval *object, zval *method_name, zval *retval, uint32_t param_count, zval *params) in call_method_if_exists() argument 258 Z_OBJ_P(object), Z_STR_P(method_name), retval, param_count, params); in call_method_if_exists()
|
/php-src/ext/session/ |
H A D | session.c | 2086 #define SESSION_SET_USER_HANDLER_OO_MANDATORY(struct_name, method_name) \ argument 2093 …_index_str(&PS(mod_user_names).struct_name, zend_string_init(method_name, strlen(method_name), fal…
|
/php-src/Zend/Optimizer/ |
H A D | zend_optimizer.c | 978 zend_string *method_name = Z_STR_P(CRT_CONSTANT(opline->op2) + 1); in zend_optimizer_get_called_func() local 980 &op_array->scope->function_table, method_name); in zend_optimizer_get_called_func()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_ir.c | 9252 zend_string *method_name; local 9255 method_name = Z_STR_P(zv); 9256 zv = zend_hash_find(&ce->function_table, method_name);
|
/php-src/ext/ffi/ |
H A D | ffi.c | 5181 …end_function *zend_fake_get_method(zend_object **obj_ptr, zend_string *method_name, const zval *ke… in zend_fake_get_method() argument
|