/external/u-boot/tools/binman/ |
D | state.py | 53 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 …]
|
D | entry.py | 65 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/ |
D | traceback.py | 110 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 …]
|
D | cgitb.py | 104 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/ |
D | print-symantec.c | 46 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/ |
D | cgitb.py | 103 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/ |
D | basinterp.py | 71 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/ |
D | u_boot_dtb_with_ucode.py | 26 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)
|
D | fmap.py | 34 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':
|
D | blob.py | 33 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)
|
D | cros_ec_rw.py | 20 def __init__(self, section, etype, node): argument 21 Entry_blob_named_by_arg.__init__(self, section, etype, node,
|
D | intel_fsp_t.py | 25 def __init__(self, section, etype, node): argument 26 Entry_blob.__init__(self, section, etype, node)
|
D | intel_me.py | 29 def __init__(self, section, etype, node): argument 30 Entry_blob.__init__(self, section, etype, node)
|
D | intel_fsp_s.py | 26 def __init__(self, section, etype, node): argument 27 Entry_blob.__init__(self, section, etype, node)
|
D | intel_vga.py | 24 def __init__(self, section, etype, node): argument 25 Entry_blob.__init__(self, section, etype, node)
|
D | intel_fsp_m.py | 26 def __init__(self, section, etype, node): argument 27 Entry_blob.__init__(self, section, etype, node)
|
D | intel_cmc.py | 22 def __init__(self, section, etype, node): argument 23 Entry_blob.__init__(self, section, etype, node)
|
D | intel_fsp.py | 26 def __init__(self, section, etype, node): argument 27 Entry_blob.__init__(self, section, etype, node)
|
D | intel_vbt.py | 21 def __init__(self, section, etype, node): argument 22 Entry_blob.__init__(self, section, etype, node)
|
D | u_boot_spl_nodtb.py | 24 def __init__(self, section, etype, node): argument 25 Entry_blob.__init__(self, section, etype, node)
|
D | x86_reset16.py | 25 def __init__(self, section, etype, node): argument 26 Entry_blob.__init__(self, section, etype, node)
|
D | x86_reset16_spl.py | 25 def __init__(self, section, etype, node): argument 26 Entry_blob.__init__(self, section, etype, node)
|
D | x86_start16_spl.py | 27 def __init__(self, section, etype, node): argument 28 Entry_blob.__init__(self, section, etype, node)
|
D | x86_start16.py | 27 def __init__(self, section, etype, node): argument 28 Entry_blob.__init__(self, section, etype, node)
|
D | powerpc_mpc85xx_bootpg_resetvec.py | 21 def __init__(self, section, etype, node): argument 22 Entry_blob.__init__(self, section, etype, node)
|