Searched refs:file2 (Results 1 - 9 of 9) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dcmp.c38 grub_file_t file2 = 0; local
49 file2 = grub_file_open (args[1]);
50 if (! file1 || ! file2)
53 if (grub_file_size (file1) != grub_file_size (file2))
56 (unsigned long long) grub_file_size (file2), args[1]);
72 rd2 = grub_file_read (file2, buf2, BUFFER_SIZE);
102 if (file2)
103 grub_file_close (file2);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/examples/
H A Ddiff_upload.cgi23 print "File #2:",filefield(-name=>'file2',-size=>45),"<BR>\n";
31 $file2 = param('file2');
34 if ($file1 && $file2) {
36 $realfile2 = tmpFileName($file2);
38 print "<H2>$file1 vs $file2</H2>\n";
44 close $file2;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/pod/
H A Dtestcmp.pl24 $is_diff = testcmp($file1, $file2);
28 $is_diff = testcmp({-cmplines => \&mycmp}, $file1, $file2);
33 same, 1 if they differ. Each of $file1 and $file2 may be a filenames,
40 (the first is from $file1 and the second is from $file2). It should
50 my ($file1, $file2) = @_;
51 my ($fh1, $fh2) = ($file1, $file2);
56 $fh2 = FileHandle->new($file2, "r") or die "Can't open $file2: $!";
73 close($fh2) unless (ref $file2);
78 warn "$file1 and $file2 diffe
[all...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dcmp.c71 "\nfile1 file2 [skip1 [skip2]]\n"
149 cmp(const char* file1, Sfio_t* f1, const char* file2, Sfio_t* f2, int flags, Sfoff_t count, Sfoff_t differences) argument
183 "read error on %s", file2);
198 "read error on %s", file2);
201 error(ERROR_exit(1), "EOF on %s", file2);
231 sfprintf(sfstdout, "%s %s differ: char %I*d, line %I*u\n", file1, file2, sizeof(pos), pos - (last - p1), sizeof(lines), lines);
242 sfprintf(sfstdout, "%s %s differ: char %I*d, line %I*u", file1, file2, sizeof(pos), pos - (last - p1), sizeof(lines), lines);
269 char* file2; local
329 if (error_info.errors || !(file1 = *argv++) || !(file2 = *argv++))
340 if (streq(file2, "
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/
H A DCompare.pm19 croak("Usage: compare( file1, file2 [, buffersize]) ")
120 croak("Usage: compare_text( file1, file2 [, cmp-function])")
142 if (compare("file1","file2") == 0) {
161 compare_text($file1, $file2)
165 compare_text($file1, $file2, sub {$_[0] ne $_[1]} )
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Drunlist.c1945 static runlist_element file2[] = { local
2001 test_rl_pure_test(13, c, m, 160, 100, file2, sizeof(file2));
2002 test_rl_pure_test(14, c, m, 100, 140, file2, sizeof(file2));
2003 test_rl_pure_test(15, c, m, 200, 40, file2, sizeof(file2));
2004 test_rl_pure_test(16, c, m, 240, 40, file2, sizeof(file2));
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dtest.c518 static time_t test_time(const char *file1,const char *file2) argument
522 int r=test_stat(file2,&statb2);
540 int test_inode(const char *file1,const char *file2) argument
543 if(test_stat(file1,&stat1)>=0 && test_stat(file2,&stat2)>=0)
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dstdio.in.h773 (int fd1, char const *file1, int fd2, char const *file2)
776 (int fd1, char const *file1, int fd2, char const *file2));
780 (int fd1, char const *file1, int fd2, char const *file2)
784 (int fd1, char const *file1, int fd2, char const *file2));
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dbuiltins.c568 char *file1, *file2;
577 file2 = skip_to (0, arg);
578 if (! *file1 || ! *file2)
586 nul_terminate (file2);
605 if (! grub_open (file2))
612 size, file1, filemax, file2);
631 (unsigned) addr2[i], file2);
563 char *file1, *file2; local

Completed in 34 milliseconds