/PHP-8.0/ext/gd/tests/ |
H A D | jpg2gd-mb.phpt | 15 $cwd = __DIR__; 18 …echo imagegd(imagecreatefromjpeg($cwd . "/conv_test私はガラスを食べられます.jpg"), $cwd . "/test私はガラスを食べられます.g… 22 …echo imagegd2(imagecreatefromjpeg($cwd . "/conv_test私はガラスを食べられます.jpg"), $cwd . "/test私はガラスを食べられます.… 26 …echo imagejpeg(imagecreatefromgd($cwd . "/test私はガラスを食べられます.gd1"), $cwd . "/test_gd1.jpeg") ? 'ok' … 30 …echo imagejpeg(imagecreatefromgd2($cwd . "/test私はガラスを食べられます.gd2"), $cwd . "/test_gd2.jpeg") ? 'ok'… 33 @unlink($cwd . "/test私はガラスを食べられます.gd1"); 34 @unlink($cwd . "/test私はガラスを食べられます.gd2"); 35 @unlink($cwd . "/test_gd1.jpeg"); 36 @unlink($cwd . "/test_gd2.jpeg");
|
H A D | jpg2gd.phpt | 15 $cwd = __DIR__; 18 …echo imagegd(imagecreatefromjpeg($cwd . "/conv_test.jpg"), $cwd . "/test_jpeg.gd1") ? 'ok' : 'fail… 22 …echo imagegd2(imagecreatefromjpeg($cwd . "/conv_test.jpg"), $cwd . "/test_jpeg.gd2") ? 'ok' : 'fai… 26 …echo imagejpeg(imagecreatefromgd($cwd . "/test_jpeg.gd1"), $cwd . "/test_gd1.jpeg") ? 'ok' : 'fail… 30 …echo imagejpeg(imagecreatefromgd2($cwd . "/test_jpeg.gd2"), $cwd . "/test_gd2.jpeg") ? 'ok' : 'fai… 33 @unlink($cwd . "/test_jpeg.gd1"); 34 @unlink($cwd . "/test_jpeg.gd2"); 35 @unlink($cwd . "/test_gd1.jpeg"); 36 @unlink($cwd . "/test_gd2.jpeg");
|
H A D | png2gd.phpt | 15 $cwd = __DIR__; 18 …echo imagegd(imagecreatefrompng($cwd . "/conv_test.png"), $cwd . "/test_png.gd1") ? 'ok' : 'failed… 22 …echo imagegd2(imagecreatefrompng($cwd . "/conv_test.png"), $cwd . "/test_png.gd2") ? 'ok' : 'faile… 26 …echo imagepng(imagecreatefromgd($cwd . "/test_png.gd1"), $cwd . "/test_gd1.png") ? 'ok' : 'failed'; 30 …echo imagepng(imagecreatefromgd2($cwd . "/test_png.gd2"), $cwd . "/test_gd2.png") ? 'ok' : 'failed… 33 @unlink($cwd . "/test_png.gd1"); 34 @unlink($cwd . "/test_png.gd2"); 35 @unlink($cwd . "/test_gd1.png"); 36 @unlink($cwd . "/test_gd2.png");
|
H A D | jpeg2png.phpt | 18 $cwd = __DIR__; 21 …echo imagejpeg(imagecreatefrompng($cwd . "/conv_test.png"), $cwd . "/test_jpeg.jpeg") ? 'ok' : 'fa… 25 …echo imagepng(imagecreatefromjpeg($cwd . "/test_jpeg.jpeg"), $cwd . "/test_jpng.png") ? 'ok' : 'fa… 29 …echo imagepng(imagecreatefromjpeg($cwd . "/conv_test.jpg"), $cwd . "/test_png.png") ? 'ok' : 'fail… 33 …echo imagejpeg(imagecreatefrompng($cwd . "/test_png.png"), $cwd . "/test_pjpeg.jpeg") ? 'ok' : 'fa… 36 @unlink($cwd . "/test_jpeg.jpeg"); 37 @unlink($cwd . "/test_jpng.png"); 38 @unlink($cwd . "/test_png.png"); 39 @unlink($cwd . "/test_pjpeg.jpeg");
|
H A D | gif2gd.phpt | 15 $cwd = __DIR__; 18 …echo imagegd(imagecreatefromgif($cwd . "/conv_test.gif"), $cwd . "/test_gif.gd1") ? 'ok' : 'failed… 22 …echo imagegd2(imagecreatefromgif($cwd . "/conv_test.gif"), $cwd . "/test_gif.gd2") ? 'ok' : 'faile… 25 @unlink($cwd . "/test_gif.gd1"); 26 @unlink($cwd . "/test_gif.gd2");
|
H A D | xpm2gd.phpt | 15 $cwd = __DIR__; 18 …echo imagegd(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test_xpm.gd1") ? 'ok' : 'failed… 22 …echo imagegd2(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test_xpm.gd2") ? 'ok' : 'faile… 25 @unlink($cwd . "/test_xpm.gd1"); 26 @unlink($cwd . "/test_xpm.gd2");
|
H A D | gif.phpt | 16 $cwd = __DIR__; 45 $cwd = __DIR__; 50 imagegif($im, $cwd . '/test_gif.gif'); 60 imagegif($im, $cwd . '/test_gif.gif'); 72 imagegif($im, $cwd . '/test_gif.gif'); 84 imagegif($im, $cwd . '/test_gif.gif'); 96 imagegif($im, $cwd . '/test_gif.gif'); 107 imagegif($im, $cwd . '/test_gif.gif'); 118 imagegif($im, $cwd . '/test_gif.gif'); 134 @unlink($cwd . "/test_gif.gif"); [all …]
|
H A D | gif2jpg.phpt | 18 $cwd = __DIR__; 21 …echo imagejpeg(imagecreatefromgif($cwd . "/conv_test.gif"), $cwd . "/test_gif.jpeg") ? 'ok' : 'fai… 24 @unlink($cwd . "/test_gif.jpeg");
|
H A D | gif2png.phpt | 18 $cwd = __DIR__; 21 …echo imagepng(imagecreatefromgif($cwd . "/conv_test.gif"), $cwd . "/test_gif.png") ? 'ok' : 'faile… 24 @unlink($cwd . "/test_gif.png");
|
H A D | pngcomp.phpt | 15 $cwd = __DIR__; 21 imagepng($im, $cwd . '/test_pngcomp.png', 9); 23 $im2 = imagecreatefrompng($cwd . '/test_pngcomp.png'); 29 @unlink($cwd . "/test_pngcomp.png");
|
H A D | xbm2png.phpt | 17 $cwd = __DIR__; 20 …echo imagepng(imagecreatefromxbm($cwd . "/conv_test.xbm"), $cwd . "/test_xbm.png") ? 'ok' : 'faile… 23 @unlink($cwd . "/test_xbm.png");
|
H A D | xpm2jpg.phpt | 18 $cwd = __DIR__; 21 …echo imagejpeg(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test_xpm.jpeg") ? 'ok' : 'fai… 24 @unlink($cwd . "/test_xpm.jpeg");
|
H A D | xpm2png.phpt | 18 $cwd = __DIR__; 21 …echo imagepng(imagecreatefromxpm($cwd . "/conv_test.xpm"), $cwd . "/test_xpm.png") ? 'ok' : 'faile… 24 @unlink($cwd . "/test_xpm.png");
|
H A D | bug48732.phpt | 10 $cwd = __DIR__; 11 $font = "$cwd/Tuffy.ttf"; 16 imagepng($g, "$cwd/bug48732.png");
|
H A D | bug48732-mb.phpt | 11 $cwd = __DIR__; 12 $font = "$cwd/Tuffy私はガラスを食べられます.ttf"; 17 imagepng($g, "$cwd/bug48732私はガラスを食べられます.png");
|
H A D | bug49600.phpt | 11 $cwd = __DIR__; 12 $font = "$cwd/Tuffy.ttf"; 18 $y = imagettfbbox(32, 0, "$cwd/Tuffy.ttf", $c);
|
/PHP-8.0/Zend/ |
H A D | zend_virtual_cwd.c | 105 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.0/main/ |
H A D | php_open_temporary_file.c | 97 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.0/ext/standard/tests/file/ |
H A D | mkdir_variation5-win32.phpt | 17 $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 D | rmdir_variation3-win32.phpt | 17 $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 D | mkdir_variation5.phpt | 17 $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 D | rmdir_variation3.phpt | 12 $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 D | unlink_variation9-win32.phpt | 19 $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 D | unlink_variation8-win32.phpt | 19 $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.0/win32/ |
H A D | registry.c | 225 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()
|