Home
last modified time | relevance | path

Searched refs:__new__ (Results 1 – 25 of 46) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
Dtest_discovery.py203 program = object.__new__(unittest.TestProgram)
221 program = object.__new__(unittest.TestProgram)
230 program = object.__new__(unittest.TestProgram)
244 program = object.__new__(unittest.TestProgram)
250 program = object.__new__(unittest.TestProgram)
256 program = object.__new__(unittest.TestProgram)
262 program = object.__new__(unittest.TestProgram)
268 program = object.__new__(unittest.TestProgram)
274 program = object.__new__(unittest.TestProgram)
280 program = object.__new__(unittest.TestProgram)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcopy_reg.py48 obj = object.__new__(cls)
50 obj = base.__new__(cls, state)
93 return cls.__new__(cls, *args)
Dabc.py86 def __new__(mcls, name, bases, namespace): member in ABCMeta
87 cls = super(ABCMeta, mcls).__new__(mcls, name, bases, namespace)
Dweakref.py223 def __new__(type, ob, callback, key): member in KeyedRef
224 self = ref.__new__(type, ob, callback)
Dfractions.py68 def __new__(cls, numerator=0, denominator=None): member in Fraction
99 self = super(Fraction, cls).__new__(cls)
Dcodecs.py77 def __new__(cls, encode, decode, streamreader=None, streamwriter=None, member in CodecInfo
79 self = tuple.__new__(cls, (encode, decode, streamreader, streamwriter))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dcopy_reg.py48 obj = object.__new__(cls)
50 obj = base.__new__(cls, state)
93 return cls.__new__(cls, *args)
Dabc.py86 def __new__(mcls, name, bases, namespace): member in ABCMeta
87 cls = super(ABCMeta, mcls).__new__(mcls, name, bases, namespace)
Dweakref.py262 def __new__(type, ob, callback, key): member in KeyedRef
263 self = ref.__new__(type, ob, callback)
Dcodecs.py83 def __new__(cls, encode, decode, streamreader=None, streamwriter=None, member in CodecInfo
85 self = tuple.__new__(cls, (encode, decode, streamreader, streamwriter))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/newmetaclasses/
DEiffel.py7 def __new__(meta, name, bases, dict): member in EiffelBaseMetaClass
9 return super(EiffelBaseMetaClass, meta).__new__(meta, name, bases,
DEnum.py71 def __new__(cls, classname, enumname, value): member in EnumInstance
72 return int.__new__(cls, value)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_module.py12 foo = ModuleType.__new__(ModuleType)
Dtest_descr.py276 def __new__(cls, *args, **kwds): member in OperatorsTest.test_complexes.Number
277 result = complex.__new__(cls, *args)
486 def __new__(cls, name, bases, dict): member in ClassPropertiesAndMethods.test_metaclass.M1
488 return type.__new__(cls, name, bases, dict)
499 def __new__(cls, name, bases, dict): member in ClassPropertiesAndMethods.test_metaclass.M2
500 self = object.__new__(cls)
528 def __new__(metaclass, name, bases, dict): member in ClassPropertiesAndMethods.test_metaclass.autosuper
529 cls = super(autosuper, metaclass).__new__(metaclass,
562 def __new__(metaclass, name, bases, dict): member in ClassPropertiesAndMethods.test_metaclass.autoproperty
577 return super(autoproperty, metaclass).__new__(metaclass,
[all …]
Dtest_abc.py202 def __new__(cls): member in TestABC.test_all_new_methods_are_called.B
204 return super(B, cls).__new__(cls)
Dtest_copy.py38 def __new__(cls, foo): member in TestCopy.test_copy_registry.C
39 obj = object.__new__(cls)
211 def __new__(cls, foo): member in TestCopy.test_deepcopy_registry.C
212 obj = object.__new__(cls)
Dtest_str.py78 def __new__(cls, content=""): member in StrTest.test_conversion.Foo8
79 return str.__new__(cls, 2*content)
Dtest_datetime.py103 orig = tzinfo.__new__(tzinfo)
1091 def __new__(cls, *args, **kws): member in TestDate.test_subclass_date.C
1094 result = self.theclass.__new__(cls, *args, **temp)
1663 def __new__(cls, *args, **kws): member in TestDateTime.test_subclass_datetime.C
1666 result = self.theclass.__new__(cls, *args, **temp)
1964 def __new__(cls, *args, **kws): member in TestTime.test_subclass_time.C
1967 result = self.theclass.__new__(cls, *args, **temp)
2379 def __new__(cls, *args, **kws): member in TestTimeTZ.test_subclass_timetz.C
2382 result = self.theclass.__new__(cls, *args, **temp)
2987 def __new__(cls, *args, **kws): member in TestDateTimeTZ.test_subclass_datetimetz.C
[all …]
Dtest_mmap.py528 def __new__(klass, *args, **kwargs): member in MmapTests.test_subclass.anon_mmap
529 return mmap.mmap.__new__(klass, -1, *args, **kwargs)
Dtest_array.py806 def __new__(cls, s, *args, **kwargs): member in CharacterTest.test_subbclassing.EditableString
807 return array.array.__new__(cls, 'c', s)
947 def __new__(cls, typecode, data, offset): member in NumberTest.test_subclassing.ExaggeratingArray
948 return array.array.__new__(cls, typecode, data)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/
Dpytree.py50 def __new__(cls, *args, **kwds): member in Base
53 return object.__new__(cls)
469 def __new__(cls, *args, **kwds): member in BasePattern
472 return object.__new__(cls)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/
DMetaFileTable.py318 def __new__(Class, Cursor, MetaFile, FileType=None, Temporary=False): member in MetaFileStorage
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfSectionParser.py201 def __new__(cls, FilePath, *args, **kwargs): member in InfSectionParser
209 ParserObject = super(InfSectionParser, cls).__new__(cls)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DBuildEngine.py53 def __new__(Class, Inputs, Outputs, Commands, Dependencies): member in TargetDescBlock
59 Tdb = super(TargetDescBlock, Class).__new__(Class)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
DMetaFileTable.py373 def __new__(Class, Cursor, MetaFile, FileType=None, Temporary=False): member in MetaFileStorage

12