Home
last modified time | relevance | path

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

123

/PHP-7.0/ext/gd/tests/
H A Dbug43073.phpt28 $cwd = dirname(__FILE__);
29 $font = "$cwd/Tuffy.ttf";
55 imagepng($g, "$cwd/bug43073.png");
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.0/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.0/ext/standard/tests/file/
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.0/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.0/sapi/cli/tests/
H A D023.phpt11 $cwd = getcwd();
16 [PATH={$cwd}]
/PHP-7.0/
H A Dserver-tests.php179 $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 Drun-tests.php103 $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 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
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 Dfrontcontroller34.phpt2 Phar front controller with cwd
H A Dfrontcontroller22.phpt2 Phar front controller include from cwd test 1
/PHP-7.0/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-7.0/ext/opcache/
H A DZendAccelerator.c170 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 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 …]
/PHP-7.0/TSRM/
H A Dtsrm_win32.h102 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env);
/PHP-7.0/ext/phar/
H A Dphar_object.c148 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 …]

Completed in 72 milliseconds

123