resolved_path 1181 Zend/zend_virtual_cwd.c char resolved_path[MAXPATHLEN]; resolved_path 1209 Zend/zend_virtual_cwd.c memcpy(resolved_path , path, path_length + 1); resolved_path 1241 Zend/zend_virtual_cwd.c memcpy(resolved_path, state->cwd, state_cwd_length); resolved_path 1242 Zend/zend_virtual_cwd.c if (resolved_path[state_cwd_length-1] == DEFAULT_SLASH) { resolved_path 1243 Zend/zend_virtual_cwd.c memcpy(resolved_path + state_cwd_length, path, path_length + 1); resolved_path 1246 Zend/zend_virtual_cwd.c resolved_path[state_cwd_length] = DEFAULT_SLASH; resolved_path 1247 Zend/zend_virtual_cwd.c memcpy(resolved_path + state_cwd_length + 1, path, path_length + 1); resolved_path 1254 Zend/zend_virtual_cwd.c resolved_path[0] = path[0]; resolved_path 1255 Zend/zend_virtual_cwd.c resolved_path[1] = ':'; resolved_path 1256 Zend/zend_virtual_cwd.c resolved_path[2] = DEFAULT_SLASH; resolved_path 1257 Zend/zend_virtual_cwd.c memcpy(resolved_path + 3, path + 2, path_length - 1); resolved_path 1261 Zend/zend_virtual_cwd.c memcpy(resolved_path, path, path_length + 1); resolved_path 1265 Zend/zend_virtual_cwd.c if (memchr(resolved_path, '*', path_length) || resolved_path 1266 Zend/zend_virtual_cwd.c memchr(resolved_path, '?', path_length)) { resolved_path 1272 Zend/zend_virtual_cwd.c if (IS_UNC_PATH(resolved_path, path_length)) { resolved_path 1274 Zend/zend_virtual_cwd.c resolved_path[0] = DEFAULT_SLASH; resolved_path 1275 Zend/zend_virtual_cwd.c resolved_path[1] = DEFAULT_SLASH; resolved_path 1277 Zend/zend_virtual_cwd.c while (!IS_SLASH(resolved_path[start])) { resolved_path 1278 Zend/zend_virtual_cwd.c if (resolved_path[start] == 0) { resolved_path 1281 Zend/zend_virtual_cwd.c resolved_path[start] = toupper(resolved_path[start]); resolved_path 1284 Zend/zend_virtual_cwd.c resolved_path[start++] = DEFAULT_SLASH; resolved_path 1285 Zend/zend_virtual_cwd.c while (!IS_SLASH(resolved_path[start])) { resolved_path 1286 Zend/zend_virtual_cwd.c if (resolved_path[start] == 0) { resolved_path 1289 Zend/zend_virtual_cwd.c resolved_path[start] = toupper(resolved_path[start]); resolved_path 1292 Zend/zend_virtual_cwd.c resolved_path[start++] = DEFAULT_SLASH; resolved_path 1293 Zend/zend_virtual_cwd.c } else if (IS_ABSOLUTE_PATH(resolved_path, path_length)) { resolved_path 1295 Zend/zend_virtual_cwd.c resolved_path[0] = toupper(resolved_path[0]); resolved_path 1296 Zend/zend_virtual_cwd.c resolved_path[2] = DEFAULT_SLASH; resolved_path 1300 Zend/zend_virtual_cwd.c if (IS_ABSOLUTE_PATH(resolved_path, path_length)) { resolved_path 1304 Zend/zend_virtual_cwd.c if (resolved_path[start] == 0) return -1; resolved_path 1308 Zend/zend_virtual_cwd.c if (!IS_SLASH(resolved_path[start])) return -1; resolved_path 1309 Zend/zend_virtual_cwd.c resolved_path[start++] = DEFAULT_SLASH; resolved_path 1313 Zend/zend_virtual_cwd.c add_slash = (use_realpath != CWD_REALPATH) && path_length > 0 && IS_SLASH(resolved_path[path_length-1]); resolved_path 1315 Zend/zend_virtual_cwd.c path_length = tsrm_realpath_r(resolved_path, start, path_length, &ll, &t, use_realpath, 0, NULL); resolved_path 1323 Zend/zend_virtual_cwd.c resolved_path[path_length++] = '.'; resolved_path 1325 Zend/zend_virtual_cwd.c if (add_slash && path_length && !IS_SLASH(resolved_path[path_length-1])) { resolved_path 1329 Zend/zend_virtual_cwd.c resolved_path[path_length++] = DEFAULT_SLASH; resolved_path 1331 Zend/zend_virtual_cwd.c resolved_path[path_length] = 0; resolved_path 1351 Zend/zend_virtual_cwd.c memcpy(state->cwd, resolved_path, state->cwd_length+1); resolved_path 1371 Zend/zend_virtual_cwd.c memcpy(state->cwd, resolved_path, state->cwd_length+1); resolved_path 5417 Zend/zend_vm_def.h zend_string *resolved_path; resolved_path 5419 Zend/zend_vm_def.h resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), (int)Z_STRLEN_P(inc_filename)); resolved_path 5420 Zend/zend_vm_def.h if (resolved_path) { resolved_path 5421 Zend/zend_vm_def.h failure_retval = zend_hash_exists(&EG(included_files), resolved_path); resolved_path 5423 Zend/zend_vm_def.h resolved_path = zend_string_copy(Z_STR_P(inc_filename)); resolved_path 5428 Zend/zend_vm_def.h } else if (SUCCESS == zend_stream_open(ZSTR_VAL(resolved_path), &file_handle)) { resolved_path 5431 Zend/zend_vm_def.h file_handle.opened_path = zend_string_copy(resolved_path); resolved_path 5448 Zend/zend_vm_def.h zend_string_release(resolved_path); resolved_path 3608 Zend/zend_vm_execute.h zend_string *resolved_path; resolved_path 3610 Zend/zend_vm_execute.h resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), (int)Z_STRLEN_P(inc_filename)); resolved_path 3611 Zend/zend_vm_execute.h if (resolved_path) { resolved_path 3612 Zend/zend_vm_execute.h failure_retval = zend_hash_exists(&EG(included_files), resolved_path); resolved_path 3614 Zend/zend_vm_execute.h resolved_path = zend_string_copy(Z_STR_P(inc_filename)); resolved_path 3619 Zend/zend_vm_execute.h } else if (SUCCESS == zend_stream_open(ZSTR_VAL(resolved_path), &file_handle)) { resolved_path 3622 Zend/zend_vm_execute.h file_handle.opened_path = zend_string_copy(resolved_path); resolved_path 3639 Zend/zend_vm_execute.h zend_string_release(resolved_path); resolved_path 29179 Zend/zend_vm_execute.h zend_string *resolved_path; resolved_path 29181 Zend/zend_vm_execute.h resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), (int)Z_STRLEN_P(inc_filename)); resolved_path 29182 Zend/zend_vm_execute.h if (resolved_path) { resolved_path 29183 Zend/zend_vm_execute.h failure_retval = zend_hash_exists(&EG(included_files), resolved_path); resolved_path 29185 Zend/zend_vm_execute.h resolved_path = zend_string_copy(Z_STR_P(inc_filename)); resolved_path 29190 Zend/zend_vm_execute.h } else if (SUCCESS == zend_stream_open(ZSTR_VAL(resolved_path), &file_handle)) { resolved_path 29193 Zend/zend_vm_execute.h file_handle.opened_path = zend_string_copy(resolved_path); resolved_path 29210 Zend/zend_vm_execute.h zend_string_release(resolved_path); resolved_path 40661 Zend/zend_vm_execute.h zend_string *resolved_path; resolved_path 40663 Zend/zend_vm_execute.h resolved_path = zend_resolve_path(Z_STRVAL_P(inc_filename), (int)Z_STRLEN_P(inc_filename)); resolved_path 40664 Zend/zend_vm_execute.h if (resolved_path) { resolved_path 40665 Zend/zend_vm_execute.h failure_retval = zend_hash_exists(&EG(included_files), resolved_path); resolved_path 40667 Zend/zend_vm_execute.h resolved_path = zend_string_copy(Z_STR_P(inc_filename)); resolved_path 40672 Zend/zend_vm_execute.h } else if (SUCCESS == zend_stream_open(ZSTR_VAL(resolved_path), &file_handle)) { resolved_path 40675 Zend/zend_vm_execute.h file_handle.opened_path = zend_string_copy(resolved_path); resolved_path 40692 Zend/zend_vm_execute.h zend_string_release(resolved_path); resolved_path 1298 ext/dom/document.c char *_dom_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len ) /* {{{ */ resolved_path 1339 ext/dom/document.c if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path)) { resolved_path 1343 ext/dom/document.c file_dest = resolved_path; resolved_path 1362 ext/dom/document.c char *directory=NULL, resolved_path[MAXPATHLEN]; resolved_path 1387 ext/dom/document.c file_dest = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN); resolved_path 1403 ext/dom/document.c directory = VCWD_GETCWD(resolved_path, MAXPATHLEN); resolved_path 1405 ext/dom/document.c directory = VCWD_GETWD(resolved_path); resolved_path 1411 ext/dom/document.c resolved_path_len = strlen(resolved_path); resolved_path 1412 ext/dom/document.c if (resolved_path[resolved_path_len - 1] != DEFAULT_SLASH) { resolved_path 1413 ext/dom/document.c resolved_path[resolved_path_len] = DEFAULT_SLASH; resolved_path 1414 ext/dom/document.c resolved_path[++resolved_path_len] = '\0'; resolved_path 1416 ext/dom/document.c ctxt->directory = (char *) xmlCanonicPath((const xmlChar *) resolved_path); resolved_path 1808 ext/dom/document.c char resolved_path[MAXPATHLEN + 1]; resolved_path 1827 ext/dom/document.c valid_file = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN); resolved_path 1908 ext/dom/document.c char resolved_path[MAXPATHLEN + 1]; resolved_path 1927 ext/dom/document.c valid_file = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN); resolved_path 291 ext/fileinfo/fileinfo.c char resolved_path[MAXPATHLEN]; resolved_path 324 ext/fileinfo/fileinfo.c if (!expand_filepath_with_mode(file, resolved_path, NULL, 0, CWD_EXPAND)) { resolved_path 333 ext/fileinfo/fileinfo.c file = resolved_path; resolved_path 305 ext/libxml/libxml.c char *resolved_path; resolved_path 315 ext/libxml/libxml.c resolved_path = xmlURIUnescapeString(filename, 0, NULL); resolved_path 324 ext/libxml/libxml.c if (strncasecmp(resolved_path, "file:/", pre_len) == 0 resolved_path 325 ext/libxml/libxml.c && '/' != resolved_path[pre_len]) { resolved_path 326 ext/libxml/libxml.c xmlChar *tmp = xmlStrdup(resolved_path + pre_len); resolved_path 327 ext/libxml/libxml.c xmlFree(resolved_path); resolved_path 328 ext/libxml/libxml.c resolved_path = tmp; resolved_path 333 ext/libxml/libxml.c resolved_path = (char *)filename; resolved_path 340 ext/libxml/libxml.c if (resolved_path == NULL) { resolved_path 350 ext/libxml/libxml.c wrapper = php_stream_locate_url_wrapper(resolved_path, &path_to_open, 0); resolved_path 354 ext/libxml/libxml.c xmlFree(resolved_path); resolved_path 364 ext/libxml/libxml.c xmlFree(resolved_path); resolved_path 1918 ext/opcache/ZendAccelerator.c zend_string *resolved_path; resolved_path 1943 ext/opcache/ZendAccelerator.c resolved_path = accelerator_orig_zend_resolve_path(filename, filename_len); resolved_path 1945 ext/opcache/ZendAccelerator.c if (resolved_path) { resolved_path 1947 ext/opcache/ZendAccelerator.c zend_accel_hash_entry *bucket = zend_accel_hash_find_entry(&ZCSG(hash), resolved_path); resolved_path 1963 ext/opcache/ZendAccelerator.c return resolved_path; resolved_path 1970 ext/opcache/ZendAccelerator.c return resolved_path; resolved_path 1569 ext/standard/streamsfuncs.c zend_string *resolved_path; resolved_path 1575 ext/standard/streamsfuncs.c resolved_path = zend_resolve_path(filename, (int)filename_len); resolved_path 1577 ext/standard/streamsfuncs.c if (resolved_path) { resolved_path 1578 ext/standard/streamsfuncs.c RETURN_STR(resolved_path); resolved_path 226 ext/xmlreader/php_xmlreader.c char *_xmlreader_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len ) { resolved_path 259 ext/xmlreader/php_xmlreader.c if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path)) { resolved_path 263 ext/xmlreader/php_xmlreader.c file_dest = resolved_path; resolved_path 281 ext/xmlreader/php_xmlreader.c char resolved_path[MAXPATHLEN + 1]; resolved_path 285 ext/xmlreader/php_xmlreader.c valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN ); resolved_path 859 ext/xmlreader/php_xmlreader.c char resolved_path[MAXPATHLEN + 1]; resolved_path 881 ext/xmlreader/php_xmlreader.c valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN ); resolved_path 1043 ext/xmlreader/php_xmlreader.c char *directory=NULL, resolved_path[MAXPATHLEN]; resolved_path 1070 ext/xmlreader/php_xmlreader.c directory = VCWD_GETCWD(resolved_path, MAXPATHLEN); resolved_path 1072 ext/xmlreader/php_xmlreader.c directory = VCWD_GETWD(resolved_path); resolved_path 1075 ext/xmlreader/php_xmlreader.c resolved_path_len = strlen(resolved_path); resolved_path 1076 ext/xmlreader/php_xmlreader.c if (resolved_path[resolved_path_len - 1] != DEFAULT_SLASH) { resolved_path 1077 ext/xmlreader/php_xmlreader.c resolved_path[resolved_path_len] = DEFAULT_SLASH; resolved_path 1078 ext/xmlreader/php_xmlreader.c resolved_path[++resolved_path_len] = '\0'; resolved_path 1080 ext/xmlreader/php_xmlreader.c uri = (char *) xmlCanonicPath((const xmlChar *) resolved_path); resolved_path 586 ext/xmlwriter/php_xmlwriter.c static char *_xmlwriter_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len ) { resolved_path 629 ext/xmlwriter/php_xmlwriter.c if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path)) { resolved_path 645 ext/xmlwriter/php_xmlwriter.c file_dest = resolved_path; resolved_path 1683 ext/xmlwriter/php_xmlwriter.c char resolved_path[MAXPATHLEN + 1]; resolved_path 1702 ext/xmlwriter/php_xmlwriter.c valid_file = _xmlwriter_get_valid_file_path(source, resolved_path, MAXPATHLEN); resolved_path 282 ext/zip/php_zip.c char resolved_path[MAXPATHLEN]; resolved_path 290 ext/zip/php_zip.c if (!expand_filepath(filename, resolved_path)) { resolved_path 294 ext/zip/php_zip.c php_stat(resolved_path, strlen(resolved_path), FS_EXISTS, &exists_flag); resolved_path 299 ext/zip/php_zip.c zs = zip_source_file(za, resolved_path, offset_start, offset_len); resolved_path 1107 ext/zip/php_zip.c char resolved_path[MAXPATHLEN + 1]; resolved_path 1125 ext/zip/php_zip.c if(!expand_filepath(ZSTR_VAL(filename), resolved_path)) { resolved_path 1131 ext/zip/php_zip.c rsrc_int->za = zip_open(resolved_path, 0, &err); resolved_path 1405 ext/zip/php_zip.c char *resolved_path; resolved_path 1428 ext/zip/php_zip.c if (!(resolved_path = expand_filepath(ZSTR_VAL(filename), NULL))) { resolved_path 1436 ext/zip/php_zip.c efree(resolved_path); resolved_path 1446 ext/zip/php_zip.c intern = zip_open(resolved_path, flags, &err); resolved_path 1448 ext/zip/php_zip.c efree(resolved_path); resolved_path 1451 ext/zip/php_zip.c ze_obj->filename = resolved_path; resolved_path 1452 ext/zip/php_zip.c ze_obj->filename_len = strlen(resolved_path); resolved_path 359 main/fopen_wrappers.c zend_string *resolved_path = NULL; resolved_path 427 main/fopen_wrappers.c resolved_path = zend_resolve_path(filename, (int)strlen(filename)); resolved_path 430 main/fopen_wrappers.c if (!resolved_path) { resolved_path 446 main/fopen_wrappers.c zend_string_release(resolved_path); resolved_path 481 main/fopen_wrappers.c char resolved_path[MAXPATHLEN]; resolved_path 497 main/fopen_wrappers.c if (tsrm_realpath(actual_path, resolved_path)) { resolved_path 498 main/fopen_wrappers.c return zend_string_init(resolved_path, strlen(resolved_path), 0); resolved_path 510 main/fopen_wrappers.c if (tsrm_realpath(filename, resolved_path)) { resolved_path 511 main/fopen_wrappers.c return zend_string_init(resolved_path, strlen(resolved_path), 0); resolved_path 567 main/fopen_wrappers.c if (tsrm_realpath(actual_path, resolved_path)) { resolved_path 568 main/fopen_wrappers.c return zend_string_init(resolved_path, strlen(resolved_path), 0); resolved_path 604 main/fopen_wrappers.c if (tsrm_realpath(actual_path, resolved_path)) { resolved_path 605 main/fopen_wrappers.c return zend_string_init(resolved_path, strlen(resolved_path), 0); resolved_path 2022 main/streams/streams.c zend_string *resolved_path = NULL; resolved_path 2035 main/streams/streams.c resolved_path = zend_resolve_path(path, (int)strlen(path)); resolved_path 2036 main/streams/streams.c if (resolved_path) { resolved_path 2037 main/streams/streams.c path = ZSTR_VAL(resolved_path); resolved_path 2049 main/streams/streams.c if (resolved_path) { resolved_path 2050 main/streams/streams.c zend_string_release(resolved_path); resolved_path 2080 main/streams/streams.c if (opened_path && !*opened_path && resolved_path) { resolved_path 2081 main/streams/streams.c *opened_path = resolved_path; resolved_path 2082 main/streams/streams.c resolved_path = NULL; resolved_path 2102 main/streams/streams.c if (resolved_path) { resolved_path 2103 main/streams/streams.c zend_string_release(resolved_path); resolved_path 2111 main/streams/streams.c if (resolved_path) { resolved_path 2112 main/streams/streams.c zend_string_release(resolved_path); resolved_path 2152 main/streams/streams.c if (resolved_path) { resolved_path 2153 main/streams/streams.c zend_string_release(resolved_path);