Searched refs:file1 (Results 1 - 10 of 10) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dcmp.c37 grub_file_t file1 = 0; local
48 file1 = grub_file_open (args[0]);
50 if (! file1 || ! file2)
53 if (grub_file_size (file1) != grub_file_size (file2))
55 (unsigned long long) grub_file_size (file1), args[0],
71 rd1 = grub_file_read (file1, buf1, BUFFER_SIZE);
100 if (file1)
101 grub_file_close (file1);
H A Dtest.c281 struct grub_dirhook_info file1; local
287 file1 = file_info;
296 || (file1.mtimeset && file_info.mtimeset
297 && file1.mtime + bias > file_info.mtime));
300 || (file1.mtimeset && file_info.mtimeset
301 && file1.mtime + bias < file_info.mtime));
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/examples/
H A Ddiff_upload.cgi22 print "File #1:",filefield(-name=>'file1',-size=>45),"<BR>\n";
30 $file1 = param('file1');
34 if ($file1 && $file2) {
35 $realfile1 = tmpFileName($file1);
38 print "<H2>$file1 vs $file2</H2>\n";
43 close $file1;
/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);
53 $fh1 = FileHandle->new($file1, "r") or die "Can't open $file1: $!";
72 close($fh1) unless (ref $file1);
78 warn "$file1 an
[all...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dcmp.c149 cmp(const char* file1, Sfio_t* f1, const char* file2, Sfio_t* f2, int flags, Sfoff_t count, Sfoff_t differences) argument
173 "read error on %s", file1);
179 error(ERROR_exit(1), "EOF on %s", file1);
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);
268 char* file1; local
329 if (error_info.errors || !(file1 = *argv++) || !(file2 = *argv++))
332 if (streq(file1, "-"))
334 else if (!(f1 = sfopen(NiL, file1, "r")))
337 error(ERROR_system(0), "%s: cannot open", file1);
[all...]
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Drunlist.c1937 static runlist_element file1[] = { local
1989 test_rl_pure_test(1, c, m, 0, 40, file1, sizeof(file1));
1990 test_rl_pure_test(2, c, m, 40, 40, file1, sizeof(file1));
1991 test_rl_pure_test(3, c, m, 60, 40, file1, sizeof(file1));
1992 test_rl_pure_test(4, c, m, 0, 100, file1, sizeof(file1));
1993 test_rl_pure_test(5, c, m, 200, 40, file1, sizeo
[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/libshell/common/bltins/
H A Dtest.c518 static time_t test_time(const char *file1,const char *file2) argument
523 if(test_stat(file1,&statb1)<0)
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;
576 file1 = arg;
578 if (! *file1 || ! *file2)
585 nul_terminate (file1);
590 if (! grub_open (file1))
612 size, file1, filemax, file2);
630 i, (unsigned) addr1[i], file1,
563 char *file1, *file2; local

Completed in 63 milliseconds