Searched refs:s2 (Results 76 - 100 of 500) sorted by relevance

1234567891011>>

/freebsd-10.3-release/contrib/groff/src/libs/libgroff/
H A Dstring.cpp211 string::string(const char *s1, int n1, const char *s2, int n2) argument
222 memcpy(ptr, s2, n2);
226 memcpy(ptr + n1, s2, n2);
231 int operator<=(const string &s1, const string &s2) argument
233 return (s1.len <= s2.len
234 ? s1.len == 0 || memcmp(s1.ptr, s2.ptr, s1.len) <= 0
235 : s2.len != 0 && memcmp(s1.ptr, s2.ptr, s2.len) < 0);
238 int operator<(const string &s1, const string &s2) argument
245 operator >=(const string &s1, const string &s2) argument
252 operator >(const string &s1, const string &s2) argument
[all...]
H A Dstrcasecmp.c43 STRXCASECMP_FUNCTION (const char *s1, const char *s2 STRXCASECMP_DECLARE_N)
46 register const unsigned char *p2 = (const unsigned char *) s2;
/freebsd-10.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-log-arc.S88 sd s2, 16(sp) // Save register
90 ld s2, 0(s1) // Get value of the current log buffer location
91 dsubu s0, s0, s2 // Subtract the end pointer and the write pointer
95 sd ra, 8(s2) // Write the pc to the log
97 sd s3, 0(s2) // Write the log header
98 daddu s2, s2, 16 // Increment the write location ptr
99 sd s2, 0(s1) // Store the write location ptr
103 ld s2, 16(sp) // Restore register
128 // s0, s1, s2, s
[all...]
/freebsd-10.3-release/contrib/wpa/src/utils/
H A Dos.h283 * @s2: Second buffer
286 * found to be less than, to match, or be greater than s2. Only first n
289 int os_memcmp(const void *s1, const void *s2, size_t n);
310 * @s2: Second string
312 * found to be less than, to match, or be greatred than s2
314 int os_strcasecmp(const char *s1, const char *s2);
319 * @s2: Second string
322 * found to be less than, to match, or be greater than s2. Only first n
325 int os_strncasecmp(const char *s1, const char *s2, size_t n);
346 * @s2
[all...]
/freebsd-10.3-release/usr.bin/xlint/common/
H A Dmem.c81 char *s2; local
83 if ((s2 = strdup(s)) == NULL)
85 return (s2);
/freebsd-10.3-release/tools/tools/shlib-compat/test/libtest1/
H A Dtest.c17 struct s2 { struct
31 int func5(int a, void *b, struct s2 *s);
57 func5(int a, void *b, struct s2 *s)
/freebsd-10.3-release/crypto/openssl/crypto/camellia/
H A Dcamellia.c353 * adjusting n accordingly, e.g. RotLeft128(s1,s2,s3,s0,n-32).
365 register u32 s0, s1, s2, s3; local
369 k[2] = s2 = GETU32(rawKey + 8);
376 k[10] = s2 = ~s0;
379 k[10] = s2 = GETU32(rawKey + 24);
382 s0 ^= k[0], s1 ^= k[1], s2 ^= k[2], s3 ^= k[3];
386 Camellia_Feistel(s0, s1, s2, s3, SIGMA + 0);
387 Camellia_Feistel(s2, s3, s0, s1, SIGMA + 2);
389 s0 ^= k[0], s1 ^= k[1], s2 ^= k[2], s3 ^= k[3];
390 Camellia_Feistel(s0, s1, s2, s
484 register u32 s0, s1, s2, s3; local
537 u32 s0, s1, s2, s3; local
[all...]
/freebsd-10.3-release/libexec/rbootd/
H A Ddefs.h73 #define STREQN(s1,s2) ((*s1 == *s2) && (strcmp(s1,s2) == 0))
74 #define STRNEQN(s1,s2,n) ((*s1 == *s2) && (strncmp(s1,s2,n) == 0))
/freebsd-10.3-release/contrib/unbound/daemon/
H A Dacl_list.c93 acl_list_str_cfg(struct acl_list* acl, const char* str, const char* s2, argument
100 if(strcmp(s2, "allow") == 0)
102 else if(strcmp(s2, "deny") == 0)
104 else if(strcmp(s2, "refuse") == 0)
106 else if(strcmp(s2, "deny_non_local") == 0)
108 else if(strcmp(s2, "refuse_non_local") == 0)
110 else if(strcmp(s2, "allow_snoop") == 0)
117 log_err("cannot parse access control: %s %s", str, s2);
/freebsd-10.3-release/sys/boot/common/
H A Dutil.c59 strcmp(const char *s1, const char *s2) argument
62 for (; *s1 == *s2 && *s1 != '\0'; s1++, s2++)
64 return ((unsigned char)*s1 - (unsigned char)*s2);
68 strncmp(const char *s1, const char *s2, size_t len) argument
71 for (; len > 0 && *s1 == *s2 && *s1 != '\0'; len--, s1++, s2++)
73 return (len == 0 ? 0 : (unsigned char)*s1 - (unsigned char)*s2);
H A Dutil.h44 int strcmp(const char *s1, const char *s2);
45 int strncmp(const char *s1, const char *s2, size_t len);
/freebsd-10.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.strtok.d89 string s2;
98 command[i].s2 = "";
103 command[i].s2 = "";
108 command[i].s2 = "o";
113 command[i].s2 = "o";
118 command[i].s2 = "bar";
123 command[i].s2 = "foo";
133 (this->result = strtok(command[i].s1, command[i].s2)) != command[i].result/
136 command[i].s1, command[i].s2,
/freebsd-10.3-release/tools/regression/posixsem2/
H A Dsemtest.c57 sem_t *s, *s2; local
66 s2 = sem_open(SEM_NAME, O_CREAT, 0777, 0);
67 if (s2 == SEM_FAILED)
69 if (s != s2)
72 if (sem_close(s2))
101 sem_t *s, *s2, *s3; local
108 s2 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0);
109 if (s2 != SEM_FAILED)
/freebsd-10.3-release/contrib/ntp/sntp/libpkgver/
H A Dpkgver.h13 extern int colcomp(char *s1, char *s2);
/freebsd-10.3-release/contrib/llvm/tools/lldb/include/lldb/Core/
H A DSTLUtils.h25 bool operator() (const char* s1, const char* s2) const
27 return strcmp(s1, s2) < 0;
37 bool operator()(const char* s1, const char* s2) const
39 return strcmp(s1, s2) == 0;
/freebsd-10.3-release/crypto/heimdal/appl/telnet/libtelnet/
H A Dmisc-proto.h67 int isprefix(char *s1, char *s2);
/freebsd-10.3-release/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);
H A Ds_atan.c76 double w,s1,s2,z; local
114 s2 = w*(aT[1]+w*(aT[3]+w*(aT[5]+w*(aT[7]+w*aT[9]))));
115 if (id<0) return x - x*(s1+s2);
117 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
H A Ds_atanl.c36 long double w,s1,s2,z; local
79 s2 = w*T_odd(w);
80 if (id<0) return x - x*(s1+s2);
82 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
/freebsd-10.3-release/usr.sbin/pkg_install/lib/
H A Dstr.c27 strconcat(const char *s1, const char *s2) argument
32 strncpy(tmp, s1 ? s1 : s2, FILENAME_MAX); /* XXX: what if both are NULL? */
33 if (s1 && s2)
34 strncat(tmp, s2, FILENAME_MAX - strlen(tmp));
/freebsd-10.3-release/tools/regression/netinet/ipdivert/
H A Dipdivert.c120 int s1, s2; local
145 s2 = ipdivert_create(test);
147 ipdivert_bind(test, s2, 1001, 0);
149 ipdivert_close(test, s2);
158 s2 = ipdivert_create(test);
160 ipdivert_bind(test, s2, 1000, EADDRINUSE);
162 ipdivert_close(test, s2);
/freebsd-10.3-release/crypto/openssl/ssl/
H A Ds2_srvr.c251 s->s2->clear_text = 0;
414 s->s2->tmp.clear = i;
416 s->s2->tmp.enc = i;
436 10 + (unsigned long)s->s2->tmp.clear + (unsigned long)s->s2->tmp.enc +
454 memcpy(s->session->key_arg, &(p[s->s2->tmp.clear + s->s2->tmp.enc]),
476 * 2-byte clear key length (stored in s->s2->tmp.clear)
477 * 2-byte encrypted key length (stored in s->s2->tmp.enc)
505 if (s->s2
[all...]
/freebsd-10.3-release/contrib/file/src/
H A Dstrcasestr.c47 _strncasecmp(const char *s1, const char *s2, size_t n) argument
51 *us2 = (const unsigned char *)s2;
/freebsd-10.3-release/crypto/heimdal/base/
H A Dtest_base.c124 heim_string_t s1, s2; local
128 s2 = heim_string_create(string);
130 if (heim_cmp(s1, s2) != 0) {
136 heim_release(s2);
/freebsd-10.3-release/contrib/apr/include/
H A Dapr_general.h118 #define strcasecmp(s1, s2) stricmp(s1, s2)
124 #define strncasecmp(s1, s2, n) strnicmp(s1, s2, n)

Completed in 292 milliseconds

1234567891011>>