Home
last modified time | relevance | path

Searched refs:cwd (Results 1 – 25 of 66) sorted by relevance

123

/PHP-8.1/ext/gd/tests/
H A Djpeg2png.phpt16 $cwd = __DIR__;
19 …echo imagejpeg(imagecreatefrompng($cwd . "/conv_test.png"), $cwd . "/test_jpeg.jpeg") ? 'ok' : 'fa…
23 …echo imagepng(imagecreatefromjpeg($cwd . "/test_jpeg.jpeg"), $cwd . "/test_jpng.png") ? 'ok' : 'fa…
27 …echo imagepng(imagecreatefromjpeg($cwd . "/conv_test.jpg"), $cwd . "/test_png.png") ? 'ok' : 'fail…
31 …echo imagejpeg(imagecreatefrompng($cwd . "/test_png.png"), $cwd . "/test_pjpeg.jpeg") ? 'ok' : 'fa…
34 @unlink($cwd . "/test_jpeg.jpeg");
35 @unlink($cwd . "/test_jpng.png");
36 @unlink($cwd . "/test_png.png");
37 @unlink($cwd . "/test_pjpeg.jpeg");
H A Djpg2gd-mb.phpt17 $cwd = __DIR__;
20 …echo imagegd(imagecreatefromjpeg($cwd . "/conv_test私はガラスを食べられます.jpg"), $cwd . "/test私はガラスを食べられます.g…
24 …echo imagegd2(imagecreatefromjpeg($cwd . "/conv_test私はガラスを食べられます.jpg"), $cwd . "/test私はガラスを食べられます.…
28 …echo imagejpeg(imagecreatefromgd($cwd . "/test私はガラスを食べられます.gd1"), $cwd . "/test_gd1.jpeg") ? 'ok' …
32 …echo imagejpeg(imagecreatefromgd2($cwd . "/test私はガラスを食べられます.gd2"), $cwd . "/test_gd2.jpeg") ? 'ok'…
35 @unlink($cwd . "/test私はガラスを食べられます.gd1");
36 @unlink($cwd . "/test私はガラスを食べられます.gd2");
37 @unlink($cwd . "/test_gd1.jpeg");
38 @unlink($cwd . "/test_gd2.jpeg");
H A Djpg2gd.phpt17 $cwd = __DIR__;
20 …echo imagegd(imagecreatefromjpeg($cwd . "/conv_test.jpg"), $cwd . "/test_jpeg.gd1") ? 'ok' : 'fail…
24 …echo imagegd2(imagecreatefromjpeg($cwd . "/conv_test.jpg"), $cwd . "/test_jpeg.gd2") ? 'ok' : 'fai…
28 …echo imagejpeg(imagecreatefromgd($cwd . "/test_jpeg.gd1"), $cwd . "/test_gd1.jpeg") ? 'ok' : 'fail…
32 …echo imagejpeg(imagecreatefromgd2($cwd . "/test_jpeg.gd2"), $cwd . "/test_gd2.jpeg") ? 'ok' : 'fai…
35 @unlink($cwd . "/test_jpeg.gd1");
36 @unlink($cwd . "/test_jpeg.gd2");
37 @unlink($cwd . "/test_gd1.jpeg");
38 @unlink($cwd . "/test_gd2.jpeg");
H A Dpng2gd.phpt17 $cwd = __DIR__;
20 …echo imagegd(imagecreatefrompng($cwd . "/conv_test.png"), $cwd . "/test_png.gd1") ? 'ok' : 'failed…
24 …echo imagegd2(imagecreatefrompng($cwd . "/conv_test.png"), $cwd . "/test_png.gd2") ? 'ok' : 'faile…
28 …echo imagepng(imagecreatefromgd($cwd . "/test_png.gd1"), $cwd . "/test_gd1.png") ? 'ok' : 'failed';
32 …echo imagepng(imagecreatefromgd2($cwd . "/test_png.gd2"), $cwd . "/test_gd2.png") ? 'ok' : 'failed…
35 @unlink($cwd . "/test_png.gd1");
36 @unlink($cwd . "/test_png.gd2");
37 @unlink($cwd . "/test_gd1.png");
38 @unlink($cwd . "/test_gd2.png");
H A Dgif2gd.phpt17 $cwd = __DIR__;
20 …echo imagegd(imagecreatefromgif($cwd . "/conv_test.gif"), $cwd . "/test_gif.gd1") ? 'ok' : 'failed…
24 …echo imagegd2(imagecreatefromgif($cwd . "/conv_test.gif"), $cwd . "/test_gif.gd2") ? 'ok' : 'faile…
27 @unlink($cwd . "/test_gif.gd1");
28 @unlink($cwd . "/test_gif.gd2");
H A Dxpm2gd.phpt17 $cwd = __DIR__;
20 …echo imagegd(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test_xpm.gd1") ? 'ok' : 'failed…
24 …echo imagegd2(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test_xpm.gd2") ? 'ok' : 'faile…
27 @unlink($cwd . "/test_xpm.gd1");
28 @unlink($cwd . "/test_xpm.gd2");
H A Dgif.phpt15 $cwd = __DIR__;
44 $cwd = __DIR__;
49 imagegif($im, $cwd . '/test_gif.gif');
59 imagegif($im, $cwd . '/test_gif.gif');
71 imagegif($im, $cwd . '/test_gif.gif');
83 imagegif($im, $cwd . '/test_gif.gif');
95 imagegif($im, $cwd . '/test_gif.gif');
106 imagegif($im, $cwd . '/test_gif.gif');
117 imagegif($im, $cwd . '/test_gif.gif');
133 @unlink($cwd . "/test_gif.gif");
[all …]
H A Dgif2jpg.phpt16 $cwd = __DIR__;
19 …echo imagejpeg(imagecreatefromgif($cwd . "/conv_test.gif"), $cwd . "/test_gif.jpeg") ? 'ok' : 'fai…
22 @unlink($cwd . "/test_gif.jpeg");
H A Dpngcomp.phpt13 $cwd = __DIR__;
19 imagepng($im, $cwd . '/test_pngcomp.png', 9);
21 $im2 = imagecreatefrompng($cwd . '/test_pngcomp.png');
27 @unlink($cwd . "/test_pngcomp.png");
H A Dxpm2jpg.phpt16 $cwd = __DIR__;
19 …echo imagejpeg(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test_xpm.jpeg") ? 'ok' : 'fai…
22 @unlink($cwd . "/test_xpm.jpeg");
H A Dxpm2png.phpt16 $cwd = __DIR__;
19 …echo imagepng(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test_xpm.png") ? 'ok' : 'faile…
22 @unlink($cwd . "/test_xpm.png");
H A Dgif2png.phpt16 $cwd = __DIR__;
19 …echo imagepng(imagecreatefromgif($cwd . "/conv_test.gif"), $cwd . "/test_gif.png") ? 'ok' : 'faile…
22 @unlink($cwd . "/test_gif.png");
H A Dxbm2png.phpt16 $cwd = __DIR__;
19 …echo imagepng(imagecreatefromxbm($cwd . "/conv_test.xbm"), $cwd . "/test_xbm.png") ? 'ok' : 'faile…
22 @unlink($cwd . "/test_xbm.png");
H A Dbug48732.phpt11 $cwd = __DIR__;
12 $font = "$cwd/Tuffy.ttf";
17 imagepng($g, "$cwd/bug48732.png");
H A Dbug48732-mb.phpt12 $cwd = __DIR__;
13 $font = "$cwd/Tuffy私はガラスを食べられます.ttf";
18 imagepng($g, "$cwd/bug48732私はガラスを食べられます.png");
H A Dbug49600.phpt12 $cwd = __DIR__;
13 $font = "$cwd/Tuffy.ttf";
19 $y = imagettfbbox(32, 0, "$cwd/Tuffy.ttf", $c);
/PHP-8.1/Zend/
H A Dzend_virtual_cwd.c105 memcpy((d)->cwd, (s)->cwd, (s)->cwd_length+1);
185 ZeroMemory(&cwd, sizeof(cwd)); in virtual_cwd_main_cwd_init()
188 result = getcwd(cwd, sizeof(cwd)); in virtual_cwd_main_cwd_init()
198 cwd[0] = toupper(cwd[0]); in virtual_cwd_main_cwd_init()
201 main_cwd_state.cwd = strdup(cwd); in virtual_cwd_main_cwd_init()
235 if (CWDG(cwd).cwd == NULL) { in virtual_cwd_activate()
244 if (CWDG(cwd).cwd != NULL) { in virtual_cwd_deactivate()
246 CWDG(cwd).cwd = NULL; in virtual_cwd_deactivate()
1664 dir = CWDG(cwd).cwd; in virtual_popen()
1671 dir = CWDG(cwd).cwd; in virtual_popen()
[all …]
/PHP-8.1/main/
H A Dphp_open_temporary_file.c97 char cwd[MAXPATHLEN]; in php_do_open_temporary_file() local
119 if (!VCWD_GETCWD(cwd, MAXPATHLEN)) { in php_do_open_temporary_file()
120 cwd[0] = '\0'; in php_do_open_temporary_file()
123 new_state.cwd = estrdup(cwd); in php_do_open_temporary_file()
124 new_state.cwd_length = strlen(cwd); in php_do_open_temporary_file()
127 efree(new_state.cwd); in php_do_open_temporary_file()
139 efree(new_state.cwd); in php_do_open_temporary_file()
150 efree(new_state.cwd); in php_do_open_temporary_file()
159 efree(new_state.cwd); in php_do_open_temporary_file()
169 efree(new_state.cwd); in php_do_open_temporary_file()
[all …]
/PHP-8.1/ext/standard/tests/file/
H A Dmkdir_variation5-win32.phpt17 $cwd = getcwd();
19 $unixifiedDir = '/'.substr(str_replace('\\','/',$cwd).'/'.$workDir.'/'.$subDir, 3);
32 $cwd.'\\'.$workDir.'\\'.$subDir,
33 $cwd.'\\.\\'.$workDir.'\\'.$subDir,
34 $cwd.'\\'.$workDir.'\\..\\'.$workDir.'\\'.$subDir,
37 $cwd.'\\BADDIR\\'.$subDir,
41 $cwd.'\\'.$workDir.'\\'.$subDir.'\\',
45 $cwd.'\\\\'.$workDir.'\\\\'.$subDir,
H A Drmdir_variation3-win32.phpt17 $cwd = getcwd();
19 $unixifiedDir = '/'.substr(str_replace('\\','/',$cwd).'/'.$workDir.'/'.$subDir, 3);
32 $cwd.'\\'.$workDir.'\\'.$subDir,
33 $cwd.'\\.\\'.$workDir.'\\'.$subDir,
34 $cwd.'\\'.$workDir.'\\..\\'.$workDir.'\\'.$subDir,
37 $cwd.'\\BADDIR\\'.$subDir,
41 $cwd.'\\'.$workDir.'\\'.$subDir.'\\',
45 $cwd.'\\\\'.$workDir.'\\\\'.$subDir,
H A Drmdir_variation3.phpt12 $cwd = getcwd();
25 $cwd.'/'.$workDir.'/'.$subDir,
26 $cwd.'/./'.$workDir.'/'.$subDir,
27 $cwd.'/'.$workDir.'/../'.$workDir.'/'.$subDir,
30 $cwd.'/BADDIR/'.$subDir,
34 $cwd.'/'.$workDir.'/'.$subDir.'/',
38 $cwd.'//'.$workDir.'//'.$subDir,
H A Dmkdir_variation5.phpt17 $cwd = getcwd();
30 $cwd.'/'.$workDir.'/'.$subDir,
31 $cwd.'/./'.$workDir.'/'.$subDir,
32 $cwd.'/'.$workDir.'/../'.$workDir.'/'.$subDir,
35 $cwd.'/BADDIR/'.$subDir,
39 $cwd.'/'.$workDir.'/'.$subDir.'/',
43 $cwd.'//'.$workDir.'//'.$subDir,
H A Dunlink_variation9-win32.phpt19 $cwd = __DIR__;
20 $unixifiedFile = '/'.substr(str_replace('\\','/',$cwd).'/'.$workDir.'/'.$tmpFile, 3);
33 $cwd.'\\'.$workDir.'\\'.$tmpFile,
34 $cwd.'\\.\\'.$workDir.'\\'.$tmpFile,
35 $cwd.'\\'.$workDir.'\\..\\'.$workDir.'\\'.$tmpFile,
38 $cwd.'\\BADDIR\\'.$tmpFile,
42 $cwd.'\\'.$workDir.'\\'.$tmpFile.'\\',
46 $cwd.'\\\\'.$workDir.'\\\\'.$tmpFile,
H A Dunlink_variation8-win32.phpt19 $cwd = __DIR__;
32 $cwd.'/'.$workDir.'/'.$tmpFile,
33 $cwd.'/./'.$workDir.'/'.$tmpFile,
34 $cwd.'/'.$workDir.'/../'.$workDir.'/'.$tmpFile,
37 $cwd.'/BADDIR/'.$tmpFile,
41 $cwd.'/'.$workDir.'/'.$tmpFile.'/',
45 $cwd.'//'.$workDir.'//'.$tmpFile,
/PHP-8.1/win32/
H A Dregistry.c225 char tmp_buf[MAXPATHLEN], *cwd; in UpdateIniFromRegistry() local
233 cwd = strchr(tmp_buf, ':'); in UpdateIniFromRegistry()
234 if (!cwd) { in UpdateIniFromRegistry()
236 cwd = tmp_buf; in UpdateIniFromRegistry()
239 cwd++; in UpdateIniFromRegistry()
241 while (*cwd == '\\' || *cwd == '/') { in UpdateIniFromRegistry()
242 cwd++; in UpdateIniFromRegistry()
244 spprintf(&path, 0, "%c\\%s\\%s", drive_letter, cwd, orig_path); in UpdateIniFromRegistry()

Completed in 39 milliseconds

123