Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 3 of 3) sorted by relevance

/unit/src/
H A Dnxt_string.h69 #define nxt_strcmp(s1, s2) \ argument
70 strcmp((char *) s1, (char *) s2)
73 #define nxt_strncmp(s1, s2, length) \ argument
74 strncmp((char *) s1, (char *) s2, length)
79 NXT_EXPORT nxt_int_t nxt_strcasecmp(const u_char *s1, const u_char *s2);
80 NXT_EXPORT nxt_int_t nxt_strncasecmp(const u_char *s1, const u_char *s2,
125 #define nxt_strstr_eq(s1, s2) \ argument
126 (((s1)->length == (s2)->length) \
127 && (memcmp((s1)->start, (s2)->start, (s1)->length) == 0))
132 && (nxt_memcasecmp((s1)->start, (s2)->start, (s1)->length) == 0))
[all …]
H A Dnxt_string.c162 c2 = *s2++; in nxt_strcasecmp()
188 c2 = *s2++; in nxt_strncasecmp()
216 s2 = p2; in nxt_memcasecmp()
220 c2 = *s2++; in nxt_memcasecmp()
247 s2 = (u_char *) ss; in nxt_memstrn()
248 c2 = *s2++; in nxt_memstrn()
282 s2 = (u_char *) ss; in nxt_memcasestrn()
283 c2 = *s2++; in nxt_memcasestrn()
321 c2 = *s2++; in nxt_rmemstrn()
372 c2 = *s2++; in nxt_strverscmp()
[all …]
H A Dnxt_unit.c6781 const u_char *s1, *s2; in nxt_unit_memcasecmp() local
6784 s2 = p2; in nxt_unit_memcasecmp()
6788 c2 = *s2++; in nxt_unit_memcasecmp()