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

/PHP_5_4/ext/phar/
H A Dphar.c1741 char *realpath; local
1744 if ((realpath = expand_filepath(filename, NULL TSRMLS_CC))) {
1746 phar_unixify_path_separators(realpath, strlen(realpath));
1748 if (zend_hash_exists(&(PHAR_GLOBALS->phar_fname_map), realpath, strlen(realpath))) {
1749 efree(realpath);
1754 if (PHAR_G(manifest_cached) && zend_hash_exists(&cached_phars, realpath, strlen(realpath))) {
1755 efree(realpath);
[all...]
/PHP_5_4/ext/standard/
H A Dfile.h64 PHP_FUNCTION(realpath); variable
/PHP_5_4/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_4/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

Completed in 13 milliseconds