Searched defs:s2 (Results 1 - 7 of 7) sorted by relevance

/sssd/src/util/
H A Dsss_utf8.c116 errno_t sss_utf8_case_eq(const uint8_t *s1, const uint8_t *s2) argument
131 n2 = u8_strlen(s2);
134 s2, n2,
149 errno_t sss_utf8_case_eq(const uint8_t *s1, const uint8_t *s2) argument
158 n2 = g_utf8_strlen((const gchar *)s2, -1);
165 gs2 = g_utf8_casefold((const gchar *)s2, n2);
187 bool sss_string_equal(bool cs, const char *s1, const char *s2) argument
190 return strcmp(s1, s2) == 0;
193 return sss_utf8_case_eq((const uint8_t *)s1, (const uint8_t *)s2) == EOK;
/sssd/src/tests/
H A Dipa_ldap_opt-tests.c268 char *s1, *s2; local
276 s2 = opts[i].def_val.string;
278 if (s1 != NULL || s2 != NULL) {
279 fail_unless(strcmp(s1, s2) == 0,
/sssd/src/tests/cmocka/
H A Dtest_ifp.c209 const char **s2)
214 assert_non_null(s2[i]);
215 assert_string_equal(s1[i], s2[i]);
218 assert_null(s2[i]);
208 assert_string_list_equal(const char **s1, const char **s2) argument
H A Dtest_fo_srv.c355 struct ares_srv_reply *s2; local
361 s2 = mock_ares_reply(test_ctx, "ldap2.sssd.com", 100, 2, 389);
362 assert_non_null(s2);
364 s1->next = s2;
566 struct ares_srv_reply *s2; local
583 s2 = mock_ares_reply(test_ctx, "ldap2.sssd.com", 100, 1, 389);
584 assert_non_null(s2);
586 s1->next = s2;
610 struct ares_srv_reply *s2; local
631 s2
[all...]
/sssd/src/sss_client/nfs/
H A Dsss_nfs_client.c369 static bool str_equal(const char *s1, const char *s2) argument
376 len2 = strlen(s2);
379 res = (strncasecmp(s1, s2, len1) == 0);
/sssd/src/sss_client/
H A Dpam_sss.c167 static int null_strcmp(const char *s1, const char *s2) { argument
168 if (s1 == NULL && s2 == NULL) return 0;
169 if (s1 == NULL && s2 != NULL) return -1;
170 if (s1 != NULL && s2 == NULL) return 1;
171 return strcmp(s1, s2);
/sssd/src/providers/
H A Dfail_over.c729 static bool fo_server_cmp(struct fo_server *s1, struct fo_server *s2) argument
733 if (s2->common != NULL) {
734 name = s2->common->name;
737 return fo_server_match(s1, name, s2->port, s2->user_data);

Completed in 248 milliseconds