Lines Matching defs:s_end
42 static bool_t get_ttls(const char *s, const char *s_end,
49 static bool_t get_deleteDisp(const char *s_begin, const char *s_end,
500 const char *s_end,
513 if (s == s_end) {
519 while (s < s_end && isdigit(*s)) {
530 while (s < s_end && is_whitespace(*s))
532 if (s + 1 >= s_end || *s++ != COLON_CHAR) {
537 while (s < s_end && is_whitespace(*s))
540 while (s < s_end && isdigit(*s)) {
551 while (s < s_end && is_whitespace(*s))
553 if (s >= s_end || *s++ != COLON_CHAR) {
558 while (s < s_end && is_whitespace(*s))
561 while (s < s_end && isdigit(*s)) {
571 while (s < s_end && is_whitespace(*s))
573 if (s != s_end) {
793 const char *s_end;
810 s_end = end;
811 s = get_next_object_dn_token(&s_begin, &s_end, &token);
846 if (!validate_dn(s_begin, s_end - s_begin))
849 s_strndup_esc(s_begin, s_end - s_begin);
897 if (!validate_ldap_filter(s_begin, s_end))
900 s_strndup_esc(s_begin, s_end - s_begin);
919 if (!validate_dn(s_begin, s_end - s_begin))
922 s_strndup_esc(s_begin, s_end - s_begin);
966 if (!validate_ldap_filter(s_begin, s_end))
969 s_strndup_esc(s_begin, s_end - s_begin);
988 if (!get_deleteDisp(s_begin, s_end, next))
2513 getIndex(const char **s_cur, const char *s_end)
2524 while (s < s_end && is_whitespace(*s))
2526 for (s1 = s; s1 < s_end; s1++) {
2561 while (s < s_end && is_whitespace(*s))
2688 get_deleteDisp(const char *s_begin, const char *s_end,
2696 if (same_string("always", s_begin, s_end - s_begin)) {
2698 } else if (same_string("never", s_begin, s_end - s_begin)) {
2700 } else if ((s_begin = skip_string("dbid", s_begin, s_end - s_begin))
2703 while (s_begin < s_end && is_whitespace(*s_begin))
2705 if (s_begin == s_end || *s_begin != EQUAL_CHAR) {
2709 while (s_begin < s_end && is_whitespace(*s_begin))
2711 while (s_begin < s_end && is_whitespace(s_end[-1]))
2712 s_end--;
2713 if (s_begin == s_end) {
2717 s_strndup(s_begin, s_end - s_begin);