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

/PHP_TRUNK/ext/phar/
H A Dphar.c1744 char *realpath; local
1747 if ((realpath = expand_filepath(filename, NULL TSRMLS_CC))) {
1749 phar_unixify_path_separators(realpath, strlen(realpath));
1751 if (zend_hash_str_exists(&(PHAR_GLOBALS->phar_fname_map), realpath, strlen(realpath))) {
1752 efree(realpath);
1757 if (PHAR_G(manifest_cached) && zend_hash_str_exists(&cached_phars, realpath, strlen(realpath))) {
1758 efree(realpath);
[all...]
/PHP_TRUNK/TSRM/
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_TRUNK/Zend/
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
H A Dzend_virtual_cwd.c66 #define realpath(x,y) strcpy(y,x) macro
654 if(r->path == r->realpath) {
669 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
675 memcmp(path, realpath, path_len) != 0) {
697 bucket->realpath = bucket->path;
699 bucket->realpath = bucket->path + (path_len + 1);
700 memcpy(bucket->realpath, realpath, realpath_len+1);
736 if(r->path == r->realpath) {
871 memcpy(path, bucket->realpath, bucke
[all...]
/PHP_TRUNK/ext/standard/
H A Dfile.h64 PHP_FUNCTION(realpath); variable
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.c225 char realpath[MAXPATHLEN]; local
233 if (VCWD_REALPATH(path, realpath)) {
234 path = realpath;
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c1047 char *realpath; local
1054 realpath = accelerator_orig_zend_resolve_path(filename, filename_len TSRMLS_CC);
1056 if (!realpath) {
1060 persistent_script = zend_accel_hash_find(&ZCSG(hash), realpath, strlen(realpath));
1065 file_handle.filename = realpath;
1066 file_handle.opened_path = realpath;
1089 efree(realpath);
/PHP_TRUNK/main/streams/
H A Dplain_wrapper.c925 char *realpath = NULL; local
940 realpath = estrdup(filename);
942 if ((realpath = expand_filepath(filename, NULL TSRMLS_CC)) == NULL) {
948 spprintf(&persistent_id, 0, "streams_stdio_%d_%s", open_flags, realpath);
952 *opened_path = realpath;
953 realpath = NULL;
958 if (realpath) {
959 efree(realpath);
966 fd = open(realpath, open_flags, 0666);
978 *opened_path = realpath;
[all...]

Completed in 26 milliseconds