/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/ |
D | bgenHeapBuffer.py | 19 def getOutputBufferDeclarations(self, name, constmode=False, outmode=False): argument 26 return ["%s%s *%s__out__" % (self.datatype, out, name)] 28 def getargsCheck(self, name): argument 29 Output("if ((%s__out__ = malloc(%s__in_len__)) == NULL)", name, name) 32 Output("goto %s__error__;", name) 35 Output("%s__len__ = %s__in_len__;", name, name) 37 def passOutput(self, name): argument 39 (name, name, self.sizetype, name) 41 def mkvalueArgs(self, name): argument 42 return "%s__out__, (int)%s__len__" % (name, name) [all …]
|
D | bgenBuffer.py | 41 def getArgDeclarations(self, name, reference=False, constmode=False, outmode=False): argument 44 return (self.getBufferDeclarations(name, constmode, outmode) + 45 self.getSizeDeclarations(name, outmode)) 47 def getBufferDeclarations(self, name, constmode=False, outmode=False): argument 48 return self.getInputBufferDeclarations(name, constmode) + \ 49 self.getOutputBufferDeclarations(name, constmode, outmode) 51 def getInputBufferDeclarations(self, name, constmode=False): argument 56 return ["%s%s *%s__in__" % (const, self.datatype, name)] 58 def getOutputBufferDeclarations(self, name, constmode=False, outmode=False): argument 65 return ["%s%s %s__out__[%s]" % (self.datatype, out, name, self.size)] [all …]
|
D | bgenType.py | 22 def declare(self, name, reference=False): argument 27 for decl in self.getArgDeclarations(name, reference): 29 for decl in self.getAuxDeclarations(name): 32 def getArgDeclarations(self, name, reference=False, constmode=False, outmode=False): argument 47 return ["%s%s%s%s %s" % (const, self.typeName, ref, out, name)] 49 def getAuxDeclarations(self, name): argument 66 def getargsArgs(self, name): argument 71 return "&" + name 73 def getargsPreCheck(self, name): argument 79 def getargsCheck(self, name): argument [all …]
|
D | bgenStackBuffer.py | 14 def passOutput(self, name): argument 15 return "%s__out__, %s" % (name, self.size) 25 def getSizeDeclarations(self, name): argument 28 def getAuxDeclarations(self, name): argument 29 return ["int %s__len__ = %s" % (name, self.size)] 31 def passOutput(self, name): argument 32 return "%s__out__, &%s__len__" % (name, name) 34 def mkvalueArgs(self, name): argument 35 return "%s__out__, (int)%s__len__" % (name, name) 45 def passOutput(self, name): argument [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/lib/compiler-rt/builtins/ |
D | assembly.h | 26 #define HIDDEN(name) .private_extern name argument 27 #define LOCAL_LABEL(name) L_##name argument 30 #define SYMBOL_IS_FUNC(name) argument 37 #define HIDDEN(name) .hidden name argument 38 #define LOCAL_LABEL(name) .L_##name argument 41 #define SYMBOL_IS_FUNC(name) .type name,%function argument 43 #define SYMBOL_IS_FUNC(name) .type name,@function argument 55 #define HIDDEN(name) argument 56 #define LOCAL_LABEL(name) .L ## name argument 58 #define SYMBOL_IS_FUNC(name) \ argument [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
D | FSProxy.py | 60 def _hidden(self, name): argument 61 return name[0] == '.' 63 def _hide(self, name): argument 64 return '.%s' % name 66 def visible(self, name): argument 67 if len(name) > maxnamelen: return 0 68 if name[-1] == '~': return 0 69 if name in skipnames: return 0 70 if self._hidden(name): return 0 71 head, tail = os.path.split(name) [all …]
|
D | cmptree.py | 58 for name, info in local.sumlist(): 59 lsumdict[name] = info 64 for name, rsum in sums: 65 rsumdict[name] = rsum 66 if not lsumdict.has_key(name): 67 print repr(name), "only remote" 69 recvfile(local, remote, name) 71 lsum = lsumdict[name] 73 print repr(name), 74 rmtime = remote.mtime(name) [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/tools/fiptool/ |
D | tbbr_config.c | 16 .name = "SCP Firmware Updater Configuration FWU SCP_BL2U", 21 .name = "AP Firmware Updater Configuration BL2U", 26 .name = "Firmware Updater NS_BL2U", 31 .name = "Non-Trusted Firmware Updater certificate", 36 .name = "Trusted Boot Firmware BL2", 41 .name = "SCP Firmware SCP_BL2", 46 .name = "EL3 Runtime Firmware BL31", 51 .name = "Secure Payload BL32 (Trusted OS)", 56 .name = "Secure Payload BL32 Extra1 (Trusted OS Extra1)", 61 .name = "Secure Payload BL32 Extra2 (Trusted OS Extra2)", [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
D | asdl_c.py | 14 def get_c_type(name): argument 21 if isinstance(name, asdl.Id): 22 name = name.value 23 if name in asdl.builtin_types: 24 return name 26 return "%s_ty" % name 106 self.visit(type.value, type.name, depth) 108 def visitSum(self, sum, name, depth): argument 110 self.simple_sum(sum, name, depth) 112 self.sum_with_constructors(sum, name, depth) [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/ |
D | libfdt.h | 178 #define __fdt_set_hdr(name) \ argument 179 static inline void fdt_set_##name(void *fdt, uint32_t val) \ 182 fdth->name = cpu_to_fdt32(val); \ 294 const char *name, int namelen); 318 int fdt_subnode_offset(const void *fdt, int parentoffset, const char *name); 449 const char *name, 480 const char *name, int *lenp); 482 const char *name, in fdt_get_property_w() argument 486 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w() 535 const char *name, int namelen, int *lenp); [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | mkreal.py | 17 def mkrealfile(name): argument 18 st = os.stat(name) # Get the mode 20 linkto = os.readlink(name) # Make sure again it's a symlink 21 f_in = open(name, 'r') # This ensures it's a file 22 os.unlink(name) 23 f_out = open(name, 'w') 29 os.chmod(name, mode) 31 def mkrealdir(name): argument 32 st = os.stat(name) # Get the mode 34 linkto = os.readlink(name) [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/libfdt/ |
D | libfdt.h | 221 #define __fdt_set_hdr(name) \ argument 222 static inline void fdt_set_##name(void *fdt, uint32_t val) \ 225 fdth->name = cpu_to_fdt32(val); \ 352 const char *name, int namelen); 377 int fdt_subnode_offset(const void *fdt, int parentoffset, const char *name); 549 const char *name, 581 const char *name, int *lenp); 583 const char *name, in fdt_get_property_w() argument 587 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w() 636 const char *name, int namelen, int *lenp); [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | pickletools.py | 184 def __init__(self, name, n, reader, doc): argument 185 assert isinstance(name, str) 186 self.name = name 214 name='uint1', 235 name='uint2', 256 name='int4', 312 name='stringnl', 325 name='stringnl_noescape', 345 name='stringnl_noescape_pair', 380 name="string4", [all …]
|
D | ihooks.py | 114 def find_module(self, name, path = None): argument 118 stuff = self.find_module_in_dir(name, dir) 125 def find_module_in_dir(self, name, dir): argument 127 return self.find_builtin_module(name) 130 return imp.find_module(name, [dir]) 134 def find_builtin_module(self, name): argument 136 if imp.is_builtin(name): 138 if imp.is_frozen(name): 142 def load_module(self, name, stuff): argument 145 return imp.load_module(name, file, filename, info) [all …]
|
D | hashlib.py | 66 def __get_builtin_constructor(name): argument 68 if name in ('SHA1', 'sha1'): 71 elif name in ('MD5', 'md5'): 74 elif name in ('SHA256', 'sha256', 'SHA224', 'sha224'): 76 bs = name[3:] 81 elif name in ('SHA512', 'sha512', 'SHA384', 'sha384'): 83 bs = name[3:] 91 raise ValueError('unsupported hash type %s' % name) 94 def __get_openssl_constructor(name): argument 96 f = getattr(_hashlib, 'openssl_' + name) [all …]
|
D | Bastion.py | 47 def __init__(self, get, name): argument 58 self._name_ = name 70 def __getattr__(self, name): argument 82 attribute = self._get_(name) 83 self.__dict__[name] = attribute 87 def Bastion(object, filter = lambda name: name[:1] != '_', argument 88 name=None, bastionclass=BastionClass): 117 def get1(name, object=object, filter=filter): argument 119 if filter(name): 120 attribute = getattr(object, name) [all …]
|
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/Xen/arch-x86/ |
D | xen.h | 34 #define ___DEFINE_XEN_GUEST_HANDLE(name, type) \ argument 35 typedef struct { type *p; } __guest_handle_ ## name 37 #define ___DEFINE_XEN_GUEST_HANDLE(name, type) \ argument 38 typedef type * __guest_handle_ ## name 49 #define __DEFINE_XEN_GUEST_HANDLE(name, type) \ argument 50 ___DEFINE_XEN_GUEST_HANDLE(name, type); \ 51 ___DEFINE_XEN_GUEST_HANDLE(const_##name, const type) 52 #define DEFINE_XEN_GUEST_HANDLE(name) __DEFINE_XEN_GUEST_HANDLE(name, name) argument 53 #define __XEN_GUEST_HANDLE(name) __guest_handle_ ## name argument 54 #define XEN_GUEST_HANDLE(name) __XEN_GUEST_HANDLE(name) argument [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/ |
D | xmlreader.py | 75 def getFeature(self, name): argument 77 raise SAXNotRecognizedException("Feature '%s' not recognized" % name) 79 def setFeature(self, name, state): argument 81 raise SAXNotRecognizedException("Feature '%s' not recognized" % name) 83 def getProperty(self, name): argument 85 raise SAXNotRecognizedException("Property '%s' not recognized" % name) 87 def setProperty(self, name, value): argument 89 raise SAXNotRecognizedException("Property '%s' not recognized" % name) 287 def getType(self, name): argument 290 def getValue(self, name): argument [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/sax/ |
D | xmlreader.py | 75 def getFeature(self, name): argument 77 raise SAXNotRecognizedException("Feature '%s' not recognized" % name) 79 def setFeature(self, name, state): argument 81 raise SAXNotRecognizedException("Feature '%s' not recognized" % name) 83 def getProperty(self, name): argument 85 raise SAXNotRecognizedException("Property '%s' not recognized" % name) 87 def setProperty(self, name, value): argument 89 raise SAXNotRecognizedException("Property '%s' not recognized" % name) 287 def getType(self, name): argument 290 def getValue(self, name): argument [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/ |
D | symbols.py | 16 def __init__(self, name, module, klass=None): argument 17 self.name = name 38 return "<%s: %s>" % (self.__class__.__name__, self.name) 40 def mangle(self, name): argument 42 return name 43 return mangle(name, self.klass) 45 def add_def(self, name): argument 46 self.defs[self.mangle(name)] = 1 48 def add_use(self, name): argument 49 self.uses[self.mangle(name)] = 1 [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/ |
D | headers.py | 43 def __setitem__(self, name, val): argument 45 del self[name] 46 self._headers.append((name, val)) 48 def __delitem__(self,name): argument 53 name = name.lower() 54 self._headers[:] = [kv for kv in self._headers if kv[0].lower() != name] 56 def __getitem__(self,name): argument 65 return self.get(name) 67 def has_key(self, name): argument 69 return self.get(name) is not None [all …]
|
/device/generic/goldfish-opengl/system/vulkan/ |
D | func_table.cpp | 5288 void* goldfish_vulkan_get_proc_address(const char* name){ in goldfish_vulkan_get_proc_address() argument 5290 if (!strcmp(name, "vkCreateInstance")) in goldfish_vulkan_get_proc_address() 5294 if (!strcmp(name, "vkDestroyInstance")) in goldfish_vulkan_get_proc_address() 5298 if (!strcmp(name, "vkEnumeratePhysicalDevices")) in goldfish_vulkan_get_proc_address() 5302 if (!strcmp(name, "vkGetPhysicalDeviceFeatures")) in goldfish_vulkan_get_proc_address() 5306 if (!strcmp(name, "vkGetPhysicalDeviceFormatProperties")) in goldfish_vulkan_get_proc_address() 5310 if (!strcmp(name, "vkGetPhysicalDeviceImageFormatProperties")) in goldfish_vulkan_get_proc_address() 5314 if (!strcmp(name, "vkGetPhysicalDeviceProperties")) in goldfish_vulkan_get_proc_address() 5318 if (!strcmp(name, "vkGetPhysicalDeviceQueueFamilyProperties")) in goldfish_vulkan_get_proc_address() 5322 if (!strcmp(name, "vkGetPhysicalDeviceMemoryProperties")) in goldfish_vulkan_get_proc_address() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/ |
D | struct.py | 11 def __init__(self, name, head, members): argument 12 self.name = name 16 def get_type(self, name): argument 18 if name == _name: 20 raise ValueError, "no member named %s" % name 42 name = words[-1] 44 if name[0] == "*": 45 name = name[1:] 47 members.append((name, type)) 48 name = None [all …]
|
/device/google/cuttlefish_vmm/x86_64-linux-gnu/ |
D | Cargo.lock | 4 name = "aarch64" 23 name = "acpi_tables" 30 name = "arch" 45 name = "assertions" 49 name = "audio_streams" 57 name = "bit_field" 64 name = "bit_field_derive" 73 name = "bitflags" 79 name = "cc" 85 name = "cfg-if" [all …]
|
/device/google/cuttlefish_vmm/aarch64-linux-gnu/ |
D | Cargo.lock | 4 name = "aarch64" 23 name = "acpi_tables" 30 name = "arch" 45 name = "assertions" 49 name = "audio_streams" 57 name = "bit_field" 64 name = "bit_field_derive" 73 name = "bitflags" 79 name = "cc" 85 name = "cfg-if" [all …]
|