Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 195) sorted by relevance

12345678

/titanic_51/usr/src/test/util-tests/tests/xargs/
H A Dxargs_test.ksh39 compare() { function
41 test_fail $1 "compare mismatch, got [$2] expected [$3]"
51 compare $t "$comp" "$good"
64 compare $t "$comp" "$good"
77 compare $t "$comp" "$good"
87 compare $t "$comp" "$good"
99 compare $t "$comp" "$good"
109 compare $t "$comp" "$good"
119 compare $t "$comp" "$good"
131 compare
[all...]
/titanic_51/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DBSTItem.java59 public int compare(BSTItem otherItem, boolean exact) { in compare() method in BSTItem
61 return compare(otherItem.key, exact); in compare()
65 public int compare(BSTItem otherItem) { in compare() method in BSTItem
66 return compare(otherItem, true); in compare()
69 public int compare(String otherKey) { in compare() method in BSTItem
70 return compare(otherKey, true); in compare()
74 public int compare(String otherKey, boolean exact) { in compare() method in BSTItem
H A DBST.java70 int comp = data.compare(theItem); in insert()
108 int comp = data.compare(newKey, exactMatch); in find_tree()
131 int comp = data.compare(newKey, exactMatch); in find()
169 if (data.compare(key, false) < 0) in traverse_find()
187 c = data.compare(key, false); in traverse_find_vector()
190 * Debug.info("HELP: traverse_find_vector: compare " + in traverse_find_vector()
/titanic_51/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
/titanic_51/usr/src/cmd/look/
H A Dlook.c32 int compare(char *, char *);
99 switch(compare(key,word)) { in main()
119 switch(compare(key,word)) { in main()
134 switch(compare(key,word)) { in main()
146 compare(char *s, char *t) in compare() function
/titanic_51/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...]
/titanic_51/usr/src/common/ficl/softcore/
H A Difbrack.fr8 2dup s" [if]" compare-insensitive 0=
12 2dup s" [else]" compare-insensitive 0=
16 2dup s" [then]" compare-insensitive 0= >r
17 2dup s" [endif]" compare-insensitive 0= r>
H A Dficllocal.fr12 : ?-- s" --" compare 0= ;
13 : ?}} s" }}" compare 0= ;
H A Dwordsets.fr16 \ compare is implemented in ficl core.
28 c-addr2 u2 compare
/titanic_51/usr/src/uts/common/io/1394/
H A Ds1394_isoch.c318 uint32_t compare; in s1394_channel_alloc() local
359 /* Send compare-swap to CHANNELS_AVAILABLE */ in s1394_channel_alloc()
376 compare = old_value; in s1394_channel_alloc()
381 offset, compare, swap, &old_value); in s1394_channel_alloc()
402 if (old_value == compare) { in s1394_channel_alloc()
524 uint32_t compare; in s1394_channel_free() local
565 /* Send compare-swap to CHANNELS_AVAILABLE */ in s1394_channel_free()
582 compare = old_value; in s1394_channel_free()
587 offset, compare, swap, &old_value); in s1394_channel_free()
598 if (old_value == compare) { in s1394_channel_free()
708 uint32_t compare; s1394_bandwidth_alloc() local
930 uint32_t compare; s1394_bandwidth_free() local
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libcmd/
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) in uniq() argument
149 if(reclen==oreclen && (!reclen || !(*compare)(cp,orecp,reclen))) in uniq()
254 Compare_f compare = (Compare_f)memcmp; in b_uniq() local
284 compare = (Compare_f)strncasecmp; in b_uniq()
335 error_info.errors = uniq(fpin,fpout,fields,chars,width,mode,all,compare); in b_uniq()
/titanic_51/usr/src/lib/libcmd/common/
H A Duniq.c85 …io_t *fdin, Sfio_t *fdout, int fields, int chars, int width, int mode, int* all, Compare_f compare) in uniq() argument
149 if(reclen==oreclen && (!reclen || !(*compare)(cp,orecp,reclen))) in uniq()
254 Compare_f compare = (Compare_f)memcmp; in b_uniq() local
282 compare = (Compare_f)strncasecmp; in b_uniq()
331 error_info.errors = uniq(fpin,fpout,fields,chars,width,mode,all,compare); in b_uniq()
/titanic_51/usr/src/lib/libc/sparc/gen/
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
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
/titanic_51/usr/src/boot/sys/boot/forth/
H A Dbeadm.4th99 name_buffer strget s" bootfs" compare 0= if 2 spaces then
100 name_buffer strget s" chain" compare 0= if 3 spaces then
122 2dup value_buffer strget compare
207 2dup s" chain" compare 0= if
275 s" list" compare-insensitive 0= if ( list )
284 s" activate" compare-insensitive 0= if ( activate )
328 4 s" zfs:" compare 0= if
340 s" title" name_buffer strget compare
347 value_buffer strget currdev compare 0= if
427 name_buffer strget s" chain" compare
[all...]
H A Dcolor.4th36 2dup s" NO" compare-insensitive 0= if
40 2dup s" 0" compare 0= if
/titanic_51/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
/titanic_51/usr/src/lib/libc/port/gen/
H A Ddeflt.c223 int (*compare)(const char *, const char *, size_t); in defread_r() local
231 compare = TSTBITS(thr_data->Dcflags, DC_CASE) ? strncmp : strncasecmp; in defread_r()
245 if ((*compare)(cp, buf_tmp, patlen) == 0) { in defread_r()
/titanic_51/usr/src/cmd/bart/
H A DMakefile27 SRCS= rules.c create.c compare.c main.c lutbl.c
28 OBJS= rules.o create.o compare.o main.o lutbl.o
/titanic_51/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;
/titanic_51/usr/src/lib/print/libpapi-common/common/
H A Dlist.c132 list_locate(void **list, int (*compare)(void *, void *), void *element) in list_locate()
138 if ((compare)(list[current], element) == 0) in list_locate()
/titanic_51/usr/src/cmd/abi/spectrans/spec2map/
H A Dutil.c164 compare(const void *p, const void *q) in compare() function
175 sizeof (char *), compare); in sort_stringtable()
/titanic_51/usr/src/lib/libsqlite/test/
H A Dtester.tcl109 } elseif {[string compare $result $expected]} {
146 } elseif {[string compare $result $expected]} {
/titanic_51/usr/src/uts/common/fs/
H A Dgfs.c797 gfs_dir_lookup_static(int (*compare)(const char *, const char *), in gfs_dir_lookup_static()
813 if (compare(ge->gfse_name, nm) == 0) { in gfs_dir_lookup_static()
896 int (*compare)(const char *, const char *); in gfs_dir_lookup() local
907 compare = strcasecmp; in gfs_dir_lookup()
909 compare = strcmp; in gfs_dir_lookup()
913 error = gfs_dir_lookup_static(compare, dp, nm, dvp, &idx, &vp, realpnp); in gfs_dir_lookup()
/titanic_51/usr/src/test/util-tests/tests/printf/
H A Dprintf_test.ksh39 compare() { function
41 test_fail $1 "compare mismatch, got [$2] expected [$3]"
209 compare $t "$comp" "$good"

12345678