Home
last modified time | relevance | path

Searched refs:fname (Results 1 – 25 of 368) sorted by path

12345678910>>...15

/PHP-7.1/Zend/tests/
H A Dcall_static.phpt7 static function __callStatic($fname, $args)
9 echo $fname, '() called with ', count($args), " arguments\n";
/PHP-7.1/Zend/
H A Dzend_API.c2155 while (ptr->fname) { in zend_register_functions()
2156 fname_len = strlen(ptr->fname); in zend_register_functions()
2158 …internal_function->function_name = zend_new_interned_string(zend_string_init(ptr->fname, fname_len… in zend_register_functions()
2238 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in zend_register_functions()
2273 …_error(error_type, "Destructor %s::%s() cannot take arguments", ZSTR_VAL(scope->name), ptr->fname); in zend_register_functions()
2312 while (ptr->fname) { in zend_register_functions()
2313 fname_len = strlen(ptr->fname); in zend_register_functions()
2315 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in zend_register_functions()
2437 while (ptr->fname) { in zend_unregister_functions()
2441 fname_len = strlen(ptr->fname); in zend_unregister_functions()
[all …]
H A Dzend_API.h37 const char *fname; member
H A Dzend_exceptions.c687 zend_string *fname; in ZEND_METHOD() local
694 fname = zend_string_init("gettraceasstring", sizeof("gettraceasstring")-1, 0); in ZEND_METHOD()
703 ZVAL_STR(&fci.function_name, fname); in ZEND_METHOD()
748 zend_string_release(fname); in ZEND_METHOD()
H A Dzend_execute.c633 const char **fname, const char **fsep, const char **fclass, in zend_verify_type_error_common() argument
638 *fname = ZSTR_VAL(zf->common.function_name); in zend_verify_type_error_common()
705 const char *fname, *fsep, *fclass; in zend_verify_arg_error() local
995 const char *fname, *fsep, *fclass; in zend_verify_return_error() local
1000 &fname, &fsep, &fclass, &need_msg, &need_kind, &need_or_null, &given_msg, &given_kind); in zend_verify_return_error()
1003 fclass, fsep, fname, need_msg, need_kind, need_or_null, given_msg, given_kind); in zend_verify_return_error()
1011 const char *fname, *fsep, *fclass; in zend_verify_internal_return_error() local
1016 &fname, &fsep, &fclass, &need_msg, &need_kind, &need_or_null, &given_msg, &given_kind); in zend_verify_internal_return_error()
1019 fclass, fsep, fname, need_msg, need_kind, need_or_null, given_msg, given_kind); in zend_verify_internal_return_error()
1024 const char *fname = ZSTR_VAL(zf->common.function_name); in zend_verify_void_return_error() local
[all …]
H A Dzend_vm_def.h3605 zval *fname = GET_OP2_ZVAL_PTR(BP_VAR_R);
3610 fbc = CACHED_PTR(Z_CACHE_SLOT_P(fname));
3612 func = zend_hash_find(EG(function_table), Z_STR_P(fname));
3615 zend_throw_error(NULL, "Call to undefined function %s()", Z_STRVAL_P(fname));
3619 CACHE_PTR(Z_CACHE_SLOT_P(fname), fbc);
H A Dzend_vm_execute.h2244 zval *fname = EX_CONSTANT(opline->op2); local
2249 fbc = CACHED_PTR(Z_CACHE_SLOT_P(fname));
2251 func = zend_hash_find(EG(function_table), Z_STR_P(fname));
2254 zend_throw_error(NULL, "Call to undefined function %s()", Z_STRVAL_P(fname));
2258 CACHE_PTR(Z_CACHE_SLOT_P(fname), fbc);
/PHP-7.1/ext/com_dotnet/
H A Dcom_persist.c291 #define CPH_ME(fname, arginfo) PHP_ME(com_persist, fname, arginfo, ZEND_ACC_PUBLIC) argument
292 #define CPH_SME(fname, arginfo) PHP_ME(com_persist, fname, arginfo, ZEND_ACC_ALLOW_STATIC|ZEND_ACC_… argument
293 #define CPH_METHOD(fname) static PHP_METHOD(com_persist, fname) argument
/PHP-7.1/ext/curl/
H A Dcurl_file.c34 char *fname = NULL, *mime = NULL, *postname = NULL; in curlfile_ctor() local
38 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|ss", &fname, &fname_len, &mime, &mime_len, &postname… in curlfile_ctor()
42 if (fname) { in curlfile_ctor()
43 zend_update_property_string(curl_CURLFile_class, cf, "name", sizeof("name")-1, fname); in curlfile_ctor()
/PHP-7.1/ext/fileinfo/libmagic/
H A Dapptype.c50 fname[_MAX_FNAME], ext[_MAX_EXT]; in file_os2_apptype() local
61 _splitpath(filename, drive, dir, fname, ext); in file_os2_apptype()
64 fname, in file_os2_apptype()
88 printf("%s: not an executable file\n", fname); in file_os2_apptype()
90 printf("%s: not found\n", fname); in file_os2_apptype()
92 printf("%s: access denied\n", fname); in file_os2_apptype()
94 printf("%s: error code = %lu\n", fname, rc); in file_os2_apptype()
/PHP-7.1/ext/fileinfo/tests/
H A Dbug69320.phpt8 $fname = dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug69320.txt";
9 file_put_contents($fname, "foo");
10 var_dump(finfo_file(finfo_open(FILEINFO_MIME_TYPE), $fname));
15 $fname = dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug69320.txt";
16 unlink($fname);
/PHP-7.1/ext/gd/tests/
H A Dbug72339.phpt12 $fname = dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug72339.gd";
14 $fh = fopen($fname, "w");
26 $im = imagecreatefromgd2($fname);
31 unlink($fname);
/PHP-7.1/ext/iconv/
H A Diconv.c211 static php_iconv_err_t _php_iconv_mime_encode(smart_str *pretval, const char *fname, size_t fname_n…
1153 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
1227 _php_iconv_appendl(pretval, fname, fname_nbytes, cd_pl); in _php_iconv_mime_encode()
/PHP-7.1/ext/intl/converter/
H A Dconverter.c45 #define THROW_UFAILURE(obj, fname, error) php_converter_throw_failure(obj, error, \ argument
46fname "() returned error " ZEND_LONG_FMT ": %s", (zend_long)error, u_errorName(error))
/PHP-7.1/ext/json/
H A Djson_encoder.c478 zval retval, fname; in php_json_encode_serializable_object() local
497 ZVAL_STRING(&fname, "jsonSerialize"); in php_json_encode_serializable_object()
499 …if (FAILURE == call_user_function_ex(EG(function_table), val, &fname, &retval, 0, NULL, 1, NULL) |… in php_json_encode_serializable_object()
503 zval_ptr_dtor(&fname); in php_json_encode_serializable_object()
514 zval_ptr_dtor(&fname); in php_json_encode_serializable_object()
532 zval_ptr_dtor(&fname); in php_json_encode_serializable_object()
/PHP-7.1/ext/mbstring/libmbfl/filters/
H A Dmk_emoji_tbl.pl17 $fname = "emoji2uni.h";
18 open(OUT,">$fname") or die $!;
/PHP-7.1/ext/mysqlnd/
H A Dmysqlnd_auth.c695 …const char * fname = (pfc_data->sha256_server_public_key && pfc_data->sha256_server_public_key[0] … in mysqlnd_sha256_get_rsa_key() local
703 if (!fname || fname[0] == '\0') { in mysqlnd_sha256_get_rsa_key()
753 DBG_INF_FMT("Key in a file. [%s]", fname); in mysqlnd_sha256_get_rsa_key()
754 stream = php_stream_open_wrapper((char *) fname, "rb", REPORT_ERRORS, NULL); in mysqlnd_sha256_get_rsa_key()
/PHP-7.1/ext/odbc/
H A Dphp_odbc.c2963 char *fname; in PHP_FUNCTION() local
2968 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pv_res, &fname, &fname_len) == FAILURE) { in PHP_FUNCTION()
2983 if (strcasecmp(result->values[i].name, fname) == 0) { in PHP_FUNCTION()
/PHP-7.1/ext/opcache/Optimizer/
H A Dblock_pass.c305 char *fname = FUNCTION_CACHE->funcs[Z_LVAL(ZEND_OP1_LITERAL(fcall))].function_name; in zend_optimize_block()
307 …if(flen == sizeof("defined")-1 && zend_binary_strcasecmp(fname, flen, "defined", sizeof("defined")… in zend_optimize_block()
316 …} else if((flen == sizeof("function_exists")-1 && zend_binary_strcasecmp(fname, flen, "function_ex… in zend_optimize_block()
317 …(flen == sizeof("is_callable")-1 && zend_binary_strcasecmp(fname, flen, "is_callable", sizeof("is_… in zend_optimize_block()
327 …} else if(flen == sizeof("constant")-1 && zend_binary_strcasecmp(fname, flen, "constant", sizeof("… in zend_optimize_block()
337 …} else if(flen == sizeof("extension_loaded")-1 && zend_binary_strcasecmp(fname, flen, "extension_l… in zend_optimize_block()
/PHP-7.1/ext/opcache/
H A DZendAccelerator.c1664 char *fname = emalloc(sizeof("phar://") + ZSTR_LEN(persistent_script->script.filename)); in file_cache_compile_file() local
1666 memcpy(fname, "phar://", sizeof("phar://") - 1); in file_cache_compile_file()
1667 …memcpy(fname + sizeof("phar://") - 1, ZSTR_VAL(persistent_script->script.filename), ZSTR_LEN(persi… in file_cache_compile_file()
1668 php_stream_stat_path(fname, &ssb); in file_cache_compile_file()
1669 efree(fname); in file_cache_compile_file()
1949 char *fname = emalloc(sizeof("phar://") + ZSTR_LEN(persistent_script->script.filename)); in persistent_compile_file() local
1951 memcpy(fname, "phar://", sizeof("phar://") - 1); in persistent_compile_file()
1952 …memcpy(fname + sizeof("phar://") - 1, ZSTR_VAL(persistent_script->script.filename), ZSTR_LEN(persi… in persistent_compile_file()
1953 php_stream_stat_path(fname, &ssb); in persistent_compile_file()
1954 efree(fname); in persistent_compile_file()
/PHP-7.1/ext/pcre/pcrelib/
H A DChangeLog4246 different ways, e.g. "-fname", "-f name", "--file=name", "--file name".
/PHP-7.1/ext/pdo/
H A Dpdo_dbh.c1298 while (funcs->fname) { in pdo_hash_methods()
1301 func.function_name = zend_string_init(funcs->fname, strlen(funcs->fname), dbh->is_persistent); in pdo_hash_methods()
1333 namelen = strlen(funcs->fname); in pdo_hash_methods()
1335 zend_str_tolower_copy(lc_name, funcs->fname, namelen); in pdo_hash_methods()
/PHP-7.1/ext/pdo_dblib/
H A Ddblib_stmt.c220 char *fname; in pdo_dblib_stmt_describe() local
231 fname = (char*)dbcolname(H->link, colno+1); in pdo_dblib_stmt_describe()
233 if (fname && *fname) { in pdo_dblib_stmt_describe()
234 col->name = zend_string_init(fname, strlen(fname), 0); in pdo_dblib_stmt_describe()
/PHP-7.1/ext/phar/
H A Ddirstream.c520 …t create directory \"%s\" in phar \"%s\", adding to manifest failed", entry.filename, phar->fname); in phar_wrapper_mkdir()
529 …har error: cannot create directory \"%s\" in phar \"%s\", %s", entry.filename, phar->fname, error); in phar_wrapper_mkdir()
658 …ar error: cannot remove directory \"%s\" in phar \"%s\", %s", entry->filename, phar->fname, error); in phar_wrapper_rmdir()
H A Dfunc_interceptors.c46 char *arch, *entry, *fname; in PHAR_FUNC() local
56 fname_len = strlen(fname); in PHAR_FUNC()
120 char *arch, *entry, *fname; in PHAR_FUNC() local
130 fname_len = strlen(fname); in PHAR_FUNC()
250 char *arch, *entry, *fname; in PHAR_FUNC() local
261 fname_len = strlen(fname); in PHAR_FUNC()
351 char *arch, *entry, *fname; in PHAR_FUNC() local
362 fname_len = strlen(fname); in PHAR_FUNC()
629 fname_len = strlen(fname); in phar_file_stat()
919 fname_len = strlen(fname); in PharFileFunction()
[all …]

Completed in 268 milliseconds

12345678910>>...15