/PHP-7.1/ext/standard/tests/file/ |
H A D | unlink_variation10.phpt | 26 $cwd = getcwd(); 36 $cwd.'/'.$workDir.'/'.$tmpDir, 37 $cwd.'/./'.$workDir.'/'.$tmpDir, 38 $cwd.'/'.$workDir.'/../'.$workDir.'/'.$tmpDir, 42 $cwd.'//'.$workDir.'//'.$tmpDir,
|
H A D | touch_variation5-win32.phpt | 20 $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 D | touch_variation6-win32.phpt | 23 $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 D | touch_variation5.phpt | 22 $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 D | unlink_variation8.phpt | 26 $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 D | bug48801.phpt | 10 $cwd = dirname(__FILE__); 11 $font = "$cwd/Tuffy.ttf";
|
H A D | bug43073.phpt | 28 $cwd = dirname(__FILE__); 29 $font = "$cwd/Tuffy.ttf"; 55 imagepng($g, "$cwd/bug43073.png");
|
H A D | bug48801-mb.phpt | 11 $cwd = dirname(__FILE__); 12 $font = "$cwd/Tuffy私はガラスを食べられます.ttf";
|
H A D | bug51263.phpt | 10 $cwd = dirname(__FILE__); 11 $ttf = "$cwd/Tuffy.ttf";
|
H A D | imagefttext.phpt | 14 $cwd = dirname(__FILE__); 15 $fontfile_8859 = "$cwd/test8859.ttf";
|
H A D | bug48555.phpt | 10 $cwd = dirname(__FILE__); 11 $font = "$cwd/Tuffy.ttf";
|
H A D | bug53504.phpt | 10 $cwd = dirname(__FILE__); 11 $font = "$cwd/Tuffy.ttf"; 84 imagepng($g, "$cwd/bug53504.png");
|
/PHP-7.1/main/ |
H A D | fopen_wrappers.c | 767 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 D | server-tests.php | 171 $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 D | run-tests.php | 82 $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 D | server.inc | 78 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 D | 003.phpt | 2 FTP cwd
|
/PHP-7.1/sapi/cli/tests/ |
H A D | 023.phpt | 11 $cwd = getcwd(); 16 [PATH={$cwd}]
|
/PHP-7.1/ext/standard/ |
H A D | dir.c | 434 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 D | proc_open.c | 415 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 D | frontcontroller34.phpt | 2 Phar front controller with cwd
|
H A D | frontcontroller22.phpt | 2 Phar front controller include from cwd test 1
|
/PHP-7.1/ext/phar/tests/cache_list/ |
H A D | frontcontroller34.phpt | 2 Phar front controller with cwd [cache_list]
|
/PHP-7.1/ext/opcache/ |
H A D | ZendAccelerator.c | 173 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 D | php_zip.c | 154 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 …]
|