/php-src/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 168 PHPDBG_API const zend_function *phpdbg_get_function(const char *fname, const char *cname) /* {{{ */ in phpdbg_get_function() argument 171 zend_string *lfname = zend_string_init(fname, strlen(fname), 0); in phpdbg_get_function()
|
H A D | phpdbg_bp.c | 972 zend_string *fname = zend_string_tolower(ops->function_name); in phpdbg_find_breakpoint_symbol() local 974 brake = zend_hash_find_ptr(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM], fname); in phpdbg_find_breakpoint_symbol() 976 zend_string_release(fname); in phpdbg_find_breakpoint_symbol()
|
/php-src/ext/pdo/ |
H A D | pdo_dbh.c | 1324 while (funcs->fname) { in pdo_hash_methods() 1327 func.function_name = zend_string_init(funcs->fname, strlen(funcs->fname), dbh->is_persistent); in pdo_hash_methods() 1362 namelen = strlen(funcs->fname); in pdo_hash_methods() 1364 zend_str_tolower_copy(lc_name, funcs->fname, namelen); in pdo_hash_methods()
|
/php-src/Zend/ |
H A D | zend_exceptions.c | 653 zend_string *fname; in ZEND_METHOD() local 660 fname = ZSTR_INIT_LITERAL("gettraceasstring", 0); in ZEND_METHOD() 669 ZVAL_STR(&fci.function_name, fname); in ZEND_METHOD() 720 zend_string_release_ex(fname, 0); in ZEND_METHOD()
|
H A D | zend_API.c | 2948 while (ptr->fname) { in zend_register_functions() 2949 fname_len = strlen(ptr->fname); in zend_register_functions() 2952 internal_function->function_name = zend_string_init_interned(ptr->fname, fname_len, 1); in zend_register_functions() 3010 scope ? ZSTR_VAL(scope->name) : "", scope ? "::" : "", ptr->fname); in zend_register_functions() 3107 scope ? ZSTR_VAL(scope->name) : "", scope ? "::" : "", ptr->fname); in zend_register_functions() 3196 while (ptr->fname) { in zend_register_functions() 3197 fname_len = strlen(ptr->fname); in zend_register_functions() 3199 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in zend_register_functions() 3227 while (ptr->fname) { in zend_unregister_functions() 3231 fname_len = strlen(ptr->fname); in zend_unregister_functions() [all …]
|
H A D | zend_execute.c | 677 const char **fname, const char **fsep, const char **fclass, in zend_verify_type_error_common() argument 680 *fname = ZSTR_VAL(zf->common.function_name); in zend_verify_type_error_common() 702 const char *fname, *fsep, *fclass; in zend_verify_arg_error() local 707 zf, arg_info, value, &fname, &fsep, &fclass, &need_msg, &given_msg); in zend_verify_arg_error() 1438 const char *fname, *fsep, *fclass; in zend_verify_return_error() local 1443 zf, arg_info, value, &fname, &fsep, &fclass, &need_msg, &given_msg); in zend_verify_return_error() 1446 fclass, fsep, fname, ZSTR_VAL(need_msg), given_msg); in zend_verify_return_error() 1465 const char *fname, *fsep, *fclass; in zend_verify_internal_return_error() local 1473 fclass, fsep, fname, ZSTR_VAL(need_msg), given_msg); in zend_verify_internal_return_error() 1478 const char *fname = ZSTR_VAL(zf->common.function_name); in zend_verify_void_return_error() local [all …]
|
H A D | zend_API.h | 36 const char *fname; member
|
H A D | zend_vm_def.h | 4004 zval *fname; variable 4011 fname = (zval*)RT_CONSTANT(opline, opline->op2); 4012 func = zend_hash_find_known_hash(EG(function_table), Z_STR_P(fname));
|
H A D | zend_vm_execute.h | 4026 zval *fname; in ZEND_INIT_FCALL_SPEC_CONST_HANDLER() local 4033 fname = (zval*)RT_CONSTANT(opline, opline->op2); in ZEND_INIT_FCALL_SPEC_CONST_HANDLER() 4034 func = zend_hash_find_known_hash(EG(function_table), Z_STR_P(fname)); in ZEND_INIT_FCALL_SPEC_CONST_HANDLER()
|
/php-src/ext/spl/ |
H A D | spl_array.c | 1167 static void spl_array_method(INTERNAL_FUNCTION_PARAMETERS, char *fname, size_t fname_len, int use_a… in spl_array_method() argument 1174 ZVAL_STRINGL(&function_name, fname, fname_len); in spl_array_method() 1219 #define SPL_ARRAY_METHOD(cname, fname, use_arg) \ argument 1220 PHP_METHOD(cname, fname) \ 1222 spl_array_method(INTERNAL_FUNCTION_PARAM_PASSTHRU, #fname, sizeof(#fname)-1, use_arg); \
|
/php-src/ext/com_dotnet/ |
H A D | com_persist.c | 272 #define CPH_METHOD(fname) PHP_METHOD(COMPersistHelper, fname) argument
|
/php-src/Zend/Optimizer/ |
H A D | block_pass.c | 357 char *fname = FUNCTION_CACHE->funcs[Z_LVAL(ZEND_OP1_LITERAL(fcall))].function_name; in zend_optimize_block() 359 …if((flen == sizeof("function_exists")-1 && zend_binary_strcasecmp(fname, flen, "function_exists", … in zend_optimize_block() 360 …(flen == sizeof("is_callable")-1 && zend_binary_strcasecmp(fname, flen, "is_callable", sizeof("is_… in zend_optimize_block() 370 …} else if(flen == sizeof("constant")-1 && zend_binary_strcasecmp(fname, flen, "constant", sizeof("… in zend_optimize_block() 380 …} else if(flen == sizeof("extension_loaded")-1 && zend_binary_strcasecmp(fname, flen, "extension_l… in zend_optimize_block()
|
/php-src/ext/opcache/ |
H A D | ZendAccelerator.c | 1934 char *fname = emalloc(sizeof("phar://") + ZSTR_LEN(persistent_script->script.filename)); in file_cache_compile_file() local 1936 memcpy(fname, "phar://", sizeof("phar://") - 1); in file_cache_compile_file() 1937 …memcpy(fname + sizeof("phar://") - 1, ZSTR_VAL(persistent_script->script.filename), ZSTR_LEN(persi… in file_cache_compile_file() 1938 php_stream_stat_path(fname, &ssb); in file_cache_compile_file() 1939 efree(fname); in file_cache_compile_file() 2217 char *fname = emalloc(sizeof("phar://") + ZSTR_LEN(persistent_script->script.filename)); in persistent_compile_file() local 2219 memcpy(fname, "phar://", sizeof("phar://") - 1); in persistent_compile_file() 2220 …memcpy(fname + sizeof("phar://") - 1, ZSTR_VAL(persistent_script->script.filename), ZSTR_LEN(persi… in persistent_compile_file() 2221 php_stream_stat_path(fname, &ssb); in persistent_compile_file() 2222 efree(fname); in persistent_compile_file()
|
/php-src/ext/intl/converter/ |
H A D | converter.c | 46 #define THROW_UFAILURE(obj, fname, error) php_converter_throw_failure(obj, error, \ argument 47 … fname "() returned error " ZEND_LONG_FMT ": %s", (zend_long)error, u_errorName(error))
|
/php-src/ext/iconv/ |
H A D | iconv.c | 150 static php_iconv_err_t _php_iconv_mime_encode(smart_str *pretval, const char *fname, size_t fname_n… 903 static php_iconv_err_t _php_iconv_mime_encode(smart_str *pretval, const char *fname, size_t fname_n… in _php_iconv_mime_encode() argument 969 _php_iconv_appendl(pretval, fname, fname_nbytes, cd_pl); in _php_iconv_mime_encode()
|
/php-src/ext/phar/tests/ |
H A D | phar_setdefaultstub.phpt | 10 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar'; 12 $phar = new Phar($fname);
|
H A D | bug45218_SLOWTEST.phpt | 14 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php'; 45 $phar = new Phar($fname);
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | minilua.c | 5854 const char*fname,int szhint); 6031 const char*fname,int szhint){ 6035 e=strchr(fname,'.'); 6036 if(e==NULL)e=fname+strlen(fname); 6037 lua_pushlstring(L,fname,e-fname); 6042 lua_pushlstring(L,fname,e-fname); 6048 return fname; 6051 fname=e+1; 6357 const char*fname=luaL_optstring(L,1,NULL); 6358 return load_aux(L,luaL_loadfile(L,fname)); [all …]
|
/php-src/ext/reflection/ |
H A D | php_reflection.c | 1629 zend_string *fname, *lcname; in ZEND_METHOD() local 1635 Z_PARAM_OBJ_OF_CLASS_OR_STR(closure_obj, zend_ce_closure, fname) in ZEND_METHOD() 1641 if (UNEXPECTED(ZSTR_VAL(fname)[0] == '\\')) { in ZEND_METHOD() 1644 ZSTR_ALLOCA_ALLOC(lcname, ZSTR_LEN(fname) - 1, use_heap); in ZEND_METHOD() 1645 zend_str_tolower_copy(ZSTR_VAL(lcname), ZSTR_VAL(fname) + 1, ZSTR_LEN(fname) - 1); in ZEND_METHOD() 1649 lcname = zend_string_tolower(fname); in ZEND_METHOD() 1656 "Function %s() does not exist", ZSTR_VAL(fname)); in ZEND_METHOD()
|
/php-src/ext/odbc/ |
H A D | php_odbc.c | 2628 char *fname; 2633 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &pv_res, odbc_result_ce, &fname, &fname_len) == F… 2647 if (strcasecmp(result->values[i].name, fname) == 0) {
|
/php-src/ext/zend_test/ |
H A D | test.c | 1203 .fname = "zend_test_internal_dnf_arguments",
|