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

/PHP_5_6/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_5_6/Zend/
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...]
H A Dzend_virtual_cwd.h204 #define CWD_REALPATH 2 /* call realpath(), resolve symlinks. File must exist */
217 char *realpath; member in struct:_realpath_cache_bucket
/PHP_5_6/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_6/ext/standard/
H A Dfile.h64 PHP_FUNCTION(realpath); variable
/PHP_5_6/ext/opcache/
H A DZendAccelerator.c1062 char *realpath; local
1070 realpath = accel_php_resolve_path(filename, filename_len, ZCG(include_path) TSRMLS_CC);
1072 realpath = accelerator_orig_zend_resolve_path(filename, filename_len TSRMLS_CC);
1075 if (!realpath) {
1079 persistent_script = zend_accel_hash_find(&ZCSG(hash), realpath, strlen(realpath) + 1);
1084 file_handle.filename = realpath;
1085 file_handle.opened_path = realpath;
1108 efree(realpath);
1731 /* realpath("") return
[all...]
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg_bp.c225 char realpath[MAXPATHLEN]; local
233 if (VCWD_REALPATH(path, realpath)) {
234 path = realpath;
/PHP_5_6/main/streams/
H A Dplain_wrapper.c891 char *realpath = NULL; local
906 realpath = estrdup(filename);
908 if ((realpath = expand_filepath(filename, NULL TSRMLS_CC)) == NULL) {
914 spprintf(&persistent_id, 0, "streams_stdio_%d_%s", open_flags, realpath);
918 *opened_path = realpath;
919 realpath = NULL;
924 if (realpath) {
925 efree(realpath);
932 fd = open(realpath, open_flags, 0666);
944 *opened_path = realpath;
[all...]

Completed in 49 milliseconds