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

/PHP_5_3/TSRM/
H A Dtsrm_virtual_cwd.c1167 char resolved_path[MAXPATHLEN]; local
1200 memcpy(resolved_path , path, path_length + 1);
1232 memcpy(resolved_path, state->cwd, state_cwd_length);
1233 if (resolved_path[state_cwd_length-1] == DEFAULT_SLASH) {
1234 memcpy(resolved_path + state_cwd_length, path, path_length + 1);
1237 resolved_path[state_cwd_length] = DEFAULT_SLASH;
1238 memcpy(resolved_path + state_cwd_length + 1, path, path_length + 1);
1245 resolved_path[0] = path[0];
1246 resolved_path[1] = ':';
1247 resolved_path[
[all...]
/PHP_5_3/ext/dom/
H A Ddocument.c1497 char *_dom_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len TSRMLS_DC) /* {{{ */ argument
1531 /* XXX possible buffer overflow if VCWD_REALPATH does not know size of resolved_path */
1532 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path TSRMLS_CC)) {
1536 file_dest = resolved_path;
1555 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1576 char *file_dest = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC);
1592 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN);
1594 directory = VCWD_GETWD(resolved_path);
1600 resolved_path_len = strlen(resolved_path);
1980 char resolved_path[MAXPATHLEN + 1]; local
2069 char resolved_path[MAXPATHLEN + 1]; local
[all...]
/PHP_5_3/ext/xmlreader/
H A Dphp_xmlreader.c229 char *_xmlreader_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len TSRMLS_DC) { argument
262 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path TSRMLS_CC)) {
266 file_dest = resolved_path;
284 char resolved_path[MAXPATHLEN + 1]; local
288 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC);
872 char resolved_path[MAXPATHLEN + 1]; local
894 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC);
1055 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1082 directory = VCWD_GETCWD(resolved_path, MAXPATHLE
[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_len TSRMLS_DC) { argument
647 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path TSRMLS_CC)) {
663 file_dest = resolved_path;
1751 char resolved_path[MAXPATHLEN + 1]; local
1780 valid_file = _xmlwriter_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC);
/PHP_5_3/main/
H A Dfopen_wrappers.c417 char *resolved_path = NULL; local
484 resolved_path = zend_resolve_path(filename, strlen(filename) TSRMLS_CC);
487 if (!resolved_path) {
499 fp = VCWD_FOPEN(resolved_path, "rb");
518 file_handle->opened_path = resolved_path;
539 char resolved_path[MAXPATHLEN]; local
558 if (tsrm_realpath(actual_path, resolved_path TSRMLS_CC)) {
559 return estrdup(resolved_path);
571 if (tsrm_realpath(filename, resolved_path TSRMLS_CC)) {
572 return estrdup(resolved_path);
[all...]
/PHP_5_3/main/streams/
H A Dstreams.c1948 char *resolved_path = NULL; local
1962 resolved_path = zend_resolve_path(path, strlen(path) TSRMLS_CC);
1963 if (resolved_path) {
1964 path = resolved_path;
1976 if (resolved_path) {
1977 efree(resolved_path);
2007 if (opened_path && !*opened_path && resolved_path) {
2008 *opened_path = resolved_path;
2009 resolved_path = NULL;
2029 if (resolved_path) {
[all...]
/PHP_5_3/ext/libxml/
H A Dlibxml.c275 char *resolved_path, *path_to_open = NULL; local
284 resolved_path = xmlURIUnescapeString(filename, 0, NULL);
287 resolved_path = (char *)filename;
294 if (resolved_path == NULL) {
304 wrapper = php_stream_locate_url_wrapper(resolved_path, &path_to_open, ENFORCE_SAFE_MODE TSRMLS_CC);
308 xmlFree(resolved_path);
318 xmlFree(resolved_path);
/PHP_5_3/ext/zip/
H A Dphp_zip.c312 char resolved_path[MAXPATHLEN]; local
320 if (!expand_filepath(filename, resolved_path TSRMLS_CC)) {
324 php_stat(resolved_path, strlen(resolved_path), FS_EXISTS, &exists_flag TSRMLS_CC);
329 zs = zip_source_file(za, resolved_path, offset_start, offset_len);
1210 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
1523 if (!expand_filepath(filename, resolved_path TSRMLS_C
[all...]
/PHP_5_3/ext/standard/
H A Dstreamsfuncs.c1504 char *filename, *resolved_path; local
1511 resolved_path = zend_resolve_path(filename, filename_len TSRMLS_CC);
1513 if (resolved_path) {
1514 RETURN_STRING(resolved_path, 0);
/PHP_5_3/Zend/
H A Dzend_vm_def.h3253 char *resolved_path; variable
3255 resolved_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); variable
[all...]
H A Dzend_vm_execute.h1923 char *resolved_path; local
1925 resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), Z_STRLEN_P(inc_filename) TSRMLS_CC);
1926 if (resolved_path) {
1927 failure_retval = zend_hash_exists(&EG(included_files), resolved_path, strlen(resolved_path)+1);
1929 resolved_path = Z_STRVAL_P(inc_filename);
1934 } else if (SUCCESS == zend_stream_open(resolved_path, &file_handle TSRMLS_CC)) {
1937 file_handle.opened_path = estrdup(resolved_path);
1954 if (resolved_path != Z_STRVAL_P(inc_filename)) {
1955 efree(resolved_path);
5219 char *resolved_path; local
8594 char *resolved_path; local
22499 char *resolved_path; local
[all...]

Completed in 66 milliseconds