Home
last modified time | relevance | path

Searched refs:s1 (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.c161 c1 = *s1++; in nxt_strcasecmp()
187 c1 = *s1++; in nxt_strncasecmp()
215 s1 = p1; in nxt_memcasecmp()
219 c1 = *s1++; in nxt_memcasecmp()
319 s1 = end - length; in nxt_rmemstrn()
324 while (s < s1) { in nxt_rmemstrn()
325 c1 = *s1; in nxt_rmemstrn()
333 s1--; in nxt_rmemstrn()
371 c1 = *s1++; in nxt_strverscmp()
408 c1 = *s1++; in nxt_strverscmp()
[all …]
H A Dnxt_unit.c6781 const u_char *s1, *s2; in nxt_unit_memcasecmp() local
6783 s1 = p1; in nxt_unit_memcasecmp()
6787 c1 = *s1++; in nxt_unit_memcasecmp()