Home
last modified time | relevance | path

Searched refs:cwd (Results 26 – 50 of 66) sorted by relevance

123

/PHP-8.1/ext/standard/tests/file/
H A Dunlink_variation10.phpt20 $cwd = getcwd();
30 $cwd.'/'.$workDir.'/'.$tmpDir,
31 $cwd.'/./'.$workDir.'/'.$tmpDir,
32 $cwd.'/'.$workDir.'/../'.$workDir.'/'.$tmpDir,
36 $cwd.'//'.$workDir.'//'.$tmpDir,
H A Dopen_basedir_cwd_resolve.phpt6 $cwd = getcwd();
7 ini_set('open_basedir', $cwd);
H A Dtouch_variation5-win32.phpt14 $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 Dtouch_variation6-win32.phpt17 $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 Dtouch_variation5.phpt16 $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 Dunlink_variation8.phpt20 $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 Drealpath_bug77484.phpt13 /* The cwd is persistent across repeats */
/PHP-8.1/ext/gd/tests/
H A Dbug48801.phpt11 $cwd = __DIR__;
12 $font = "$cwd/Tuffy.ttf";
H A Dbug43073.phpt29 $cwd = __DIR__;
30 $font = "$cwd/Tuffy.ttf";
56 imagepng($g, "$cwd/bug43073.png");
H A Dbug48801-mb.phpt12 $cwd = __DIR__;
13 $font = "$cwd/Tuffy私はガラスを食べられます.ttf";
H A Dbug51263.phpt11 $cwd = __DIR__;
12 $ttf = "$cwd/Tuffy.ttf";
H A Dbug48555.phpt11 $cwd = __DIR__;
12 $font = "$cwd/Tuffy.ttf";
H A Dimagefttext.phpt13 $cwd = __DIR__;
14 $fontfile_8859 = "$cwd/test8859.ttf";
H A Dbug53504.phpt11 $cwd = __DIR__;
12 $font = "$cwd/Tuffy.ttf";
85 imagepng($g, "$cwd/bug53504.png");
/PHP-8.1/main/
H A Dfopen_wrappers.c760 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 D023.phpt11 $cwd = getcwd();
16 [PATH={$cwd}]
/PHP-8.1/ext/standard/
H A Ddir.c403 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 Dserver.inc33 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 D003.phpt2 FTP cwd
/PHP-8.1/ext/phar/tests/
H A Dfrontcontroller34.phpt2 Phar front controller with cwd
H A Dfrontcontroller22.phpt2 Phar front controller include from cwd test 1
/PHP-8.1/ext/phar/tests/cache_list/
H A Dfrontcontroller34.phpt2 Phar front controller with cwd [cache_list]
H A Dfrontcontroller22.phpt2 Phar front controller include from cwd test 1 [cache_list]
/PHP-8.1/ext/zip/
H A Dphp_zip.c143 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 Dtsrm_win32.h97 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, const char *env);

Completed in 47 milliseconds

123