Searched refs:__new__ (Results 1 – 3 of 3) sorted by relevance
/development/tools/axl/ |
D | singletonmixin.py | 52 def __new__(metaclass, strName, tupBases, dict): member in MetaSingleton 55 return super(MetaSingleton,metaclass).__new__(metaclass, strName, tupBases, dict) 75 instance = cls.__new__(cls) 178 def __new__(metaclass, strName, tupBases, dict): member in PublicInterfaceTest.testDontAllowNew.instantiatedAnIllegalClass.A 179 … return super(MetaSingleton,metaclass).__new__(metaclass, strName, tupBases, dict)
|
/development/vndk/tools/sourcedr/blueprint/ |
D | blueprint.py | 63 def __new__(mcs, name, bases, attrs): member in _EnumMeta 76 return type.__new__(mcs, name, bases, new_attrs)
|
/development/vndk/tools/definition-tool/ |
D | vndk_definition_tool.py | 344 def __new__(cls, *args, **kwargs): function 352 return base_cls.__new__(cls, *args) 353 return type(typename, (base_cls,), {'__new__': __new__}) 371 return cls.__new__(cls, *unpacked)
|