/external/libmojo/third_party/jinja2/ |
_compat.py | 105 def __new__(cls, name, this_bases, d): member in class:with_metaclass.metaclass 107 return type.__new__(cls, name, (), d)
|
/external/python/cpython2/Demo/newmetaclasses/ |
Eiffel.py | 7 def __new__(meta, name, bases, dict): member in class:EiffelBaseMetaClass 9 return super(EiffelBaseMetaClass, meta).__new__(meta, name, bases,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
copy_reg.py | 48 obj = object.__new__(cls)
50 obj = base.__new__(cls, state)
93 return cls.__new__(cls, *args)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
copy_reg.py | 48 obj = object.__new__(cls)
50 obj = base.__new__(cls, state)
93 return cls.__new__(cls, *args)
|
/external/nanopb-c/generator/google/protobuf/ |
reflection.py | 100 def __new__(cls, name, bases, dictionary): member in class:GeneratedProtocolMessageType 103 We override __new__ because this is apparently the only place 125 new_class = superclass.__new__(cls, name, bases, dictionary)
|
/external/python/cpython2/Lib/ |
copy_reg.py | 48 obj = object.__new__(cls) 50 obj = base.__new__(cls, state) 93 return cls.__new__(cls, *args)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
copy_reg.py | 48 obj = object.__new__(cls) 50 obj = base.__new__(cls, state) 93 return cls.__new__(cls, *args)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
copy_reg.py | 48 obj = object.__new__(cls) 50 obj = base.__new__(cls, state) 93 return cls.__new__(cls, *args)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
copy_reg.py | 48 obj = object.__new__(cls) 50 obj = base.__new__(cls, state) 93 return cls.__new__(cls, *args)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
copy_reg.py | 48 obj = object.__new__(cls) 50 obj = base.__new__(cls, state) 93 return cls.__new__(cls, *args)
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
mbim_data_transfer.py | 387 obj = super(cls, cls).__new__(cls, *field_values) 401 def __new__(mcs, name, bases, attrs): member in class:MBIMNtbHeadersMeta 403 return super(MBIMNtbHeadersMeta, mcs).__new__( 411 attrs['__new__'] = header_class_new 414 # correctly resolve the __new__ method while preserving the class 416 cls = super(MBIMNtbHeadersMeta, mcs).__new__( 427 The base class overrides namedtuple's __new__ to:
|
mbim_message.py | 91 obj = super(cls, cls).__new__(cls, *struct.unpack_from(data_format, 123 obj = super(cls, cls).__new__(cls, *field_values) 171 def __new__(mcs, name, bases, attrs): member in class:MBIMControlMessageMeta 176 return super(MBIMControlMessageMeta, mcs).__new__( 200 attrs['__new__'] = message_class_new 204 # correctly resolve the __new__ method while preserving the class 206 cls = super(MBIMControlMessageMeta, mcs).__new__(
|
usb_descriptors.py | 95 def __new__(mcs, name, bases, attrs): member in class:DescriptorMeta 100 return super(DescriptorMeta, mcs).__new__(mcs, name, bases, attrs) 127 obj = super(cls, cls).__new__(cls, *struct.unpack_from(data_format, 156 attrs['__new__'] = descriptor_class_new 159 # correctly resolve the __new__ method while preserving the class 161 cls = super(DescriptorMeta, mcs).__new__(mcs, name,
|
/external/autotest/client/bin/ |
setup_job_unittest.py | 29 self.job = self.job_class.__new__(self.job_class) 166 # will construct class instance using __new__ 167 self.job = setup_job.setup_job.__new__(setup_job.setup_job)
|
/external/libmojo/third_party/markupsafe/ |
__init__.py | 68 def __new__(cls, base=u'', encoding=None, errors='strict'): member in class:Markup 72 return text_type.__new__(cls, base) 73 return text_type.__new__(cls, base, encoding, errors)
|
/external/llvm/utils/lit/lit/ |
Test.py | 10 # We override __new__ and __getnewargs__ to ensure that pickling still 13 def __new__(cls, name, isFailure): member in class:ResultCode 16 cls._instances[name] = res = super(ResultCode, cls).__new__(cls)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_module.py | 12 foo = ModuleType.__new__(ModuleType)
|
/external/autotest/client/cros/cellular/ |
environment.py | 27 def __new__(cls, config, *args, **kwargs): member in class:Environment
|
/external/autotest/server/hosts/ |
base_classes_unittest.py | 29 host = base_classes.Host.__new__(base_classes.Host)
|
/external/python/cpython2/Lib/test/ |
test_module.py | 12 foo = ModuleType.__new__(ModuleType)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_module.py | 12 foo = ModuleType.__new__(ModuleType)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_module.py | 12 foo = ModuleType.__new__(ModuleType)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_module.py | 12 foo = ModuleType.__new__(ModuleType)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/ |
symbol.py | 63 newobj = cls.__new__(cls)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_module.py | 12 foo = ModuleType.__new__(ModuleType)
|