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

/PHP_5_5/ext/phar/
H A Dphar.c1739 char *realpath; local
1742 if ((realpath = expand_filepath(filename, NULL TSRMLS_CC))) {
1744 phar_unixify_path_separators(realpath, strlen(realpath));
1746 if (zend_hash_exists(&(PHAR_GLOBALS->phar_fname_map), realpath, strlen(realpath))) {
1747 efree(realpath);
1752 if (PHAR_G(manifest_cached) && zend_hash_exists(&cached_phars, realpath, strlen(realpath))) {
1753 efree(realpath);
[all...]
/PHP_5_5/ext/standard/
H A Dfile.h64 PHP_FUNCTION(realpath); variable
/PHP_5_5/main/streams/
H A Dplain_wrapper.c897 char *realpath = NULL; local
912 realpath = estrdup(filename);
914 if ((realpath = expand_filepath(filename, NULL TSRMLS_CC)) == NULL) {
920 spprintf(&persistent_id, 0, "streams_stdio_%d_%s", open_flags, realpath);
924 *opened_path = realpath;
925 realpath = NULL;
930 if (realpath) {
931 efree(realpath);
938 fd = open(realpath, open_flags, 0666);
950 *opened_path = realpath;
[all...]
/PHP_5_5/TSRM/
H A Dtsrm_virtual_cwd.c65 #define realpath(x,y) strcpy(y,x) macro
626 if(r->path == r->realpath) {
641 static inline void realpath_cache_add(const char *path, int path_len, const char *realpath, int realpath_len, int is_dir, time_t t TSRMLS_DC) /* {{{ */ argument
647 memcmp(path, realpath, path_len) != 0) {
669 bucket->realpath = bucket->path;
671 bucket->realpath = bucket->path + (path_len + 1);
672 memcpy(bucket->realpath, realpath, realpath_len+1);
708 if(r->path == r->realpath) {
843 memcpy(path, bucket->realpath, bucke
[all...]
H A Dtsrm_virtual_cwd.h202 #define CWD_REALPATH 2 /* call realpath(), resolve symlinks. File must exist */
215 char *realpath; member in struct:_realpath_cache_bucket
H A Dtsrm_win32.c285 /* so that entry is created in realpath cache */
716 TSRM_API char *realpath(char *orig_path, char *buffer) function
/PHP_5_5/ext/opcache/
H A DZendAccelerator.c1053 char *realpath; local
1061 realpath = accel_php_resolve_path(filename, filename_len, ZCG(include_path) TSRMLS_CC);
1063 realpath = accelerator_orig_zend_resolve_path(filename, filename_len TSRMLS_CC);
1066 if (!realpath) {
1070 persistent_script = zend_accel_hash_find(&ZCSG(hash), realpath, strlen(realpath) + 1);
1075 file_handle.filename = realpath;
1076 file_handle.opened_path = realpath;
1099 efree(realpath);
1718 /* realpath("") return
[all...]

Completed in 44 milliseconds