/external/autotest/client/cros/image_comparison/ |
H A D | comparison_result.py | 13 ComparisonResult.__new__.__defaults__ = (0, '', None)
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/ |
H A D | meta_class.py | 11 def __new__(cls, name, bases, attrs): member in class:TracedMetaClass 16 return super(TracedMetaClass, cls).__new__(cls, name, bases, attrs)
|
/external/toolchain-utils/cros_utils/ |
H A D | file_utils.py | 21 def __new__(cls, *args, **kwargs): member in class:FileUtils 24 cls._instance = super(FileUtils, cls).__new__(MockFileUtils, *args, 27 cls._instance = super(FileUtils, cls).__new__(cls, *args, **kwargs)
|
/external/chromium-trace/catapult/devil/devil/utils/ |
H A D | geometry.py | 51 def __new__(cls, top_left, bottom_right): member in class:Rectangle 56 return super(Rectangle, cls).__new__(cls, top_left, bottom_right)
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
H A D | geometry.py | 51 def __new__(cls, top_left, bottom_right): member in class:Rectangle 56 return super(Rectangle, cls).__new__(cls, top_left, bottom_right)
|
/external/nanopb-c/generator/google/protobuf/ |
H A D | 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/ctypes/test/ |
H A D | test_init.py | 9 def __new__(cls): member in class:X 10 result = super(X, cls).__new__(cls) 25 # doesn't call the structure's __new__ and __init__ 30 # But explicitly creating an X structure calls __new__ and __init__, of course.
|
/external/trappy/tests/trappy/ |
H A D | dynamic.py | 52 def __new__(mcs, name, bases, dct): member in class:DynamicTypeFactory 54 return type.__new__(mcs, name, bases, dct)
|
/external/trappy/trappy/ |
H A D | dynamic.py | 52 def __new__(mcs, name, bases, dct): member in class:DynamicTypeFactory 54 return type.__new__(mcs, name, bases, dct)
|
/external/fonttools/Lib/fontTools/misc/ |
H A D | py23.py | 58 def __new__(self, content): member in class:.Tag 59 return str.__new__(self, self.transcode(content))
|
/external/fonttools/Tools/fontTools/misc/ |
H A D | py23.py | 58 def __new__(self, content): member in class:.Tag 59 return str.__new__(self, self.transcode(content))
|
/external/toolchain-utils/crosperf/ |
H A D | image_checksummer.py | 48 def __new__(cls, *args, **kwargs): member in class:ImageChecksummer 51 cls._instance = super(ImageChecksummer, cls).__new__(cls, *args,
|
/external/python/cpython2/Lib/unittest/test/ |
H A D | test_discovery.py | 204 program = object.__new__(unittest.TestProgram) 222 program = object.__new__(unittest.TestProgram) 232 program = object.__new__(unittest.TestProgram) 245 program = object.__new__(unittest.TestProgram) 259 program = object.__new__(unittest.TestProgram) 265 program = object.__new__(unittest.TestProgram) 271 program = object.__new__(unittest.TestProgram) 277 program = object.__new__(unittest.TestProgram) 283 program = object.__new__(unittest.TestProgram) 289 program = object.__new__(unittes [all...] |
/external/python/cpython2/Lib/ |
H A D | copy_reg.py | 48 obj = object.__new__(cls) 50 obj = base.__new__(cls, state) 93 return cls.__new__(cls, *args)
|
H A D | _threading_local.py | 151 def __new__(cls, *args, **kw): member in class:_localbase 152 self = object.__new__(cls)
|
H A D | abc.py | 86 def __new__(mcls, name, bases, namespace): member in class:ABCMeta 87 cls = super(ABCMeta, mcls).__new__(mcls, name, bases, namespace)
|
/external/autotest/scheduler/ |
H A D | rdb_requests.py | 93 def __new__(cls, name, bases, dctn): member in class:RDBRequestMeta 101 return type.__new__(cls, name, bases, dctn)
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
H A D | 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,
|
H A D | 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__(
|
H A D | 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:
|
/external/autotest/server/ |
H A D | server_job_unittest.py | 18 self.job = server_job.server_job.__new__(server_job.server_job) 42 self.job = server_job.server_job.__new__(
|
/external/libmojo/third_party/jinja2/ |
H A D | _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/ |
H A D | Eiffel.py | 7 def __new__(meta, name, bases, dict): member in class:EiffelBaseMetaClass 9 return super(EiffelBaseMetaClass, meta).__new__(meta, name, bases,
|
H A D | Enum.py | 71 def __new__(cls, classname, enumname, value): member in class:EnumInstance 72 return int.__new__(cls, value)
|
/external/python/cpython2/Lib/test/ |
H A D | test_module.py | 12 foo = ModuleType.__new__(ModuleType)
|