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

/PHP_5_5/ext/xmlreader/
H A Dphp_xmlreader.c230 char *_xmlreader_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len TSRMLS_DC) { argument
263 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path TSRMLS_CC)) {
267 file_dest = resolved_path;
285 char resolved_path[MAXPATHLEN + 1]; local
289 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC);
870 char resolved_path[MAXPATHLEN + 1]; local
892 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC);
1053 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1080 directory = VCWD_GETCWD(resolved_path, MAXPATHLE
[all...]
/PHP_5_5/main/
H A Dfopen_wrappers.c363 char *resolved_path = NULL; local
431 resolved_path = zend_resolve_path(filename, strlen(filename) TSRMLS_CC);
434 if (!resolved_path) {
446 efree(resolved_path);
475 char resolved_path[MAXPATHLEN]; local
490 if (tsrm_realpath(actual_path, resolved_path TSRMLS_CC)) {
491 return estrdup(resolved_path);
503 if (tsrm_realpath(filename, resolved_path TSRMLS_CC)) {
504 return estrdup(resolved_path);
560 if (tsrm_realpath(actual_path, resolved_path TSRMLS_C
[all...]
/PHP_5_5/main/streams/
H A Dstreams.c2026 char *resolved_path = NULL; local
2039 resolved_path = zend_resolve_path(path, strlen(path) TSRMLS_CC);
2040 if (resolved_path) {
2041 path = resolved_path;
2053 if (resolved_path) {
2054 efree(resolved_path);
2084 if (opened_path && !*opened_path && resolved_path) {
2085 *opened_path = resolved_path;
2086 resolved_path = NULL;
2106 if (resolved_path) {
[all...]
/PHP_5_5/ext/opcache/
H A DZendAccelerator.c1747 char *resolved_path; local
1776 if ((resolved_path = accel_tsrm_realpath(trypath, len + 1 + filename_length TSRMLS_CC)) != NULL) {
1777 return resolved_path;
1817 char *resolved_path; local
1860 resolved_path = accel_php_resolve_path(filename, filename_len, ZCG(include_path) TSRMLS_CC);
1863 if (resolved_path &&
1864 (bucket = zend_accel_hash_find_entry(&ZCSG(hash), resolved_path, strlen(resolved_path) + 1)) != NULL) {
1868 handle->opened_path = resolved_path;
1883 if (resolved_path) {
1987 char *resolved_path; local
[all...]
/PHP_5_5/ext/libxml/
H A Dlibxml.c296 char *resolved_path, *path_to_open = NULL; local
306 resolved_path = xmlURIUnescapeString(filename, 0, NULL);
315 if (strncasecmp(resolved_path, "file:/", pre_len) == 0
316 && '/' != resolved_path[pre_len]) {
317 xmlChar *tmp = xmlStrdup(resolved_path + pre_len);
318 xmlFree(resolved_path);
319 resolved_path = tmp;
324 resolved_path = (char *)filename;
331 if (resolved_path == NULL) {
341 wrapper = php_stream_locate_url_wrapper(resolved_path,
[all...]
/PHP_5_5/ext/fileinfo/
H A Dfileinfo.c297 char resolved_path[MAXPATHLEN];
326 if (!expand_filepath_with_mode(file, resolved_path, NULL, 0, CWD_EXPAND TSRMLS_CC)) {
330 file = resolved_path;
/PHP_5_5/ext/standard/
H A Dstreamsfuncs.c1549 char *filename, *resolved_path; local
1556 resolved_path = zend_resolve_path(filename, filename_len TSRMLS_CC);
1558 if (resolved_path) {
1559 RETURN_STRING(resolved_path, 0);
/PHP_5_5/ext/xmlwriter/
H A Dphp_xmlwriter.c602 static char *_xmlwriter_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len TSRMLS_DC) { argument
645 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path TSRMLS_CC)) {
661 file_dest = resolved_path;
1749 char resolved_path[MAXPATHLEN + 1]; local
1778 valid_file = _xmlwriter_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC);
/PHP_5_5/TSRM/
H A Dtsrm_virtual_cwd.c1154 char resolved_path[MAXPATHLEN]; local
1186 memcpy(resolved_path , path, path_length + 1);
1218 memcpy(resolved_path, state->cwd, state_cwd_length);
1219 if (resolved_path[state_cwd_length-1] == DEFAULT_SLASH) {
1220 memcpy(resolved_path + state_cwd_length, path, path_length + 1);
1223 resolved_path[state_cwd_length] = DEFAULT_SLASH;
1224 memcpy(resolved_path + state_cwd_length + 1, path, path_length + 1);
1231 resolved_path[0] = path[0];
1232 resolved_path[1] = ':';
1233 resolved_path[
[all...]
/PHP_5_5/Zend/
H A Dzend_vm_def.h3774 char *resolved_path; variable
3776 resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), Z_STRLEN_P(inc_filename) TSRMLS_CC);
3777 if (resolved_path) {
3778 failure_retval = zend_hash_exists(&EG(included_files), resolved_path, strlen(resolved_path)+1);
3780 resolved_path = Z_STRVAL_P(inc_filename);
3785 } else if (SUCCESS == zend_stream_open(resolved_path, &file_handle TSRMLS_CC)) {
3788 file_handle.opened_path = estrdup(resolved_path);
3805 if (resolved_path != Z_STRVAL_P(inc_filename)) {
3806 efree(resolved_path); variable
[all...]
H A Dzend_vm_execute.h2678 char *resolved_path; local
2680 resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), Z_STRLEN_P(inc_filename) TSRMLS_CC);
2681 if (resolved_path) {
2682 failure_retval = zend_hash_exists(&EG(included_files), resolved_path, strlen(resolved_path)+1);
2684 resolved_path = Z_STRVAL_P(inc_filename);
2689 } else if (SUCCESS == zend_stream_open(resolved_path, &file_handle TSRMLS_CC)) {
2692 file_handle.opened_path = estrdup(resolved_path);
2709 if (resolved_path != Z_STRVAL_P(inc_filename)) {
2710 efree(resolved_path);
7989 char *resolved_path; local
13306 char *resolved_path; local
30976 char *resolved_path; local
[all...]
/PHP_5_5/ext/dom/
H A Ddocument.c1498 char *_dom_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len TSRMLS_DC) /* {{{ */ argument
1538 /* XXX possible buffer overflow if VCWD_REALPATH does not know size of resolved_path */
1539 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path TSRMLS_CC)) {
1543 file_dest = resolved_path;
1562 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1587 file_dest = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC);
1603 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN);
1605 directory = VCWD_GETWD(resolved_path);
1611 resolved_path_len = strlen(resolved_path);
1992 char resolved_path[MAXPATHLEN + 1]; local
2092 char resolved_path[MAXPATHLEN + 1]; local
[all...]
/PHP_5_5/ext/zip/
H A Dphp_zip.c303 char resolved_path[MAXPATHLEN]; local
311 if (!expand_filepath(filename, resolved_path TSRMLS_CC)) {
315 php_stat(resolved_path, strlen(resolved_path), FS_EXISTS, &exists_flag TSRMLS_CC);
320 zs = zip_source_file(za, resolved_path, offset_start, offset_len);
1214 char resolved_path[MAXPATHLEN + 1]; local
1231 if(!expand_filepath(filename, resolved_path TSRMLS_CC)) {
1237 rsrc_int->za = zip_open(resolved_path, 0, &err);
1496 char resolved_path[MAXPATHLEN]; local
1519 if (!expand_filepath(filename, resolved_path TSRMLS_C
[all...]

Completed in 75 milliseconds