Home
last modified time | relevance | path

Searched full:subclass (Results 1 – 25 of 11897) sorted by relevance

12345678910>>...476

/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/UDK2017/MdePkg/Include/Pi/
H A DPiStatusCode.h76 /// A Status Code Value is made up of the class, subclass, and
108 /// - 0x1000-0x7FFF Subclass Specific.
116 /// Debug Code definitions for all classes and subclass.
137 /// Computing Unit Subclass definitions.
161 // Computing Unit Unspecified Subclass Progress Code definitions.
165 /// Computing Unit Host Processor Subclass Progress Code definitions.
179 // Computing Unit Firmware Processor Subclass Progress Code definitions.
183 // Computing Unit IO Processor Subclass Progress Code definitions.
187 /// Computing Unit Cache Subclass Progress Code definitions.
195 /// Computing Unit Memory Subclass Progress Code definitions.
[all …]
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/Pi/
H A DPiStatusCode.h70 /// A Status Code Value is made up of the class, subclass, and
102 /// - 0x1000-0x7FFF Subclass Specific.
110 /// Debug Code definitions for all classes and subclass.
131 /// Computing Unit Subclass definitions.
155 // Computing Unit Unspecified Subclass Progress Code definitions.
159 /// Computing Unit Host Processor Subclass Progress Code definitions.
173 // Computing Unit Firmware Processor Subclass Progress Code definitions.
177 // Computing Unit IO Processor Subclass Progress Code definitions.
181 /// Computing Unit Cache Subclass Progress Code definitions.
189 /// Computing Unit Memory Subclass Progress Code definitions.
[all …]
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202005/MdePkg/Include/Pi/
H A DPiStatusCode.h70 /// A Status Code Value is made up of the class, subclass, and
102 /// - 0x1000-0x7FFF Subclass Specific.
110 /// Debug Code definitions for all classes and subclass.
131 /// Computing Unit Subclass definitions.
155 // Computing Unit Unspecified Subclass Progress Code definitions.
159 /// Computing Unit Host Processor Subclass Progress Code definitions.
173 // Computing Unit Firmware Processor Subclass Progress Code definitions.
177 // Computing Unit IO Processor Subclass Progress Code definitions.
181 /// Computing Unit Cache Subclass Progress Code definitions.
189 /// Computing Unit Memory Subclass Progress Code definitions.
[all …]
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202111/MdePkg/Include/Pi/
H A DPiStatusCode.h70 /// A Status Code Value is made up of the class, subclass, and
102 /// - 0x1000-0x7FFF Subclass Specific.
110 /// Debug Code definitions for all classes and subclass.
131 /// Computing Unit Subclass definitions.
155 // Computing Unit Unspecified Subclass Progress Code definitions.
159 /// Computing Unit Host Processor Subclass Progress Code definitions.
173 // Computing Unit Firmware Processor Subclass Progress Code definitions.
177 // Computing Unit IO Processor Subclass Progress Code definitions.
181 /// Computing Unit Cache Subclass Progress Code definitions.
189 /// Computing Unit Memory Subclass Progress Code definitions.
[all …]
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/
H A D_py_abc.py29 # registered as a virtual subclass of anything. It forces the
54 def register(cls, subclass): argument
55 """Register a virtual subclass of an ABC.
57 Returns the subclass, to allow usage as a class decorator.
59 if not isinstance(subclass, type):
61 if issubclass(subclass, cls):
62 return subclass # Already a subclass
63 # Subtle: test for cycles *after* testing for "already a subclass";
65 if issubclass(cls, subclass):
68 cls._abc_registry.add(subclass)
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/
D_py_abc.py29 # registered as a virtual subclass of anything. It forces the
54 def register(cls, subclass): argument
55 """Register a virtual subclass of an ABC.
57 Returns the subclass, to allow usage as a class decorator.
59 if not isinstance(subclass, type):
61 if issubclass(subclass, cls):
62 return subclass # Already a subclass
63 # Subtle: test for cycles *after* testing for "already a subclass";
65 if issubclass(cls, subclass):
68 cls._abc_registry.add(subclass)
[all …]
/aosp_15_r20/external/python/cpython3/Lib/
D_py_abc.py29 # registered as a virtual subclass of anything. It forces the
54 def register(cls, subclass): argument
55 """Register a virtual subclass of an ABC.
57 Returns the subclass, to allow usage as a class decorator.
59 if not isinstance(subclass, type):
61 if issubclass(subclass, cls):
62 return subclass # Already a subclass
63 # Subtle: test for cycles *after* testing for "already a subclass";
65 if issubclass(cls, subclass):
68 cls._abc_registry.add(subclass)
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/
D_py_abc.py29 # registered as a virtual subclass of anything. It forces the
54 def register(cls, subclass): argument
55 """Register a virtual subclass of an ABC.
57 Returns the subclass, to allow usage as a class decorator.
59 if not isinstance(subclass, type):
61 if issubclass(subclass, cls):
62 return subclass # Already a subclass
63 # Subtle: test for cycles *after* testing for "already a subclass";
65 if issubclass(cls, subclass):
68 cls._abc_registry.add(subclass)
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/
D_py_abc.py29 # registered as a virtual subclass of anything. It forces the
54 def register(cls, subclass): argument
55 """Register a virtual subclass of an ABC.
57 Returns the subclass, to allow usage as a class decorator.
59 if not isinstance(subclass, type):
61 if issubclass(subclass, cls):
62 return subclass # Already a subclass
63 # Subtle: test for cycles *after* testing for "already a subclass";
65 if issubclass(cls, subclass):
68 cls._abc_registry.add(subclass)
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/
D_py_abc.py29 # registered as a virtual subclass of anything. It forces the
54 def register(cls, subclass): argument
55 """Register a virtual subclass of an ABC.
57 Returns the subclass, to allow usage as a class decorator.
59 if not isinstance(subclass, type):
61 if issubclass(subclass, cls):
62 return subclass # Already a subclass
63 # Subtle: test for cycles *after* testing for "already a subclass";
65 if issubclass(cls, subclass):
68 cls._abc_registry.add(subclass)
[all …]
/aosp_15_r20/external/python/cpython2/Lib/
Dabc.py82 # registered as a virtual subclass of anything. It forces the
105 def register(cls, subclass): argument
106 """Register a virtual subclass of an ABC."""
107 if not isinstance(subclass, (type, types.ClassType)):
109 if issubclass(subclass, cls):
110 return # Already a subclass
111 # Subtle: test for cycles *after* testing for "already a subclass";
113 if issubclass(cls, subclass):
116 cls._abc_registry.add(subclass)
131 subclass = getattr(instance, '__class__', None)
[all …]
/aosp_15_r20/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
H A DUsbACInterface.java84 public UsbACInterface(int length, byte type, byte subtype, int subclass) { in UsbACInterface() argument
87 mSubclass = subclass; in UsbACInterface()
99 ByteStream stream, int length, byte type, byte subtype, int subClass) { in allocAudioControlDescriptor() argument
112 return new Usb20ACHeader(length, type, subtype, subClass, acInterfaceSpec); in allocAudioControlDescriptor()
114 return new Usb10ACHeader(length, type, subtype, subClass, acInterfaceSpec); in allocAudioControlDescriptor()
128 return new Usb20ACInputTerminal(length, type, subtype, subClass); in allocAudioControlDescriptor()
130 return new Usb10ACInputTerminal(length, type, subtype, subClass); in allocAudioControlDescriptor()
144 return new Usb20ACOutputTerminal(length, type, subtype, subClass); in allocAudioControlDescriptor()
146 return new Usb10ACOutputTerminal(length, type, subtype, subClass); in allocAudioControlDescriptor()
154 return new UsbACSelectorUnit(length, type, subtype, subClass); in allocAudioControlDescriptor()
[all …]
/aosp_15_r20/external/python/cpython3/Modules/
D_abc.c511 subclass: object
518 _abc__abc_register_impl(PyObject *module, PyObject *self, PyObject *subclass) in _abc__abc_register_impl() argument
521 if (!PyType_Check(subclass)) { in _abc__abc_register_impl()
525 int result = PyObject_IsSubclass(subclass, self); in _abc__abc_register_impl()
527 Py_INCREF(subclass); in _abc__abc_register_impl()
528 return subclass; /* Already a subclass. */ in _abc__abc_register_impl()
533 /* Subtle: test for cycles *after* testing for "already a subclass"; in _abc__abc_register_impl()
535 result = PyObject_IsSubclass(self, subclass); in _abc__abc_register_impl()
548 if (_add_to_weak_set(&impl->_abc_registry, subclass) < 0) { in _abc__abc_register_impl()
561 set_collection_flag_recursive((PyTypeObject *)subclass, collection_flag); in _abc__abc_register_impl()
[all …]
/aosp_15_r20/cts/tools/vm-tests-tf/src/dot/junit/opcodes/instance_of/d/T_instance_of_2.smalis/
H A DT_instance_of_2.smali36 # (SubClass instanceof SuperClass)
37 new-instance v10, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass;
39 invoke-direct {v10}, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass;-><init>()V
45 # (SubClass[] instanceof SuperClass[])
48 new-array v10, v11, [Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass;
54 # (SubClass[] instanceof Object)
55 new-array v10, v11, [Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass;
61 # (SubClass instanceof SuperInterface)
62 new-instance v10, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass;
64 invoke-direct {v10}, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass;-><init>()V
[all …]
/aosp_15_r20/external/cronet/base/allocator/partition_allocator/src/partition_alloc/pointers/
H A Draw_ref_unittest.cc29 class SubClass : public BaseClass {}; class
96 // A SubClass can be converted to a BaseClass.
97 static_assert(std::is_constructible_v<raw_ref<BaseClass>, raw_ref<SubClass>>);
99 std::is_constructible_v<raw_ref<BaseClass>, const raw_ref<SubClass>&>);
100 static_assert(std::is_constructible_v<raw_ref<BaseClass>, raw_ref<SubClass>&&>);
101 static_assert(std::is_assignable_v<raw_ref<BaseClass>, raw_ref<SubClass>>);
103 std::is_assignable_v<raw_ref<BaseClass>, const raw_ref<SubClass>&>);
104 static_assert(std::is_assignable_v<raw_ref<BaseClass>, raw_ref<SubClass>&&>);
106 static_assert(!std::is_constructible_v<raw_ref<SubClass>, raw_ref<BaseClass>>);
108 !std::is_constructible_v<raw_ref<SubClass>, const raw_ref<BaseClass>&>);
[all …]
/aosp_15_r20/cts/tools/vm-tests-tf/src/dot/junit/opcodes/check_cast/d/T_check_cast_2.smalis/
H A DT_check_cast_2.smali36 # (SubClass instanceof SuperClass)
37 new-instance v10, Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass;
39 invoke-direct {v10}, Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass;-><init>()V
43 # (SubClass[] instanceof SuperClass[])
46 new-array v10, v11, [Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass;
50 # (SubClass[] instanceof Object)
51 new-array v10, v11, [Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass;
55 # (SubClass instanceof SuperInterface)
56 new-instance v10, Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass;
58 invoke-direct {v10}, Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass;-><init>()V
[all …]
/aosp_15_r20/external/dexmaker/dexmaker-mockito-inline-extended-tests/src/main/java/com/android/dx/mockito/inline/extended/tests/
H A DMockStatic.java66 private static final class SubClass extends SuperClass { class in MockStatic
160 MockitoSession session = mockitoSession().mockStatic(SubClass.class).startMocking(); in mockOverriddenStaticMethod()
163 assertNull(SubClass.returnB()); in mockOverriddenStaticMethod()
164 assertNull(SubClass.returnC()); in mockOverriddenStaticMethod()
170 when(SubClass.returnB()).thenReturn("fakeB"); in mockOverriddenStaticMethod()
171 when(SubClass.returnC()).thenReturn("fakeC"); in mockOverriddenStaticMethod()
174 assertEquals("fakeB", SubClass.returnB()); in mockOverriddenStaticMethod()
175 assertEquals("fakeC", SubClass.returnC()); in mockOverriddenStaticMethod()
185 assertEquals("superB", SubClass.returnB()); in mockOverriddenStaticMethod()
186 assertEquals("subC", SubClass.returnC()); in mockOverriddenStaticMethod()
[all …]
/aosp_15_r20/out/soong/.intermediates/frameworks/base/api/api-stubs-docs-non-updatable/android_common/everything/
Dapi_lint_report.txt1 …onDatabase has a visible constructor, in case a third-party attempts to subclass it. [HiddenAbstra…
2 …ebSettings has a visible constructor, in case a third-party attempts to subclass it. [HiddenAbstra…
3 …ebSettings has a visible constructor, in case a third-party attempts to subclass it. [HiddenAbstra…
4 …ebSettings has a visible constructor, in case a third-party attempts to subclass it. [HiddenAbstra…
5 …ebSettings has a visible constructor, in case a third-party attempts to subclass it. [HiddenAbstra…
6 …ebSettings has a visible constructor, in case a third-party attempts to subclass it. [HiddenAbstra…
7 …ebSettings has a visible constructor, in case a third-party attempts to subclass it. [HiddenAbstra…
8 …ebSettings has a visible constructor, in case a third-party attempts to subclass it. [HiddenAbstra…
9 …ebSettings has a visible constructor, in case a third-party attempts to subclass it. [HiddenAbstra…
10 …ebSettings has a visible constructor, in case a third-party attempts to subclass it. [HiddenAbstra…
[all …]
/aosp_15_r20/external/clang/test/SemaObjC/
H A Dnewproperty-class-method-1.m5 @interface Subclass interface
11 @implementation Subclass implementation
36 Subclass.magicNumber = 2 /*[Subclass setMagicNumber:2]*/;
37 if (Subclass.magicNumber != 0)
39 if (Subclass.magicNumber != 2)
41 Subclass.magicNumber += 3;
42 if (Subclass.magicNumber != 5)
44 Subclass.magicNumber -= 5;
45 if (Subclass.magicNumber != 0)
48 Subclass.fakeSetterNumber = 123;
[all …]
/aosp_15_r20/external/cronet/testing/rust_gtest_interop/
H A Drust_gtest_interop.h16 // testing::Test subclass T. Invoke this macro once for each subclass of
31 // except the test body which calls the Rust function. The Subclass must be
32 // `testing::Test`, or a subclass thereof.
33 template <class Subclass>
34 class RustTest : public Subclass {
36 explicit RustTest(void (&test_fn)(Subclass*)) : test_fn_(test_fn) { in RustTest() argument
37 static_assert(std::is_convertible_v<Subclass*, testing::Test*>, in RustTest()
38 "RustTest's Subclass parameter must be a testing::Test or a " in RustTest()
39 "subclass of it"); in RustTest()
45 void (&test_fn_)(Subclass*);
[all …]
/aosp_15_r20/external/openscreen/cast/streaming/
H A Dexpanded_value_base.h24 // the longest reasonable length of continuous system operation. Subclass is
26 // is used to provide operator overloads. The Subclass must friend this class
36 template <typename FullWidthInteger, class Subclass>
73 Subclass ExpandLessThanOrEqual(ShortUnsigned x) const { in ExpandLessThanOrEqual()
94 return Subclass(result); in ExpandLessThanOrEqual()
101 return Subclass(x); in ExpandLessThanOrEqual()
108 Subclass ExpandGreaterThan(ShortUnsigned x) const { in ExpandGreaterThan()
109 const Subclass maximum_possible_result( in ExpandGreaterThan()
120 Subclass Expand(ShortUnsigned x) const { in Expand()
121 const Subclass maximum_possible_result( in Expand()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DInstVisitor.h30 return static_cast<SubClass*>(this)-> \
41 /// new type for the 'SubClass' template parameter, and "override" visitXXX
79 template<typename SubClass, typename RetTy=void>
91 static_cast<SubClass*>(this)->visit(*Start++); in visit()
97 static_cast<SubClass*>(this)->visitModule(M); in visit()
101 static_cast<SubClass*>(this)->visitFunction(F); in visit()
105 static_cast<SubClass*>(this)->visitBasicBlock(BB); in visit()
118 static_assert(std::is_base_of<InstVisitor, SubClass>::value, in visit()
126 static_cast<SubClass*>(this)-> \ in visit()
224 return static_cast<SubClass*>(this)->visitCallSite(&I); in visitCallInst()
[all …]
/aosp_15_r20/external/pytorch/torch/_functorch/_aot_autograd/
H A Dschemas.py160 This dataclass gives us the information we need to reconstruct a tensor subclass
163 But the user's original model may have subclass inputs and outputs.
165 view (subclass inps/outs), and the backend compiler's view (graph with no subclass args).
167 Complications arise mostly from the fact that a subclass can hold more than one inner tensor;
168 So for a given subclass input/output, we need to carefully track which indices map
169 to the subclass tensor in the corresponding "dense-tensor-only" graph.
173 # this maps to the first index of "tensors that should go in this subclass wrapper"
180 # meta and attrs are produced by the subclass's __tensor_flatten__.
187 # Stores the original subclass itself.
188 # This is needed because we need the autograd metadata on the original subclass
[all …]
/aosp_15_r20/external/auto/value/src/test/java/com/google/auto/value/extension/toprettystring/
H A DToPrettyStringValidatorTest.java161 JavaFileObject subclass = in onlyOneToPrettyStringMethod_superclass() local
163 "test.Subclass", in onlyOneToPrettyStringMethod_superclass()
168 "class Subclass extends Superclass {", in onlyOneToPrettyStringMethod_superclass()
175 Compilation compilation = compile(superclass, subclass); in onlyOneToPrettyStringMethod_superclass()
182 "test.Subclass has multiple @ToPrettyString methods:", in onlyOneToPrettyStringMethod_superclass()
184 " - test.Subclass.toPretty2()")) in onlyOneToPrettyStringMethod_superclass()
185 .inFile(subclass) in onlyOneToPrettyStringMethod_superclass()
186 .onLineContaining("class Subclass"); in onlyOneToPrettyStringMethod_superclass()
205 JavaFileObject subclass = in onlyOneToPrettyStringMethod_superinterface() local
207 "test.Subclass", in onlyOneToPrettyStringMethod_superinterface()
[all …]
/aosp_15_r20/external/grpc-grpc/src/core/lib/gprpp/
H A Ddual_ref_counted.h68 typename Subclass,
69 std::enable_if_t<std::is_base_of<Child, Subclass>::value, bool> = true>
70 RefCountedPtr<Subclass> RefAsSubclass() { in RefAsSubclass()
72 return RefCountedPtr<Subclass>( in RefAsSubclass()
73 DownCast<Subclass*>(static_cast<Child*>(this))); in RefAsSubclass()
76 typename Subclass,
77 std::enable_if_t<std::is_base_of<Child, Subclass>::value, bool> = true>
78 RefCountedPtr<Subclass> RefAsSubclass(const DebugLocation& location, in RefAsSubclass()
81 return RefCountedPtr<Subclass>( in RefAsSubclass()
82 DownCast<Subclass*>(static_cast<Child*>(this))); in RefAsSubclass()
[all …]

12345678910>>...476