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

/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.c226 char *_xmlreader_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len ) { argument
259 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path)) {
263 file_dest = resolved_path;
281 char resolved_path[MAXPATHLEN + 1]; local
285 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN );
859 char resolved_path[MAXPATHLEN + 1]; local
881 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN );
1043 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1070 directory = VCWD_GETCWD(resolved_path, MAXPATHLE
[all...]
/PHP_TRUNK/ext/xmlwriter/
H A Dphp_xmlwriter.c586 static char *_xmlwriter_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len ) { argument
629 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path)) {
645 file_dest = resolved_path;
1683 char resolved_path[MAXPATHLEN + 1]; local
1702 valid_file = _xmlwriter_get_valid_file_path(source, resolved_path, MAXPATHLEN);
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c305 char *resolved_path; local
315 resolved_path = xmlURIUnescapeString(filename, 0, NULL);
324 if (strncasecmp(resolved_path, "file:/", pre_len) == 0
325 && '/' != resolved_path[pre_len]) {
326 xmlChar *tmp = xmlStrdup(resolved_path + pre_len);
327 xmlFree(resolved_path);
328 resolved_path = tmp;
333 resolved_path = (char *)filename;
340 if (resolved_path == NULL) {
350 wrapper = php_stream_locate_url_wrapper(resolved_path,
[all...]
/PHP_TRUNK/main/
H A Dfopen_wrappers.c359 zend_string *resolved_path = NULL; local
427 resolved_path = zend_resolve_path(filename, (int)strlen(filename));
430 if (!resolved_path) {
446 zend_string_release(resolved_path);
481 char resolved_path[MAXPATHLEN]; local
497 if (tsrm_realpath(actual_path, resolved_path)) {
498 return zend_string_init(resolved_path, strlen(resolved_path), 0);
510 if (tsrm_realpath(filename, resolved_path)) {
511 return zend_string_init(resolved_path, strle
[all...]
/PHP_TRUNK/main/streams/
H A Dstreams.c2021 zend_string *resolved_path = NULL; local
2034 resolved_path = zend_resolve_path(path, (int)strlen(path));
2035 if (resolved_path) {
2036 path = ZSTR_VAL(resolved_path);
2048 if (resolved_path) {
2049 zend_string_release(resolved_path);
2079 if (opened_path && !*opened_path && resolved_path) {
2080 *opened_path = resolved_path;
2081 resolved_path = NULL;
2101 if (resolved_path) {
[all...]
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c1489 zend_string *resolved_path; local
1495 resolved_path = zend_resolve_path(filename, (int)filename_len);
1497 if (resolved_path) {
1498 RETURN_STR(resolved_path);
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c1177 char resolved_path[MAXPATHLEN]; local
1205 memcpy(resolved_path , path, path_length + 1);
1237 memcpy(resolved_path, state->cwd, state_cwd_length);
1238 if (resolved_path[state_cwd_length-1] == DEFAULT_SLASH) {
1239 memcpy(resolved_path + state_cwd_length, path, path_length + 1);
1242 resolved_path[state_cwd_length] = DEFAULT_SLASH;
1243 memcpy(resolved_path + state_cwd_length + 1, path, path_length + 1);
1250 resolved_path[0] = path[0];
1251 resolved_path[1] = ':';
1252 resolved_path[
[all...]
H A Dzend_vm_def.h5385 zend_string *resolved_path; variable
5387 resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), (int)Z_STRLEN_P(inc_filename));
5388 if (resolved_path) {
5389 failure_retval = zend_hash_exists(&EG(included_files), resolved_path);
5391 resolved_path = zend_string_copy(Z_STR_P(inc_filename));
5396 } else if (SUCCESS == zend_stream_open(ZSTR_VAL(resolved_path), &file_handle)) {
5399 file_handle.opened_path = zend_string_copy(resolved_path);
5416 zend_string_release(resolved_path); variable
H A Dzend_vm_execute.h3599 zend_string *resolved_path; local
3601 resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), (int)Z_STRLEN_P(inc_filename));
3602 if (resolved_path) {
3603 failure_retval = zend_hash_exists(&EG(included_files), resolved_path);
3605 resolved_path = zend_string_copy(Z_STR_P(inc_filename));
3610 } else if (SUCCESS == zend_stream_open(ZSTR_VAL(resolved_path), &file_handle)) {
3613 file_handle.opened_path = zend_string_copy(resolved_path);
3630 zend_string_release(resolved_path);
29000 zend_string *resolved_path; local
29002 resolved_path
40411 zend_string *resolved_path; local
[all...]
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c1890 zend_string *resolved_path; local
1915 resolved_path = accelerator_orig_zend_resolve_path(filename, filename_len);
1917 if (resolved_path) {
1919 zend_accel_hash_entry *bucket = zend_accel_hash_find_entry(&ZCSG(hash), resolved_path);
1935 return resolved_path;
1942 return resolved_path;
/PHP_TRUNK/ext/fileinfo/
H A Dfileinfo.c291 char resolved_path[MAXPATHLEN];
324 if (!expand_filepath_with_mode(file, resolved_path, NULL, 0, CWD_EXPAND)) {
333 file = resolved_path;
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c283 char resolved_path[MAXPATHLEN]; local
291 if (!expand_filepath(filename, resolved_path)) {
295 php_stat(resolved_path, strlen(resolved_path), FS_EXISTS, &exists_flag);
300 zs = zip_source_file(za, resolved_path, offset_start, offset_len);
1108 char resolved_path[MAXPATHLEN + 1]; local
1126 if(!expand_filepath(ZSTR_VAL(filename), resolved_path)) {
1132 rsrc_int->za = zip_open(resolved_path, 0, &err);
1406 char *resolved_path; local
1429 if (!(resolved_path
[all...]
/PHP_TRUNK/ext/dom/
H A Ddocument.c1298 char *_dom_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len ) /* {{{ */ argument
1338 /* XXX possible buffer overflow if VCWD_REALPATH does not know size of resolved_path */
1339 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path)) {
1343 file_dest = resolved_path;
1362 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1387 file_dest = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN);
1403 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN);
1405 directory = VCWD_GETWD(resolved_path);
1411 resolved_path_len = strlen(resolved_path);
1795 char resolved_path[MAXPATHLEN + 1]; local
1895 char resolved_path[MAXPATHLEN + 1]; local
[all...]

Completed in 148 milliseconds