Searched defs:resolved_path (Results 1 - 12 of 12) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c1182 char resolved_path[MAXPATHLEN]; local
1214 memcpy(resolved_path , path, path_length + 1);
1246 memcpy(resolved_path, state->cwd, state_cwd_length);
1247 if (resolved_path[state_cwd_length-1] == DEFAULT_SLASH) {
1248 memcpy(resolved_path + state_cwd_length, path, path_length + 1);
1251 resolved_path[state_cwd_length] = DEFAULT_SLASH;
1252 memcpy(resolved_path + state_cwd_length + 1, path, path_length + 1);
1259 resolved_path[0] = path[0];
1260 resolved_path[1] = ':';
1261 resolved_path[
[all...]
H A Dzend_vm_def.h3960 char *resolved_path; variable
3962 resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), Z_STRLEN_P(inc_filename) TSRMLS_CC);
3963 if (resolved_path) {
3964 failure_retval = zend_hash_exists(&EG(included_files), resolved_path, strlen(resolved_path)+1);
3966 resolved_path = Z_STRVAL_P(inc_filename);
3971 } else if (SUCCESS == zend_stream_open(resolved_path, &file_handle TSRMLS_CC)) {
3974 file_handle.opened_path = estrdup(resolved_path);
3991 if (resolved_path != Z_STRVAL_P(inc_filename)) {
3992 efree(resolved_path); variable
[all...]
H A Dzend_vm_execute.h2933 char *resolved_path; local
2935 resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), Z_STRLEN_P(inc_filename) TSRMLS_CC);
2936 if (resolved_path) {
2937 failure_retval = zend_hash_exists(&EG(included_files), resolved_path, strlen(resolved_path)+1);
2939 resolved_path = Z_STRVAL_P(inc_filename);
2944 } else if (SUCCESS == zend_stream_open(resolved_path, &file_handle TSRMLS_CC)) {
2947 file_handle.opened_path = estrdup(resolved_path);
2964 if (resolved_path != Z_STRVAL_P(inc_filename)) {
2965 efree(resolved_path);
8287 char *resolved_path; local
13656 char *resolved_path; local
31253 char *resolved_path; local
[all...]
/PHP_TRUNK/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);
864 char resolved_path[MAXPATHLEN + 1]; local
886 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC);
1047 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1074 directory = VCWD_GETCWD(resolved_path, MAXPATHLE
[all...]
/PHP_TRUNK/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_TRUNK/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_TRUNK/ext/libxml/
H A Dlibxml.c296 char *resolved_path; local
307 resolved_path = xmlURIUnescapeString(filename, 0, NULL);
310 resolved_path = (char *)filename;
317 if (resolved_path == NULL) {
327 wrapper = php_stream_locate_url_wrapper(resolved_path, &path_to_open, 0 TSRMLS_CC);
331 xmlFree(resolved_path);
341 xmlFree(resolved_path);
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c328 char resolved_path[MAXPATHLEN]; local
336 if (!expand_filepath(filename, resolved_path TSRMLS_CC)) {
340 php_stat(resolved_path, strlen(resolved_path), FS_EXISTS, &exists_flag TSRMLS_CC);
345 zs = zip_source_file(za, resolved_path, offset_start, offset_len);
1245 char resolved_path[MAXPATHLEN + 1]; local
1262 if(!expand_filepath(filename, resolved_path TSRMLS_CC)) {
1268 rsrc_int->za = zip_open(resolved_path, 0, &err);
1527 char *resolved_path; local
1550 if (!(resolved_path
[all...]
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c1534 char *filename, *resolved_path; local
1541 resolved_path = zend_resolve_path(filename, filename_len TSRMLS_CC);
1543 if (resolved_path) {
1544 RETURN_STRING(resolved_path, 0);
/PHP_TRUNK/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
1583 char *file_dest = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC);
1599 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN);
1601 directory = VCWD_GETWD(resolved_path);
1607 resolved_path_len = strlen(resolved_path);
1988 char resolved_path[MAXPATHLEN + 1]; local
2084 char resolved_path[MAXPATHLEN + 1]; local
[all...]
/PHP_TRUNK/main/streams/
H A Dstreams.c2022 char *resolved_path = NULL; local
2035 resolved_path = zend_resolve_path(path, strlen(path) TSRMLS_CC);
2036 if (resolved_path) {
2037 path = resolved_path;
2049 if (resolved_path) {
2050 efree(resolved_path);
2080 if (opened_path && !*opened_path && resolved_path) {
2081 *opened_path = resolved_path;
2082 resolved_path = NULL;
2102 if (resolved_path) {
[all...]
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c1777 char *resolved_path; local
1806 if ((resolved_path = accel_tsrm_realpath(trypath, len + 1 + filename_length TSRMLS_CC)) != NULL) {
1807 return resolved_path;
1847 char *resolved_path; local
1890 resolved_path = accel_php_resolve_path(filename, filename_len, ZCG(include_path) TSRMLS_CC);
1893 if (resolved_path &&
1894 (bucket = zend_accel_hash_find_entry(&ZCSG(hash), resolved_path, strlen(resolved_path) + 1)) != NULL) {
1898 handle->opened_path = resolved_path;
1913 if (resolved_path) {
2017 char *resolved_path; local
[all...]

Completed in 66 milliseconds