Home
last modified time | relevance | path

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

/dragonfly/test/sysperf/
H A Dmbwtest.c31 int us1; in main() local
51 loops = 1000000LL * 1000 / 4 / us1; /* loops for 1/4 sec */ in main()
62 us1 = bandwidth_test(buf, count1 / 4096 + 20, 4096, NULL); in main()
66 if (us2 > us1 + us1 / 5) in main()
70 count2 = count1 * us1 / us2; in main()
76 us1 = 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()
89 us1 = bandwidth_test(buf, count3 / bytes3 + 20, bytes3, NULL); in main()
93 if (us2 > us1 + us1 / 5) in main()
[all …]
/dragonfly/contrib/tcpdump/
H A Dascii_strcasecmp.c62 *us1 = (const unsigned char *)s1, in ascii_strcasecmp() local
65 while (cm[*us1] == cm[*us2++]) in ascii_strcasecmp()
66 if (*us1++ == '\0') in ascii_strcasecmp()
68 return(cm[*us1] - cm[*--us2]); in ascii_strcasecmp()
75 *us1 = (const unsigned char *)s1, in ascii_strncasecmp() local
88 if (cm[*us1] != cm[*us2++]) { in ascii_strncasecmp()
94 if (*us1++ == '\0') { in ascii_strncasecmp()
104 return(cm[*us1] - cm[*--us2]); in ascii_strncasecmp()
/dragonfly/stand/lib/
H A Dstrcasecmp.c39 *us1 = (const u_char *)s1, in strcasecmp() local
42 while (tolower(*us1) == tolower(*us2++)) in strcasecmp()
43 if (*us1++ == '\0') in strcasecmp()
45 return (tolower(*us1) - tolower(*--us2)); in strcasecmp()
53 *us1 = (const u_char *)s1, in strncasecmp() local
57 if (tolower(*us1) != tolower(*us2++)) in strncasecmp()
58 return (tolower(*us1) - tolower(*--us2)); in strncasecmp()
59 if (*us1++ == '\0') in strncasecmp()
/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()
42 if (*us1++ == '\0') in strcasecmp()
46 return (tolower(*us1) - tolower(*us2)); in strcasecmp()
54 const u_char *us1 = (const u_char *)s1; in strncasecmp() local
58 if (tolower(*us1) != tolower(*us2)) in strncasecmp()
59 return (tolower(*us1) - tolower(*us2)); in strncasecmp()
60 if (*us1++ == '\0') in strncasecmp()
/dragonfly/contrib/tcp_wrappers/
H A Dstrcasecmp.c73 *us1 = (u_char *)s1, local
76 while (cm[*us1] == cm[*us2++])
77 if (*us1++ == '\0')
79 return(cm[*us1] - cm[*--us2]);
87 *us1 = (u_char *)s1, local
90 while (--n >= 0 && cm[*us1] == cm[*us2++])
91 if (*us1++ == '\0')
93 return(n < 0 ? 0 : cm[*us1] - cm[*--us2]);
/dragonfly/lib/libc/string/
H A Dstrcasecmp.c46 *us1 = (const u_char *)s1, in strcasecmp_l() local
50 while (tolower_l(*us1, locale) == tolower_l(*us2++, locale)) in strcasecmp_l()
51 if (*us1++ == '\0') in strcasecmp_l()
53 return (tolower_l(*us1, locale) - tolower_l(*--us2, locale)); in strcasecmp_l()
67 *us1 = (const u_char *)s1, 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()
73 if (*us1++ == '\0') in strncasecmp_l()
/dragonfly/test/cpuperf/
H A Dcputest.c21 int us1; in main() local
36 us1 = get_timing(); in main()
42 stop_timing2(ttl, us2 - us1, "instruction overhead:"); in main()
/dragonfly/contrib/libpcap/
H A Dpcap.c3133 *us1 = (const u_char *)s1, local
3136 while (cm[*us1] == cm[*us2++])
3137 if (*us1++ == '\0')
3139 return (cm[*us1] - cm[*--us2]);