Home
last modified time | relevance | path

Searched refs:resolved_path (Results 1 – 13 of 13) sorted by relevance

/PHP-5.3/TSRM/
H A Dtsrm_virtual_cwd.c1167 char resolved_path[MAXPATHLEN]; in virtual_file_ex() local
1245 resolved_path[0] = path[0]; in virtual_file_ex()
1246 resolved_path[1] = ':'; in virtual_file_ex()
1265 resolved_path[0] = DEFAULT_SLASH; in virtual_file_ex()
1266 resolved_path[1] = DEFAULT_SLASH; in virtual_file_ex()
1269 if (resolved_path[start] == 0) { in virtual_file_ex()
1272 resolved_path[start] = toupper(resolved_path[start]); in virtual_file_ex()
1277 if (resolved_path[start] == 0) { in virtual_file_ex()
1280 resolved_path[start] = toupper(resolved_path[start]); in virtual_file_ex()
1286 resolved_path[0] = toupper(resolved_path[0]); in virtual_file_ex()
[all …]
/PHP-5.3/main/
H A Dfopen_wrappers.c417 char *resolved_path = NULL; local
487 if (!resolved_path) {
499 fp = VCWD_FOPEN(resolved_path, "rb");
518 file_handle->opened_path = resolved_path;
539 char resolved_path[MAXPATHLEN]; local
559 return estrdup(resolved_path);
571 if (tsrm_realpath(filename, resolved_path TSRMLS_CC)) {
572 return estrdup(resolved_path);
628 if (tsrm_realpath(actual_path, resolved_path TSRMLS_CC)) {
629 return estrdup(resolved_path);
[all …]
/PHP-5.3/ext/xmlreader/
H A Dphp_xmlreader.c262 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path TSRMLS_CC)) { in _xmlreader_get_valid_file_path()
266 file_dest = resolved_path; in _xmlreader_get_valid_file_path()
284 char resolved_path[MAXPATHLEN + 1]; in _xmlreader_get_relaxNG() local
872 char resolved_path[MAXPATHLEN + 1]; in PHP_METHOD() local
1055 char *directory=NULL, resolved_path[MAXPATHLEN]; in PHP_METHOD() local
1082 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN); in PHP_METHOD()
1084 directory = VCWD_GETWD(resolved_path); in PHP_METHOD()
1087 resolved_path_len = strlen(resolved_path); in PHP_METHOD()
1088 if (resolved_path[resolved_path_len - 1] != DEFAULT_SLASH) { in PHP_METHOD()
1089 resolved_path[resolved_path_len] = DEFAULT_SLASH; in PHP_METHOD()
[all …]
/PHP-5.3/ext/dom/
H A Ddocument.c1532 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path TSRMLS_CC)) { in _dom_get_valid_file_path()
1536 file_dest = resolved_path; in _dom_get_valid_file_path()
1555 char *directory=NULL, resolved_path[MAXPATHLEN]; in dom_document_parser() local
1592 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN); in dom_document_parser()
1594 directory = VCWD_GETWD(resolved_path); in dom_document_parser()
1600 resolved_path_len = strlen(resolved_path); in dom_document_parser()
1601 if (resolved_path[resolved_path_len - 1] != DEFAULT_SLASH) { in dom_document_parser()
1602 resolved_path[resolved_path_len] = DEFAULT_SLASH; in dom_document_parser()
1603 resolved_path[++resolved_path_len] = '\0'; in dom_document_parser()
1980 char resolved_path[MAXPATHLEN + 1]; in _dom_document_schema_validate() local
[all …]
/PHP-5.3/ext/libxml/
H A Dlibxml.c275 char *resolved_path, *path_to_open = NULL; in php_libxml_streams_IO_open_wrapper() local
284 resolved_path = xmlURIUnescapeString(filename, 0, NULL); in php_libxml_streams_IO_open_wrapper()
287 resolved_path = (char *)filename; in php_libxml_streams_IO_open_wrapper()
294 if (resolved_path == NULL) { in php_libxml_streams_IO_open_wrapper()
304 wrapper = php_stream_locate_url_wrapper(resolved_path, &path_to_open, ENFORCE_SAFE_MODE TSRMLS_CC); in php_libxml_streams_IO_open_wrapper()
308 xmlFree(resolved_path); in php_libxml_streams_IO_open_wrapper()
318 xmlFree(resolved_path); in php_libxml_streams_IO_open_wrapper()
/PHP-5.3/main/streams/
H A Dstreams.c1963 if (resolved_path) {
1964 path = resolved_path;
1976 if (resolved_path) {
1977 efree(resolved_path);
2009 resolved_path = NULL;
2029 if (resolved_path) {
2030 efree(resolved_path);
2038 if (resolved_path) {
2039 efree(resolved_path);
2079 if (resolved_path) {
[all …]
/PHP-5.3/ext/fileinfo/
H A Dfileinfo.c298 char resolved_path[MAXPATHLEN];
322 if (!VCWD_REALPATH(file, resolved_path)) {
326 file = resolved_path;
/PHP-5.3/ext/zip/
H A Dphp_zip.c312 char resolved_path[MAXPATHLEN]; in php_zip_add_file() local
320 if (!expand_filepath(filename, resolved_path TSRMLS_CC)) { in php_zip_add_file()
324 php_stat(resolved_path, strlen(resolved_path), FS_EXISTS, &exists_flag TSRMLS_CC); in php_zip_add_file()
329 zs = zip_source_file(za, resolved_path, offset_start, offset_len); in php_zip_add_file()
1210 char resolved_path[MAXPATHLEN + 1]; in PHP_NAMED_FUNCTION() local
1231 if(!expand_filepath(filename, resolved_path TSRMLS_CC)) { in PHP_NAMED_FUNCTION()
1237 rsrc_int->za = zip_open(resolved_path, 0, &err); in PHP_NAMED_FUNCTION()
1496 char resolved_path[MAXPATHLEN]; in ZIPARCHIVE_METHOD() local
1523 if (!expand_filepath(filename, resolved_path TSRMLS_CC)) { in ZIPARCHIVE_METHOD()
1539 intern = zip_open(resolved_path, flags, &err); in ZIPARCHIVE_METHOD()
[all …]
/PHP-5.3/ext/xmlwriter/
H A Dphp_xmlwriter.c604 static char *_xmlwriter_get_valid_file_path(char *source, char *resolved_path, int resolved_path_le… in _xmlwriter_get_valid_file_path() argument
647 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path TSRMLS_CC)) { in _xmlwriter_get_valid_file_path()
663 file_dest = resolved_path; in _xmlwriter_get_valid_file_path()
1751 char resolved_path[MAXPATHLEN + 1]; in PHP_FUNCTION() local
1780 valid_file = _xmlwriter_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); in PHP_FUNCTION()
/PHP-5.3/ext/phar/
H A Dutil.c349 char resolved_path[MAXPATHLEN]; in phar_find_in_include_path()
408 if (tsrm_realpath(filename, resolved_path TSRMLS_CC)) { in phar_find_in_include_path()
409 return estrdup(resolved_path); in phar_find_in_include_path()
518 if (tsrm_realpath(trypath, resolved_path TSRMLS_CC)) { in phar_find_in_include_path()
519 return estrdup(resolved_path); in phar_find_in_include_path()
557 if (tsrm_realpath(trypath, resolved_path TSRMLS_CC)) { in phar_find_in_include_path()
558 return estrdup(resolved_path); in phar_find_in_include_path()
/PHP-5.3/ext/standard/
H A Dstreamsfuncs.c1504 char *filename, *resolved_path; in PHP_FUNCTION() local
1511 resolved_path = zend_resolve_path(filename, filename_len TSRMLS_CC); in PHP_FUNCTION()
1513 if (resolved_path) { in PHP_FUNCTION()
1514 RETURN_STRING(resolved_path, 0); in PHP_FUNCTION()
/PHP-5.3/Zend/
H A Dzend_vm_def.h3253 char *resolved_path; variable
3255resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), Z_STRLEN_P(inc_filename) TSRMLS_CC);
3256 if (resolved_path) {
3257 … failure_retval = zend_hash_exists(&EG(included_files), resolved_path, strlen(resolved_path)+1);
3259 resolved_path = Z_STRVAL_P(inc_filename);
3264 } else if (SUCCESS == zend_stream_open(resolved_path, &file_handle TSRMLS_CC)) {
3267 file_handle.opened_path = estrdup(resolved_path);
3284 if (resolved_path != Z_STRVAL_P(inc_filename)) {
3285 efree(resolved_path);
H A Dzend_vm_execute.h1923 char *resolved_path; in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER() local
1926 if (resolved_path) { in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER()
1955 efree(resolved_path); in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER()
5219 char *resolved_path; in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER() local
5222 if (resolved_path) { in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER()
5251 efree(resolved_path); in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER()
8594 char *resolved_path; in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER() local
8597 if (resolved_path) { in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER()
8626 efree(resolved_path); in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER()
22499 char *resolved_path; in ZEND_INCLUDE_OR_EVAL_SPEC_CV_HANDLER() local
[all …]

Completed in 200 milliseconds