Home
last modified time | relevance | path

Searched refs:method_name (Results 1 – 25 of 26) sorted by relevance

12

/php-src/ext/xml/
H A Dxml.c1077 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 Dphpdbg_print.c351 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 Dzend_object_handlers.c1642 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 Dzend_object_handlers.h269 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 Dzend_builtin_functions.c905 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 Dzend_inheritance.c2391 && zend_string_equals_ci(alias->trait_method.method_name, fnname) in zend_traits_copy_functions()
2425 && zend_string_equals_ci(alias->trait_method.method_name, fnname) in zend_traits_copy_functions()
2495 lcname = zend_string_tolower(cur_method_ref->method_name); in zend_traits_init_trait_structures()
2500 ZSTR_VAL(cur_method_ref->method_name)); in zend_traits_init_trait_structures()
2536 ZSTR_VAL(cur_method_ref->method_name), in zend_traits_init_trait_structures()
2557 lcname = zend_string_tolower(cur_method_ref->method_name); in zend_traits_init_trait_structures()
2586 ZSTR_VAL(cur_method_ref->method_name), in zend_traits_init_trait_structures()
2588 ZSTR_VAL(trait->name), ZSTR_VAL(cur_method_ref->method_name), in zend_traits_init_trait_structures()
2589 ZSTR_VAL(traits[j]->name), ZSTR_VAL(cur_method_ref->method_name)); in zend_traits_init_trait_structures()
2600 ZSTR_VAL(cur_alias->trait_method.method_name)); in zend_traits_init_trait_structures()
[all …]
H A Dzend_opcode.c215 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 Dzend.h91 zend_string *method_name; member
H A Dzend_execute_API.c1117 zend_object *object, zend_string *method_name, zval *retval, in zend_call_method_if_exists() argument
1123 ZVAL_STR(&fci.function_name, method_name); in zend_call_method_if_exists()
H A Dzend_API.h882 zend_object *object, zend_string *method_name, zval *retval,
/php-src/ext/opcache/
H A Dzend_persist_calc.c535 if (ce->trait_aliases[i]->trait_method.method_name) { in zend_persist_class_entry_calc()
536 ADD_INTERNED_STRING(ce->trait_aliases[i]->trait_method.method_name); in zend_persist_class_entry_calc()
556 ADD_INTERNED_STRING(ce->trait_precedences[i]->trait_method.method_name); in zend_persist_class_entry_calc()
H A Dzend_file_cache.c831 if (q->trait_method.method_name) {
832 SERIALIZE_STR(q->trait_method.method_name);
858 if (q->trait_method.method_name) {
859 SERIALIZE_STR(q->trait_method.method_name);
1677 if (q->trait_method.method_name) {
1678 UNSERIALIZE_STR(q->trait_method.method_name);
1702 if (q->trait_method.method_name) {
1703 UNSERIALIZE_STR(q->trait_method.method_name);
H A Dzend_persist.c1063 if (ce->trait_aliases[i]->trait_method.method_name) { in zend_persist_class_entry()
1064 zend_accel_store_interned_string(ce->trait_aliases[i]->trait_method.method_name); in zend_persist_class_entry()
1086 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 Dtest.c433 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 Dpdo_dbh.c1405 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 Dpdo_stmt.c2031 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 Dphp_reflection.c3167 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 Dphar_internal.h436 …r* tracker, zval *value, bool persistent, HashTable *unserialize_options, const char* method_name);
H A Dphar_object.c2881 zend_string *method_name = get_active_function_or_method_name(); in PHP_METHOD() local
2882 …rror(E_DEPRECATED, "Calling %s(resource $stub, int $length) is deprecated", ZSTR_VAL(method_name)); in PHP_METHOD()
2883 zend_string_release(method_name); in PHP_METHOD()
H A Dphar.c593 …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 Duserspace.c255 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 Dsession.c2086 #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 Dzend_optimizer.c976 zend_string *method_name = Z_STR_P(CRT_CONSTANT(opline->op2) + 1); in zend_optimizer_get_called_func() local
978 &op_array->scope->function_table, method_name); in zend_optimizer_get_called_func()
/php-src/ext/opcache/jit/
H A Dzend_jit_ir.c9133 zend_string *method_name; local
9136 method_name = Z_STR_P(zv);
9137 zv = zend_hash_find(&ce->function_table, method_name);
/php-src/ext/ffi/
H A Dffi.c5185 …end_function *zend_fake_get_method(zend_object **obj_ptr, zend_string *method_name, const zval *ke… in zend_fake_get_method() argument

Completed in 248 milliseconds

12