Home
last modified time | relevance | path

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

12345678

/illumos-gate/usr/src/test/util-tests/tests/date/
H A Ddate_test.ksh37 compare() function
67 compare 0 "Thu Jan 1 00:00:00 UTC 1970" UTC
68 compare 0 "Wed Dec 31 16:00:00 PST 1969" US/Pacific
69 compare 0 "Thu Jan 1 09:00:00 JST 1970" Japan
70 compare 1234567890 "Fri Feb 13 23:31:30 UTC 2009" UTC
71 compare -1234567890 "Tue Nov 18 00:28:30 UTC 1930" UTC
72 compare 2147483647 "Tue Jan 19 03:14:07 UTC 2038" UTC
73 compare -2147483647 "Fri Dec 13 20:45:53 UTC 1901" UTC
74 compare 558028800 "Mon Sep 7 16:00:00 UTC 1987" UTC
75 compare 0x2142d800 "Mon Sep 7 16:00:00 UTC 1987" UTC
[all …]
/illumos-gate/usr/src/test/util-tests/tests/xargs/
H A Dxargs_test.ksh40 compare() { function
52 compare $t "$comp" "$good"
65 compare $t "$comp" "$good"
78 compare $t "$comp" "$good"
88 compare $t "$comp" "$good"
100 compare $t "$comp" "$good"
110 compare $t "$comp" "$good"
120 compare $t "$comp" "$good"
132 compare $t "$comp" "$good"
143 compare $t "$comp" "$good"
[all …]
/illumos-gate/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
145 5: ldub [%o0 + %o1], %o5 ! byte compare loop
157 sub %g0, %g0, %o0 ! strings compare equal
/illumos-gate/usr/src/cmd/look/
H A Dlook.c30 int compare(char *, char *);
97 switch(compare(key,word)) { in main()
117 switch(compare(key,word)) { in main()
132 switch(compare(key,word)) { in main()
144 compare(char *s, char *t) in compare() function
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_isoch.c296 uint32_t compare; in s1394_channel_alloc() local
344 compare = old_value; in s1394_channel_alloc()
349 offset, compare, swap, &old_value); in s1394_channel_alloc()
360 if (old_value == compare) { in s1394_channel_alloc()
451 uint32_t compare; in s1394_channel_free() local
499 compare = old_value; in s1394_channel_free()
504 offset, compare, swap, &old_value); in s1394_channel_free()
510 if (old_value == compare) { in s1394_channel_free()
596 uint32_t compare; in s1394_bandwidth_alloc() local
642 compare = old_value; in s1394_bandwidth_alloc()
[all …]
/illumos-gate/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
141 5: ldub [%o0 + %o1], %o5 ! byte compare loop
153 sub %g0, %g0, %o0 ! strings compare equal
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_ioport.c184 const ioport_entry_t *compare = &old_ents[i]; in vm_inout_attach() local
185 if (compare->iope_port == port) { in vm_inout_attach()
187 } else if (compare->iope_port < port) { in vm_inout_attach()
222 const ioport_entry_t *compare = &old_ents[i]; in vm_inout_detach() local
223 if (compare->iope_port != port) { in vm_inout_detach()
227 if ((compare->iope_flags & IOPF_FIXED) != 0) { in vm_inout_detach()
235 if (drv_hook && (compare->iope_flags & IOPF_DRV_HOOK) == 0) { in vm_inout_detach()
238 (compare->iope_flags & IOPF_DRV_HOOK) != 0) { in vm_inout_detach()
/illumos-gate/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
/illumos-gate/usr/src/tools/smatch/src/Documentation/
H A DIR.rst176 Floating-point compare ordered equal
179 Floating-point compare ordered not-equal
182 Floating-point compare ordered less-than-or-equal
185 Floating-point compare ordered greater-or-equal
188 Floating-point compare ordered less-than
191 Floating-point compare ordered greater-than
195 Floating-point compare unordered equal
198 Floating-point compare unordered not-equal
201 Floating-point compare unordered less-than-or-equal
204 Floating-point compare unordered greater-or-equal
[all …]
/illumos-gate/usr/src/boot/forth/
H A Dbeadm.4th101 name_buffer strget s" bootfs" compare 0= if 2 spaces then
102 name_buffer strget s" chain" compare 0= if 3 spaces then
124 2dup value_buffer strget compare
209 2dup s" chain" compare 0= if
279 s" list" compare-insensitive 0= if ( list )
288 s" activate" compare-insensitive 0= if ( activate )
298 over 2 s" fd" compare 0= >R
299 over 2 s" cd" compare 0= R> or >R
300 over 3 s" net" compare 0= R> or >R
301 over 4 s" disk" compare 0= R> or
[all …]
H A Dcolor.4th36 2dup s" NO" compare-insensitive 0= if
40 2dup s" 0" compare 0= if
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
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
284 compare = (Compare_f)strncasecmp; in b_uniq()
335 error_info.errors = uniq(fpin,fpout,fields,chars,width,mode,all,compare); in b_uniq()
/illumos-gate/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.
/illumos-gate/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
/illumos-gate/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()
/illumos-gate/usr/src/cmd/bart/
H A DMakefile28 SRCS= rules.c create.c compare.c main.c lutbl.c
29 OBJS= rules.o create.o compare.o main.o lutbl.o
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_s1394if.c77 uint_t offset, uint32_t compare, uint32_t swap, uint32_t *old);
932 uint32_t compare, uint32_t swap, uint32_t *old) in hci1394_s1394if_csr_cswap32() argument
988 OHCI_CSR_SEL_BUS_MGR_ID, compare, swap, old); in hci1394_s1394if_csr_cswap32()
993 OHCI_CSR_SEL_BANDWIDTH_AVAIL, compare, swap, old); in hci1394_s1394if_csr_cswap32()
998 OHCI_CSR_SEL_CHANS_AVAIL_HI, compare, swap, old); in hci1394_s1394if_csr_cswap32()
1003 OHCI_CSR_SEL_CHANS_AVAIL_LO, compare, swap, old); in hci1394_s1394if_csr_cswap32()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_open.c139 if (b.compare == NULL) {
140 b.compare = __bt_defcmp;
148 b.compare = __bt_defcmp;
168 t->bt_cmp = b.compare;
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dlist.c130 list_locate(void **list, int (*compare)(void *, void *), void *element) in list_locate()
136 if ((compare)(list[current], element) == 0) in list_locate()
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/
H A Dutil.c163 compare(const void *p, const void *q) in compare() function
174 sizeof (char *), compare); in sort_stringtable()
/illumos-gate/usr/src/uts/common/fs/
H A Dgfs.c798 gfs_dir_lookup_static(int (*compare)(const char *, const char *), in gfs_dir_lookup_static()
814 if (compare(ge->gfse_name, nm) == 0) { in gfs_dir_lookup_static()
897 int (*compare)(const char *, const char *); in gfs_dir_lookup() local
908 compare = strcasecmp; in gfs_dir_lookup()
910 compare = strcmp; in gfs_dir_lookup()
914 error = gfs_dir_lookup_static(compare, dp, nm, dvp, &idx, &vp, realpnp); in gfs_dir_lookup()
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drusers.c486 int (*compare)(const void *, const void *); in printnames() local
490 compare = (int (*)(const void *, const void *))icompare; in printnames()
492 compare = (int (*)(const void *, const void *))hcompare; in printnames()
494 compare = (int (*)(const void *, const void *))ucompare; in printnames()
495 qsort(entry, curentry, sizeof (struct entry), compare); in printnames()

12345678