/PHP-7.3/main/streams/ |
H A D | plain_wrapper.c | 939 char entry[sizeof(struct dirent)+MAXPATHLEN]; in php_plain_files_dirstream_read() 1016 char realpath[MAXPATHLEN]; in _php_stream_fopen() 1287 char buf[MAXPATHLEN]; in php_plain_files_mkdir() 1493 char trypath[MAXPATHLEN]; in _php_stream_fopen_with_path() 1550 if (snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path() 1551 php_error_docref(NULL, E_NOTICE, "%s/%s path was truncated to %d", cwd, filename, MAXPATHLEN); in _php_stream_fopen_with_path() 1605 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path() 1606 php_error_docref(NULL, E_NOTICE, "%s/%s path was truncated to %d", ptr, filename, MAXPATHLEN); in _php_stream_fopen_with_path()
|
/PHP-7.3/ext/gettext/ |
H A D | gettext.c | 260 char *retval, dir_name[MAXPATHLEN]; in PHP_NAMED_FUNCTION() 277 } else if (!VCWD_GETCWD(dir_name, MAXPATHLEN)) { in PHP_NAMED_FUNCTION()
|
/PHP-7.3/win32/ |
H A D | ioutil.c | 603 wchar_t *idx = *buf, canonicalw[MAXPATHLEN], _tmp[MAXPATHLEN], *pos = _tmp; in php_win32_ioutil_normalize_path_w() 606 if (len >= MAXPATHLEN) { in php_win32_ioutil_normalize_path_w() 622 if (S_OK != canonicalize_path_w(canonicalw, MAXPATHLEN, _tmp, PATHCCH_ALLOW_LONG_PATHS)) { in php_win32_ioutil_normalize_path_w()
|
H A D | winutil.c | 39 if (path_len > MAXPATHLEN - 1) { in php_win32_check_trailing_space()
|
H A D | readdir.c | 32 char resolved_path_buff[MAXPATHLEN]; in opendir()
|
/PHP-7.3/ext/xmlreader/ |
H A D | php_xmlreader.c | 270 char resolved_path[MAXPATHLEN + 1]; in _xmlreader_get_relaxNG() 274 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN ); in _xmlreader_get_relaxNG() 848 char resolved_path[MAXPATHLEN + 1]; in PHP_METHOD() 870 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN ); in PHP_METHOD() 1032 char *directory=NULL, resolved_path[MAXPATHLEN]; in PHP_METHOD() 1059 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN); in PHP_METHOD()
|
/PHP-7.3/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 106 if (bundlename_len >= MAXPATHLEN) { in resourcebundle_ctor() 343 if (bundlename_len >= MAXPATHLEN) { in ZEND_END_ARG_INFO()
|
/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_list.c | 66 char resolved_path_buf[MAXPATHLEN]; in PHPDBG_LIST() 286 char resolved_path_buf[MAXPATHLEN]; in phpdbg_init_compile_file()
|
/PHP-7.3/ext/phar/ |
H A D | stream.c | 237 …*opened_path = strpprintf(MAXPATHLEN, "phar://%s/%s", idata->phar->fname, idata->internal_file->fi… in phar_wrapper_open_url() 255 *opened_path = strpprintf(MAXPATHLEN, "%s", phar->fname); in phar_wrapper_open_url() 281 *opened_path = strpprintf(MAXPATHLEN, "%s", phar->fname); in phar_wrapper_open_url() 338 …*opened_path = strpprintf(MAXPATHLEN, "phar://%s/%s", idata->phar->fname, idata->internal_file->fi… in phar_wrapper_open_url() 633 test_len = spprintf(&test, MAXPATHLEN, "%s%s", entry->tmp, internal_file + ZSTR_LEN(str_key)); in phar_wrapper_stat()
|
H A D | phar_internal.h | 508 char tmp[MAXPATHLEN]; in phar_set_inode() 512 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); in phar_set_inode()
|
/PHP-7.3/ext/dom/ |
H A D | document.c | 1360 char *directory=NULL, resolved_path[MAXPATHLEN]; in dom_document_parser() 1385 file_dest = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN); in dom_document_parser() 1401 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN); in dom_document_parser() 1806 char resolved_path[MAXPATHLEN + 1]; in _dom_document_schema_validate() 1825 valid_file = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN); in _dom_document_schema_validate() 1906 char resolved_path[MAXPATHLEN + 1]; in _dom_document_relaxNG_validate() 1925 valid_file = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN); in _dom_document_relaxNG_validate()
|
/PHP-7.3/ext/opcache/ |
H A D | shared_alloc_win32.c | 83 static char newname[MAXPATHLEN + UNLEN + 4 + 1 + 32 + 21]; in create_name_with_username()
|
H A D | zend_shared_alloc.c | 57 static char lockfile_name[MAXPATHLEN];
|
H A D | ZendAccelerator.c | 175 char cwd[MAXPATHLEN]; in ZEND_FUNCTION() 178 if (VCWD_GETCWD(cwd, MAXPATHLEN)) { in ZEND_FUNCTION() 198 char cwd[MAXPATHLEN + 1]; in accel_getcwd() 200 if (!VCWD_GETCWD(cwd, MAXPATHLEN)) { in accel_getcwd() 2818 char perm[5], dev[6], name[MAXPATHLEN]; in accel_move_code_to_huge_pages()
|
/PHP-7.3/ext/gd/libgd/ |
H A D | gdft.c | 372 char fullname[MAXPATHLEN], cur_dir[MAXPATHLEN]; 416 dir = VCWD_GETCWD(cur_dir, MAXPATHLEN);
|
/PHP-7.3/main/ |
H A D | main.c | 438 binary_location = (char *)malloc(MAXPATHLEN); in php_binary_init() 439 if (binary_location && GetModuleFileName(0, binary_location, MAXPATHLEN) == 0) { in php_binary_init() 445 binary_location = (char *)malloc(MAXPATHLEN); in php_binary_init() 451 char *search_dir, search_path[MAXPATHLEN]; in php_binary_init() 459 snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location); in php_binary_init() 2240 REGISTER_MAIN_LONG_CONSTANT("PHP_MAXPATHLEN", MAXPATHLEN, CONST_PERSISTENT | CONST_CS); in php_module_startup() 2563 char realfile[MAXPATHLEN]; in php_execute_script()
|
H A D | fastcgi.c | 40 char sun_path[MAXPATHLEN]; 655 char host[MAXPATHLEN]; in fcgi_listen() 670 if (port != 0 && (s-path) < MAXPATHLEN) { in fcgi_listen()
|
/PHP-7.3/ext/standard/ |
H A D | file.c | 2358 char resolved_path_buff[MAXPATHLEN]; in PHP_FUNCTION() 2505 if (filename_len >= MAXPATHLEN) { in PHP_FUNCTION() 2506 …ocref(NULL, E_WARNING, "Filename exceeds the maximum allowed length of %d characters", MAXPATHLEN); in PHP_FUNCTION() 2509 if (pattern_len >= MAXPATHLEN) { in PHP_FUNCTION() 2510 …docref(NULL, E_WARNING, "Pattern exceeds the maximum allowed length of %d characters", MAXPATHLEN); in PHP_FUNCTION()
|
H A D | proc_open.c | 430 char cur_cwd[MAXPATHLEN]; in PHP_FUNCTION() 672 getcwd_result = VCWD_GETCWD(cur_cwd, MAXPATHLEN); in PHP_FUNCTION()
|
/PHP-7.3/sapi/cli/ |
H A D | php_cli_server.c | 2112 old_cwd = do_alloca(MAXPATHLEN, use_heap); in php_cli_server_dispatch_router() 2114 php_ignore_value(VCWD_GETCWD(old_cwd, MAXPATHLEN - 1)); in php_cli_server_dispatch_router() 2539 char document_root_tmp[MAXPATHLEN]; in do_cli_server() 2543 char document_root_buf[MAXPATHLEN]; in do_cli_server() 2555 if (k + 1 > MAXPATHLEN) { in do_cli_server() 2590 ret = VCWD_GETCWD(document_root_buf, MAXPATHLEN); in do_cli_server()
|
/PHP-7.3/ext/openssl/ |
H A D | xp_ssl.c | 923 char resolved_path_buff[MAXPATHLEN]; in php_openssl_set_local_cert() 938 char resolved_path_buff_pk[MAXPATHLEN]; in php_openssl_set_local_cert() 1408 char resolved_path_buff[MAXPATHLEN]; in php_openssl_enable_server_sni() 1453 char resolved_cert_path_buff[MAXPATHLEN], resolved_pk_path_buff[MAXPATHLEN]; in php_openssl_enable_server_sni()
|
/PHP-7.3/ext/posix/ |
H A D | posix.c | 877 char buffer[MAXPATHLEN]; in PHP_FUNCTION() 882 p = VCWD_GETCWD(buffer, MAXPATHLEN); in PHP_FUNCTION()
|
/PHP-7.3/ext/fileinfo/ |
H A D | fileinfo.c | 294 char resolved_path[MAXPATHLEN]; in PHP_FUNCTION()
|
/PHP-7.3/ext/xmlwriter/ |
H A D | php_xmlwriter.c | 632 char file_dirname[MAXPATHLEN]; in _xmlwriter_get_valid_file_path() 1691 char resolved_path[MAXPATHLEN + 1]; in PHP_FUNCTION() 1710 valid_file = _xmlwriter_get_valid_file_path(source, resolved_path, MAXPATHLEN); in PHP_FUNCTION()
|
/PHP-7.3/ext/spl/ |
H A D | spl_directory.c | 1245 char buff[MAXPATHLEN]; in FileInfoFunction() 1262 char expanded_path[MAXPATHLEN]; in FileInfoFunction() 1267 ret = php_sys_readlink(expanded_path, buff, MAXPATHLEN - 1); in FileInfoFunction() 1269 ret = php_sys_readlink(intern->file_name, buff, MAXPATHLEN-1); in FileInfoFunction() 1295 char buff[MAXPATHLEN]; in SPL_METHOD()
|