Searched refs:s2 (Results 26 - 50 of 843) sorted by relevance

1234567891011>>

/macosx-10.10.1/Libc-1044.1.2/locale/FreeBSD/
H A Dcollcmp.c41 static wchar_t s1[2], s2[2]; local
44 s2[0] = c2;
45 return (wcscoll_l(s1, s2, loc));
/macosx-10.10.1/Libc-1044.1.2/string/FreeBSD/
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 Dstrcasecmp.c44 strcasecmp_l(s1, s2, loc)
45 const char *s1, *s2;
50 *us2 = (const u_char *)s2;
60 strcasecmp(const char *s1, const char *s2) argument
62 return strcasecmp_l(s1, s2, __current_locale());
66 strncasecmp_l(s1, s2, n, loc)
67 const char *s1, *s2;
75 *us2 = (const u_char *)s2;
88 strncasecmp(const char *s1, const char *s2, size_t n) argument
90 return strncasecmp_l(s1, s2,
[all...]
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')
/macosx-10.10.1/ruby-106/ruby/test/ruby/
H A Dtest_m17n_comb.rb117 def assert_str_enc_propagation(t, s1, s2)
120 elsif !s2.ascii_only?
121 assert_equal(s2.encoding, t.encoding)
123 assert([s1.encoding, s2.encoding].include?(t.encoding))
155 combination(STRINGS, STRINGS) {|s1, s2|
156 if !s2.valid_encoding?
159 yield s1, Regexp.new(Regexp.escape(s2))
161 combination(STRINGS, STRINGS, 0..2) {|s1, s2, nth|
162 if !s2.valid_encoding?
165 yield s1, Regexp.new(Regexp.escape(s2)), nt
[all...]
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/sh/
H A Dstrindex.c30 /* Determine if s2 occurs in s1. If so, return a pointer to the
34 strindex (s1, s2)
36 const char *s2;
40 c = TOLOWER ((unsigned char)s2[0]);
42 l = strlen (s2);
44 if ((TOLOWER ((unsigned char)s1[i]) == c) && (strncasecmp (s1 + i, s2, l) == 0))
/macosx-10.10.1/OpenSSL098-52/src/ssl/
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_lib.c225 return SSL_in_init(s) ? 0 : s->s2->ract_data_length;
230 SSL2_STATE *s2; local
232 if ((s2=OPENSSL_malloc(sizeof *s2)) == NULL) goto err;
233 memset(s2,0,sizeof *s2);
239 if ((s2->rbuf=OPENSSL_malloc(
243 if ((s2->wbuf=OPENSSL_malloc(
245 s->s2=s2;
261 SSL2_STATE *s2; local
276 SSL2_STATE *s2; local
[all...]
H A Ds2_enc.c100 s->s2->key_material_length=num*2;
101 OPENSSL_assert(s->s2->key_material_length <= sizeof s->s2->key_material);
107 EVP_EncryptInit_ex(ws,c,NULL,&(s->s2->key_material[(client)?num:0]),
109 EVP_DecryptInit_ex(rs,c,NULL,&(s->s2->key_material[(client)?0:num]),
111 s->s2->read_key= &(s->s2->key_material[(client)?0:num]);
112 s->s2->write_key= &(s->s2->key_material[(client)?num:0]);
119 /* read/writes from s->s2
[all...]
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/comp/
H A Dstrstr.c49 strstr(register const char* s1, register const char* s2)
56 if (s2)
58 if (!*s2)
60 c2 = *s2++;
65 t2 = s2;
/macosx-10.10.1/ruby-106/ruby/test/openssl/
H A Dtest_pair.rb64 s1, s2 = ssl_pair
65 Thread.new { s2 << content; s2.close }
75 s1, s2 = ssl_pair
77 yield s2
85 ssl_pair {|s1, s2|
87 assert_equal(?a, s2.getc)
92 ssl_pair {|s1, s2|
93 s2.write "a\nbcd"
96 s2
[all...]
/macosx-10.10.1/shell_cmds-179/xargs/
H A Dstrnsubst.c34 char *s1, *s2, *this; local
39 s2 = calloc(maxsize, 1);
40 if (s2 == NULL)
47 strlcpy(s2, s1, maxsize);
55 if ((strlen(s2) + strlen(s1) + strlen(replstr) -
57 strlcat(s2, s1, maxsize);
60 strncat(s2, s1, (uintptr_t)this - (uintptr_t)s1);
61 strcat(s2, replstr);
64 strcat(s2, s1);
66 *str = s2;
[all...]
/macosx-10.10.1/libiconv-42/libiconv/lib/
H A Dsjis.h26 Conversion between SJIS codes (s1,s2) and JISX0208 codes (c1,c2):
27 Example. (s1,s2) = 0x8140, (c1,c2) = 0x2121.
29 0x40 <= s2 <= 0x7E || 0x80 <= s2 <= 0xFC,
32 94*2*(s1 < 0xE0 ? s1-0x81 : s1-0xC1) + (s2 < 0x80 ? s2-0x40 : s2-0x41)
34 Conversion (s1,s2) -> (c1,c2):
36 t2 := (s2 < 0x80 ? s2
53 unsigned char s1, s2; local
[all...]
/macosx-10.10.1/tcpdump-61/tcpdump/
H A Dstrcasecmp.c67 strcasecmp(s1, s2)
68 const char *s1, *s2;
72 *us2 = (u_char *)s2;
81 strncasecmp(s1, s2, n)
82 const char *s1, *s2;
87 *us2 = (u_char *)s2;
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Dstrtok_r.c43 strtok_r(char *s1, const char *s2, char **lasts) argument
49 while(*s1 && strchr(s2, *s1))
54 while(*s1 && !strchr(s2, *s1))
H A Dct.c57 const unsigned char *s1 = p1, *s2 = p2; local
62 r |= (s1[i] ^ s2[i]);
/macosx-10.10.1/tcl-105/tcl/tcl/compat/
H A Dmemcmp.c20 int memcmp(CONST VOID *s1, CONST VOID *s2, size_t n);
34 * than s2 when taken to be unsigned 8 bit numbers.
45 CONST VOID *s2, /* Second string. */
49 CONST unsigned char *ptr2 = (CONST unsigned char *) s2;
42 memcmp( CONST VOID *s1, CONST VOID *s2, size_t n) argument
/macosx-10.10.1/bash-94.1.2/bash-3.2/examples/scripts.noah/
H A Dstring.bash13 # Usage: strcat s1 s2
15 # Strcat appends the value of variable s2 to variable s1.
37 # Usage: strncat s1 s2 $n
40 # of variable s2. It copies fewer if the value of variabl s2 is shorter
56 local s2="$2"
61 s2_val=${!s2}
71 # Usage: strcmp $s1 $s2
75 # less than, equal to, or greater than string s2.
89 # Usage: strncmp $s1 $s2
[all...]
/macosx-10.10.1/postfix-255/postfix/src/util/
H A Dstrcasecmp.c41 int strcasecmp(const char *s1, const char *s2) argument
44 const unsigned char *us2 = (const unsigned char *) s2;
52 int strncasecmp(const char *s1, const char *s2, size_t n) argument
56 const unsigned char *us2 = (const unsigned char *) s2;
/macosx-10.10.1/ruby-106/ruby/sample/drb/
H A Dgw_s.rb8 s2 = DRb::DRbServer.new(ARGV.shift, gw)
10 s2.thread.join
/macosx-10.10.1/tidy-15.15/tidy/src/
H A Dtmbstr.h31 uint TY_(tmbstrncpy)( tmbstr s1, ctmbstr s2, uint size );
33 uint TY_(tmbstrcpy)( tmbstr s1, ctmbstr s2 );
35 uint TY_(tmbstrcat)( tmbstr s1, ctmbstr s2 );
38 int TY_(tmbstrcmp)( ctmbstr s1, ctmbstr s2 );
54 int TY_(tmbstrcasecmp)( ctmbstr s1, ctmbstr s2 );
56 int TY_(tmbstrncmp)( ctmbstr s1, ctmbstr s2, uint n );
58 int TY_(tmbstrncasecmp)( ctmbstr s1, ctmbstr s2, uint n );
65 ctmbstr TY_(tmbsubstrn)( ctmbstr s1, uint len1, ctmbstr s2 );
66 /* ctmbstr TY_(tmbsubstrncase)( ctmbstr s1, uint len1, ctmbstr s2 ); */
67 ctmbstr TY_(tmbsubstr)( ctmbstr s1, ctmbstr s2 );
[all...]
H A Dtmbstr.c47 uint TY_(tmbstrncpy)( tmbstr s1, ctmbstr s2, uint size ) argument
49 if ( s1 != NULL && s2 != NULL )
52 while ( *s2 && --size ) /* Predecrement: reserve byte */
53 *cp++ = *s2++; /* for NULL terminator. */
61 uint TY_(tmbstrcpy)( tmbstr s1, ctmbstr s2 )
64 while (0 != (*s1++ = *s2++) )
71 uint TY_(tmbstrcat)( tmbstr s1, ctmbstr s2 )
77 while (0 != (*s1++ = *s2++) )
83 int TY_(tmbstrcmp)( ctmbstr s1, ctmbstr s2 )
86 while ((c = *s1) == *s2)
133 tmbstrncmp( ctmbstr s1, ctmbstr s2, uint n ) argument
156 tmbstrncasecmp( ctmbstr s1, ctmbstr s2, uint n ) argument
[all...]
/macosx-10.10.1/groff-38/groff/src/include/
H A Dstringclass.h129 inline string operator+(const string &s1, const string &s2) argument
131 return string(s1.ptr, s1.len, s2.ptr, s2.len);
134 inline string operator+(const string &s1, const char *s2) argument
137 if (s2 == 0)
140 return string(s1.ptr, s1.len, s2, strlen(s2));
142 return s2 == 0 ? s1 : string(s1.ptr, s1.len, s2, strlen(s2));
146 operator +(const char *s1, const string &s2) argument
168 operator ==(const string &s1, const string &s2) argument
174 operator !=(const string &s1, const string &s2) argument
[all...]

Completed in 463 milliseconds

1234567891011>>