Home
last modified time | relevance | path

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

/dragonfly/sys/libkern/
H A Dstrcasecmp.c39 const u_char *us1 = (const u_char *)s1, *us2 = (const u_char *)s2; in strcasecmp() local
41 while (tolower(*us1) == tolower(*us2)) { in strcasecmp()
44 us2++; in strcasecmp()
46 return (tolower(*us1) - tolower(*us2)); in strcasecmp()
55 const u_char *us2 = (const u_char *)s2; in strncasecmp() local
58 if (tolower(*us1) != tolower(*us2)) in strncasecmp()
59 return (tolower(*us1) - tolower(*us2)); in strncasecmp()
62 us2++; in strncasecmp()
/dragonfly/test/sysperf/
H A Dmbwtest.c32 int us2; in main() local
65 us2 = bandwidth_test(buf, count1 / bytes1 + 20, bytes1, NULL); in main()
66 if (us2 > us1 + us1 / 5) in main()
70 count2 = count1 * us1 / us2; in main()
79 us2 = bandwidth_test(buf, count2 / bytes2 + 20, bytes2, NULL); in main()
80 if (us2 > us1 + us1 / 5) in main()
83 count3 = count2 * us1 / us2; in main()
92 us2 = bandwidth_test(buf, count3 / bytes3 + 20, bytes3, NULL); in main()
93 if (us2 > us1 + us1 / 5) in main()
96 count4 = count3 * us1 / us2; in main()
/dragonfly/contrib/tcpdump/
H A Dascii_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()
/dragonfly/stand/lib/
H A Dstrcasecmp.c40 *us2 = (const u_char *)s2; in strcasecmp() local
42 while (tolower(*us1) == tolower(*us2++)) in strcasecmp()
45 return (tolower(*us1) - tolower(*--us2)); in strcasecmp()
54 *us2 = (const u_char *)s2; in strncasecmp() local
57 if (tolower(*us1) != tolower(*us2++)) in strncasecmp()
58 return (tolower(*us1) - tolower(*--us2)); in strncasecmp()
/dragonfly/contrib/tcp_wrappers/
H A Dstrcasecmp.c74 *us2 = (u_char *)s2; local
76 while (cm[*us1] == cm[*us2++])
79 return(cm[*us1] - cm[*--us2]);
88 *us2 = (u_char *)s2; local
90 while (--n >= 0 && cm[*us1] == cm[*us2++])
93 return(n < 0 ? 0 : cm[*us1] - cm[*--us2]);
/dragonfly/lib/libc/string/
H A Dstrcasecmp.c47 *us2 = (const u_char *)s2; in strcasecmp_l() local
50 while (tolower_l(*us1, locale) == tolower_l(*us2++, locale)) in strcasecmp_l()
53 return (tolower_l(*us1, locale) - tolower_l(*--us2, locale)); in strcasecmp_l()
68 *us2 = (const u_char *)s2; in strncasecmp_l() local
71 if (tolower_l(*us1, locale) != tolower_l(*us2++, locale)) in strncasecmp_l()
72 return (tolower_l(*us1, locale) - tolower_l(*--us2, locale)); in strncasecmp_l()
/dragonfly/test/cpuperf/
H A Dcputest.c22 int us2; in main() local
41 us2 = get_timing(); in main()
42 stop_timing2(ttl, us2 - us1, "instruction overhead:"); in main()
/dragonfly/contrib/libpcap/
H A Dpcap.c3134 *us2 = (const u_char *)s2; local
3136 while (cm[*us1] == cm[*us2++])
3139 return (cm[*us1] - cm[*--us2]);