Searched refs:compare (Results 1 - 25 of 99) sorted by relevance

1234

/osnet-11/usr/src/grub/grub2/include/grub/util/
H A Dversion.h24 * its comparing function. compare() is expected to return 0 if the two
26 * than the second and less than 0 otherwise. (basically, compare behaves
32 int (*compare)(const char *, const char *); member in struct:grub_util_version_info
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/
H A DCompare.t19 use File::Compare qw(compare compare_text);
24 print "not " unless compare("harness","harness") == 0;
27 print "not " unless compare("TEST","harness") == 1;
30 print "not " unless compare("harness","HLAGHLAG") == -1;
54 print "not " unless compare($fh,"harness") == 0;
91 $donetests[0] = compare($tfh, 'harness');
92 $donetests[1] = compare($filename, 'harness');
101 # The open attempt on FROM in File::Compare::compare should fail
H A DCompare.pm13 @EXPORT = qw(compare);
18 sub compare { subroutine
19 croak("Usage: compare( file1, file2 [, buffersize]) ")
116 *cmp = \&compare;
125 # Using a negative buffer size puts compare into text_mode too
127 compare($from, $to, $cmp);
142 if (compare("file1","file2") == 0) {
148 The File::Compare::compare function compares the contents of two
152 File::Compare::cmp is a synonym for File::Compare::compare. It is
169 File::Compare::compare an
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dtiehandle.t15 sub compare { subroutine
31 ::compare(TIEHANDLE => @_);
37 ::compare(PRINT => @_);
42 ::compare(PRINTF => @_);
47 ::compare(READLINE => @_);
52 ::compare(GETC => @_);
57 ::compare(READ => @_);
63 ::compare(WRITE => @_);
69 ::compare(CLOSE => @_);
102 compare(
[all...]
/osnet-11/usr/src/lib/libc/capabilities/sun4u-us3/common/
H A Dmemcmp.s64 ! for small counts byte compare immediately
69 ! Count > 48. We will byte compare (8 + num of bytes to dbl align)
82 1: ldub [%o1], %o5 ! byte compare loop
93 ! Check to see if there are more bytes to compare
98 retl ! strings compare equal
106 ! double word compare - using ldd and faligndata. Compares upto
107 ! 8 byte multiple count and does byte compare for the residual.
145 5: ldub [%o0 + %o1], %o5 ! byte compare loop
157 sub %g0, %g0, %o0 ! strings compare equal
/osnet-11/usr/src/lib/libc/sparc/gen/
H A Dstrcmp.s56 ! align s2, this also happens and then the compare begins. Otherwise,
57 ! a different compare for non-aligned strings is used.
82 bnz .aligns1 ! nope, compare another pair of bytes
216 ! we know byte 1 is equal, so can compare bytes 1,2 as a group
225 ! we know bytes 1, 2 are equal, so can compare bytes 1,2,3 as a group
233 ! we know bytes 1,2,3 are equal, so can compare bytes 1,2,3,4 as group
H A Dmemcmp.s102 1: ldub [%o0 + %o1], %o5 ! byte compare loop
106 deccc %o2 ! delay slot, compare count (len)
111 retl ! strings compare equal
147 bz .w4cmp ! if s2 word aligned, compare words
230 b .bytcmp ! compare remaining bytes, if any
/osnet-11/usr/src/lib/libc/capabilities/sun4u/common/
H A Dmemcmp.s60 ! for small counts byte compare immediately
65 ! Count > 48. We will byte compare (8 + num of bytes to dbl align)
76 1: ldub [%o1], %o5 ! byte compare loop
87 ! Check to see if there are more bytes to compare
92 retl ! strings compare equal
105 ! double word compare - using ldd and faligndata. Compares upto
106 ! 8 byte multiple count and does byte compare for the residual.
141 5: ldub [%o0 + %o1], %o5 ! byte compare loop
153 sub %g0, %g0, %o0 ! strings compare equal
1092 6: ldub [%i0 + %i1], %i5 ! byte compare loo
[all...]
/osnet-11/usr/src/lib/libfru/include/
H A DStr.h62 int compare(const Str& rhs) const;
/osnet-11/usr/src/lib/libcmd/common/
H A Duniq.c62 "[w:check-chars]#[chars?\achars\a is the number of characters to compare "
85 static int uniq(Sfio_t *fdin, Sfio_t *fdout, int fields, int chars, int width, int mode, int* all, Compare_f compare) argument
149 if(reclen==oreclen && (!reclen || !(*compare)(cp,orecp,reclen)))
254 Compare_f compare = (Compare_f)memcmp; local
284 compare = (Compare_f)strncasecmp;
335 error_info.errors = uniq(fpin,fpout,fields,chars,width,mode,all,compare);
/osnet-11/usr/src/lib/libc/port/gen/
H A Ddeflt.c222 int (*compare)(const char *, const char *, size_t);
231 compare = TSTBITS(thr_data->Dcflags, DC_CASE) ? strncmp : strncasecmp;
245 if ((*compare)(cp, buf_tmp, patlen) == 0) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Storable/t/
H A Djust_plain_nasty.t51 '<=>' => \&compare,
55 sub compare { return int(rand(3))-1 }; subroutine
/osnet-11/usr/src/lib/libast/common/hash/
H A Dhashlib.h46 Hash_compare_f compare; /* name comparision routine */ member in struct:__anon1135
H A Dhashdump.c144 if (root->local->compare) sfprintf(sfstderr, "compare=0x%08lx ", (unsigned long)root->local->compare);
/osnet-11/usr/src/lib/libc/sparcv9/gen/
H A Dmemcmp.s101 1: ldub [%o0 + %o1], %o5 ! byte compare loop
105 deccc %o2 ! delay slot, compare count (len)
110 retl ! strings compare equal
144 bz,pn %icc, .w4cmp ! if s2 word aligned, compare words
226 b .bytcmp ! compare remaining bytes, if any
H A Dstrcmp.s56 ! align s2, this also happens and then the compare begins. Otherwise,
57 ! a different compare for non-aligned strings is used.
80 bnz,pt %xcc, .aligns1 ! nope, compare another pair of bytes
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DTuple.java312 * @see Tuple#compare(Tuple t1, Tuple t2, int pos)
321 cmp = Tuple.compare(this, t, i);
345 compare(Tuple t1, Tuple t2, int pos) method in class:Tuple
/osnet-11/usr/src/lib/libfru/libfru/
H A DAncestor.cc193 if (element.compare(def->name) == 0) {
230 if (element.compare(def->name) == 0) {
/osnet-11/usr/src/lib/libsqlite/test/
H A Dtester.tcl109 } elseif {[string compare $result $expected]} {
146 } elseif {[string compare $result $expected]} {
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_open.c141 if (b.compare == NULL) {
142 b.compare = __bt_defcmp;
150 b.compare = __bt_defcmp;
170 t->bt_cmp = b.compare;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dsort.pm109 A stable sort means that for records that compare equal, the original
111 Stability will matter only if elements that compare equal can be
118 stability might matter because elements that compare equal on the
/osnet-11/usr/src/lib/libresolv2/common/dst/
H A Ddst_internal.h86 int (*compare)(const DST_KEY *key1, const DST_KEY *key2); member in struct:dst_func
/osnet-11/usr/src/lib/libfru/libgenutil/
H A DStr.cc141 Str::compare(const Str& rhs) const function in class:Str
/osnet-11/usr/src/lib/libipmi/common/
H A Dipmi_impl.h55 int (*ih_compare)(const void *, const void *); /* compare function */
163 int (*compare)(const void *, const void *));
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/
H A Ddb.h125 int (*compare) /* comparison function */ member in struct:__anon1013

Completed in 65 milliseconds

1234