Home
last modified time | relevance | path

Searched refs:pathname (Results 1 – 25 of 39) sorted by relevance

12

/PHP-5.5/TSRM/
H A Dtsrm_virtual_cwd.h169 CWD_API int virtual_rmdir(const char *pathname TSRMLS_DC);
170 CWD_API DIR *virtual_opendir(const char *pathname TSRMLS_DC);
272 #define VCWD_MKDIR(pathname, mode) virtual_mkdir(pathname, mode TSRMLS_CC) argument
273 #define VCWD_RMDIR(pathname) virtual_rmdir(pathname TSRMLS_CC) argument
274 #define VCWD_OPENDIR(pathname) virtual_opendir(pathname TSRMLS_CC) argument
276 #define VCWD_ACCESS(pathname, mode) virtual_access(pathname, mode TSRMLS_CC) argument
308 #define VCWD_MKDIR(pathname, mode) mkdir(pathname, mode) argument
309 #define VCWD_RMDIR(pathname) rmdir(pathname) argument
310 #define VCWD_OPENDIR(pathname) opendir(pathname) argument
313 #define VCWD_ACCESS(pathname, mode) tsrm_win32_access(pathname, mode TSRMLS_CC) argument
[all …]
H A Dtsrm_win32.c118 memcpy(bucket_key, pathname, strlen(pathname)); in tsrm_win32_get_path_sid_key()
133 memcpy(bucket_key + strlen(ptcSid), pathname, strlen(pathname) + 1); in tsrm_win32_get_path_sid_key()
213 return GetBinaryType(pathname, &type) ? 0 : -1; in tsrm_win32_access()
215 if(!IS_ABSOLUTE_PATH(pathname, strlen(pathname)+1)) { in tsrm_win32_access()
217 if(tsrm_realpath(pathname, real_path TSRMLS_CC) == NULL) { in tsrm_win32_access()
220 pathname = real_path; in tsrm_win32_access()
223 if(access(pathname, mode)) { in tsrm_win32_access()
282 bucket = realpath_cache_lookup(pathname, strlen(pathname), t TSRMLS_CC); in tsrm_win32_access()
287 if(tsrm_realpath(pathname, real_path TSRMLS_CC) != NULL) { in tsrm_win32_access()
288 pathname = real_path; in tsrm_win32_access()
[all …]
H A Dtsrm_win32.h93 char * tsrm_win32_get_path_sid_key(const char *pathname TSRMLS_DC);
101 TSRM_API int tsrm_win32_access(const char *pathname, int mode TSRMLS_DC);
H A Dtsrm_virtual_cwd.c1488 CWD_API int virtual_access(const char *pathname, int mode TSRMLS_DC) /* {{{ */ in virtual_access() argument
1494 if (virtual_file_ex(&new_state, pathname, NULL, CWD_REALPATH TSRMLS_CC)) { in virtual_access()
1767 CWD_API int virtual_mkdir(const char *pathname, mode_t mode TSRMLS_DC) /* {{{ */ in virtual_mkdir() argument
1773 if (virtual_file_ex(&new_state, pathname, NULL, CWD_FILEPATH TSRMLS_CC)) { in virtual_mkdir()
1788 CWD_API int virtual_rmdir(const char *pathname TSRMLS_DC) /* {{{ */ in virtual_rmdir()
1794 if (virtual_file_ex(&new_state, pathname, NULL, CWD_EXPAND TSRMLS_CC)) { in virtual_rmdir()
1810 CWD_API DIR *virtual_opendir(const char *pathname TSRMLS_DC) /* {{{ */ in virtual_opendir()
1816 if (virtual_file_ex(&new_state, pathname, NULL, CWD_REALPATH TSRMLS_CC)) { in virtual_opendir()
/PHP-5.5/ext/standard/
H A Dftok.c34 char *pathname, *proj; in PHP_FUNCTION() local
38 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ps", &pathname, &pathname_len, &proj, &proj_… in PHP_FUNCTION()
52 if (php_check_open_basedir(pathname TSRMLS_CC)) { in PHP_FUNCTION()
56 k = ftok(pathname, proj[0]); in PHP_FUNCTION()
/PHP-5.5/ext/spl/examples/
H A Dnocvsdir.php50 foreach($it as $pathname => $file)
52 echo $pathname."\n";
H A Ddirectoryfilterdots.inc17 * This Iterator takes a pathname from which it creates a RecursiveDirectoryIterator
/PHP-5.5/ext/standard/tests/file/
H A Dpathinfo_variaton.phpt32 /* pathname containing numeric string */
38 /* pathname as boolean */
42 /* pathname as an array */
46 /* pathname as object */
49 /* pathname as spaces */
53 /* empty pathname */
57 /* pathname as NULL */
64 /* pathname as members of object */
71 /* pathname as member of array */
H A Dmkdir_variation1-win32.phpt2 Test mkdir() function : usage variation: try invalid pathname
12 /* Prototype : bool mkdir(string pathname [, int mode [, bool recursive [, resource context]]])
80 // loop through each element of the array for pathname
H A Dmkdir_variation1.phpt2 Test mkdir() function : usage variation: try invalid pathname
12 /* Prototype : bool mkdir(string pathname [, int mode [, bool recursive [, resource context]]])
79 // loop through each element of the array for pathname
H A Dmkdir_variation3.phpt7 /* Prototype : bool mkdir(string pathname [, int mode [, bool recursive [, resource context]]])
25 $pathname = 'mkdirVar3.tmp';
110 $h = mkdir($pathname, $mode, $value);
113 rmdir($pathname);
H A Dmkdir_variation2.phpt7 /* Prototype : bool mkdir(string pathname [, int mode [, bool recursive [, resource context]]])
25 $pathname = 'mkdirVar2.tmp';
103 $h = mkdir($pathname, $value);
106 rmdir($pathname);
H A Drealpath_error-win32.phpt12 Description: Returns canonicalized absolute pathname
H A Dmkdir_variation4.phpt7 /* Prototype : bool mkdir(string pathname [, int mode [, bool recursive [, resource context]]])
25 $pathname = 'mkdirVar4.tmp';
116 $h = mkdir($pathname, $mode, $recursive, $value);
119 rmdir($pathname);
H A Dreadlink_realpath_variation3.phpt15 Description: Returns canonicalized absolute pathname
H A Dmkdir_rmdir_error.phpt5 /* Prototype: bool mkdir ( string $pathname [, int $mode [, bool $recursive [, resource $context]]…
H A Drealpath_basic3.phpt6 Description: Returns canonicalized absolute pathname
H A Dmkdir_variation5.phpt12 /* Prototype : bool mkdir(string pathname [, int mode [, bool recursive [, resource context]]])
H A Dreadlink_realpath_basic2.phpt15 Description: Returns canonicalized absolute pathname
H A Dreadlink_realpath_error.phpt15 Description: Returns canonicalized absolute pathname
H A Drealpath_basic-win32.phpt12 Description: Returns canonicalized absolute pathname
H A Dmkdir_rmdir_variation2.phpt21 /* Prototype: bool mkdir ( string $pathname [, int $mode [, bool $recursive [, resource $context]]…
H A Dmkdir_variation5-win32.phpt12 /* Prototype : bool mkdir(string pathname [, int mode [, bool recursive [, resource context]]])
H A Drealpath_variation-win32.phpt12 Description: Returns canonicalized absolute pathname
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_ssl_set.phpt45 'The pathname to a directory that contains trusted SSL CA certificates in PEM format.',

Completed in 50 milliseconds

12