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

/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c1184 char resolved_path[MAXPATHLEN]; local
1216 memcpy(resolved_path , path, path_length + 1);
1248 memcpy(resolved_path, state->cwd, state_cwd_length);
1249 if (resolved_path[state_cwd_length-1] == DEFAULT_SLASH) {
1250 memcpy(resolved_path + state_cwd_length, path, path_length + 1);
1253 resolved_path[state_cwd_length] = DEFAULT_SLASH;
1254 memcpy(resolved_path + state_cwd_length + 1, path, path_length + 1);
1261 resolved_path[0] = path[0];
1262 resolved_path[1] = ':';
1263 resolved_path[
[all...]
H A Dzend_vm_def.h4592 zend_string *resolved_path; variable
4594 resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), (int)Z_STRLEN_P(inc_filename));
4595 if (resolved_path) {
4596 failure_retval = zend_hash_exists(&EG(included_files), resolved_path);
4598 resolved_path = zend_string_copy(Z_STR_P(inc_filename));
4603 } else if (SUCCESS == zend_stream_open(resolved_path->val, &file_handle)) {
4606 file_handle.opened_path = zend_string_copy(resolved_path);
4623 zend_string_release(resolved_path); variable
H A Dzend_vm_execute.h3130 zend_string *resolved_path; local
3132 resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), (int)Z_STRLEN_P(inc_filename));
3133 if (resolved_path) {
3134 failure_retval = zend_hash_exists(&EG(included_files), resolved_path);
3136 resolved_path = zend_string_copy(Z_STR_P(inc_filename));
3141 } else if (SUCCESS == zend_stream_open(resolved_path->val, &file_handle)) {
3144 file_handle.opened_path = zend_string_copy(resolved_path);
3161 zend_string_release(resolved_path);
24688 zend_string *resolved_path; local
24690 resolved_path
34098 zend_string *resolved_path; local
[all...]
/PHP_TRUNK/ext/dom/
H A Ddocument.c1301 char *_dom_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len ) /* {{{ */ argument
1341 /* XXX possible buffer overflow if VCWD_REALPATH does not know size of resolved_path */
1342 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path)) {
1346 file_dest = resolved_path;
1365 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1386 char *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/xmlreader/
H A Dphp_xmlreader.c225 char *_xmlreader_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len ) { argument
258 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path)) {
262 file_dest = resolved_path;
280 char resolved_path[MAXPATHLEN + 1]; local
284 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN );
858 char resolved_path[MAXPATHLEN + 1]; local
880 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN );
1042 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1069 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/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);
1100 char resolved_path[MAXPATHLEN + 1]; local
1118 if(!expand_filepath(filename->val, resolved_path)) {
1124 rsrc_int->za = zip_open(resolved_path, 0, &err);
1398 char *resolved_path; local
1421 if (!(resolved_path
[all...]
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c305 char *resolved_path; local
315 resolved_path = xmlURIUnescapeString(filename, 0, NULL);
318 resolved_path = (char *)filename;
325 if (resolved_path == NULL) {
335 wrapper = php_stream_locate_url_wrapper(resolved_path, &path_to_open, 0);
339 xmlFree(resolved_path);
349 xmlFree(resolved_path);
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c1758 zend_string *resolved_path; local
1793 resolved_path = accelerator_orig_zend_resolve_path(filename, filename_len);
1796 if (resolved_path &&
1797 (bucket = zend_accel_hash_find_entry(&ZCSG(hash), resolved_path->val, resolved_path->len)) != NULL) {
1811 return resolved_path;
1816 return resolved_path;
/PHP_TRUNK/main/
H A Dfopen_wrappers.c369 zend_string *resolved_path = NULL; local
437 resolved_path = zend_resolve_path(filename, (int)strlen(filename));
440 if (!resolved_path) {
456 zend_string_release(resolved_path);
491 char resolved_path[MAXPATHLEN]; local
506 if (tsrm_realpath(actual_path, resolved_path)) {
507 return zend_string_init(resolved_path, strlen(resolved_path), 0);
519 if (tsrm_realpath(filename, resolved_path)) {
520 return zend_string_init(resolved_path, strle
[all...]
/PHP_TRUNK/main/streams/
H A Dstreams.c2026 zend_string *resolved_path = NULL; local
2039 resolved_path = zend_resolve_path(path, (int)strlen(path));
2040 if (resolved_path) {
2041 path = resolved_path->val;
2053 if (resolved_path) {
2054 zend_string_release(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_TRUNK/ext/standard/
H A Dstreamsfuncs.c1534 zend_string *resolved_path; local
1540 resolved_path = zend_resolve_path(filename, (int)filename_len);
1542 if (resolved_path) {
1543 RETURN_STR(resolved_path);

Completed in 75 milliseconds