Lines Matching refs:dest
158 function copy_text_file($source, $dest) argument
162 $fp = fopen($dest, "w");
210 $dest = fopen($destfilename, 'wb');
211 $x = stream_copy_to_stream($fp, $dest, $hdr['size']);
212 fclose($dest);
261 foreach ($text_files as $src => $dest) {
262 copy_text_file($src, $dist_dir . '/' . $dest);
271 foreach ($general_files as $src => $dest) {
272 copy($src, $dist_dir . '/' . $dest);
349 $dest = "$dist_dir/$dll[0]"; variable
352 if (!file_exists("$dest") || !is_dir("$dest")) {
353 if (!mkdir("$dest", 0777, true)) {
354 echo "WARNING: couldn't create '$dest' for enchant plugins ";
358 if (!copy($php_build_dir . '/bin/' . $filename, "$dest/" . basename($filename))) {
397 function copy_dir($source, $dest) argument
399 if (!is_dir($dest)) {
400 if (!mkdir($dest)) {
411 $fd = $dest . '/' . $f;
423 function copy_test_dir($directory, $dest) argument
430 if (!is_dir($dest . '/tests')) {
431 mkdir($dest . '/tests', 0775, true);
433 copy_dir($directory, $dest . '/tests/');
449 if (!is_dir($dest . '/' . $full_path)) {
450 mkdir($dest . '/' . $full_path , 0775, true);
452 copy_dir($full_path, $dest . '/' . $full_path . '/');
455 copy_test_dir($full_path, $dest);