Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstrcasecmp.c76 const unsigned char *us2 = (const unsigned char *)s2; local
78 while (charmap[*us1] == charmap[*us2])
83 ++us2;
85 return charmap[*us1] - charmap[*us2];
97 register const unsigned char *us2 = (const unsigned char *)s2; local
101 if (cm[*us1] != cm[*us2++])
102 return (cm[*us1] - cm[*--us2]);
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dstrcasestr.c51 const uchar_t *us2 = (const uchar_t *)s2; in strcasestr_l() local
55 if (us2 == NULL || *us2 == '\0') in strcasestr_l()
58 c = cm[*us2]; in strcasestr_l()
62 while (cm[c = *++us2] == cm[*us1++] && c != '\0') in strcasestr_l()
67 us2 = (const uchar_t *)s2; in strcasestr_l()
68 c = cm[*us2]; in strcasestr_l()
H A Dstrcasecmp.c49 const uchar_t *us2; in strcasecmp_l() local
61 us2 = (const uchar_t *)s2; in strcasecmp_l()
63 while (cm[*us1] == cm[*us2++]) in strcasecmp_l()
66 return (cm[*us1] - cm[*(us2 - 1)]); in strcasecmp_l()
H A Dstrncasecmp.c49 const uchar_t *us2; in strncasecmp_l() local
61 us2 = (const uchar_t *)s2; in strncasecmp_l()
63 while (n != 0 && cm[*us1] == cm[*us2++]) { in strncasecmp_l()
68 return (n == 0 ? 0 : cm[*us1] - cm[*(us2 - 1)]); in strncasecmp_l()
/illumos-gate/usr/src/boot/lib/libstand/
H A Dstrcasecmp.c40 const uchar_t *us2 = (const uchar_t *)s2; in strcasecmp() local
42 while (tolower(*us1) == tolower(*us2++)) in strcasecmp()
45 return (tolower(*us1) - tolower(*--us2)); in strcasecmp()
53 const uchar_t *us2 = (const uchar_t *)s2; in strncasecmp() local
56 if (tolower(*us1) != tolower(*us2++)) in strncasecmp()
57 return (tolower(*us1) - tolower(*--us2)); in strncasecmp()
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dstrcasecmp.c92 *us2 = (const u_char *)s2; in strcasecmp() local
94 while (cm[*us1] == cm[*us2++]) in strcasecmp()
97 return (cm[*us1] - cm[*--us2]); in strcasecmp()
105 *us2 = (const u_char *)s2; in strncasecmp() local
108 if (cm[*us1] != cm[*us2++]) in strncasecmp()
109 return (cm[*us1] - cm[*--us2]); 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/gen/
H A Dascii_strcasecmp.c51 const unsigned char *us2 = (const unsigned char *)s2; in ascii_strcasecmp() local
53 while (cm[*us1] == cm[*us2++]) in ascii_strcasecmp()
56 return (cm[*us1] - cm[*(us2 - 1)]); in ascii_strcasecmp()
H A Dascii_strncasecmp.c51 const unsigned char *us2 = (const unsigned char *)s2; in ascii_strncasecmp() local
53 while (n != 0 && cm[*us1] == cm[*us2++]) { 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()
222 usr = ~us2; in vis_fpu_simulator()
234 usr = (~us1 & us2); 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()
312 usr = (us1 | ~us2); in vis_fpu_simulator()
[all …]
/illumos-gate/usr/src/common/util/
H A Dstring.c469 const unsigned char *us2 = (const unsigned char *)s2; in strcasecmp() local
471 while (cm[*us1] == cm[*us2++]) in strcasecmp()
474 return (cm[*us1] - cm[*(us2 - 1)]); in strcasecmp()
482 const unsigned char *us2 = (const unsigned char *)s2; in strncasecmp() local
484 while (n != 0 && cm[*us1] == cm[*us2++]) { in strncasecmp()
489 return (n == 0 ? 0 : cm[*us1] - cm[*(us2 - 1)]); in strncasecmp()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dqueue.c3514 const unsigned char *us2 = (const unsigned char *) b; local
3516 while (ShuffledAlphabet[*us1] == ShuffledAlphabet[*us2++])
3521 return (ShuffledAlphabet[*us1] - ShuffledAlphabet[*--us2]);