Home
last modified time | relevance | path

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

/titanic_41/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')
/titanic_41/usr/src/lib/libresolv2/common/bsd/
H A Dstrcasecmp.c96 *us1 = (const u_char *)s1, in strcasecmp() local
99 while (cm[*us1] == cm[*us2++]) in strcasecmp()
100 if (*us1++ == '\0') in strcasecmp()
102 return (cm[*us1] - cm[*--us2]); in strcasecmp()
109 *us1 = (const u_char *)s1, in strncasecmp() local
113 if (cm[*us1] != cm[*us2++]) in strncasecmp()
114 return (cm[*us1] - cm[*--us2]); in strncasecmp()
115 if (*us1++ == '\0') in strncasecmp()
/titanic_41/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()
/titanic_41/usr/src/uts/sparc/fpu/
H A Dfpu_simulator.c173 unpacked us1, us2, ud; /* Unpacked operands and result. */ in _fp_fpu_simulator() local
203 _fp_unpack(pfpsd, &us1, nrs1, fma_inst->sz); in _fp_fpu_simulator()
205 _fp_mul(pfpsd, &us1, &us2, &ust); in _fp_fpu_simulator()
215 _fp_unpack(pfpsd, &us1, nrs1, fma_inst->sz); in _fp_fpu_simulator()
217 _fp_mul(pfpsd, &us1, &us2, &ust); in _fp_fpu_simulator()
227 _fp_unpack(pfpsd, &us1, nrs1, fma_inst->sz); in _fp_fpu_simulator()
229 _fp_mul(pfpsd, &us1, &us2, &ust); in _fp_fpu_simulator()
242 _fp_unpack(pfpsd, &us1, nrs1, fma_inst->sz); in _fp_fpu_simulator()
244 _fp_mul(pfpsd, &us1, &us2, &ust); in _fp_fpu_simulator()
347 _fp_unpack(pfpsd, &us1, nrs1, inst.prec); in _fp_fpu_simulator()
[all …]
/titanic_41/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()
/titanic_41/usr/src/uts/sun4/os/
H A Dvisinstr.c87 uint_t us1, us2, usr; in vis_fpu_simulator() local
198 _fp_unpack_word(pfpsd, &us1, nrs1); in vis_fpu_simulator()
200 usr = ~(us1 | us2); in vis_fpu_simulator()
210 _fp_unpack_word(pfpsd, &us1, nrs1); in vis_fpu_simulator()
212 usr = (us1 & ~us2); in vis_fpu_simulator()
232 _fp_unpack_word(pfpsd, &us1, nrs1); in vis_fpu_simulator()
234 usr = (~us1 & us2); in vis_fpu_simulator()
243 _fp_unpack_word(pfpsd, &us1, nrs1); in vis_fpu_simulator()
244 usr = ~us1; in vis_fpu_simulator()
254 _fp_unpack_word(pfpsd, &us1, nrs1); in vis_fpu_simulator()
[all …]
/titanic_41/usr/src/common/util/
H A Dstring.c438 const unsigned char *us1 = (const unsigned char *)s1; in strcasecmp() local
441 while (cm[*us1] == cm[*us2++]) in strcasecmp()
442 if (*us1++ == '\0') in strcasecmp()
444 return (cm[*us1] - cm[*(us2 - 1)]); in strcasecmp()
451 const unsigned char *us1 = (const unsigned char *)s1; in strncasecmp() local
454 while (n != 0 && cm[*us1] == cm[*us2++]) { in strncasecmp()
455 if (*us1++ == '\0') in strncasecmp()
459 return (n == 0 ? 0 : cm[*us1] - cm[*(us2 - 1)]); in strncasecmp()
/titanic_41/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]);