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

/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);
1099 char resolved_path[MAXPATHLEN + 1]; local
1117 if(!expand_filepath(filename->val, resolved_path)) {
1123 rsrc_int->za = zip_open(resolved_path, 0, &err);
1397 char *resolved_path; local
1420 if (!(resolved_path
[all...]
/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/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/Zend/
H A Dzend_virtual_cwd.c1184 char resolved_path[MAXPATHLEN]; local
1212 memcpy(resolved_path , path, path_length + 1);
1244 memcpy(resolved_path, state->cwd, state_cwd_length);
1245 if (resolved_path[state_cwd_length-1] == DEFAULT_SLASH) {
1246 memcpy(resolved_path + state_cwd_length, path, path_length + 1);
1249 resolved_path[state_cwd_length] = DEFAULT_SLASH;
1250 memcpy(resolved_path + state_cwd_length + 1, path, path_length + 1);
1257 resolved_path[0] = path[0];
1258 resolved_path[1] = ':';
1259 resolved_path[
[all...]
H A Dzend_vm_def.h5313 zend_string *resolved_path; variable
5315 resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), (int)Z_STRLEN_P(inc_filename));
5316 if (resolved_path) {
5317 failure_retval = zend_hash_exists(&EG(included_files), resolved_path);
5319 resolved_path = zend_string_copy(Z_STR_P(inc_filename));
5324 } else if (SUCCESS == zend_stream_open(resolved_path->val, &file_handle)) {
5327 file_handle.opened_path = zend_string_copy(resolved_path);
5344 zend_string_release(resolved_path); variable
H A Dzend_vm_execute.h3515 zend_string *resolved_path; local
3517 resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), (int)Z_STRLEN_P(inc_filename));
3518 if (resolved_path) {
3519 failure_retval = zend_hash_exists(&EG(included_files), resolved_path);
3521 resolved_path = zend_string_copy(Z_STR_P(inc_filename));
3526 } else if (SUCCESS == zend_stream_open(resolved_path->val, &file_handle)) {
3529 file_handle.opened_path = zend_string_copy(resolved_path);
3546 zend_string_release(resolved_path);
28771 zend_string *resolved_path; local
28773 resolved_path
40035 zend_string *resolved_path; local
[all...]
/PHP_TRUNK/main/
H A Dfopen_wrappers.c363 zend_string *resolved_path = NULL; local
431 resolved_path = zend_resolve_path(filename, (int)strlen(filename));
434 if (!resolved_path) {
450 zend_string_release(resolved_path);
485 char resolved_path[MAXPATHLEN]; local
501 if (tsrm_realpath(actual_path, resolved_path)) {
502 return zend_string_init(resolved_path, strlen(resolved_path), 0);
514 if (tsrm_realpath(filename, resolved_path)) {
515 return zend_string_init(resolved_path, strle
[all...]
/PHP_TRUNK/main/streams/
H A Dstreams.c2009 zend_string *resolved_path = NULL; local
2022 resolved_path = zend_resolve_path(path, (int)strlen(path));
2023 if (resolved_path) {
2024 path = resolved_path->val;
2036 if (resolved_path) {
2037 zend_string_release(resolved_path);
2067 if (opened_path && !*opened_path && resolved_path) {
2068 *opened_path = resolved_path;
2069 resolved_path = NULL;
2089 if (resolved_path) {
[all...]
/PHP_TRUNK/ext/dom/
H A Ddocument.c1297 char *_dom_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len ) /* {{{ */ argument
1337 /* XXX possible buffer overflow if VCWD_REALPATH does not know size of resolved_path */
1338 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path)) {
1342 file_dest = resolved_path;
1361 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1386 file_dest = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN);
1402 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN);
1404 directory = VCWD_GETWD(resolved_path);
1410 resolved_path_len = strlen(resolved_path);
1794 char resolved_path[MAXPATHLEN + 1]; local
1890 char resolved_path[MAXPATHLEN + 1]; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c1494 zend_string *resolved_path; local
1500 resolved_path = zend_resolve_path(filename, (int)filename_len);
1502 if (resolved_path) {
1503 RETURN_STR(resolved_path);
/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/opcache/
H A DZendAccelerator.c1732 zend_string *resolved_path; local
1757 resolved_path = accelerator_orig_zend_resolve_path(filename, filename_len);
1759 if (resolved_path) {
1761 zend_accel_hash_entry *bucket = zend_accel_hash_find_entry(&ZCSG(hash), resolved_path);
1777 return resolved_path;
1784 return resolved_path;

Completed in 88 milliseconds