Lines Matching refs:dest
162 function copy_text_file($source, $dest) argument
166 $fp = fopen($dest, "w");
214 $dest = fopen($destfilename, 'wb');
215 $x = stream_copy_to_stream($fp, $dest, $hdr['size']);
216 fclose($dest);
265 foreach ($text_files as $src => $dest) {
266 copy_text_file($src, $dist_dir . '/' . $dest);
275 foreach ($general_files as $src => $dest) {
276 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);