Home
last modified time | relevance | path

Searched refs:etype (Results 1 – 25 of 88) sorted by relevance

1234

/external/python/cpython2/Lib/
Dtraceback.py110 def print_exception(etype, value, tb, limit=None, file=None): argument
126 lines = format_exception_only(etype, value)
130 def format_exception(etype, value, tb, limit = None): argument
144 list = list + format_exception_only(etype, value)
147 def format_exception_only(etype, value): argument
170 if (isinstance(etype, BaseException) or
171 isinstance(etype, types.InstanceType) or
172 etype is None or type(etype) is str):
173 return [_format_final_exc_line(etype, value)]
175 stype = etype.__name__
[all …]
Dcgitb.py104 etype, evalue, etb = einfo
105 if type(etype) is types.ClassType:
106 etype = etype.__name__
111 strong(pydoc.html.escape(str(etype))),
173 exception = ['<p>%s: %s' % (strong(pydoc.html.escape(str(etype))),
191 ''.join(traceback.format_exception(etype, evalue, etb)))
195 etype, evalue, etb = einfo
196 if type(etype) is types.ClassType:
197 etype = etype.__name__
200 head = "%s\n%s\n%s\n" % (str(etype), pyver, date) + '''
[all …]
/external/tcpdump/
Dprint-symantec.c46 uint16_t etype; in symantec_hdr_print() local
50 etype = EXTRACT_16BITS(&sp->ether_type); in symantec_hdr_print()
52 if (etype <= ETHERMTU) in symantec_hdr_print()
53 ND_PRINT((ndo, "invalid ethertype %u", etype)); in symantec_hdr_print()
56 tok2str(ethertype_values,"Unknown", etype), in symantec_hdr_print()
57 etype)); in symantec_hdr_print()
59 if (etype <= ETHERMTU) in symantec_hdr_print()
60 ND_PRINT((ndo, "invalid ethertype %u", etype)); in symantec_hdr_print()
62 … ND_PRINT((ndo, "%s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", etype))); in symantec_hdr_print()
/external/python/cpython3/Lib/
Dcgitb.py103 etype, evalue, etb = einfo
104 if isinstance(etype, type):
105 etype = etype.__name__
110 strong(pydoc.html.escape(str(etype))),
172 exception = ['<p>%s: %s' % (strong(pydoc.html.escape(str(etype))),
189 ''.join(traceback.format_exception(etype, evalue, etb)))
193 etype, evalue, etb = einfo
194 if isinstance(etype, type):
195 etype = etype.__name__
198 head = "%s\n%s\n%s\n" % (str(etype), pyver, date) + '''
[all …]
/external/ply/ply/example/BASIC/
Dbasinterp.py71 etype = expr[0]
72 if etype == 'NUM':
74 elif etype == 'GROUP':
76 elif etype == 'UNARY':
79 elif etype == 'BINOP':
90 elif etype == 'VAR':
128 etype = expr[1]
131 if etype == '<':
137 elif etype == '<=':
143 elif etype == '>':
[all …]
/external/u-boot/tools/binman/
Dentry.py51 def __init__(self, section, etype, node, read_node=True, name_prefix=''): argument
53 self.etype = etype
69 def Create(section, node, etype=None): argument
80 if not etype:
81 etype = fdt_util.GetString(node, 'type', node.name)
85 module_name = etype.replace('-', '_')
103 (etype, node.path))
110 return obj(section, etype, node)
/external/u-boot/tools/binman/etype/
Dblob.py13 def __init__(self, section, etype, node): argument
14 Entry.__init__(self, section, etype, node)
15 self._filename = fdt_util.GetString(self._node, "filename", self.etype)
Dintel_me.py12 def __init__(self, section, etype, node): argument
13 Entry_blob.__init__(self, section, etype, node)
Dintel_vga.py12 def __init__(self, section, etype, node): argument
13 Entry_blob.__init__(self, section, etype, node)
Dintel_vbt.py11 def __init__(self, section, etype, node): argument
12 Entry_blob.__init__(self, section, etype, node)
Dintel_fsp.py12 def __init__(self, section, etype, node): argument
13 Entry_blob.__init__(self, section, etype, node)
Dintel_cmc.py12 def __init__(self, section, etype, node): argument
13 Entry_blob.__init__(self, section, etype, node)
Du_boot_nodtb.py12 def __init__(self, section, etype, node): argument
13 Entry_blob.__init__(self, section, etype, node)
Du_boot_spl_dtb.py12 def __init__(self, section, etype, node): argument
13 Entry_blob.__init__(self, section, etype, node)
Du_boot.py12 def __init__(self, section, etype, node): argument
13 Entry_blob.__init__(self, section, etype, node)
Dx86_start16.py12 def __init__(self, section, etype, node): argument
13 Entry_blob.__init__(self, section, etype, node)
Du_boot_dtb.py12 def __init__(self, section, etype, node): argument
13 Entry_blob.__init__(self, section, etype, node)
Dx86_start16_spl.py12 def __init__(self, section, etype, node): argument
13 Entry_blob.__init__(self, section, etype, node)
Du_boot_spl_nodtb.py12 def __init__(self, section, etype, node): argument
13 Entry_blob.__init__(self, section, etype, node)
Dintel_mrc.py12 def __init__(self, section, etype, node): argument
13 Entry_blob.__init__(self, section, etype, node)
Du_boot_img.py12 def __init__(self, section, etype, node): argument
13 Entry_blob.__init__(self, section, etype, node)
Du_boot_spl_with_ucode_ptr.py22 def __init__(self, section, etype, node): argument
23 Entry_u_boot_with_ucode_ptr.__init__(self, section, etype, node)
Du_boot_spl.py14 def __init__(self, section, etype, node): argument
15 Entry_blob.__init__(self, section, etype, node)
/external/ipsec-tools/src/racoon/
Disakmp.c544 switch (isakmp->etype) {
577 isakmp->etype) < 0)
599 if (iph1->etype != isakmp->etype) {
603 s_isakmp_etype(iph1->etype),
604 s_isakmp_etype(isakmp->etype));
626 isakmp->etype);
752 isakmp->etype, saddr2str(remote));
769 isakmp->etype, saddr2str(remote));
797 if (ph1exchange[etypesw1(iph1->etype)]
804 error = (ph1exchange[etypesw1(iph1->etype)]
[all …]
Disakmp_frag.c97 int etype; local
104 etype = hdr->etype;
136 hdr->etype = etype;

1234