Home
last modified time | relevance | path

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

123

/PHP-5.5/ext/gd/tests/
H A Dbug43073.phpt13 $cwd = dirname(__FILE__);
14 $font = "$cwd/Tuffy.ttf";
31 imagepng($g, "$cwd/bug43073.png");
H A Dbug48801.phpt13 $cwd = dirname(__FILE__);
14 $font = "$cwd/Tuffy.ttf";
H A Dbug48801_1.phpt13 $cwd = dirname(__FILE__);
14 $font = "$cwd/Tuffy.ttf";
H A Dbug51263.phpt10 $cwd = dirname(__FILE__);
11 $ttf = "$cwd/Tuffy.ttf";
H A Dbug48555.phpt10 $cwd = dirname(__FILE__);
11 $font = "$cwd/Tuffy.ttf";
H A Dimagefttext.phpt14 $cwd = dirname(__FILE__);
15 $fontfile_8859 = "$cwd/test8859.ttf";
/PHP-5.5/main/
H A Dfopen_wrappers.c749 char cwd[MAXPATHLEN]; local
755 cwd[0] = '\0';
764 memcpy(cwd, relative_to, relative_to_len+1U);
766 result = VCWD_GETCWD(cwd, MAXPATHLEN);
787 cwd[0] = '\0';
790 cwd[0] = '\0';
794 new_state.cwd = strdup(cwd);
795 new_state.cwd_length = strlen(cwd);
798 free(new_state.cwd);
804 memcpy(real_path, new_state.cwd, copy_len);
[all …]
/PHP-5.5/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-5.5/ext/ftp/tests/
H A Dserver.inc77 global $cwd;
80 $cwd = $dir;
84 $cwd = "$cwd/$dir";
87 $old = $cwd;
88 $cwd = preg_replace('@/?[^/]+/\.\.@', '', $cwd);
89 } while ($old != $cwd);
91 $cwd = strtr($cwd, array('//' => '/'));
92 if (!$cwd) $cwd = '/';
177 $cwd = '/';
194 fputs($s, "257 \"$cwd\" is current directory.\r\n");
[all …]
H A D003.phpt2 FTP cwd
/PHP-5.5/ext/opcache/
H A DZendAccelerator.c157 if (ZCG(cwd)) { in ZEND_FUNCTION()
158 efree(ZCG(cwd)); in ZEND_FUNCTION()
161 ZCG(cwd) = estrndup(cwd, ZCG(cwd_len)); in ZEND_FUNCTION()
163 if (ZCG(cwd)) { in ZEND_FUNCTION()
164 efree(ZCG(cwd)); in ZEND_FUNCTION()
172 if (ZCG(cwd)) { in accel_getcwd()
174 return ZCG(cwd); in accel_getcwd()
182 ZCG(cwd) = estrndup(cwd, ZCG(cwd_len)); in accel_getcwd()
183 return ZCG(cwd); in accel_getcwd()
1698 char *cwd; local
[all …]
/PHP-5.5/
H A Dserver-tests.php179 $pipes, $cwd, $env);
226 $out = execute($php, $params, $code, $cwd, $env);
412 public $cwd; variable in testHarness
493 $this->cwd = getcwd();
496 $this->conf['TEST_PHP_SRCDIR'] = $this->cwd;
569 if (!$cwd) $cwd = $this->conf['TEST_BASE_PATH'];
570 $tmp_file = "$cwd$pi";
730 …$ta = strpos($a, "{$this->cwd}/tests")===0 ? 1 + (strpos($a, "{$this->cwd}/tests/run-test")===0 ? …
731 …$tb = strpos($b, "{$this->cwd}/tests")===0 ? 1 + (strpos($b, "{$this->cwd}/tests/run-test")===0 ? …
786 $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';
303 CWD : $cwd
868 find_files("{$cwd}/{$dir}", ($dir == 'ext'));
922 global $cwd;
927 …$ta = strpos($a, "{$cwd}/tests") === 0 ? 1 + (strpos($a, "{$cwd}/tests/run-test") === 0 ? 1 : 0) :…
928 …$tb = strpos($b, "{$cwd}/tests") === 0 ? 1 + (strpos($b, "{$cwd}/tests/run-test") === 0 ? 1 : 0) :…
1072 global $leak_check, $cwd;
[all …]
/PHP-5.5/sapi/litespeed/
H A Dlsapi_main.c532 if ( !CWDG(cwd).cwd || in lsapi_chdir_primary_script()
533 ( strcmp( file_handle->filename, CWDG(cwd).cwd ) != 0 ) ) { in lsapi_chdir_primary_script()
534 CWDG(cwd).cwd_length = p - file_handle->filename; in lsapi_chdir_primary_script()
535 CWDG(cwd).cwd = (char *) realloc(CWDG(cwd).cwd, CWDG(cwd).cwd_length+1); in lsapi_chdir_primary_script()
536 memmove( CWDG(cwd).cwd, file_handle->filename, CWDG(cwd).cwd_length+1 ); in lsapi_chdir_primary_script()
/PHP-5.5/ext/standard/
H A Ddir.c427 char cwd[MAXPATHLEN]; in PHP_FUNCTION() local
455 result = VCWD_GETCWD(cwd, MAXPATHLEN); in PHP_FUNCTION()
457 cwd[0] = '\0'; in PHP_FUNCTION()
461 cwd[2] = '\0'; in PHP_FUNCTION()
464 cwd_skip = strlen(cwd)+1; in PHP_FUNCTION()
466 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in PHP_FUNCTION()
H A Dproc_open.c453 char *command, *cwd=NULL; in PHP_FUNCTION() local
496 &command_len, &descriptorspec, &pipes, &cwd, &cwd_len, &environment, in PHP_FUNCTION()
712 if (cwd == NULL) { in PHP_FUNCTION()
719 cwd = cur_cwd; in PHP_FUNCTION()
758 …newprocok = CreateProcess(NULL, command, &security, &security, TRUE, dwCreateFlags, env.envp, cwd,… in PHP_FUNCTION()
790 if (cwd) { in PHP_FUNCTION()
792 chdir2(cwd); in PHP_FUNCTION()
807 if (cwd && orig_cwd) { in PHP_FUNCTION()
818 if (cwd && orig_cwd) { in PHP_FUNCTION()
878 if (cwd) { in PHP_FUNCTION()
[all …]
/PHP-5.5/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-5.5/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-5.5/ext/zip/
H A Dphp_zip.c194 free(new_state.cwd); in php_zip_extract_file()
227 free(new_state.cwd); in php_zip_extract_file()
235 free(new_state.cwd); in php_zip_extract_file()
241 free(new_state.cwd); in php_zip_extract_file()
253 free(new_state.cwd); in php_zip_extract_file()
288 free(new_state.cwd); in php_zip_extract_file()
522 char cwd[MAXPATHLEN]; in php_zip_glob() local
546 cwd[0] = '\0'; in php_zip_glob()
550 cwd[2] = '\0'; in php_zip_glob()
640 cwd[0] = '\0'; in php_zip_pcre()
[all …]
/PHP-5.5/sapi/caudium/
H A DTODO22 - change cwd in single threaded mode

Completed in 74 milliseconds

123