Home
last modified time | relevance | path

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

123

/PHP-7.1/ext/standard/tests/file/
H A Dunlink_variation10.phpt26 $cwd = getcwd();
36 $cwd.'/'.$workDir.'/'.$tmpDir,
37 $cwd.'/./'.$workDir.'/'.$tmpDir,
38 $cwd.'/'.$workDir.'/../'.$workDir.'/'.$tmpDir,
42 $cwd.'//'.$workDir.'//'.$tmpDir,
H A Dtouch_variation5-win32.phpt20 $cwd = __DIR__;
21 chdir($cwd);
22 if (!mkdir($cwd . '/' . $workDir)) die("cannot create directory $workDir");
35 $cwd.'/'.$workDir.'/'.$subDirOrFile,
36 $cwd.'/./'.$workDir.'/'.$subDirOrFile,
37 $cwd.'/'.$workDir.'/../'.$workDir.'/'.$subDirOrFile,
40 $cwd.'/BADDIR/'.$subDirOrFile,
44 $cwd.'/'.$workDir.'/'.$subDirOrFile.'/',
48 $cwd.'//'.$workDir.'//'.$subDirOrFile,
H A Dtouch_variation6-win32.phpt23 $cwd = getcwd();
25 $unixifiedDirOrFile = '/'.substr(str_replace('\\','/',$cwd).'/'.$workDir.'/'.$subDirOrFile, 3);
38 $cwd.'\\'.$workDir.'\\'.$subDirOrFile,
39 $cwd.'\\.\\'.$workDir.'\\'.$subDirOrFile,
40 $cwd.'\\'.$workDir.'\\..\\'.$workDir.'\\'.$subDirOrFile,
43 $cwd.'\\BADDIR\\'.$subDirOrFile,
47 $cwd.'\\'.$workDir.'\\'.$subDirOrFile.'\\',
51 $cwd.'\\\\'.$workDir.'\\\\'.$subDirOrFile,
H A Dtouch_variation5.phpt22 $cwd = getcwd();
35 $cwd.'/'.$workDir.'/'.$subDirOrFile,
36 $cwd.'/./'.$workDir.'/'.$subDirOrFile,
37 $cwd.'/'.$workDir.'/../'.$workDir.'/'.$subDirOrFile,
40 $cwd.'/BADDIR/'.$subDirOrFile,
44 $cwd.'/'.$workDir.'/'.$subDirOrFile.'/',
48 $cwd.'//'.$workDir.'//'.$subDirOrFile,
H A Dunlink_variation8.phpt26 $cwd = getcwd();
40 $cwd.'/'.$workDir.'/'.$tmpFile,
41 $cwd.'/./'.$workDir.'/'.$tmpFile,
42 $cwd.'/'.$workDir.'/../'.$workDir.'/'.$tmpFile,
45 $cwd.'/BADDIR/'.$tmpFile,
49 $cwd.'/'.$workDir.'/'.$tmpFile.'/',
53 $cwd.'//'.$workDir.'//'.$tmpFile,
/PHP-7.1/ext/gd/tests/
H A Dbug48801.phpt10 $cwd = dirname(__FILE__);
11 $font = "$cwd/Tuffy.ttf";
H A Dbug43073.phpt28 $cwd = dirname(__FILE__);
29 $font = "$cwd/Tuffy.ttf";
55 imagepng($g, "$cwd/bug43073.png");
H A Dbug48801-mb.phpt11 $cwd = dirname(__FILE__);
12 $font = "$cwd/Tuffy私はガラスを食べられます.ttf";
H A Dbug51263.phpt10 $cwd = dirname(__FILE__);
11 $ttf = "$cwd/Tuffy.ttf";
H A Dimagefttext.phpt14 $cwd = dirname(__FILE__);
15 $fontfile_8859 = "$cwd/test8859.ttf";
H A Dbug48555.phpt10 $cwd = dirname(__FILE__);
11 $font = "$cwd/Tuffy.ttf";
H A Dbug53504.phpt10 $cwd = dirname(__FILE__);
11 $font = "$cwd/Tuffy.ttf";
84 imagepng($g, "$cwd/bug53504.png");
/PHP-7.1/main/
H A Dfopen_wrappers.c767 char cwd[MAXPATHLEN]; local
778 cwd[0] = '\0';
787 memcpy(cwd, relative_to, relative_to_len+1U);
789 result = VCWD_GETCWD(cwd, MAXPATHLEN);
810 cwd[0] = '\0';
813 cwd[0] = '\0';
817 new_state.cwd = estrdup(cwd);
818 new_state.cwd_length = (int)strlen(cwd);
821 efree(new_state.cwd);
827 memcpy(real_path, new_state.cwd, copy_len);
[all …]
/PHP-7.1/
H A Dserver-tests.php171 $pipes, $cwd, $env);
218 $out = execute($php, $params, $code, $cwd, $env);
404 public $cwd; variable in testHarness
483 $this->cwd = getcwd();
486 $this->conf['TEST_PHP_SRCDIR'] = $this->cwd;
559 if (!$cwd) $cwd = $this->conf['TEST_BASE_PATH'];
560 $tmp_file = "$cwd$pi";
720 …$ta = strpos($a, "{$this->cwd}/tests")===0 ? 1 + (strpos($a, "{$this->cwd}/tests/run-test")===0 ? …
721 …$tb = strpos($b, "{$this->cwd}/tests")===0 ? 1 + (strpos($b, "{$this->cwd}/tests/run-test")===0 ? …
773 $exeinfo = "CWD : {$this->cwd}\n".
[all …]
H A Drun-tests.php82 $cwd = getcwd(); variable
113 $php = $cwd . '/sapi/cli/php';
117 $php_cgi = $cwd . '/sapi/cgi/php-cgi';
133 $php_cgi = $cwd . '/sapi/cgi/php-cgi';
161 $phpdbg = $cwd . '/sapi/phpdbg/phpdbg';
308 CWD : $cwd
878 find_files("{$cwd}/{$dir}", ($dir == 'ext'));
932 global $cwd;
937 …$ta = strpos($a, "{$cwd}/tests") === 0 ? 1 + (strpos($a, "{$cwd}/tests/run-test") === 0 ? 1 : 0) :…
938 …$tb = strpos($b, "{$cwd}/tests") === 0 ? 1 + (strpos($b, "{$cwd}/tests/run-test") === 0 ? 1 : 0) :…
[all …]
/PHP-7.1/ext/ftp/tests/
H A Dserver.inc78 global $cwd;
81 $cwd = $dir;
85 $cwd = "$cwd/$dir";
88 $old = $cwd;
89 $cwd = preg_replace('@/?[^/]+/\.\.@', '', $cwd);
90 } while ($old != $cwd);
92 $cwd = strtr($cwd, array('//' => '/'));
93 if (!$cwd) $cwd = '/';
181 $cwd = '/';
198 fputs($s, "257 \"$cwd\" is current directory.\r\n");
[all …]
H A D003.phpt2 FTP cwd
/PHP-7.1/sapi/cli/tests/
H A D023.phpt11 $cwd = getcwd();
16 [PATH={$cwd}]
/PHP-7.1/ext/standard/
H A Ddir.c434 char cwd[MAXPATHLEN]; in PHP_FUNCTION() local
462 result = VCWD_GETCWD(cwd, MAXPATHLEN); in PHP_FUNCTION()
464 cwd[0] = '\0'; in PHP_FUNCTION()
468 cwd[2] = '\0'; in PHP_FUNCTION()
471 cwd_skip = (int)strlen(cwd)+1; in PHP_FUNCTION()
473 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in PHP_FUNCTION()
H A Dproc_open.c415 char *command, *cwd=NULL; in PHP_FUNCTION() local
462 &command_len, &descriptorspec, &pipes, &cwd, &cwd_len, &environment, in PHP_FUNCTION()
680 if (cwd == NULL) { in PHP_FUNCTION()
687 cwd = cur_cwd; in PHP_FUNCTION()
689 cwdw = php_win32_cp_any_to_w(cwd); in PHP_FUNCTION()
802 if (cwd) { in PHP_FUNCTION()
804 chdir2(cwd); in PHP_FUNCTION()
819 if (cwd && orig_cwd) { in PHP_FUNCTION()
830 if (cwd && orig_cwd) { in PHP_FUNCTION()
889 if (cwd) { in PHP_FUNCTION()
[all …]
/PHP-7.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-7.1/ext/phar/tests/cache_list/
H A Dfrontcontroller34.phpt2 Phar front controller with cwd [cache_list]
/PHP-7.1/ext/opcache/
H A DZendAccelerator.c173 if (ZCG(cwd)) { in ZEND_FUNCTION()
176 ZCG(cwd) = zend_string_init(cwd, strlen(cwd), 0); in ZEND_FUNCTION()
178 if (ZCG(cwd)) { in ZEND_FUNCTION()
180 ZCG(cwd) = NULL; in ZEND_FUNCTION()
189 if (ZCG(cwd)) { in accel_getcwd()
190 return ZCG(cwd); in accel_getcwd()
197 ZCG(cwd) = zend_string_init(cwd, strlen(cwd), 0); in accel_getcwd()
200 return ZCG(cwd); in accel_getcwd()
2135 ZCG(cwd) = NULL; in accel_activate()
2448 if (ZCG(cwd)) { in accel_deactivate()
[all …]
/PHP-7.1/ext/zip/
H A Dphp_zip.c154 new_state.cwd[0] = '\0'; in php_zip_extract_file()
211 CWD_STATE_FREE(new_state.cwd); in php_zip_extract_file()
268 CWD_STATE_FREE(new_state.cwd); in php_zip_extract_file()
495 char cwd[MAXPATHLEN]; in php_zip_glob() local
519 cwd[0] = '\0'; in php_zip_glob()
523 cwd[2] = '\0'; in php_zip_glob()
526 cwd_skip = strlen(cwd)+1; in php_zip_glob()
601 char cwd[MAXPATHLEN]; in php_zip_pcre() local
613 cwd[0] = '\0'; in php_zip_pcre()
617 cwd[2] = '\0'; in php_zip_pcre()
[all …]

Completed in 67 milliseconds

123