Home
last modified time | relevance | path

Searched refs:ns_sep (Results 1 – 25 of 44) sorted by relevance

12

/dports/mail/dovecot/dovecot-2.3.17/src/lib-storage/
H A Dtest-mailbox-list.c22 char ns_sep; member
30 static char ns_sep[2] = { '\0', '\0' }; variable
274 ns_sep[0] = test->ns_sep; in test_maibox_list_name_init()
314 .ns_sep = '/', .list_sep = '.', in test_mailbox_list_get_names()
318 .ns_sep = '/', .list_sep = '.', in test_mailbox_list_get_names()
322 .ns_sep = '^', .list_sep = '.', in test_mailbox_list_get_names()
326 .ns_sep = '/', .list_sep = '.', in test_mailbox_list_get_names()
330 .ns_sep = '^', .list_sep = '.', in test_mailbox_list_get_names()
335 .ns_sep = '^', .list_sep = '.', in test_mailbox_list_get_names()
340 .ns_sep = '^', .list_sep = '.', in test_mailbox_list_get_names()
[all …]
H A Dtest-mail-storage.c237 char ns_sep; member
323 test_case->ns_sep, mail_namespace_get_sep(ns), in test_mailbox_verify_name_one()
358 test_case->ns_sep, mail_namespace_get_sep(ns), in test_mailbox_verify_name_one()
380 if ((test_cases[i].ns_sep != '\0' && in test_mailbox_verify_name_continue()
381 (test_cases[i].ns_sep != mail_namespace_get_sep(ns))) || in test_mailbox_verify_name_continue()
614 test_case.ns_sep = '.'; in test_mailbox_list_mbox()
H A Dmail-namespace.c315 char ns_sep, list_sep = '\0'; in namespaces_check() local
318 ns_sep = mail_namespace_get_sep(ns); in namespaces_check()
344 ns->prefix[strlen(ns->prefix)-1] != ns_sep) { in namespaces_check()
347 "to end with separator %c", ns->prefix, ns_sep); in namespaces_check()
353 ns->prefix[0] == ns_sep) { in namespaces_check()
364 list_sep = ns_sep; in namespaces_check()
365 else if (list_sep != ns_sep) { in namespaces_check()
H A Dmailbox-list-private.h194 char ns_sep, char list_sep, char escape_char,
198 char ns_sep, char list_sep, char escape_char);
H A Dmailbox-list.c480 char ns_sep, char list_sep, char escape_char, in mailbox_list_escape_name_params() argument
502 if (*vname == ns_sep) in mailbox_list_escape_name_params()
621 const char ns_sep = mail_namespace_get_sep(list->ns); in mailbox_list_default_get_storage_name() local
627 list_sep != ns_sep && in mailbox_list_default_get_storage_name()
641 const char sep[] = { ns_sep, '\0' }; in mailbox_list_default_get_storage_name()
661 char ns_sep, char list_sep, char escape_char) in mailbox_list_unescape_name_params() argument
688 str_append_c(dest, ns_sep); in mailbox_list_unescape_name_params()
787 char ns_sep = mail_namespace_get_sep(list->ns); in mailbox_list_default_get_vname() local
794 str_append_c(vname, ns_sep); in mailbox_list_default_get_vname()
/dports/mail/dovecot/dovecot-2.3.17/src/imap/
H A Dcmd-namespace.c37 char ns_sep; in list_namespaces() local
60 ns_sep = mail_namespace_get_sep(no->ns); in list_namespaces()
71 if (ns_sep == '\\') in list_namespaces()
73 str_append_c(str, ns_sep); in list_namespaces()
H A Dcmd-list.c312 char ns_sep; in cmd_list_ref_root() local
321 ns_sep = mail_namespace_get_sep(ns); in cmd_list_ref_root()
324 ns_sep = mail_namespaces_get_root_sep(client->user->namespaces); in cmd_list_ref_root()
329 if (ns_sep == '\\' || ns_sep == '"') in cmd_list_ref_root()
331 str_printfa(str, "%c\" ", ns_sep); in cmd_list_ref_root()
340 const char *p = strchr(ref, ns_sep); in cmd_list_ref_root()
H A Dcmd-notify.c157 char ns_sep = mail_namespace_get_sep(ns); in cmd_notify_add_mailbox() local
167 (name[5] == '\0' || name[5] == ns_sep)) { in cmd_notify_add_mailbox()
188 names[i][cur_len] == ns_sep) { in cmd_notify_add_mailbox()
193 names[i][name_len] == ns_sep) { in cmd_notify_add_mailbox()
397 char ns_sep = mail_namespace_get_sep(mailbox_get_namespace(box)); in imap_notify_box_list_noperm() local
408 if (ns_sep == '\\') in imap_notify_box_list_noperm()
410 str_append_c(str, ns_sep); in imap_notify_box_list_noperm()
H A Dimap-notify.c24 char ns_sep = mail_namespace_get_sep(notify_ns->ns); in imap_notify_list() local
29 if (ns_sep == '\\') in imap_notify_list()
31 str_append_c(str, ns_sep); in imap_notify_list()
195 char ns_sep; in imap_notify_match_mailbox() local
206 ns_sep = mail_namespace_get_sep(notify_ns->ns); in imap_notify_match_mailbox()
217 vname[name_len] == ns_sep)) in imap_notify_match_mailbox()
/dports/www/libdom/libdom-0.4.1/bindings/xml/
H A Dexpat_xmlparser.c46 const XML_Char *ns_sep = strchr(name, '\n'); in expat_xmlparser_start_element_handler() local
50 if (ns_sep != NULL) { in expat_xmlparser_start_element_handler()
52 ns_sep - name, in expat_xmlparser_start_element_handler()
59 name = ns_sep + 1; in expat_xmlparser_start_element_handler()
95 ns_sep = strchr(*atts, '\n'); in expat_xmlparser_start_element_handler()
96 if (ns_sep != NULL) { in expat_xmlparser_start_element_handler()
98 ns_sep - (*atts), in expat_xmlparser_start_element_handler()
108 if (ns_sep == NULL) in expat_xmlparser_start_element_handler()
112 err = dom_string_create_interned((const uint8_t *)(ns_sep + 1), in expat_xmlparser_start_element_handler()
113 strlen(ns_sep + 1), in expat_xmlparser_start_element_handler()
/dports/devel/py-inifile/inifile-0.4/
H A Dinifile.py119 def __init__(self, ns_sep='.', kv_sep=' = ', quotes=('"', "'"), argument
122 self.ns_sep = ns_sep
190 mapping[self.ns_sep.join(section + (key,))] = value
206 section = tuple(line[1:-1].strip().split(self.ns_sep))
229 k = self.ns_sep.join(section + (key,))
234 section_ends[self.ns_sep.join(section)] = len(new_tokens)
236 section_ends[self.ns_sep.join(data)] = len(new_tokens)
241 section, local_key = key.rsplit(self.ns_sep, 1)
400 sep = self.dialect.ns_sep
/dports/mail/dovecot/dovecot-2.3.17/src/doveadm/dsync/
H A Ddsync-brain-mailbox-tree.c152 char ns_sep = mail_namespace_get_sep(ns); in dsync_namespace_match_parts() local
164 if (prefix[part_len] != ns_sep) in dsync_namespace_match_parts()
284 char ns_sep; in dsync_get_mailbox_name() local
291 ns_sep = mail_namespace_get_sep(ns); in dsync_get_mailbox_name()
297 if (*p != ns_sep) in dsync_get_mailbox_name()
302 str_append_c(vname, ns_sep); in dsync_get_mailbox_name()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-storage/list/
H A Dmailbox-list-maildir-iter.c56 char ns_sep = mail_namespace_get_sep(ns); in maildir_fill_parents() local
58 while ((p = strrchr(vname, ns_sep)) != NULL) { in maildir_fill_parents()
65 vname[ns->prefix_len-1] == ns_sep) { in maildir_fill_parents()
430 char ns_sep = mail_namespace_get_sep(_list->ns); in maildir_list_iter_init() local
438 ctx->ctx.glob = imap_match_init_multiple(pool, patterns, TRUE, ns_sep); in maildir_list_iter_init()
441 ctx->tree_ctx = mailbox_tree_init(ns_sep); in maildir_list_iter_init()
H A Dmailbox-list-index-iter.c43 char ns_sep = mail_namespace_get_sep(list->ns); in mailbox_list_index_iter_init() local
55 ctx->ctx.glob = imap_match_init_multiple(pool, patterns, TRUE, ns_sep); in mailbox_list_index_iter_init()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-storage/index/shared/
H A Dshared-storage.c146 char ns_sep = mail_namespace_get_sep(ns); in shared_storage_get_namespace() local
173 next = strchr(name, *p != '\0' ? *p : ns_sep); in shared_storage_get_namespace()
184 (name[1] == '\0' && *name == ns_sep)) { in shared_storage_get_namespace()
313 ns_set->separator = p_strdup_printf(user->pool, "%c", ns_sep); in shared_storage_get_namespace()
/dports/multimedia/tautulli/Tautulli-2.8.0/lib/
H A Dxmltodict.py331 def _process_namespace(name, namespaces, ns_sep=':', attr_prefix='@'): argument
335 ns, name = name.rsplit(ns_sep, 1)
342 ns_res, ns_sep, name) if ns_res else name
/dports/net-mgmt/py-pyang/pyang-1.7.8/pyang/
H A Dyin_parser.py45 ns_sep = "}" variable in YinParser
49 self.parser = expat.ParserCreate("UTF-8", self.ns_sep)
60 res = qname.split(YinParser.ns_sep)
/dports/devel/py-xmltodict/xmltodict-0.12.0/
H A Dxmltodict.py331 def _process_namespace(name, namespaces, ns_sep=':', attr_prefix='@'): argument
335 ns, name = name.rsplit(ns_sep, 1)
342 ns_res, ns_sep, name) if ns_res else name
/dports/security/john/john-1.9.0-jumbo-1/run/
H A Dsignal2john.py390 def _process_namespace(name, namespaces, ns_sep=':', attr_prefix='@'): argument
394 ns, name = name.rsplit(ns_sep, 1)
401 ns_res, ns_sep, name) if ns_res else name
H A Dsspr2john.py418 def _process_namespace(name, namespaces, ns_sep=':', attr_prefix='@'): argument
422 ns, name = name.rsplit(ns_sep, 1)
429 ns_res, ns_sep, name) if ns_res else name
/dports/lang/php73/php-7.3.33/Zend/
H A Dzend_constants.c306 const char *ns_sep = zend_memrchr(ZSTR_VAL(c->name), '\\', ZSTR_LEN(c->name)); in is_access_deprecated() local
307 if (ns_sep) { in is_access_deprecated()
309 size_t shortname_offset = ns_sep - ZSTR_VAL(c->name) + 1; in is_access_deprecated()
/dports/lang/php74/php-7.4.27/Zend/
H A Dzend_constants.c306 const char *ns_sep = zend_memrchr(ZSTR_VAL(c->name), '\\', ZSTR_LEN(c->name)); in is_access_deprecated() local
307 if (ns_sep) { in is_access_deprecated()
309 size_t shortname_offset = ns_sep - ZSTR_VAL(c->name) + 1; in is_access_deprecated()
/dports/www/mod_php73/php-7.3.33/Zend/
H A Dzend_constants.c306 const char *ns_sep = zend_memrchr(ZSTR_VAL(c->name), '\\', ZSTR_LEN(c->name)); in is_access_deprecated() local
307 if (ns_sep) { in is_access_deprecated()
309 size_t shortname_offset = ns_sep - ZSTR_VAL(c->name) + 1; in is_access_deprecated()
/dports/www/mod_php74/php-7.4.27/Zend/
H A Dzend_constants.c306 const char *ns_sep = zend_memrchr(ZSTR_VAL(c->name), '\\', ZSTR_LEN(c->name)); in is_access_deprecated() local
307 if (ns_sep) { in is_access_deprecated()
309 size_t shortname_offset = ns_sep - ZSTR_VAL(c->name) + 1; in is_access_deprecated()
/dports/mail/dovecot/dovecot-2.3.17/src/lib-storage/index/imapc/
H A Dimapc-list.c646 char ns_sep; in imapc_list_iter_init() local
667 ns_sep = ret < 0 ? '/' : mail_namespace_get_sep(_list->ns); in imapc_list_iter_init()
674 ctx->ctx.glob = imap_match_init_multiple(pool, patterns, FALSE, ns_sep); in imapc_list_iter_init()
679 ctx->tree = mailbox_tree_init(ns_sep); in imapc_list_iter_init()

12