Home
last modified time | relevance | path

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

12345678910>>...13

/php-src/Zend/Optimizer/
H A Dblock_pass.c357 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/Zend/tests/
H A Dcall_static.phpt7 static function __callStatic($fname, $args)
9 echo $fname, '() called with ', count($args), " arguments\n";
/php-src/Zend/
H A Dzend_API.c2879 while (ptr->fname) { in zend_register_functions()
2880 fname_len = strlen(ptr->fname); in zend_register_functions()
2883 internal_function->function_name = zend_string_init_interned(ptr->fname, fname_len, 1); in zend_register_functions()
2936 scope ? ZSTR_VAL(scope->name) : "", scope ? "::" : "", ptr->fname); in zend_register_functions()
3033 scope ? ZSTR_VAL(scope->name) : "", scope ? "::" : "", ptr->fname); in zend_register_functions()
3122 while (ptr->fname) { in zend_register_functions()
3123 fname_len = strlen(ptr->fname); in zend_register_functions()
3125 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in zend_register_functions()
3153 while (ptr->fname) { in zend_unregister_functions()
3157 fname_len = strlen(ptr->fname); in zend_unregister_functions()
[all …]
H A Dzend_API.h36 const char *fname; member
H A Dzend_exceptions.c654 zend_string *fname; in ZEND_METHOD() local
661 fname = ZSTR_INIT_LITERAL("gettraceasstring", 0); in ZEND_METHOD()
670 ZVAL_STR(&fci.function_name, fname); in ZEND_METHOD()
721 zend_string_release_ex(fname, 0); in ZEND_METHOD()
H A Dzend_execute.c675 const char **fname, const char **fsep, const char **fclass, in zend_verify_type_error_common() argument
678 *fname = ZSTR_VAL(zf->common.function_name); in zend_verify_type_error_common()
700 const char *fname, *fsep, *fclass; in zend_verify_arg_error() local
705 zf, arg_info, value, &fname, &fsep, &fclass, &need_msg, &given_msg); in zend_verify_arg_error()
1399 const char *fname, *fsep, *fclass; in zend_verify_return_error() local
1404 zf, arg_info, value, &fname, &fsep, &fclass, &need_msg, &given_msg); in zend_verify_return_error()
1407 fclass, fsep, fname, ZSTR_VAL(need_msg), given_msg); in zend_verify_return_error()
1426 const char *fname, *fsep, *fclass; in zend_verify_internal_return_error() local
1434 fclass, fsep, fname, ZSTR_VAL(need_msg), given_msg); in zend_verify_internal_return_error()
1439 const char *fname = ZSTR_VAL(zf->common.function_name); in zend_verify_void_return_error() local
[all …]
H A Dzend_vm_def.h3936 zval *fname; variable
3943 fname = (zval*)RT_CONSTANT(opline, opline->op2);
3944 func = zend_hash_find_known_hash(EG(function_table), Z_STR_P(fname));
H A Dzend_vm_execute.h3896 zval *fname; in ZEND_INIT_FCALL_SPEC_CONST_HANDLER() local
3903 fname = (zval*)RT_CONSTANT(opline, opline->op2); in ZEND_INIT_FCALL_SPEC_CONST_HANDLER()
3904 func = zend_hash_find_known_hash(EG(function_table), Z_STR_P(fname)); in ZEND_INIT_FCALL_SPEC_CONST_HANDLER()
/php-src/ext/com_dotnet/
H A Dcom_persist.c279 #define CPH_METHOD(fname) PHP_METHOD(COMPersistHelper, fname) argument
/php-src/ext/com_dotnet/tests/
H A Dbug78650.phpt7 $fname = __DIR__ . '/bug78650/foo/bar';
8 mkdir($fname, 0777, true);
11 $folder = $fso->GetFolder($fname);
/php-src/ext/curl/
H A Dcurl_file.c31 zend_string *fname, *mime = NULL, *postname = NULL; in curlfile_ctor() local
35 Z_PARAM_PATH_STR(fname) in curlfile_ctor()
41 zend_update_property_str(curl_CURLFile_class, Z_OBJ_P(cf), "name", sizeof("name")-1, fname); in curlfile_ctor()
/php-src/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-src/ext/fileinfo/tests/
H A Dbug69320.phpt8 $fname = __DIR__ . DIRECTORY_SEPARATOR . "bug69320.txt";
9 file_put_contents($fname, "foo");
10 var_dump(finfo_file(finfo_open(FILEINFO_MIME_TYPE), $fname));
15 $fname = __DIR__ . DIRECTORY_SEPARATOR . "bug69320.txt";
16 unlink($fname);
/php-src/ext/gd/tests/
H A Dbug72339.phpt20 $fname = __DIR__ . DIRECTORY_SEPARATOR . "bug72339.gd";
22 $fh = fopen($fname, "w");
34 $im = imagecreatefromgd2($fname);
39 unlink($fname);
/php-src/ext/iconv/
H A Diconv.c151 static php_iconv_err_t _php_iconv_mime_encode(smart_str *pretval, const char *fname, size_t fname_n…
904 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
970 _php_iconv_appendl(pretval, fname, fname_nbytes, cd_pl); in _php_iconv_mime_encode()
/php-src/ext/intl/converter/
H A Dconverter.c46 #define THROW_UFAILURE(obj, fname, error) php_converter_throw_failure(obj, error, \ argument
47fname "() returned error " ZEND_LONG_FMT ": %s", (zend_long)error, u_errorName(error))
/php-src/ext/json/
H A Djson_encoder.c536 zval retval, fname; in php_json_encode_serializable_object() local
551 ZVAL_STRING(&fname, "jsonSerialize"); in php_json_encode_serializable_object()
553 …if (FAILURE == call_user_function(NULL, val, &fname, &retval, 0, NULL) || Z_TYPE(retval) == IS_UND… in php_json_encode_serializable_object()
557 zval_ptr_dtor(&fname); in php_json_encode_serializable_object()
569 zval_ptr_dtor(&fname); in php_json_encode_serializable_object()
590 zval_ptr_dtor(&fname); in php_json_encode_serializable_object()
/php-src/ext/mysqlnd/
H A Dmysqlnd_auth.c832 …const char * fname = (pfc_data->sha256_server_public_key && pfc_data->sha256_server_public_key[0] … in mysqlnd_sha256_get_rsa_key() local
840 if (!fname || fname[0] == '\0') { in mysqlnd_sha256_get_rsa_key()
877 DBG_INF_FMT("Key in a file. [%s]", fname); in mysqlnd_sha256_get_rsa_key()
878 stream = php_stream_open_wrapper((char *) fname, "rb", REPORT_ERRORS, NULL); in mysqlnd_sha256_get_rsa_key()
1127 …const char * fname = (pfc_data->sha256_server_public_key && pfc_data->sha256_server_public_key[0] … in mysqlnd_caching_sha2_get_key() local
1135 if (!fname || fname[0] == '\0') { in mysqlnd_caching_sha2_get_key()
1173 DBG_INF_FMT("Key in a file. [%s]", fname); in mysqlnd_caching_sha2_get_key()
1174 stream = php_stream_open_wrapper((char *) fname, "rb", REPORT_ERRORS, NULL); in mysqlnd_caching_sha2_get_key()
/php-src/ext/odbc/
H A Dphp_odbc.c2618 char *fname;
2623 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &pv_res, odbc_result_ce, &fname, &fname_len) == F…
2637 if (strcasecmp(result->values[i].name, fname) == 0) {
/php-src/ext/opcache/
H A DZendAccelerator.c1923 char *fname = emalloc(sizeof("phar://") + ZSTR_LEN(persistent_script->script.filename)); in file_cache_compile_file() local
1925 memcpy(fname, "phar://", sizeof("phar://") - 1); in file_cache_compile_file()
1926 …memcpy(fname + sizeof("phar://") - 1, ZSTR_VAL(persistent_script->script.filename), ZSTR_LEN(persi… in file_cache_compile_file()
1927 php_stream_stat_path(fname, &ssb); in file_cache_compile_file()
1928 efree(fname); in file_cache_compile_file()
2206 char *fname = emalloc(sizeof("phar://") + ZSTR_LEN(persistent_script->script.filename)); in persistent_compile_file() local
2208 memcpy(fname, "phar://", sizeof("phar://") - 1); in persistent_compile_file()
2209 …memcpy(fname + sizeof("phar://") - 1, ZSTR_VAL(persistent_script->script.filename), ZSTR_LEN(persi… in persistent_compile_file()
2210 php_stream_stat_path(fname, &ssb); in persistent_compile_file()
2211 efree(fname); in persistent_compile_file()
/php-src/ext/opcache/jit/ir/dynasm/
H A Dminilua.c5854 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/pdo/
H A Dpdo_dbh.c1324 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/ext/pdo_dblib/
H A Ddblib_stmt.c223 char *fname; in pdo_dblib_stmt_describe() local
234 fname = (char*)dbcolname(H->link, colno+1); in pdo_dblib_stmt_describe()
236 if (fname && *fname) { in pdo_dblib_stmt_describe()
237 col->name = zend_string_init(fname, strlen(fname), 0); in pdo_dblib_stmt_describe()
/php-src/ext/phar/
H A Ddirstream.c506 …t create directory \"%s\" in phar \"%s\", adding to manifest failed", entry.filename, phar->fname); in phar_wrapper_mkdir()
515 …har error: cannot create directory \"%s\" in phar \"%s\", %s", entry.filename, phar->fname, error); in phar_wrapper_mkdir()
644 …ar error: cannot remove directory \"%s\" in phar \"%s\", %s", entry->filename, phar->fname, error); in phar_wrapper_rmdir()
H A Dfunc_interceptors.c50 if (!fname || !zend_string_starts_with_literal_ci(fname, "phar://")) { in PHAR_FUNC()
54 …if (SUCCESS == phar_split_fname(ZSTR_VAL(fname), ZSTR_LEN(fname), &arch, &arch_len, &entry, &entry… in PHAR_FUNC()
99 if (!fname || !zend_string_starts_with_literal_ci(fname, "phar://")) { in phar_get_name_for_relative_paths()
103 …if (FAILURE == phar_split_fname(ZSTR_VAL(fname), ZSTR_LEN(fname), &arch, &arch_len, &entry, &entry… in phar_get_name_for_relative_paths()
491 zend_string *fname; in phar_file_stat() local
496 fname = zend_get_executed_filename_ex(); in phar_file_stat()
500 if (!fname || !zend_string_starts_with_literal_ci(fname, "phar://")) { in phar_file_stat()
513 …if (SUCCESS == phar_split_fname(ZSTR_VAL(fname), ZSTR_LEN(fname), &arch, &arch_len, &entry, &entry… in phar_file_stat()
656 ZEND_NAMED_FUNCTION(fname) { \
751 if (!fname || !zend_string_starts_with_literal_ci(fname, "phar://")) { in PharFileFunction()
[all …]

Completed in 331 milliseconds

12345678910>>...13