Home
last modified time | relevance | path

Searched refs:tag_prefix (Results 1 – 5 of 5) sorted by relevance

/third_party/PyYAML/lib/yaml/
D__init__.py315 def add_multi_constructor(tag_prefix, multi_constructor, Loader=None): argument
323 loader.Loader.add_multi_constructor(tag_prefix, multi_constructor)
324 loader.FullLoader.add_multi_constructor(tag_prefix, multi_constructor)
325 loader.UnsafeLoader.add_multi_constructor(tag_prefix, multi_constructor)
327 Loader.add_multi_constructor(tag_prefix, multi_constructor)
Dconstructor.py82 for tag_prefix in self.yaml_multi_constructors:
83 if tag_prefix is not None and node.tag.startswith(tag_prefix):
84 tag_suffix = node.tag[len(tag_prefix):]
85 constructor = self.yaml_multi_constructors[tag_prefix]
166 def add_multi_constructor(cls, tag_prefix, multi_constructor): argument
169 cls.yaml_multi_constructors[tag_prefix] = multi_constructor
/third_party/libwebsockets/lib/core/
Dcontext.c691 context->lcg[LWSLCG_WSI].tag_prefix = "wsi"; in lws_create_context()
692 context->lcg[LWSLCG_VHOST].tag_prefix = "vh"; in lws_create_context()
693 context->lcg[LWSLCG_WSI_SERVER].tag_prefix = "wsisrv"; /* adopted */ in lws_create_context()
696 context->lcg[LWSLCG_WSI_MUX].tag_prefix = "mux"; /* a mux child wsi */ in lws_create_context()
700 context->lcg[LWSLCG_WSI_CLIENT].tag_prefix = "wsicli"; in lws_create_context()
705 context->lcg[LWSLCG_SS_CLIENT].tag_prefix = "SScli"; in lws_create_context()
708 context->lcg[LWSLCG_SS_SERVER].tag_prefix = "SSsrv"; in lws_create_context()
711 context->lcg[LWSLCG_WSI_SS_CLIENT].tag_prefix = "wsiSScli"; in lws_create_context()
714 context->lcg[LWSLCG_WSI_SS_SERVER].tag_prefix = "wsiSSsrv"; in lws_create_context()
810 context->lcg[LWSLCG_SSP_CLIENT].tag_prefix = "SSPcli"; in lws_create_context()
[all …]
Dlogs.c95 assert(grp->tag_prefix); /* lc group must have a tag prefix string */ in __lws_lc_tag()
105 grp->tag_prefix, in __lws_lc_tag()
Dprivate-lib-core.h192 const char *tag_prefix; /* eg, "wsi" */ member