Home
last modified time | relevance | path

Searched refs:MAXPATHLEN (Results 26 – 50 of 67) sorted by relevance

123

/PHP-7.3/main/streams/
H A Dplain_wrapper.c939 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 Dgettext.c260 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 Dioutil.c603 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 Dwinutil.c39 if (path_len > MAXPATHLEN - 1) { in php_win32_check_trailing_space()
H A Dreaddir.c32 char resolved_path_buff[MAXPATHLEN]; in opendir()
/PHP-7.3/ext/xmlreader/
H A Dphp_xmlreader.c270 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 Dresourcebundle_class.c106 if (bundlename_len >= MAXPATHLEN) { in resourcebundle_ctor()
343 if (bundlename_len >= MAXPATHLEN) { in ZEND_END_ARG_INFO()
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_list.c66 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 Dstream.c237 …*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 Dphar_internal.h508 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 Ddocument.c1360 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 Dshared_alloc_win32.c83 static char newname[MAXPATHLEN + UNLEN + 4 + 1 + 32 + 21]; in create_name_with_username()
H A Dzend_shared_alloc.c57 static char lockfile_name[MAXPATHLEN];
H A DZendAccelerator.c175 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 Dgdft.c372 char fullname[MAXPATHLEN], cur_dir[MAXPATHLEN];
416 dir = VCWD_GETCWD(cur_dir, MAXPATHLEN);
/PHP-7.3/main/
H A Dmain.c438 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 Dfastcgi.c40 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 Dfile.c2358 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 Dproc_open.c430 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 Dphp_cli_server.c2112 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 Dxp_ssl.c923 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 Dposix.c877 char buffer[MAXPATHLEN]; in PHP_FUNCTION()
882 p = VCWD_GETCWD(buffer, MAXPATHLEN); in PHP_FUNCTION()
/PHP-7.3/ext/fileinfo/
H A Dfileinfo.c294 char resolved_path[MAXPATHLEN]; in PHP_FUNCTION()
/PHP-7.3/ext/xmlwriter/
H A Dphp_xmlwriter.c632 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 Dspl_directory.c1245 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()

Completed in 146 milliseconds

123