/PHP-7.0/main/streams/ |
H A D | plain_wrapper.c | 894 char entry[sizeof(struct dirent)+MAXPATHLEN]; in php_plain_files_dirstream_read() 971 char realpath[MAXPATHLEN]; in _php_stream_fopen() 1226 char buf[MAXPATHLEN]; in php_plain_files_mkdir() 1434 char trypath[MAXPATHLEN]; in _php_stream_fopen_with_path() 1491 if (snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path() 1492 php_error_docref(NULL, E_NOTICE, "%s/%s path was truncated to %d", cwd, filename, MAXPATHLEN); in _php_stream_fopen_with_path() 1546 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path() 1547 php_error_docref(NULL, E_NOTICE, "%s/%s path was truncated to %d", ptr, filename, MAXPATHLEN); in _php_stream_fopen_with_path()
|
/PHP-7.0/ext/gettext/ |
H A D | gettext.c | 250 char *retval, dir_name[MAXPATHLEN]; in PHP_NAMED_FUNCTION() 267 } else if (!VCWD_GETCWD(dir_name, MAXPATHLEN)) { in PHP_NAMED_FUNCTION()
|
/PHP-7.0/ext/xmlreader/ |
H A D | php_xmlreader.c | 281 char resolved_path[MAXPATHLEN + 1]; in _xmlreader_get_relaxNG() 285 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN ); in _xmlreader_get_relaxNG() 859 char resolved_path[MAXPATHLEN + 1]; in PHP_METHOD() 881 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN ); in PHP_METHOD() 1043 char *directory=NULL, resolved_path[MAXPATHLEN]; in PHP_METHOD() 1070 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN); in PHP_METHOD()
|
/PHP-7.0/win32/ |
H A D | readdir.c | 28 char resolved_path_buff[MAXPATHLEN]; in opendir()
|
/PHP-7.0/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 104 if (bundlename_len >= MAXPATHLEN) { in resourcebundle_ctor() 341 if (bundlename_len >= MAXPATHLEN) { in ZEND_END_ARG_INFO()
|
/PHP-7.0/ext/phar/ |
H A D | stream.c | 235 …*opened_path = strpprintf(MAXPATHLEN, "phar://%s/%s", idata->phar->fname, idata->internal_file->fi… in phar_wrapper_open_url() 253 *opened_path = strpprintf(MAXPATHLEN, "%s", phar->fname); in phar_wrapper_open_url() 279 *opened_path = strpprintf(MAXPATHLEN, "%s", phar->fname); in phar_wrapper_open_url() 336 …*opened_path = strpprintf(MAXPATHLEN, "phar://%s/%s", idata->phar->fname, idata->internal_file->fi… in phar_wrapper_open_url() 649 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 | 525 char tmp[MAXPATHLEN]; in phar_set_inode() 529 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); in phar_set_inode()
|
/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg_list.c | 66 char resolved_path_buf[MAXPATHLEN]; in PHPDBG_LIST() 297 char resolved_path_buf[MAXPATHLEN]; in phpdbg_init_compile_file()
|
H A D | phpdbg_utils.c | 151 char resolved_name[MAXPATHLEN]; in phpdbg_resolve_path()
|
/PHP-7.0/ext/dom/ |
H A D | document.c | 1362 char *directory=NULL, resolved_path[MAXPATHLEN]; in dom_document_parser() 1387 file_dest = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN); in dom_document_parser() 1403 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN); in dom_document_parser() 1808 char resolved_path[MAXPATHLEN + 1]; in _dom_document_schema_validate() 1827 valid_file = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN); in _dom_document_schema_validate() 1908 char resolved_path[MAXPATHLEN + 1]; in _dom_document_relaxNG_validate() 1927 valid_file = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN); in _dom_document_relaxNG_validate()
|
/PHP-7.0/main/ |
H A D | main.c | 264 binary_location = (char *)malloc(MAXPATHLEN); in php_binary_init() 265 if (binary_location && GetModuleFileName(0, binary_location, MAXPATHLEN) == 0) { in php_binary_init() 271 binary_location = (char *)malloc(MAXPATHLEN); in php_binary_init() 277 char *search_dir, search_path[MAXPATHLEN]; in php_binary_init() 285 snprintf(search_path, MAXPATHLEN, "%s/%s", search_dir, sapi_module.executable_location); in php_binary_init() 2160 REGISTER_MAIN_LONG_CONSTANT("PHP_MAXPATHLEN", MAXPATHLEN, CONST_PERSISTENT | CONST_CS); in php_module_startup() 2442 char realfile[MAXPATHLEN]; in php_execute_script()
|
H A D | fastcgi.c | 42 char sun_path[MAXPATHLEN]; 657 char host[MAXPATHLEN]; in fcgi_listen() 672 if (port != 0 && (s-path) < MAXPATHLEN) { in fcgi_listen()
|
H A D | php_streams.h | 114 char d_name[MAXPATHLEN];
|
/PHP-7.0/ext/gd/libgd/ |
H A D | gdft.c | 372 char fullname[MAXPATHLEN], cur_dir[MAXPATHLEN]; 416 dir = VCWD_GETCWD(cur_dir, MAXPATHLEN);
|
/PHP-7.0/ext/standard/ |
H A D | file.c | 2303 char resolved_path_buff[MAXPATHLEN]; in PHP_FUNCTION() 2447 if (filename_len >= MAXPATHLEN) { in PHP_FUNCTION() 2448 …ocref(NULL, E_WARNING, "Filename exceeds the maximum allowed length of %d characters", MAXPATHLEN); in PHP_FUNCTION() 2451 if (pattern_len >= MAXPATHLEN) { in PHP_FUNCTION() 2452 …docref(NULL, E_WARNING, "Pattern exceeds the maximum allowed length of %d characters", MAXPATHLEN); in PHP_FUNCTION()
|
H A D | proc_open.c | 438 char cur_cwd[MAXPATHLEN]; in PHP_FUNCTION() 681 getcwd_result = VCWD_GETCWD(cur_cwd, MAXPATHLEN); in PHP_FUNCTION()
|
H A D | browscap.c | 53 char filename[MAXPATHLEN];
|
/PHP-7.0/ext/opcache/ |
H A D | zend_shared_alloc.c | 57 static char lockfile_name[MAXPATHLEN];
|
H A D | ZendAccelerator.c | 166 char cwd[MAXPATHLEN]; in ZEND_FUNCTION() 169 if (VCWD_GETCWD(cwd, MAXPATHLEN)) { in ZEND_FUNCTION() 189 char cwd[MAXPATHLEN + 1]; in accel_getcwd() 191 if (!VCWD_GETCWD(cwd, MAXPATHLEN)) { in accel_getcwd() 2689 char perm[5], dev[6], name[MAXPATHLEN]; in accel_move_code_to_huge_pages()
|
/PHP-7.0/ext/posix/ |
H A D | posix.c | 872 char buffer[MAXPATHLEN]; in PHP_FUNCTION() 877 p = VCWD_GETCWD(buffer, MAXPATHLEN); in PHP_FUNCTION()
|
/PHP-7.0/ext/fileinfo/ |
H A D | fileinfo.c | 291 char resolved_path[MAXPATHLEN]; in PHP_FUNCTION()
|
/PHP-7.0/ext/xmlwriter/ |
H A D | php_xmlwriter.c | 626 char file_dirname[MAXPATHLEN]; in _xmlwriter_get_valid_file_path() 1683 char resolved_path[MAXPATHLEN + 1]; in PHP_FUNCTION() 1702 valid_file = _xmlwriter_get_valid_file_path(source, resolved_path, MAXPATHLEN); in PHP_FUNCTION()
|
/PHP-7.0/ext/spl/ |
H A D | spl_directory.c | 1222 char buff[MAXPATHLEN]; in FileInfoFunction() 1236 char expanded_path[MAXPATHLEN]; in FileInfoFunction() 1241 ret = php_sys_readlink(expanded_path, buff, MAXPATHLEN - 1); in FileInfoFunction() 1243 ret = php_sys_readlink(intern->file_name, buff, MAXPATHLEN-1); in FileInfoFunction() 1269 char buff[MAXPATHLEN]; in SPL_METHOD()
|
/PHP-7.0/ext/openssl/ |
H A D | xp_ssl.c | 903 char resolved_path_buff[MAXPATHLEN]; in set_local_cert() 915 char resolved_path_buff_pk[MAXPATHLEN]; in set_local_cert() 1343 char resolved_path_buff[MAXPATHLEN]; in enable_server_sni()
|
/PHP-7.0/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 1247 char mfn[MAXPATHLEN]; in apprentice_load() 3092 spprintf(&buf, MAXPATHLEN, "%.*s.mime%s", (int)(q - fn), fn, ext); 3103 spprintf(&buf, MAXPATHLEN, "%.*s%s", (int)(q - fn), fn, ext);
|