Home
last modified time | relevance | path

Searched refs:us2 (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-13-stable/sys/libkern/
HDstrcasecmp.c44 const u_char *us1 = (const u_char *)s1, *us2 = (const u_char *)s2; in strcasecmp() local
46 while (tolower(*us1) == tolower(*us2)) { in strcasecmp()
49 us2++; in strcasecmp()
51 return (tolower(*us1) - tolower(*us2)); in strcasecmp()
60 const u_char *us2 = (const u_char *)s2; in strncasecmp() local
63 if (tolower(*us1) != tolower(*us2)) in strncasecmp()
64 return (tolower(*us1) - tolower(*us2)); in strncasecmp()
67 us2++; in strncasecmp()
/freebsd-13-stable/contrib/sendmail/libsm/
HDstrcasecmp.c74 const unsigned char *us2 = (const unsigned char *)s2; local
76 while (charmap[*us1] == charmap[*us2])
81 ++us2;
83 return charmap[*us1] - charmap[*us2];
95 register const unsigned char *us2 = (const unsigned char *)s2; local
99 if (cm[*us1] != cm[*us2++])
100 return (cm[*us1] - cm[*--us2]);
/freebsd-13-stable/contrib/tcpdump/
HDascii_strcasecmp.c63 *us2 = (const unsigned char *)s2; in ascii_strcasecmp() local
65 while (cm[*us1] == cm[*us2++]) in ascii_strcasecmp()
68 return(cm[*us1] - cm[*--us2]); in ascii_strcasecmp()
76 *us2 = (const unsigned char *)s2; in ascii_strncasecmp() local
88 if (cm[*us1] != cm[*us2++]) { in ascii_strncasecmp()
104 return(cm[*us1] - cm[*--us2]); in ascii_strncasecmp()
/freebsd-13-stable/stand/libsa/
HDstrcasecmp.c44 *us2 = (const u_char *)s2; in strcasecmp() local
46 while (tolower(*us1) == tolower(*us2++)) in strcasecmp()
49 return (tolower(*us1) - tolower(*--us2)); in strcasecmp()
58 *us2 = (const u_char *)s2; in strncasecmp() local
61 if (tolower(*us1) != tolower(*us2++)) in strncasecmp()
62 return (tolower(*us1) - tolower(*--us2)); in strncasecmp()
/freebsd-13-stable/contrib/tcp_wrappers/
HDstrcasecmp.c73 *us2 = (u_char *)s2; in strcasecmp() local
75 while (cm[*us1] == cm[*us2++]) in strcasecmp()
78 return(cm[*us1] - cm[*--us2]); in strcasecmp()
85 *us2 = (u_char *)s2; in strncasecmp() local
87 while (--n >= 0 && cm[*us1] == cm[*us2++]) in strncasecmp()
90 return(n < 0 ? 0 : cm[*us1] - cm[*--us2]); in strncasecmp()
/freebsd-13-stable/lib/libc/string/
HDstrcasecmp.c50 *us2 = (const u_char *)s2; in strcasecmp_l() local
53 while (tolower_l(*us1, locale) == tolower_l(*us2++, locale)) in strcasecmp_l()
56 return (tolower_l(*us1, locale) - tolower_l(*--us2, locale)); in strcasecmp_l()
71 *us2 = (const u_char *)s2; in strncasecmp_l() local
74 if (tolower_l(*us1, locale) != tolower_l(*us2++, locale)) in strncasecmp_l()
75 return (tolower_l(*us1, locale) - tolower_l(*--us2, locale)); in strncasecmp_l()
/freebsd-13-stable/lib/libc/tests/nss/
HDgetusershell_test.c77 compare_usershell(struct usershell *us1, struct usershell *us2, in compare_usershell() argument
83 assert(us2 != NULL); in compare_usershell()
86 dump_usershell(us2); in compare_usershell()
88 if (us1 == us2) in compare_usershell()
91 rv = strcmp(us1->path, us2->path); in compare_usershell()
95 dump_usershell(us2); in compare_usershell()
/freebsd-13-stable/tests/sys/geom/class/raid3/
HD12_test.sh13 us2=$(attach_md -t malloc -s $nblocks1) || exit 1
17 dd if=/dev/random of=/dev/${us2} count=$nblocks1 >/dev/null 2>&1
19 graid3 label -w $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
28 true > /dev/${us2}
HD7_test.sh15 us2=$(attach_md -t malloc -s $(expr $nblocks1 + 1)) || exit 1
19 graid3 label $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
28 dd if=/dev/zero of=/dev/${us2} bs=512 count=`expr $nblocks1 + 1` >/dev/null 2>&1
29 graid3 insert -n 2 $name md${us2}
HD9_test.sh15 us2=$(attach_md -t malloc -s $(expr $nblocks1 + 1)) || exit 1
19 graid3 label $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
26 dd if=/dev/zero of=/dev/${us2} bs=512 count=`expr $nblocks1 + 1` >/dev/null 2>&1
28 graid3 insert -n 2 $name md${us2}
HD1_test.sh9 us2=$(attach_md -t malloc -s 3M) || exit 1
11 graid3 label $name /dev/${us0} /dev/${us1} /dev/${us2} 2>/dev/null || exit 1
/freebsd-13-stable/tests/sys/geom/class/mirror/
HD6_test.sh18 us2=$(attach_md -t malloc -s `expr $nblocks1 + 1`) || exit 1
24 dd if=/dev/zero of=/dev/${us2} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
34 gmirror insert ${name} ${us2}
37 dd if=/dev/${us2} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
HD9_test.sh20 us2=$(attach_md -t vnode -f $m3) || exit 1
34 gmirror insert $name /dev/$us2 || exit 1
48 gmirror activate $name /dev/$us2 || exit 1
HD2_test.sh18 us2=$(attach_md -t malloc -s `expr $nblocks1 + 1`) || exit 1
20 gmirror label -b $balance $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
44 dd if=/dev/${us2} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
HD7_test.sh18 us2=$(attach_md -t malloc -s `expr $nblocks1 + 1`) || exit 1
20 gmirror label -b $balance $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
48 gmirror remove $name ${us2}
HD3_test.sh18 us2=$(attach_md -t malloc -s `expr $nblocks1 + 1`) || exit 1
20 gmirror label -b $balance $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
48 gmirror remove $name ${us2}
HD4_test.sh18 us2=$(attach_md -t malloc -s `expr $nblocks1 + 1`) || exit 1
20 gmirror label -b $balance $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
48 gmirror remove $name ${us2}
HD5_test.sh18 us2=$(attach_md -t malloc -s `expr $nblocks1 + 1`) || exit 1
20 gmirror label -b $balance -s `expr $ddbs / 2` $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
48 gmirror remove $name ${us2}
HD1_test.sh9 us2=$(attach_md -t malloc -s 3M) || exit 1
11 gmirror label $name /dev/$us0 /dev/$us1 /dev/$us2 || exit 1
/freebsd-13-stable/contrib/file/src/
HDstrcasestr.c51 *us2 = (const unsigned char *)s2; in _strncasecmp() local
54 if (tolower(*us1) != tolower(*us2++)) in _strncasecmp()
55 return tolower(*us1) - tolower(*--us2); in _strncasecmp()
/freebsd-13-stable/tests/sys/geom/class/shsec/
HD2_test.sh16 us2=$(attach_md -t malloc -s $nblocks2) || exit 1
18 gshsec label $name /dev/$us0 /dev/$us1 /dev/$us2 || exit 1
44 dd if=/dev/${us2} of=${dst} count=$nblocks1 >/dev/null 2>&1
HD1_test.sh9 us2=$(attach_md -t malloc -s 3M) || exit 1
11 gshsec label $name /dev/${us0} /dev/${us1} /dev/${us2} 2>/dev/null || exit 1
/freebsd-13-stable/tests/sys/geom/class/concat/
HD1_test.sh9 us2=$(attach_md -t malloc -s 3M) || exit 1
11 gconcat create $name /dev/$us0 /dev/$us1 /dev/$us2 || exit 1
/freebsd-13-stable/tests/sys/geom/class/stripe/
HD1_test.sh9 us2=$(attach_md -t malloc -s 3M) || exit 1
11 gstripe create -s 16384 $name /dev/$us0 /dev/$us1 /dev/$us2 || exit 1
HD2_test.sh15 us2=$(attach_md -t malloc -s 3M) || exit 1
17 gstripe create -s 8192 $name /dev/$us0 /dev/$us1 /dev/$us2 || exit 1

12