Home
last modified time | relevance | path

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

123456

/external/u-boot/tools/binman/
Dstate.py53 def GetFdtForEtype(etype): argument
66 value = output_fdt_info.get(etype);
71 def GetFdtPath(etype): argument
83 return output_fdt_info[etype][0]._fname
85 def GetFdtContents(etype='u-boot-dtb'): argument
100 if etype not in output_fdt_info:
103 pathname = GetFdtPath(etype)
104 data = GetFdtForEtype(etype).GetContents()
106 fname = output_fdt_info[etype][1]
111 def UpdateFdtContents(etype, data): argument
[all …]
Dentry.py65 def __init__(self, section, etype, node, name_prefix=''): argument
71 self.etype = etype
91 def Lookup(node_path, etype): argument
104 module_name = etype.replace('-', '_')
119 (etype, node_path, module_name, e))
128 def Create(section, node, etype=None): argument
140 if not etype:
141 etype = fdt_util.GetString(node, 'type', node.name)
142 obj = Entry.Lookup(node.path, etype)
145 return obj(section, etype, node)
[all …]
/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))),
173 exception = ['<p>%s: %s' % (strong(pydoc.html.escape(str(etype))),
190 ''.join(traceback.format_exception(etype, evalue, etb)))
194 etype, evalue, etb = einfo
195 if isinstance(etype, type):
196 etype = etype.__name__
199 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/etype/
Du_boot_dtb_with_ucode.py26 def __init__(self, section, etype, node): argument
31 Entry_blob_dtb.__init__(self, section, etype, node)
62 etype = self.GetFdtEtype()
63 fdt = state.GetFdtForEtype(etype)
66 raise self.Raise("No /microcode node found in '%s'" % etype)
Dfmap.py34 def __init__(self, section, etype, node): argument
35 Entry.__init__(self, section, etype, node)
46 (entry.GetPath(), entry.etype, ToHexSize(entries)))
47 if entries and entry.etype != 'cbfs':
Dblob.py33 def __init__(self, section, etype, node): argument
34 Entry.__init__(self, section, etype, node)
35 self._filename = fdt_util.GetString(self._node, 'filename', self.etype)
Dcros_ec_rw.py20 def __init__(self, section, etype, node): argument
21 Entry_blob_named_by_arg.__init__(self, section, etype, node,
Dintel_fsp_t.py25 def __init__(self, section, etype, node): argument
26 Entry_blob.__init__(self, section, etype, node)
Dintel_me.py29 def __init__(self, section, etype, node): argument
30 Entry_blob.__init__(self, section, etype, node)
Dintel_fsp_s.py26 def __init__(self, section, etype, node): argument
27 Entry_blob.__init__(self, section, etype, node)
Dintel_vga.py24 def __init__(self, section, etype, node): argument
25 Entry_blob.__init__(self, section, etype, node)
Dintel_fsp_m.py26 def __init__(self, section, etype, node): argument
27 Entry_blob.__init__(self, section, etype, node)
Dintel_cmc.py22 def __init__(self, section, etype, node): argument
23 Entry_blob.__init__(self, section, etype, node)
Dintel_fsp.py26 def __init__(self, section, etype, node): argument
27 Entry_blob.__init__(self, section, etype, node)
Dintel_vbt.py21 def __init__(self, section, etype, node): argument
22 Entry_blob.__init__(self, section, etype, node)
Du_boot_spl_nodtb.py24 def __init__(self, section, etype, node): argument
25 Entry_blob.__init__(self, section, etype, node)
Dx86_reset16.py25 def __init__(self, section, etype, node): argument
26 Entry_blob.__init__(self, section, etype, node)
Dx86_reset16_spl.py25 def __init__(self, section, etype, node): argument
26 Entry_blob.__init__(self, section, etype, node)
Dx86_start16_spl.py27 def __init__(self, section, etype, node): argument
28 Entry_blob.__init__(self, section, etype, node)
Dx86_start16.py27 def __init__(self, section, etype, node): argument
28 Entry_blob.__init__(self, section, etype, node)
Dpowerpc_mpc85xx_bootpg_resetvec.py21 def __init__(self, section, etype, node): argument
22 Entry_blob.__init__(self, section, etype, node)

123456