Home
last modified time | relevance | path

Searched refs:elementType (Results 1 – 25 of 139) sorted by relevance

123456

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DArrayCreationExpr.java59 private Type elementType; field in ArrayCreationExpr
69 …public ArrayCreationExpr(Type elementType, NodeList<ArrayCreationLevel> levels, ArrayInitializerEx… in ArrayCreationExpr() argument
70 this(null, elementType, levels, initializer); in ArrayCreationExpr()
73 public ArrayCreationExpr(Type elementType) { in ArrayCreationExpr() argument
74 this(null, elementType, new NodeList<>(), new ArrayInitializerExpr()); in ArrayCreationExpr()
81 public ArrayCreationExpr(Range range, Type elementType) { in ArrayCreationExpr() argument
82 this(null, elementType, new NodeList<>(), new ArrayInitializerExpr()); in ArrayCreationExpr()
90 …public ArrayCreationExpr(TokenRange tokenRange, Type elementType, NodeList<ArrayCreationLevel> lev… in ArrayCreationExpr() argument
92 setElementType(elementType); in ArrayCreationExpr()
117 return elementType; in getElementType()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/
DVariableDeclarationExpr.java57 private Type elementType; field in VariableDeclarationExpr
66 public VariableDeclarationExpr(final Type elementType, String variableName) { in VariableDeclarationExpr() argument
67 setElementType(elementType); in VariableDeclarationExpr()
71 public VariableDeclarationExpr(final Type elementType, VariableDeclarator var) { in VariableDeclarationExpr() argument
72 setElementType(elementType); in VariableDeclarationExpr()
76 …public VariableDeclarationExpr(final Type elementType, String variableName, Modifier... modifiers)… in VariableDeclarationExpr() argument
77 setElementType(elementType); in VariableDeclarationExpr()
83 …public VariableDeclarationExpr(final Type elementType, VariableDeclarator var, Modifier... modifie… in VariableDeclarationExpr() argument
84 setElementType(elementType); in VariableDeclarationExpr()
90 … public VariableDeclarationExpr(final Type elementType, final List<VariableDeclarator> variables) { in VariableDeclarationExpr() argument
[all …]
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DHTMLSchema.java35 elementType("<pcdata>", M_EMPTY, M_PCDATA, 0); in HTMLSchema()
36 elementType("<root>", M_ROOT, M_EMPTY, 0); in HTMLSchema()
37 elementType("a", M_PCDATA|M_NOLINK, M_INLINE, 0); in HTMLSchema()
38 elementType("abbr", M_PCDATA|M_INLINE, M_INLINE|M_NOLINK, F_RESTART); in HTMLSchema()
39 elementType("acronym", M_PCDATA|M_INLINE, M_INLINE|M_NOLINK, F_RESTART); in HTMLSchema()
40 elementType("address", M_PCDATA|M_INLINE|M_P, M_BLOCK, 0); in HTMLSchema()
41 elementType("applet", M_PCDATA|M_PARAM|M_INLINE|M_BLOCK, M_INLINE|M_NOLINK, 0); in HTMLSchema()
42 elementType("area", M_EMPTY, M_AREA, 0); in HTMLSchema()
43 elementType("b", M_PCDATA|M_INLINE, M_INLINE|M_NOLINK, F_RESTART); in HTMLSchema()
44 elementType("base", M_EMPTY, M_HEAD, 0); in HTMLSchema()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DParameter.java52 private Type elementType; field in Parameter
67 public Parameter(Type elementType, VariableDeclaratorId id) { in Parameter() argument
69 setElementType(elementType); in Parameter()
81 public static Parameter create(Type elementType, String name) { in create() argument
82 return new Parameter(elementType, new VariableDeclaratorId(name)); in create()
85 public Parameter(EnumSet<Modifier> modifiers, Type elementType, VariableDeclaratorId id) { in Parameter() argument
88 setElementType(elementType); in Parameter()
94 Type elementType, in Parameter() argument
102 setElementType(elementType); in Parameter()
119 return wrapInArrayTypes(elementType, in getType()
[all …]
DFieldDeclaration.java60 private Type elementType; field in FieldDeclaration
69 …public FieldDeclaration(EnumSet<Modifier> modifiers, Type elementType, VariableDeclarator variable… in FieldDeclaration() argument
71 setElementType(elementType); in FieldDeclaration()
77 …public FieldDeclaration(EnumSet<Modifier> modifiers, Type elementType, List<VariableDeclarator> va… in FieldDeclaration() argument
79 setElementType(elementType); in FieldDeclaration()
83 …on(EnumSet<Modifier> modifiers, List<AnnotationExpr> annotations, Type elementType, List<ArrayBrac… in FieldDeclaration() argument
87 setElementType(elementType); in FieldDeclaration()
92 …ation(Range range, EnumSet<Modifier> modifiers, List<AnnotationExpr> annotations, Type elementType, in FieldDeclaration() argument
96 setElementType(elementType); in FieldDeclaration()
253 return elementType; in getElementType()
[all …]
DMethodDeclaration.java71 private Type elementType; field in MethodDeclaration
90 …public MethodDeclaration(final EnumSet<Modifier> modifiers, final Type elementType, final String n… in MethodDeclaration() argument
92 setElementType(elementType); in MethodDeclaration()
96 …public MethodDeclaration(final EnumSet<Modifier> modifiers, final Type elementType, final String n… in MethodDeclaration() argument
99 setElementType(elementType); in MethodDeclaration()
107 final Type elementType, in MethodDeclaration() argument
117 setElementType(elementType); in MethodDeclaration()
130 final Type elementType, in MethodDeclaration() argument
140 setElementType(elementType); in MethodDeclaration()
205 return elementType; in getElementType()
[all …]
/external/annotation-tools/scene-lib/src/annotations/field/
DArrayAFT.java18 public final ScalarAFT elementType; field in ArrayAFT
26 public ArrayAFT(ScalarAFT elementType) { in ArrayAFT() argument
27 this.elementType = elementType; in ArrayAFT()
39 if (elementType == null) { in isValidValue()
43 if (! elementType.isValidValue(elt)) { in isValidValue()
55 return (elementType == null ? "unknown" : in toString()
56 ((ScalarAFT) elementType).toString()) + "[]"; in toString()
71 result.append(elementType.format(elt)); in format()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DArrayProto.java48 protected final String elementType; field in ArrayProto
65 elementType = type.substring(i); in ArrayProto()
70 @Nonnull @Override public String getType() { return makeArrayType(elementType, dimensions); } in getType()
77 @Nonnull public String getElementType() { return elementType; } in getElementType()
85 return makeArrayType(elementType, dimensions-1); in getImmediateElementType()
87 return elementType; in getImmediateElementType()
112 TypeProto thisClass = classPath.getClass(elementType); in getCommonSuperclass()
113 TypeProto otherClass = classPath.getClass(((ArrayProto)other).elementType); in getCommonSuperclass()
148 private static String makeArrayType(@Nonnull String elementType, int dimensions) { in makeArrayType() argument
149 return BRACKETS.substring(0, dimensions) + elementType; in makeArrayType()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
DCoverageNodeImpl.java23 private final ElementType elementType; field in CoverageNodeImpl
53 public CoverageNodeImpl(final ElementType elementType, final String name) { in CoverageNodeImpl() argument
54 this.elementType = elementType; in CoverageNodeImpl()
97 return elementType; in getElementType()
147 final CoverageNodeImpl copy = new CoverageNodeImpl(elementType, name); in getPlainCopy()
160 sb.append(name).append(" [").append(elementType).append("]"); in toString()
/external/autotest/client/site_tests/webrtc_PausePlayPeerConnections/
Dpause-play.js22 addPeerConnection(elementType) { argument
23 const element = document.createElement(elementType);
27 if (elementType === 'video') {
29 } else if (elementType === 'audio') {
93 let elementType; variable
100 testRunner.addPeerConnection(elementType);
/external/smali/smalidea/src/main/java/org/jf/smalidea/
DPsiBuilderTokenStream.java97 SmaliLexicalElementType elementType = (SmaliLexicalElementType)element; in buildCurrentToken() local
98 currentToken = new CommonToken(elementType.tokenId, psiBuilder.getTokenText()); in buildCurrentToken()
110 IElementType elementType = psiBuilder.lookAhead(i-1); in LA() local
111 if (elementType == null) { in LA()
113 } else if (elementType instanceof SmaliLexicalElementType) { in LA()
114 return ((SmaliLexicalElementType)elementType).tokenId; in LA()
115 } else if (elementType == TokenType.BAD_CHARACTER) { in LA()
DSmaliParserDefinition.java81 IElementType elementType = node.getElementType(); in createElement() local
82 if (elementType instanceof SmaliStubElementType) { in createElement()
83 return ((SmaliStubElementType)elementType).createPsi(node); in createElement()
/external/libmojo/mojo/public/js/
Dvalidator.js254 offset, elementSize, elementType, nullable, expectedDimensionSizes, argument
264 return this.validateArray(arrayOffset, elementSize, elementType,
370 function (offset, elementSize, elementType, expectedDimensionSizes, argument
383 var elementsTotalSize = (elementType === codec.PackedBool) ?
400 var nullable = isNullable(elementType);
402 if (isHandleClass(elementType))
404 if (isInterfaceClass(elementType))
407 if (isInterfaceRequestClass(elementType))
410 if (isStringClass(elementType))
413 if (elementType instanceof codec.PointerTo)
[all …]
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
DMultibinder.java193 static <T> TypeLiteral<Set<T>> setOf(TypeLiteral<T> elementType) { in setOf() argument
194 Type type = Types.setOf(elementType.getType()); in setOf()
200 TypeLiteral<T> elementType) { in collectionOfProvidersOf() argument
201 Type providerType = Types.providerOf(elementType.getType()); in collectionOfProvidersOf()
208 TypeLiteral<T> elementType) { in collectionOfJavaxProvidersOf() argument
210 Types.newParameterizedType(javax.inject.Provider.class, elementType.getType()); in collectionOfJavaxProvidersOf()
262 private final TypeLiteral<T> elementType; field in Multibinder.RealMultibinder
279 private RealMultibinder(Binder binder, TypeLiteral<T> elementType, Key<Set<T>> setKey) { in RealMultibinder() argument
281 this.elementType = checkNotNull(elementType, "elementType"); in RealMultibinder()
283 this.collectionOfProvidersKey = setKey.ofType(collectionOfProvidersOf(elementType)); in RealMultibinder()
[all …]
/external/deqp/framework/opengl/
DgluVarType.cpp49 VarType::VarType (const VarType& elementType, int arraySize) in VarType() argument
54 m_data.array.elementType = new VarType(elementType); in VarType()
66 delete m_data.array.elementType; in ~VarType()
75 delete m_data.array.elementType; in operator =()
82 m_data.array.elementType = new VarType(*other.m_data.array.elementType); in operator =()
96 case TYPE_ARRAY: return m_data.array.elementType->getScalarSize()*m_data.array.size; in getScalarSize()
124 return *m_data.array.elementType == *other.m_data.array.elementType && in operator ==()
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/
DPropertyInfo.java82 public PropertyInfo elementType; field in PropertyInfo
101 return elementType; in getElementType()
108 public void setElementType(PropertyInfo elementType) in setElementType() argument
110 this.elementType = elementType; in setElementType()
DSppPropertyInfo.java82 public PropertyInfo elementType; field in SppPropertyInfo
101 return elementType; in getElementType()
108 public void setElementType(PropertyInfo elementType) in setElementType() argument
110 this.elementType = elementType; in setElementType()
DSoapSerializationEnvelope.java300 protected void readVector(XmlPullParser parser, Vector v, PropertyInfo elementType) in readVector() argument
320 if (elementType == null) { in readVector()
321 elementType = PropertyInfo.OBJECT_TYPE; in readVector()
333 v.setElementAt(read(parser, v, position, namespace, name, elementType), position); in readVector()
457 readVector(parser, (Vector) obj, expected.elementType); in readInstance()
705 writeVectorBody(writer, (Vector) element, type.elementType); in writeElement()
711 protected void writeVectorBody(XmlSerializer writer, Vector vector, PropertyInfo elementType) in writeVectorBody() argument
716 if (elementType == null) { in writeVectorBody()
717 elementType = PropertyInfo.OBJECT_TYPE; in writeVectorBody()
718 } else if (elementType instanceof PropertyInfo) { in writeVectorBody()
[all …]
/external/turbine/java/com/google/turbine/bytecode/sig/
DSig.java224 private final TySig elementType; field in Sig.ArrayTySig
226 public ArrayTySig(TySig elementType) { in ArrayTySig() argument
227 this.elementType = elementType; in ArrayTySig()
231 public TySig elementType() { in elementType() method in Sig.ArrayTySig
232 return elementType; in elementType()
/external/deqp/modules/glshared/
DglsLifetimeTests.hpp224 Type& elementType, Type& containerType) in Attacher() argument
226 , m_elementType (elementType) in Attacher()
285 Type& elementType, Type& containerType) in FboAttacher() argument
286 : Attacher (ctx, elementType, containerType) {} in FboAttacher()
310 TextureFboAttacher (const Context& ctx, Type& elementType, Type& containerType) in TextureFboAttacher() argument
311 : FboAttacher (ctx, elementType, containerType) {} in TextureFboAttacher()
322 RboFboAttacher (const Context& ctx, Type& elementType, Type& containerType) in RboFboAttacher() argument
323 : FboAttacher (ctx, elementType, containerType) {} in RboFboAttacher()
335 Type& elementType, Type& containerType) in ShaderProgramAttacher() argument
336 : Attacher (ctx, elementType, containerType) {} in ShaderProgramAttacher()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/type/
DArrayTypeTest.java51 PrimitiveType elementType = arrayType4.getComponentType().asPrimitiveType(); in getFieldDeclarationWithArrays() local
58 assertThat(elementType.getType()).isEqualTo(PrimitiveType.Primitive.INT); in getFieldDeclarationWithArrays()
73 PrimitiveType elementType = arrayType4.getComponentType().asPrimitiveType(); in getVariableDeclarationWithArrays() local
80 assertThat(elementType.getType()).isEqualTo(PrimitiveType.Primitive.INT); in getVariableDeclarationWithArrays()
92 Type elementType = arrayType2.getComponentType(); in getMethodDeclarationWithArrays() local
93 assertThat(elementType).isInstanceOf(PrimitiveType.class); in getMethodDeclarationWithArrays()
111 PrimitiveType elementType = innerArrayType.getComponentType().asPrimitiveType(); in getParameterWithArrays() local
113 assertThat(elementType).isInstanceOf(PrimitiveType.class); in getParameterWithArrays()
/external/clang/utils/ABITest/
DTypeGen.py117 def __init__(self, index, isVector, elementType, size): argument
125 self.elementType = elementType
128 eltSize = self.elementType.sizeof()
136 return 'vector (%s)[%d]'%(self.elementType,self.size)
138 return '(%s)[%d]'%(self.elementType,self.size)
140 return '(%s)[]'%(self.elementType,)
143 elementName = printer.getTypeName(self.elementType)
156 def __init__(self, index, elementType): argument
158 self.elementType = elementType
161 return '_Complex (%s)'%(self.elementType)
[all …]
/external/guice/core/src/com/google/inject/util/
DTypes.java99 public static ParameterizedType listOf(Type elementType) { in listOf() argument
100 return newParameterizedType(List.class, elementType); in listOf()
109 public static ParameterizedType setOf(Type elementType) { in setOf() argument
110 return newParameterizedType(Set.class, elementType); in setOf()
/external/javassist/sample/vector/
DVectorAssistant.java61 CtClass elementType = pool.get(args[0]); in assist() local
62 if (elementType.isPrimitive()) in assist()
63 subclass = makeSubclass2(pool, elementType); in assist()
65 subclass = makeSubclass(pool, elementType); in assist()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_expr_VariableDeclarationExpr.txt2 …Line 67) setElementType(elementType) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.se…
5 …Line 72) setElementType(elementType) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.se…
8 …Line 77) setElementType(elementType) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.se…
16 …Line 84) setElementType(elementType) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.se…
24 …Line 91) setElementType(elementType) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.se…
27 …Line 98) setElementType(elementType) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.se…
31 …Line 110) setElementType(elementType) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.s…
39 …Line 178) setAsParentNodeOf(this.elementType) ==> com.github.javaparser.ast.Node.setAsParentNodeOf…

123456