Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstrcasecmp.c75 const unsigned char *us1 = (const unsigned char *)s1; local
78 while (charmap[*us1] == charmap[*us2])
80 if (*us1 == '\0')
82 ++us1;
85 return charmap[*us1] - charmap[*us2];
96 register const unsigned char *us1 = (const unsigned char *)s1; local
101 if (cm[*us1] != cm[*us2++])
102 return (cm[*us1] - cm[*--us2]);
103 if (*us1++ == '\0')
/illumos-gate/usr/src/boot/lib/libstand/
H A Dstrcasecmp.c39 const uchar_t *us1 = (const uchar_t *)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()
52 const uchar_t *us1 = (const uchar_t *)s1; in strncasecmp() local
56 if (tolower(*us1) != tolower(*us2++)) in strncasecmp()
57 return (tolower(*us1) - tolower(*--us2)); in strncasecmp()
58 if (*us1++ == '\0') in strncasecmp()
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dstrcasecmp.c91 *us1 = (const u_char *)s1, in strcasecmp() local
94 while (cm[*us1] == cm[*us2++]) in strcasecmp()
95 if (*us1++ == '\0') in strcasecmp()
97 return (cm[*us1] - cm[*--us2]); in strcasecmp()
104 *us1 = (const u_char *)s1, in strncasecmp() local
108 if (cm[*us1] != cm[*us2++]) in strncasecmp()
109 return (cm[*us1] - cm[*--us2]); in strncasecmp()
110 if (*us1++ == '\0') in strncasecmp()
/illumos-gate/usr/src/uts/sparc/fpu/
H A Dfpu_simulator.c206 _fp_mul(pfpsd, &us1, &us2, &ust); in _fp_fpu_simulator()
218 _fp_mul(pfpsd, &us1, &us2, &ust); in _fp_fpu_simulator()
230 _fp_mul(pfpsd, &us1, &us2, &ust); in _fp_fpu_simulator()
245 _fp_mul(pfpsd, &us1, &us2, &ust); in _fp_fpu_simulator()
350 _fp_add(pfpsd, &us1, &us2, &ud); in _fp_fpu_simulator()
358 _fp_sub(pfpsd, &us1, &us2, &ud); in _fp_fpu_simulator()
366 _fp_mul(pfpsd, &us1, &us2, &ud); in _fp_fpu_simulator()
376 _fp_mul(pfpsd, &us1, &us2, &ud); in _fp_fpu_simulator()
386 _fp_mul(pfpsd, &us1, &us2, &ud); in _fp_fpu_simulator()
394 _fp_div(pfpsd, &us1, &us2, &ud); in _fp_fpu_simulator()
[all …]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dstrcasestr.c50 const uchar_t *us1 = (const uchar_t *)s1; in strcasestr_l() local
56 return ((char *)us1); in strcasestr_l()
59 while (*us1 != '\0') { in strcasestr_l()
60 if (c == cm[*us1++]) { in strcasestr_l()
61 tptr = us1; in strcasestr_l()
62 while (cm[c = *++us2] == cm[*us1++] && c != '\0') in strcasestr_l()
66 us1 = tptr; in strcasestr_l()
H A Dstrcasecmp.c48 const uchar_t *us1; in strcasecmp_l() local
60 us1 = (const uchar_t *)s1; in strcasecmp_l()
63 while (cm[*us1] == cm[*us2++]) in strcasecmp_l()
64 if (*us1++ == '\0') in strcasecmp_l()
66 return (cm[*us1] - cm[*(us2 - 1)]); in strcasecmp_l()
H A Dstrncasecmp.c48 const uchar_t *us1; in strncasecmp_l() local
60 us1 = (const uchar_t *)s1; in strncasecmp_l()
63 while (n != 0 && cm[*us1] == cm[*us2++]) { in strncasecmp_l()
64 if (*us1++ == '\0') in strncasecmp_l()
68 return (n == 0 ? 0 : cm[*us1] - cm[*(us2 - 1)]); in strncasecmp_l()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dascii_strcasecmp.c50 const unsigned char *us1 = (const unsigned char *)s1; in ascii_strcasecmp() local
53 while (cm[*us1] == cm[*us2++]) in ascii_strcasecmp()
54 if (*us1++ == '\0') in ascii_strcasecmp()
56 return (cm[*us1] - cm[*(us2 - 1)]); in ascii_strcasecmp()
H A Dascii_strncasecmp.c50 const unsigned char *us1 = (const unsigned char *)s1; in ascii_strncasecmp() local
53 while (n != 0 && cm[*us1] == cm[*us2++]) { in ascii_strncasecmp()
54 if (*us1++ == '\0') in ascii_strncasecmp()
58 return (n == 0 ? 0 : cm[*us1] - cm[*(us2 - 1)]); in ascii_strncasecmp()
/illumos-gate/usr/src/uts/sun4/os/
H A Dvisinstr.c87 uint_t us1, us2, usr; in vis_fpu_simulator() local
200 usr = ~(us1 | us2); in vis_fpu_simulator()
212 usr = (us1 & ~us2); in vis_fpu_simulator()
234 usr = (~us1 & us2); in vis_fpu_simulator()
244 usr = ~us1; in vis_fpu_simulator()
256 usr = (us1 ^ us2); in vis_fpu_simulator()
268 usr = ~(us1 & us2); in vis_fpu_simulator()
280 usr = (us1 & us2); in vis_fpu_simulator()
292 usr = ~(us1 ^ us2); in vis_fpu_simulator()
344 usr = (us1 | us2); in vis_fpu_simulator()
[all …]
/illumos-gate/usr/src/common/util/
H A Dstring.c468 const unsigned char *us1 = (const unsigned char *)s1; in strcasecmp() local
471 while (cm[*us1] == cm[*us2++]) in strcasecmp()
472 if (*us1++ == '\0') in strcasecmp()
474 return (cm[*us1] - cm[*(us2 - 1)]); in strcasecmp()
481 const unsigned char *us1 = (const unsigned char *)s1; in strncasecmp() local
484 while (n != 0 && cm[*us1] == cm[*us2++]) { in strncasecmp()
485 if (*us1++ == '\0') in strncasecmp()
489 return (n == 0 ? 0 : cm[*us1] - cm[*(us2 - 1)]); in strncasecmp()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dqueue.c3513 const unsigned char *us1 = (const unsigned char *) a; local
3516 while (ShuffledAlphabet[*us1] == ShuffledAlphabet[*us2++])
3518 if (*us1++ == '\0')
3521 return (ShuffledAlphabet[*us1] - ShuffledAlphabet[*--us2]);