Home
last modified time | relevance | path

Searched refs:_class (Results 1 – 25 of 89) sorted by relevance

1234

/external/javassist/src/test/javassist/
DSetterTest.java33 Class _class = clazz.toClass(capability); in testFieldGetter() local
35 Object object = _class.getConstructor().newInstance(); in testFieldGetter()
36 check(_class, object, true); in testFieldGetter()
51 Class _class = clazz.toClass(capability); in testFieldGetterSetter() local
53 Object object = _class.getConstructor().newInstance(); in testFieldGetterSetter()
55 set(_class, object, false); in testFieldGetterSetter()
56 check(_class, object, false); in testFieldGetterSetter()
71 Class _class = clazz.toClass(capability); in testStaticFieldGetter() local
73 Object object = _class.getConstructor().newInstance(); in testStaticFieldGetter()
74 check(_class, object, true); in testStaticFieldGetter()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DJavaType.java35 protected final Class<?> _class; field in JavaType
80 _class = raw; in JavaType()
94 _class = base._class; in JavaType()
212 if (subclass == _class) { // can still optimize for simple case in forcedNarrowBy()
228 public final Class<?> getRawClass() { return _class; } in getRawClass()
236 public final boolean hasRawClass(Class<?> clz) { return _class == clz; } in hasRawClass()
253 return (_class == clz) || clz.isAssignableFrom(_class); in isTypeOrSubTypeOf()
260 return (_class == clz) || _class.isAssignableFrom(clz); in isTypeOrSuperTypeOf()
265 return Modifier.isAbstract(_class.getModifiers()); in isAbstract()
275 int mod = _class.getModifiers(); in isConcrete()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DTypeKey.java14 protected Class<?> _class; field in TypeKey
29 _class = src._class; in TypeKey()
35 _class = key; in TypeKey()
43 _class = null; in TypeKey()
66 _class = cls; in resetTyped()
73 _class = cls; in resetUntyped()
80 _class = null; in resetTyped()
87 _class = null; in resetUntyped()
97 return _class; in getRawType()
107 if (_class != null) { in toString()
[all …]
/external/libnl/python/netlink/route/qdisc/
Dhtb.py51 self._class = cl
56 rate = capi.rtnl_htb_get_rate(self._class._rtnl_class)
61 capi.rtnl_htb_set_rate(self._class._rtnl_class, int(value))
66 ceil = capi.rtnl_htb_get_ceil(self._class._rtnl_class)
71 capi.rtnl_htb_set_ceil(self._class._rtnl_class, int(value))
76 burst = capi.rtnl_htb_get_rbuffer(self._class._rtnl_class)
81 capi.rtnl_htb_set_rbuffer(self._class._rtnl_class, int(value))
86 burst = capi.rtnl_htb_get_cbuffer(self._class._rtnl_class)
91 capi.rtnl_htb_set_cbuffer(self._class._rtnl_class, int(value))
96 return capi.rtnl_htb_get_prio(self._class._rtnl_class)
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DSimpleType.java125 if (_class == subclass) { in _narrow()
132 if (!_class.isAssignableFrom(subclass)) { in _narrow()
142 if (next == _class) { // straight up parent class? Great. in _narrow()
146 if ((next != null) && _class.isAssignableFrom(next)) { in _narrow()
154 if (iface == _class) { // directly implemented in _narrow()
158 if (_class.isAssignableFrom(iface)) { // indirect, so recurse in _narrow()
166 +_class.getName()); in _narrow()
179 …return new SimpleType(_class, _bindings, _superClass, _superInterfaces, _valueHandler, h, _asStati… in withTypeHandler()
193 …return new SimpleType(_class, _bindings, _superClass, _superInterfaces, h, _typeHandler, _asStatic… in withValueHandler()
204 return _asStatic ? this : new SimpleType(_class, _bindings, in withStaticTyping()
[all …]
DMapLikeType.java105 return new MapLikeType(_class, _bindings, _superClass, in withKeyType()
115 return new MapLikeType(_class, _bindings, _superClass, in withContentType()
122 return new MapLikeType(_class, _bindings, _superClass, in withTypeHandler()
129 return new MapLikeType(_class, _bindings, _superClass, in withContentTypeHandler()
136 return new MapLikeType(_class, _bindings, _superClass, in withValueHandler()
143 return new MapLikeType(_class, _bindings, _superClass, in withContentValueHandler()
176 return new MapLikeType(_class, _bindings, _superClass, in withStaticTyping()
191 sb.append(_class.getName()); in buildCanonicalName()
246 return _classSignature(_class, sb, true); in getErasedSignature()
251 _classSignature(_class, sb, false); in getGenericSignature()
[all …]
DCollectionLikeType.java105 return new CollectionLikeType(_class, _bindings, _superClass, _superInterfaces, in withContentType()
111 return new CollectionLikeType(_class, _bindings, in withTypeHandler()
118 return new CollectionLikeType(_class, _bindings, in withContentTypeHandler()
125 return new CollectionLikeType(_class, _bindings, in withValueHandler()
131 return new CollectionLikeType(_class, _bindings, in withContentValueHandler()
154 return new CollectionLikeType(_class, _bindings, in withStaticTyping()
199 return _classSignature(_class, sb, true); in getErasedSignature()
204 _classSignature(_class, sb, false); in getGenericSignature()
214 sb.append(_class.getName()); in buildCanonicalName()
236 return Collection.class.isAssignableFrom(_class); in isTrueCollectionType()
[all …]
DMapType.java70 return new MapType(_class, _bindings, in withTypeHandler()
77 return new MapType(_class, _bindings, in withContentTypeHandler()
84 return new MapType(_class, _bindings, in withValueHandler()
90 return new MapType(_class, _bindings, in withContentValueHandler()
100 return new MapType(_class, _bindings, in withStaticTyping()
110 return new MapType(_class, _bindings, _superClass, _superInterfaces, in withContentType()
119 return new MapType(_class, _bindings, _superClass, _superInterfaces, in withKeyType()
140 return new MapType(_class, _bindings, in withKeyTypeHandler()
147 return new MapType(_class, _bindings, in withKeyValueHandler()
161 return "[map type; class "+_class.getName()+", "+_keyType+" -> "+_valueType+"]"; in toString()
DClassKey.java27 private Class<?> _class; field in ClassKey
37 _class = null; in ClassKey()
44 _class = clz; in ClassKey()
51 _class = clz; in reset()
90 return other._class == _class; in equals()
DReferenceType.java98 return new ReferenceType(_class, _bindings, _superClass, _superInterfaces, in withContentType()
108 return new ReferenceType(_class, _bindings, _superClass, _superInterfaces, in withTypeHandler()
118 return new ReferenceType(_class, _bindings, _superClass, _superInterfaces, in withContentTypeHandler()
128 return new ReferenceType(_class, _bindings, in withValueHandler()
139 return new ReferenceType(_class, _bindings, in withContentValueHandler()
149 return new ReferenceType(_class, _bindings, _superClass, _superInterfaces, in withStaticTyping()
166 sb.append(_class.getName()); in buildCanonicalName()
217 return _classSignature(_class, sb, true); in getErasedSignature()
223 _classSignature(_class, sb, false); in getGenericSignature()
276 if (other._class != _class) return false; in equals()
DCollectionType.java76 return new CollectionType(_class, _bindings, _superClass, _superInterfaces, in withContentType()
82 return new CollectionType(_class, _bindings, in withTypeHandler()
89 return new CollectionType(_class, _bindings, in withContentTypeHandler()
96 return new CollectionType(_class, _bindings, in withValueHandler()
102 return new CollectionType(_class, _bindings, in withContentValueHandler()
112 return new CollectionType(_class, _bindings, in withStaticTyping()
134 return "[collection type; class "+_class.getName()+", contains "+_elementType+"]"; in toString()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/
DNamedType.java13 protected final Class<?> _class; field in NamedType
21 _class = c; in NamedType()
26 public Class<?> getType() { return _class; } in getType()
41 return (_class == other._class) in equals()
50 return "[NamedType, class "+_class.getName()+", name: " in toString()
/external/tensorflow/tensorflow/core/profiler/internal/testdata/
Dgraph.pbtxt59 key: "_class"
100 key: "_class"
138 key: "_class"
183 key: "_class"
230 key: "_class"
259 key: "_class"
280 key: "_class"
334 key: "_class"
374 key: "_class"
395 key: "_class"
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dreadonly_references_to_resources.mlir8 …%val0 = "tf.VariableV2"() {_class = ["loc:@v"], container = "", device = "", shape = #tf.shape<96>…
15 // Test case: Basic converting. '_class' attribute is at IdentityOp.
21 %val1 = "tf.Identity"(%val0) {_class = ["loc:@v"]} : (tensor<96x!tf.f32ref>) -> tensor<96xf32>
38 …%val0 = "tf.VariableV2"() {_class = ["loc:@v"], container = "", device = "", shape = #tf.shape<96>…
51 …%val0 = "tf.VariableV2"() {_class = ["loc:@v"], container = "", device = "", shape = #tf.shape<96>…
61 …%val0 = "tf.VariableV2"() {_class = ["loc:@v"], container = "", device = "", shape = #tf.shape<96>…
71 // expected-error @+1 {{'tf.VariableV2' op has no '_class' attribute}}
82 …// expected-error @+1 {{'tf.VariableV2' op expects variable name in '_class' attribute, but got ["…
83 …%val0 = "tf.VariableV2"() {_class = ["unrelated_class"], container = "", device = "", shape = #tf.…
93 …// expected-error @+1 {{'tf.VariableV2' op expects only one named location in '_class' attribute, …
[all …]
/external/icing/icing/jni/
Djni-cache.cc43 result->FIELD##_class = \
45 if (result->FIELD##_class == nullptr) { \
56 result->FIELD##_class = libtextclassifier3::MakeGlobalRef( \
63 env->GetMethodID(result->CLASS##_class.get(), NAME, SIGNATURE); \
71 if (result->CLASS##_class != nullptr) { \
73 env->GetStaticMethodID(result->CLASS##_class.get(), NAME, SIGNATURE); \
79 env->GetStaticMethodID(result->CLASS##_class.get(), NAME, SIGNATURE); \
90 env->GetStaticFieldID(result->CLASS##_class.get(), NAME, SIGNATURE); \
99 env, result->CLASS##_class.get(), CLASS##_##FIELD##_field), \
111 env->GetStaticFieldID(result->CLASS##_class.get(), NAME, "I"); \
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DAnnotatedClass.java39 final protected Class<?> _class; field in AnnotatedClass
141 _class = rawType; in AnnotatedClass()
169 _class = rawType; in AnnotatedClass()
239 public Class<?> getAnnotated() { return _class; } in getAnnotated()
242 public int getModifiers() { return _class.getModifiers(); } in getModifiers()
245 public String getName() { return _class.getName(); } in getName()
264 return _class; in getRawType()
348 _nonStaticInnerClass = B = ClassUtil.isNonStaticInnerClass(_class); in isNonStaticInnerClass()
414 return "[AnnotedClass "+_class.getName()+"]"; in toString()
419 return _class.getName().hashCode(); in hashCode()
[all …]
DAnnotatedClassResolver.java41 private final Class<?> _class; field in AnnotatedClassResolver
52 _class = type.getRawClass(); in AnnotatedClassResolver()
57 _primaryMixin = (r == null) ? null : r.findMixInClassFor(_class); in AnnotatedClassResolver()
62 (!ClassUtil.isJDKClass(_class) || !_type.isContainerType()); in AnnotatedClassResolver()
68 _class = cls; in AnnotatedClassResolver()
77 _primaryMixin = (r == null) ? null : r.findMixInClassFor(_class); in AnnotatedClassResolver()
144 return new AnnotatedClass(_type, _class, superTypes, _primaryMixin, in resolveFully()
153 return new AnnotatedClass(null, _class, superTypes, _primaryMixin, in resolveWithoutSuperTypes()
241 resolvedCA = _addClassMixIns(resolvedCA, _class, _primaryMixin); in resolveClassAnnotations()
247 ClassUtil.findClassAnnotations(_class)); in resolveClassAnnotations()
/external/python/cpython2/Lib/plat-mac/
DMiniAEFrame.py136 _class = _attributes['evcl'].type
139 if (_class, _type) in self.ae_handlers:
140 _function = self.ae_handlers[(_class, _type)]
141 elif (_class, '****') in self.ae_handlers:
142 _function = self.ae_handlers[(_class, '****')]
146 raise 'Cannot happen: AE callback without handler', (_class, _type)
151 _parameters['_class'] = _class
195 def other(self, _object=None, _class=None, _type=None, **args): argument
196 print 'AppleEvent', (_class, _type), 'for', _object, 'Other args:', args
/external/libtextclassifier/native/utils/java/
Djni-cache.cc58 result->FIELD##_class = MakeGlobalRef(clazz.get(), env, jvm); \
59 if (result->FIELD##_class == nullptr) { \
70 result->FIELD##_class = MakeGlobalRef( \
78 JniHelper::GetMethodID(env, result->CLASS##_class.get(), NAME, \
90 if (result->CLASS##_class != nullptr) { \
92 env, result->CLASS##_class.get(), NAME, SIGNATURE); \
101 JniHelper::GetStaticMethodID(env, result->CLASS##_class.get(), NAME, \
109 JniHelper::GetStaticFieldID(env, result->CLASS##_class.get(), NAME, \
113 JniHelper::GetStaticObjectField(env, result->CLASS##_class.get(), \
125 env, result->CLASS##_class.get(), NAME, "I")); \
[all …]
/external/tensorflow/tensorflow/compiler/jit/tests/
Dopens2s_gnmt_mixed_precision.pbtxt.gz
/external/libkmsxx/py/tests/
Dsync.py27 def fire(_class): argument
29 while len(_class.timers) > 0:
30 timer = _class.timers[0]
34 del _class.timers[0]
39 def next_timeout(_class): argument
41 if len(_class.timers) == 0 or _class.timers[0].timeout < clk:
44 return _class.timers[0].timeout - clk
/external/python/cpython3/Lib/email/
Dparser.py17 def __init__(self, _class=None, *, policy=compat32): argument
38 self._class = _class
49 feedparser = FeedParser(self._class, policy=self.policy)
/external/OpenCL-CTS/test_conformance/spirv_new/
Dprocs.h73 class test_##name##_class : public baseTestClass { \
78 test_##name##_class(): fn(test_##name) {} \
81 test_##name##_class *var_##name = \
82 createAndRegister<test_##name##_class>(#name, version); \
/external/emma/core/java12/com/vladium/util/exception/
DAbstractRuntimeException.java187 final Class _class = getClass (); in getMessage() local
191 msg = ExceptionCommon.getMessage (_class, supermsg); in getMessage()
195 msg = ExceptionCommon.getMessage (_class, supermsg, m_arguments); in getMessage()
201 final String className = _class.getName (); in getMessage()
DAbstractException.java187 final Class _class = getClass (); in getMessage() local
191 msg = ExceptionCommon.getMessage (_class, supermsg); in getMessage()
195 msg = ExceptionCommon.getMessage (_class, supermsg, m_arguments); in getMessage()
201 final String className = _class.getName (); in getMessage()

1234