/PHP-8.1/ext/standard/tests/file/ |
H A D | unlink_variation10.phpt | 20 $cwd = getcwd(); 30 $cwd.'/'.$workDir.'/'.$tmpDir, 31 $cwd.'/./'.$workDir.'/'.$tmpDir, 32 $cwd.'/'.$workDir.'/../'.$workDir.'/'.$tmpDir, 36 $cwd.'//'.$workDir.'//'.$tmpDir,
|
H A D | open_basedir_cwd_resolve.phpt | 6 $cwd = getcwd(); 7 ini_set('open_basedir', $cwd);
|
H A D | touch_variation5-win32.phpt | 14 $cwd = __DIR__; 15 chdir($cwd); 16 if (!mkdir($cwd . '/' . $workDir)) die("cannot create directory $workDir"); 29 $cwd.'/'.$workDir.'/'.$subDirOrFile, 30 $cwd.'/./'.$workDir.'/'.$subDirOrFile, 31 $cwd.'/'.$workDir.'/../'.$workDir.'/'.$subDirOrFile, 34 $cwd.'/BADDIR/'.$subDirOrFile, 38 $cwd.'/'.$workDir.'/'.$subDirOrFile.'/', 42 $cwd.'//'.$workDir.'//'.$subDirOrFile,
|
H A D | touch_variation6-win32.phpt | 17 $cwd = getcwd(); 19 $unixifiedDirOrFile = '/'.substr(str_replace('\\','/',$cwd).'/'.$workDir.'/'.$subDirOrFile, 3); 32 $cwd.'\\'.$workDir.'\\'.$subDirOrFile, 33 $cwd.'\\.\\'.$workDir.'\\'.$subDirOrFile, 34 $cwd.'\\'.$workDir.'\\..\\'.$workDir.'\\'.$subDirOrFile, 37 $cwd.'\\BADDIR\\'.$subDirOrFile, 41 $cwd.'\\'.$workDir.'\\'.$subDirOrFile.'\\', 45 $cwd.'\\\\'.$workDir.'\\\\'.$subDirOrFile,
|
H A D | touch_variation5.phpt | 16 $cwd = getcwd(); 29 $cwd.'/'.$workDir.'/'.$subDirOrFile, 30 $cwd.'/./'.$workDir.'/'.$subDirOrFile, 31 $cwd.'/'.$workDir.'/../'.$workDir.'/'.$subDirOrFile, 34 $cwd.'/BADDIR/'.$subDirOrFile, 38 $cwd.'/'.$workDir.'/'.$subDirOrFile.'/', 42 $cwd.'//'.$workDir.'//'.$subDirOrFile,
|
H A D | unlink_variation8.phpt | 20 $cwd = getcwd(); 34 $cwd.'/'.$workDir.'/'.$tmpFile, 35 $cwd.'/./'.$workDir.'/'.$tmpFile, 36 $cwd.'/'.$workDir.'/../'.$workDir.'/'.$tmpFile, 39 $cwd.'/BADDIR/'.$tmpFile, 43 $cwd.'/'.$workDir.'/'.$tmpFile.'/', 47 $cwd.'//'.$workDir.'//'.$tmpFile,
|
H A D | realpath_bug77484.phpt | 13 /* The cwd is persistent across repeats */
|
/PHP-8.1/ext/gd/tests/ |
H A D | bug48801.phpt | 11 $cwd = __DIR__; 12 $font = "$cwd/Tuffy.ttf";
|
H A D | bug43073.phpt | 29 $cwd = __DIR__; 30 $font = "$cwd/Tuffy.ttf"; 56 imagepng($g, "$cwd/bug43073.png");
|
H A D | bug48801-mb.phpt | 12 $cwd = __DIR__; 13 $font = "$cwd/Tuffy私はガラスを食べられます.ttf";
|
H A D | bug51263.phpt | 11 $cwd = __DIR__; 12 $ttf = "$cwd/Tuffy.ttf";
|
H A D | bug48555.phpt | 11 $cwd = __DIR__; 12 $font = "$cwd/Tuffy.ttf";
|
H A D | imagefttext.phpt | 13 $cwd = __DIR__; 14 $fontfile_8859 = "$cwd/test8859.ttf";
|
H A D | bug53504.phpt | 11 $cwd = __DIR__; 12 $font = "$cwd/Tuffy.ttf"; 85 imagepng($g, "$cwd/bug53504.png");
|
/PHP-8.1/main/ |
H A D | fopen_wrappers.c | 760 char cwd[MAXPATHLEN]; local 771 cwd[0] = '\0'; 780 memcpy(cwd, relative_to, relative_to_len+1U); 782 result = VCWD_GETCWD(cwd, MAXPATHLEN); 803 cwd[0] = '\0'; 806 cwd[0] = '\0'; 810 new_state.cwd = estrdup(cwd); 811 new_state.cwd_length = strlen(cwd); 814 efree(new_state.cwd); 820 memcpy(real_path, new_state.cwd, copy_len); [all …]
|
/PHP-8.1/sapi/cli/tests/ |
H A D | 023.phpt | 11 $cwd = getcwd(); 16 [PATH={$cwd}]
|
/PHP-8.1/ext/standard/ |
H A D | dir.c | 403 char cwd[MAXPATHLEN]; in PHP_FUNCTION() local 434 result = VCWD_GETCWD(cwd, MAXPATHLEN); in PHP_FUNCTION() 436 cwd[0] = '\0'; in PHP_FUNCTION() 440 cwd[2] = '\0'; in PHP_FUNCTION() 443 cwd_skip = strlen(cwd)+1; in PHP_FUNCTION() 445 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in PHP_FUNCTION()
|
/PHP-8.1/ext/ftp/tests/ |
H A D | server.inc | 33 global $cwd; 36 $cwd = $dir; 40 $cwd = "$cwd/$dir"; 43 $old = $cwd; 44 $cwd = preg_replace('@/?[^/]+/\.\.@', '', $cwd); 45 } while ($old != $cwd); 47 $cwd = strtr($cwd, array('//' => '/')); 48 if (!$cwd) $cwd = '/'; 139 $cwd = '/'; 156 fputs($s, "257 \"$cwd\" is current directory.\r\n"); [all …]
|
H A D | 003.phpt | 2 FTP cwd
|
/PHP-8.1/ext/phar/tests/ |
H A D | frontcontroller34.phpt | 2 Phar front controller with cwd
|
H A D | frontcontroller22.phpt | 2 Phar front controller include from cwd test 1
|
/PHP-8.1/ext/phar/tests/cache_list/ |
H A D | frontcontroller34.phpt | 2 Phar front controller with cwd [cache_list]
|
H A D | frontcontroller22.phpt | 2 Phar front controller include from cwd test 1 [cache_list]
|
/PHP-8.1/ext/zip/ |
H A D | php_zip.c | 143 new_state.cwd[0] = '\0'; in php_zip_extract_file() 152 CWD_STATE_FREE(new_state.cwd); in php_zip_extract_file() 158 CWD_STATE_FREE(new_state.cwd); in php_zip_extract_file() 266 CWD_STATE_FREE(new_state.cwd); in php_zip_extract_file() 609 char cwd[MAXPATHLEN]; in php_zip_glob() local 632 cwd[0] = '\0'; in php_zip_glob() 636 cwd[2] = '\0'; in php_zip_glob() 639 cwd_skip = strlen(cwd)+1; in php_zip_glob() 714 char cwd[MAXPATHLEN]; in php_zip_pcre() local 726 cwd[0] = '\0'; in php_zip_pcre() [all …]
|
/PHP-8.1/TSRM/ |
H A D | tsrm_win32.h | 97 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, const char *env);
|