/PHP-7.0/ext/gd/tests/ |
H A D | bug43073.phpt | 28 $cwd = dirname(__FILE__); 29 $font = "$cwd/Tuffy.ttf"; 55 imagepng($g, "$cwd/bug43073.png");
|
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.0/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.0/ext/standard/tests/file/ |
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.0/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.0/sapi/cli/tests/ |
H A D | 023.phpt | 11 $cwd = getcwd(); 16 [PATH={$cwd}]
|
/PHP-7.0/ |
H A D | server-tests.php | 179 $pipes, $cwd, $env); 226 $out = execute($php, $params, $code, $cwd, $env); 412 public $cwd; variable in testHarness 492 $this->cwd = getcwd(); 495 $this->conf['TEST_PHP_SRCDIR'] = $this->cwd; 568 if (!$cwd) $cwd = $this->conf['TEST_BASE_PATH']; 569 $tmp_file = "$cwd$pi"; 729 …$ta = strpos($a, "{$this->cwd}/tests")===0 ? 1 + (strpos($a, "{$this->cwd}/tests/run-test")===0 ? … 730 …$tb = strpos($b, "{$this->cwd}/tests")===0 ? 1 + (strpos($b, "{$this->cwd}/tests/run-test")===0 ? … 785 $exeinfo = "CWD : {$this->cwd}\n". [all …]
|
H A D | run-tests.php | 103 $cwd = getcwd(); variable 150 $php = $cwd . '/sapi/cli/php'; 154 $php_cgi = $cwd . '/sapi/cgi/php-cgi'; 170 $php_cgi = $cwd . '/sapi/cgi/php-cgi'; 198 $phpdbg = $cwd . '/sapi/phpdbg/phpdbg'; 340 CWD : $cwd 908 find_files("{$cwd}/{$dir}", ($dir == 'ext')); 962 global $cwd; 967 …$ta = strpos($a, "{$cwd}/tests") === 0 ? 1 + (strpos($a, "{$cwd}/tests/run-test") === 0 ? 1 : 0) :… 968 …$tb = strpos($b, "{$cwd}/tests") === 0 ? 1 + (strpos($b, "{$cwd}/tests/run-test") === 0 ? 1 : 0) :… [all …]
|
/PHP-7.0/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 461 &command_len, &descriptorspec, &pipes, &cwd, &cwd_len, &environment, in PHP_FUNCTION() 679 if (cwd == NULL) { in PHP_FUNCTION() 686 cwd = cur_cwd; in PHP_FUNCTION() 725 …newprocok = CreateProcess(NULL, command, &security, &security, TRUE, dwCreateFlags, env.envp, cwd,… in PHP_FUNCTION() 757 if (cwd) { in PHP_FUNCTION() 759 chdir2(cwd); in PHP_FUNCTION() 774 if (cwd && orig_cwd) { in PHP_FUNCTION() 785 if (cwd && orig_cwd) { in PHP_FUNCTION() 844 if (cwd) { in PHP_FUNCTION() [all …]
|
/PHP-7.0/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.0/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-7.0/ext/opcache/ |
H A D | ZendAccelerator.c | 170 if (ZCG(cwd)) { in ZEND_FUNCTION() 173 ZCG(cwd) = zend_string_init(cwd, strlen(cwd), 0); in ZEND_FUNCTION() 175 if (ZCG(cwd)) { in ZEND_FUNCTION() 177 ZCG(cwd) = NULL; in ZEND_FUNCTION() 186 if (ZCG(cwd)) { in accel_getcwd() 187 return ZCG(cwd); in accel_getcwd() 194 ZCG(cwd) = zend_string_init(cwd, strlen(cwd), 0); in accel_getcwd() 197 return ZCG(cwd); in accel_getcwd() 2093 ZCG(cwd) = NULL; in accel_activate() 2404 if (ZCG(cwd)) { in accel_deactivate() [all …]
|
/PHP-7.0/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 …]
|
/PHP-7.0/TSRM/ |
H A D | tsrm_win32.h | 102 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env);
|
/PHP-7.0/ext/phar/ |
H A D | phar_object.c | 148 const char *cwd; in phar_file_action() local 239 PHAR_G(cwd) = NULL; in phar_file_action() 246 if (entry == cwd) { in phar_file_action() 249 PHAR_G(cwd) = NULL; in phar_file_action() 279 if (PHAR_G(cwd)) { in phar_file_action() 280 efree(PHAR_G(cwd)); in phar_file_action() 281 PHAR_G(cwd) = NULL; in phar_file_action() 291 if (PHAR_G(cwd)) { in phar_file_action() 292 efree(PHAR_G(cwd)); in phar_file_action() 293 PHAR_G(cwd) = NULL; in phar_file_action() [all …]
|