Home
last modified time | relevance | path

Searched refs:subclass (Results 1 – 25 of 32) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dabc.py105 def register(cls, subclass): argument
107 if not isinstance(subclass, (type, types.ClassType)):
109 if issubclass(subclass, cls):
113 if issubclass(cls, subclass):
116 cls._abc_registry.add(subclass)
131 subclass = getattr(instance, '__class__', None)
132 if subclass is not None and subclass in cls._abc_cache:
137 subtype = subclass
138 if subtype is subclass or subclass is None:
145 return (cls.__subclasscheck__(subclass) or
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dabc.py105 def register(cls, subclass): argument
107 if not isinstance(subclass, (type, types.ClassType)):
109 if issubclass(subclass, cls):
113 if issubclass(cls, subclass):
116 cls._abc_registry.add(subclass)
131 subclass = getattr(instance, '__class__', None)
132 if subclass is not None and subclass in cls._abc_cache:
137 subtype = subclass
138 if subtype is subclass or subclass is None:
145 return (cls.__subclasscheck__(subclass) or
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_syntax.py494 filename="<testcase>", mode="exec", subclass=None): argument
504 if subclass and not isinstance(err, subclass):
505 self.fail("SyntaxError is not a %s" % subclass.__name__)
550 subclass=IndentationError)
554 subclass=IndentationError)
559 subclass=IndentationError)
Dseq_tests.py269 class subclass(self.type2test): class
271 u3 = subclass([0, 1])
Dstring_tests.py1299 class subclass(t): class
1301 s1 = subclass("abcd")
1312 s1 = subclass("abcd")
1322 s1 = subclass("abcd")
Dtest_exceptions.py438 def __subclasscheck__(cls, subclass): argument
Dtest_bytes.py1100 class subclass(bytearray): class
1103 x = subclass(4, source=b"abcd")
1105 x = subclass(newarg=4, source=b"abcd")
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/
DMiscBiosVendor.uni3 // Misc. subclass type 2.
DSmbiosMiscStrings.uni21 #string STR_MISC_SUBCLASS_DRIVER_TITLE #language en-US "SMBIOS Misc subclass driver"
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/
DMiscMemoryDevice.uni20 // Misc. subclass type 17.
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
DREADME.txt35 returns true if the object is an instance of our type, not a subclass
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
DREADME.txt35 returns true if the object is an instance of our type, not a subclass
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Config2.vfr23 subclass = 0x03,
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/
DVfr.vfr34 subclass = 0,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dtypeobject.c376 PyTypeObject *subclass; in mro_subclasses() local
388 subclass = (PyTypeObject *)PyWeakref_GET_OBJECT(ref); in mro_subclasses()
389 assert(subclass != NULL); in mro_subclasses()
390 if ((PyObject *)subclass == Py_None) in mro_subclasses()
392 assert(PyType_Check(subclass)); in mro_subclasses()
393 old_mro = subclass->tp_mro; in mro_subclasses()
394 if (mro_internal(subclass) < 0) { in mro_subclasses()
395 subclass->tp_mro = old_mro; in mro_subclasses()
400 tuple = PyTuple_Pack(2, subclass, old_mro); in mro_subclasses()
408 if (mro_subclasses(subclass, temp) < 0) in mro_subclasses()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dtypeobject.c382 PyTypeObject *subclass; in mro_subclasses() local
394 subclass = (PyTypeObject *)PyWeakref_GET_OBJECT(ref); in mro_subclasses()
395 assert(subclass != NULL); in mro_subclasses()
396 if ((PyObject *)subclass == Py_None) in mro_subclasses()
398 assert(PyType_Check(subclass)); in mro_subclasses()
399 old_mro = subclass->tp_mro; in mro_subclasses()
400 if (mro_internal(subclass) < 0) { in mro_subclasses()
401 subclass->tp_mro = old_mro; in mro_subclasses()
406 tuple = PyTuple_Pack(2, subclass, old_mro); in mro_subclasses()
414 if (mro_subclasses(subclass, temp) < 0) in mro_subclasses()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/
DCHANGES_FROM_131.txt200 o Grammars which subclass ANTLRCommonToken must wrap all token
408 If you subclass ANTLRCommonToken and then attempt to refer to one of
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/VfrCompile/
DVfrCompile.g803 #token Subclass("subclass") "subclass"
825 // Define the class and subclass tokens
920 // A form can only be of one subclass type.
928 ; << PrintErrorMessage (LT(1)->getLine(), LT(1)->getText(), "invalid subclass"); >>
2062 Invoked during VFR parsing when a subclass statement is found. Check the
2067 Value - the subclass value from the VFR statement
2075 PrintWarningMessage (LineNum, NULL, "subclass value exceeds maximum allowed");
/device/linaro/bootloader/edk2/SecurityPkg/
DSecurityPkg.uni177 …deSubClassTpmDevice_HELP #language en-US "Progress Code for TPM device subclass definitions.<BR><…
DSecurityPkg.dec296 ## Progress Code for TPM device subclass definitions.<BR><BR>
/device/linaro/bootloader/edk2/IntelFrameworkPkg/
DFrameworkSpecConformance.txt955 …re *NOT* defined in Framework StatusCodes specification 0.92. But these subclass-specific error co…
988 …amework StatusCodes specification 0.92, in which IA32 and IPF exception subclass error code defini…
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DriverSampleDxe/
DVfr.vfr31 // Formset subclass
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/
DVfrSyntax.g200 #token Subclass("subclass") "subclass"
237 // Define the class and subclass tokens
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/
DVfrSyntax.g202 #token Subclass("subclass") "subclass"
247 // Define the class and subclass tokens
/device/linaro/bootloader/edk2/MdeModulePkg/
DMdeModulePkg.uni1009 …PcdStatusCodeSubClassCapsule_PROMPT #language en-US "Status Code for Capsule subclass definitions"
1011 …tatusCodeSubClassCapsule_HELP #language en-US "Status Code for Capsule subclass definitions.<BR><…

12