Searched defs:realpath (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dfile.h66 PHP_FUNCTION(realpath); variable
/PHP_TRUNK/TSRM/
H A Dtsrm_win32.c287 /* so that entry is created in realpath cache */
715 TSRM_API char *realpath(char *orig_path, char *buffer) function
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c1067 zend_string *realpath; local
1073 realpath = accelerator_orig_zend_resolve_path(filename, filename_len);
1074 if (realpath) {
1075 zend_file_cache_invalidate(realpath);
1076 zend_string_release(realpath);
1083 realpath = accelerator_orig_zend_resolve_path(filename, filename_len);
1085 if (!realpath) {
1091 zend_file_cache_invalidate(realpath);
1095 persistent_script = zend_accel_hash_find(&ZCSG(hash), realpath);
1100 file_handle.filename = ZSTR_VAL(realpath);
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.c230 char realpath[MAXPATHLEN]; local
238 if (VCWD_REALPATH(path, realpath)) {
239 path = realpath;
850 char realpath[MAXPATHLEN]; local
853 if (VCWD_REALPATH(path, realpath)) {
854 path = realpath;
/PHP_TRUNK/main/streams/
H A Dplain_wrapper.c949 char realpath[MAXPATHLEN]; local
964 strlcpy(realpath, filename, sizeof(realpath));
966 if (expand_filepath(filename, realpath) == NULL) {
972 spprintf(&persistent_id, 0, "streams_stdio_%d_%s", open_flags, realpath);
977 *opened_path = zend_string_init(realpath, strlen(realpath), 0);
987 fd = open(realpath, open_flags, 0666);
999 *opened_path = zend_string_init(realpath, strlen(realpath),
[all...]
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c62 #define realpath(x,y) strcpy(y,x) macro
657 if(r->path == r->realpath) {
672 static inline void realpath_cache_add(const char *path, int path_len, const char *realpath, int realpath_len, int is_dir, time_t t) /* {{{ */ argument
678 memcmp(path, realpath, path_len) != 0) {
696 bucket->realpath = bucket->path;
698 bucket->realpath = bucket->path + (path_len + 1);
699 memcpy(bucket->realpath, realpath, realpath_len+1);
730 if(r->path == r->realpath) {
865 memcpy(path, bucket->realpath, bucke
[all...]
H A Dzend_virtual_cwd.h204 #define CWD_REALPATH 2 /* call realpath(), resolve symlinks. File must exist */
216 char *realpath; member in struct:_realpath_cache_bucket
/PHP_TRUNK/ext/phar/
H A Dphar.c1740 char *realpath; local
1743 if ((realpath = expand_filepath(filename, NULL))) {
1745 phar_unixify_path_separators(realpath, strlen(realpath));
1747 if (zend_hash_str_exists(&(PHAR_G(phar_fname_map)), realpath, strlen(realpath))) {
1748 efree(realpath);
1753 if (PHAR_G(manifest_cached) && zend_hash_str_exists(&cached_phars, realpath, strlen(realpath))) {
1754 efree(realpath);
[all...]

Completed in 31 milliseconds