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

/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c1743 char *resolved_path; local
1778 resolved_path = accelerator_orig_zend_resolve_path(filename, filename_len TSRMLS_CC);
1781 if (resolved_path &&
1782 (bucket = zend_accel_hash_find_entry(&ZCSG(hash), resolved_path, strlen(resolved_path))) != NULL) {
1796 return resolved_path;
1801 return resolved_path;
/PHP_TRUNK/ext/dom/
H A Ddocument.c1301 char *_dom_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len TSRMLS_DC) /* {{{ */ 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 TSRMLS_CC)) {
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 TSRMLS_CC);
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/fileinfo/
H A Dfileinfo.c303 char resolved_path[MAXPATHLEN];
328 if (!expand_filepath_with_mode(file, resolved_path, NULL, 0, CWD_EXPAND TSRMLS_CC)) {
332 file = resolved_path;
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c299 char *resolved_path; local
310 resolved_path = xmlURIUnescapeString(filename, 0, NULL);
313 resolved_path = (char *)filename;
320 if (resolved_path == NULL) {
330 wrapper = php_stream_locate_url_wrapper(resolved_path, &path_to_open, 0 TSRMLS_CC);
334 xmlFree(resolved_path);
344 xmlFree(resolved_path);
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c1481 char *filename, *resolved_path; local
1488 resolved_path = zend_resolve_path(filename, filename_len TSRMLS_CC);
1490 if (resolved_path) {
1492 RETVAL_STRING(resolved_path);
1493 efree(resolved_path);
/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.c225 char *_xmlreader_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len TSRMLS_DC) { argument
258 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path TSRMLS_CC)) {
262 file_dest = resolved_path;
280 char resolved_path[MAXPATHLEN + 1]; local
284 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC);
858 char resolved_path[MAXPATHLEN + 1]; local
880 valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC);
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 TSRMLS_DC) { argument
629 if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path TSRMLS_CC)) {
645 file_dest = resolved_path;
1646 char resolved_path[MAXPATHLEN + 1]; local
1665 valid_file = _xmlwriter_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC);
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c283 char resolved_path[MAXPATHLEN]; local
291 if (!expand_filepath(filename, resolved_path TSRMLS_CC)) {
295 php_stat(resolved_path, strlen(resolved_path), FS_EXISTS, &exists_flag TSRMLS_CC);
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 TSRMLS_CC)) {
1124 rsrc_int->za = zip_open(resolved_path, 0, &err);
1382 char *resolved_path; local
1405 if (!(resolved_path
[all...]
/PHP_TRUNK/main/
H A Dfopen_wrappers.c364 char *resolved_path = NULL; local
432 resolved_path = zend_resolve_path(filename, strlen(filename) TSRMLS_CC);
435 if (!resolved_path) {
451 efree(resolved_path);
486 char resolved_path[MAXPATHLEN]; local
501 if (tsrm_realpath(actual_path, resolved_path TSRMLS_CC)) {
502 return estrdup(resolved_path);
514 if (tsrm_realpath(filename, resolved_path TSRMLS_CC)) {
515 return estrdup(resolved_path);
571 if (tsrm_realpath(actual_path, resolved_path TSRMLS_C
[all...]
/PHP_TRUNK/main/streams/
H A Dstreams.c2030 char *resolved_path = NULL; local
2043 resolved_path = zend_resolve_path(path, strlen(path) TSRMLS_CC);
2044 if (resolved_path) {
2045 path = resolved_path;
2057 if (resolved_path) {
2058 efree(resolved_path);
2088 if (opened_path && !*opened_path && resolved_path) {
2089 *opened_path = resolved_path;
2090 resolved_path = NULL;
2110 if (resolved_path) {
[all...]
/PHP_TRUNK/Zend/
H A Dzend_vm_def.h4154 char *resolved_path; variable
4156 resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), (int)Z_STRLEN_P(inc_filename) TSRMLS_CC);
4157 if (resolved_path) {
4158 failure_retval = zend_hash_str_exists(&EG(included_files), resolved_path, (int)strlen(resolved_path));
4160 resolved_path = Z_STRVAL_P(inc_filename);
4165 } else if (SUCCESS == zend_stream_open(resolved_path, &file_handle TSRMLS_CC)) {
4168 file_handle.opened_path = estrdup(resolved_path);
4185 if (resolved_path != Z_STRVAL_P(inc_filename)) {
4186 efree(resolved_path); variable
[all...]
H A Dzend_vm_execute.h2961 char *resolved_path; local
2963 resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), (int)Z_STRLEN_P(inc_filename) TSRMLS_CC);
2964 if (resolved_path) {
2965 failure_retval = zend_hash_str_exists(&EG(included_files), resolved_path, (int)strlen(resolved_path));
2967 resolved_path = Z_STRVAL_P(inc_filename);
2972 } else if (SUCCESS == zend_stream_open(resolved_path, &file_handle TSRMLS_CC)) {
2975 file_handle.opened_path = estrdup(resolved_path);
2992 if (resolved_path != Z_STRVAL_P(inc_filename)) {
2993 efree(resolved_path);
9675 char *resolved_path; local
16304 char *resolved_path; local
33728 char *resolved_path; local
[all...]
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...]

Completed in 73 milliseconds