Home
last modified time | relevance | path

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

123

/PHP-7.0/main/streams/
H A Dplain_wrapper.c894 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 Dgettext.c250 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 Dphp_xmlreader.c281 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 Dreaddir.c28 char resolved_path_buff[MAXPATHLEN]; in opendir()
/PHP-7.0/ext/intl/resourcebundle/
H A Dresourcebundle_class.c104 if (bundlename_len >= MAXPATHLEN) { in resourcebundle_ctor()
341 if (bundlename_len >= MAXPATHLEN) { in ZEND_END_ARG_INFO()
/PHP-7.0/ext/phar/
H A Dstream.c235 …*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 Dphar_internal.h525 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 Dphpdbg_list.c66 char resolved_path_buf[MAXPATHLEN]; in PHPDBG_LIST()
297 char resolved_path_buf[MAXPATHLEN]; in phpdbg_init_compile_file()
H A Dphpdbg_utils.c151 char resolved_name[MAXPATHLEN]; in phpdbg_resolve_path()
/PHP-7.0/ext/dom/
H A Ddocument.c1362 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 Dmain.c264 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 Dfastcgi.c42 char sun_path[MAXPATHLEN];
657 char host[MAXPATHLEN]; in fcgi_listen()
672 if (port != 0 && (s-path) < MAXPATHLEN) { in fcgi_listen()
H A Dphp_streams.h114 char d_name[MAXPATHLEN];
/PHP-7.0/ext/gd/libgd/
H A Dgdft.c372 char fullname[MAXPATHLEN], cur_dir[MAXPATHLEN];
416 dir = VCWD_GETCWD(cur_dir, MAXPATHLEN);
/PHP-7.0/ext/standard/
H A Dfile.c2303 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 Dproc_open.c438 char cur_cwd[MAXPATHLEN]; in PHP_FUNCTION()
681 getcwd_result = VCWD_GETCWD(cur_cwd, MAXPATHLEN); in PHP_FUNCTION()
H A Dbrowscap.c53 char filename[MAXPATHLEN];
/PHP-7.0/ext/opcache/
H A Dzend_shared_alloc.c57 static char lockfile_name[MAXPATHLEN];
H A DZendAccelerator.c166 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 Dposix.c872 char buffer[MAXPATHLEN]; in PHP_FUNCTION()
877 p = VCWD_GETCWD(buffer, MAXPATHLEN); in PHP_FUNCTION()
/PHP-7.0/ext/fileinfo/
H A Dfileinfo.c291 char resolved_path[MAXPATHLEN]; in PHP_FUNCTION()
/PHP-7.0/ext/xmlwriter/
H A Dphp_xmlwriter.c626 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 Dspl_directory.c1222 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 Dxp_ssl.c903 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 Dapprentice.c1247 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);

Completed in 129 milliseconds

123