Searched refs:s2 (Results 1 - 25 of 121) sorted by relevance

12345

/barrelfish-2018-10-04/lib/libc/locale/
H A Dcollcmp.c45 char s1[2], s2[2]; local
49 s2[0] = c2;
50 s2[1] = '\0';
51 return (strcoll(s1, s2));
56 wchar_t s1[2], s2[2]; local
60 s2[0] = c2;
61 s2[1] = L'\0';
62 return (wcscoll(s1, s2));
/barrelfish-2018-10-04/lib/libc/string/
H A Dstrcmp.c45 strcmp(const char *s1, const char *s2) argument
47 while (*s1 == *s2++)
50 return (*(const unsigned char *)s1 - *(const unsigned char *)(s2 - 1));
H A Dwcscmp.c48 wcscmp(const wchar_t *s1, const wchar_t *s2) argument
51 while (*s1 == *s2++)
55 return (*(const unsigned int *)s1 - *(const unsigned int *)--s2);
H A Dwcscasecmp.c34 wcscasecmp(const wchar_t *s1, const wchar_t *s2) argument
38 for (; *s1; s1++, s2++) {
40 c2 = towlower(*s2);
44 return (-*s2);
H A Dwmemcmp.c40 wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n) argument
45 if (*s1 != *s2) {
47 return *s1 > *s2 ? 1 : -1;
50 s2++;
H A Dwcsncasecmp.c34 wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n) argument
40 for (; *s1; s1++, s2++) {
42 c2 = towlower(*s2);
48 return (-*s2);
H A Dstrncmp.c39 strncmp(const char *s1, const char *s2, size_t n) argument
45 if (*s1 != *s2++)
47 *(const unsigned char *)(s2 - 1));
H A Dwcsncmp.c42 wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n) argument
48 if (*s1 != *s2++) {
51 *(const unsigned int *)--s2);
H A Dmemcmp.c45 memcmp(const void *s1, const void *s2, size_t n) argument
48 const unsigned char *p1 = s1, *p2 = s2;
H A Dstrcasecmp.c46 strcasecmp_l(const char *s1, const char *s2, locale_t locale) argument
50 *us2 = (const u_char *)s2;
59 strcasecmp(const char *s1, const char *s2) argument
61 return strcasecmp_l(s1, s2, __get_locale());
65 strncasecmp_l(const char *s1, const char *s2, size_t n, locale_t locale) argument
71 *us2 = (const u_char *)s2;
84 strncasecmp(const char *s1, const char *s2, size_t n) argument
86 return strncasecmp_l(s1, s2, n, __get_locale());
H A Dstrpbrk.c39 * Find the first occurrence in s1 of a character in s2 (excluding NUL).
42 strpbrk(const char *s1, const char *s2) argument
48 for (scanp = s2; (sc = *scanp++) != '\0';)
H A Dwcscat.c40 wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2) argument
47 while ((*cp++ = *s2++) != L'\0')
H A Dwcscpy.c40 wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) argument
45 while ((*cp++ = *s2++) != L'\0')
H A Dwcsncat.c40 wcsncat(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n) argument
50 r = s2;
H A Dstrcoll.c51 strcoll_l(const char *s, const char *s2, locale_t locale) argument
68 * - having strcoll/strcoll_l change *s or *s2 to null
71 cs2 = s2;
81 sz2 = strlen(s2) + 1;
110 return (strcmp(s, s2));
114 strcoll(const char *s, const char *s2) argument
116 return strcoll_l(s, s2, __get_locale());
/barrelfish-2018-10-04/lib/openssl-1.0.0d/ssl/
H A Ds2_lib.c316 return SSL_in_init(s) ? 0 : s->s2->ract_data_length;
321 SSL2_STATE *s2; local
323 if ((s2=OPENSSL_malloc(sizeof *s2)) == NULL) goto err;
324 memset(s2,0,sizeof *s2);
330 if ((s2->rbuf=OPENSSL_malloc(
334 if ((s2->wbuf=OPENSSL_malloc(
336 s->s2=s2;
352 SSL2_STATE *s2; local
367 SSL2_STATE *s2; local
[all...]
H A Ds2_pkt.c151 if (s->s2->ract_data_length != 0) /* read from buffer */
153 if (len > s->s2->ract_data_length)
154 n=s->s2->ract_data_length;
158 memcpy(buf,s->s2->ract_data,(unsigned int)n);
161 s->s2->ract_data_length-=n;
162 s->s2->ract_data+=n;
163 if (s->s2->ract_data_length == 0)
170 /* s->s2->ract_data_length == 0
201 /*s->s2->padding=0;*/
202 s->s2
[all...]
H A Ds2_enc.c99 s->s2->key_material_length=num*2;
100 OPENSSL_assert(s->s2->key_material_length <= sizeof s->s2->key_material);
106 EVP_EncryptInit_ex(ws,c,NULL,&(s->s2->key_material[(client)?num:0]),
108 EVP_DecryptInit_ex(rs,c,NULL,&(s->s2->key_material[(client)?0:num]),
110 s->s2->read_key= &(s->s2->key_material[(client)?0:num]);
111 s->s2->write_key= &(s->s2->key_material[(client)?num:0]);
118 /* read/writes from s->s2
[all...]
/barrelfish-2018-10-04/lib/libc/tests/string/
H A Dstrxfrm_test.c40 const char s2[] = { 0xa1, 0 }; local
43 strxfrm(s1, s2, 0x8);
/barrelfish-2018-10-04/lib/acpica/tests/aslts/bin/bugstate/
H A Dparsebuglist40 # echo "=====================$s0:$s1:$s2:$s3:$s4:$s5:$line"
50 Result="$s2"
64 Component="$s2"
66 Component="$s2 $s3"
85 read s0 s1 s2 s3 s4 s5 line
94 if [ "$s1" == bugs -a "$s2" == "found." ]; then
/barrelfish-2018-10-04/lib/openssl-1.0.0d/engines/ccgost/
H A Dgost_keywrap.c25 u4 k,s1,s2; local
33 s1=0,s2=0;
44 s2+=k;
51 S[4]=(unsigned char)(s2&0xff);
52 S[5]=(unsigned char)((s2>>8)&0xff);
53 S[6]=(unsigned char)((s2>>16)&0xff);
54 S[7]=(unsigned char)((s2>>24)&0xff);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/camellia/
H A Dcamellia.c352 * adjusting n accordingly, e.g. RotLeft128(s1,s2,s3,s0,n-32).
364 register u32 s0,s1,s2,s3; local
368 k[2] = s2 = GETU32(rawKey+8);
377 k[10] = s2 = ~s0;
382 k[10] = s2 = GETU32(rawKey+24);
385 s0 ^= k[0], s1 ^= k[1], s2 ^= k[2], s3 ^= k[3];
389 Camellia_Feistel(s0,s1,s2,s3,SIGMA+0);
390 Camellia_Feistel(s2,s3,s0,s1,SIGMA+2);
392 s0 ^= k[0], s1 ^= k[1], s2 ^= k[2], s3 ^= k[3];
393 Camellia_Feistel(s0,s1,s2,s
489 register u32 s0,s1,s2,s3; local
538 u32 s0,s1,s2,s3; local
[all...]
/barrelfish-2018-10-04/include/dist/
H A Dbarrier.h22 errval_t nsb_wait_s(char *s1, char *s2);
27 errval_t nsb_register_s(char *s1, char *s2);
/barrelfish-2018-10-04/lib/msun/src/
H A Ds_atanf.c51 float w,s1,s2,z; local
86 s2 = w*(aT[1]+w*aT[3]);
87 if (id<0) return x - x*(s1+s2);
89 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/bf/
H A Dbfs.cpp40 unsigned long s1,s2,e1,e2; local
54 GetTSC(s2);
64 e1-s1,e2-s2,((e2-s2)-(e1-s1)));

Completed in 192 milliseconds

12345