Home
last modified time | relevance | path

Searched refs:newType (Results 1 – 25 of 85) sorted by relevance

1234

/external/javassist/src/main/javassist/expr/
DNewExpr.java210 CtClass newType = cp.get(newTypeName); in replace() local
214 int retVar = jc.recordReturnType(newType, true); in replace()
215 jc.recordProceed(new ProceedForNew(newType, newIndex, in replace()
220 checkResultValue(newType, statement); in replace()
226 bytecode.addConstZero(newType); in replace()
227 bytecode.addStore(retVar, newType); // initialize $_ in replace()
243 CtClass newType; field in NewExpr.ProceedForNew
247 newType = nt; in ProceedForNew()
259 gen.atMethodCallCore(newType, MethodInfo.nameInit, args, in doit()
261 gen.setType(newType); in doit()
[all …]
/external/angle/src/compiler/translator/tree_ops/vulkan/
DRewriteR32fImages.cpp284 TType *newType = new TType(type); in visitDeclaration() local
287 newType->setLayoutQualifier(layoutQualifier); in visitDeclaration()
292 newType->setBasicType(EbtUImage2D); in visitDeclaration()
295 newType->setBasicType(EbtUImage3D); in visitDeclaration()
298 newType->setBasicType(EbtUImage2DArray); in visitDeclaration()
301 newType->setBasicType(EbtUImageCube); in visitDeclaration()
304 newType->setBasicType(EbtUImage1D); in visitDeclaration()
307 newType->setBasicType(EbtUImage1DArray); in visitDeclaration()
310 newType->setBasicType(EbtUImage2DMS); in visitDeclaration()
313 newType->setBasicType(EbtUImage2DMSArray); in visitDeclaration()
[all …]
DRewriteArrayOfArrayOfOpaqueUniforms.cpp292 TType *newType = new TType(type); in visitDeclaration() local
293 newType->toArrayBaseType(); in visitDeclaration()
294 newType->makeArray(runningProduct); in visitDeclaration()
296 data.flattened = new TVariable(mSymbolTable, uniformVariable->name(), newType, in visitDeclaration()
/external/javassist/src/main/javassist/compiler/ast/
DIntConst.java61 int newType; in compute0() local
63 newType = TokenId.LongConstant; in compute0()
66 newType = TokenId.CharConstant; in compute0()
68 newType = TokenId.IntConstant; in compute0()
100 newType = type1; in compute0()
104 newType = type1; in compute0()
108 newType = type1; in compute0()
114 return new IntConst(newValue, newType); in compute0()
DDoubleConst.java59 int newType; in compute0() local
62 newType = TokenId.DoubleConstant; in compute0()
64 newType = TokenId.FloatConstant; in compute0()
66 return compute(op, this.value, right.value, newType); in compute0()
74 int newType) in compute() argument
97 return new DoubleConst(newValue, newType); in compute()
/external/guava/guava-tests/test/com/google/common/net/
DMediaTypeTest.java184 MediaType newType = MediaType.createApplicationType("yams");
185 assertEquals("application", newType.type());
186 assertEquals("yams", newType.subtype());
190 MediaType newType = MediaType.createAudioType("yams");
191 assertEquals("audio", newType.type());
192 assertEquals("yams", newType.subtype());
196 MediaType newType = MediaType.createFontType("yams");
197 assertEquals("font", newType.type());
198 assertEquals("yams", newType.subtype());
202 MediaType newType = MediaType.createImageType("yams");
[all …]
/external/guava/android/guava-tests/test/com/google/common/net/
DMediaTypeTest.java184 MediaType newType = MediaType.createApplicationType("yams");
185 assertEquals("application", newType.type());
186 assertEquals("yams", newType.subtype());
190 MediaType newType = MediaType.createAudioType("yams");
191 assertEquals("audio", newType.type());
192 assertEquals("yams", newType.subtype());
196 MediaType newType = MediaType.createFontType("yams");
197 assertEquals("font", newType.type());
198 assertEquals("yams", newType.subtype());
202 MediaType newType = MediaType.createImageType("yams");
[all …]
/external/proguard/src/proguard/classfile/editor/
DMemberReferenceFixer.java131 String newType = referencedMember.getDescriptor(referencedClass); in visitFieldrefConstant() local
134 !fieldrefConstant.getType(clazz).equals(newType)) in visitFieldrefConstant()
143 … new ConstantPoolEditor((ProgramClass)clazz).addNameAndTypeConstant(newName, newType); in visitFieldrefConstant()
159 String newType = referencedMember.getDescriptor(referencedClass); in visitInterfaceMethodrefConstant() local
162 !interfaceMethodrefConstant.getType(clazz).equals(newType)) in visitInterfaceMethodrefConstant()
171 … new ConstantPoolEditor((ProgramClass)clazz).addNameAndTypeConstant(newName, newType); in visitInterfaceMethodrefConstant()
215 String newType = referencedMember.getDescriptor(referencedClass); in visitMethodrefConstant() local
218 !methodrefConstant.getType(clazz).equals(newType)) in visitMethodrefConstant()
227 … new ConstantPoolEditor((ProgramClass)clazz).addNameAndTypeConstant(newName, newType); in visitMethodrefConstant()
303 String newType = referencedMember.getDescriptor(referencedClass); in visitEnclosingMethodAttribute() local
[all …]
/external/llvm-project/flang/test/Semantics/
Ddata04.f90109 type newType type
112 type(newType) m2_number1
116 type(newType) m2_number
117 type(newType) m2_number3
140 type(newType) m2_number2
/external/llvm-project/mlir/lib/Dialect/SCF/Transforms/
DStructuralTypeConversions.cpp28 Type newType = typeConverter->convertType(type); in matchAndRewrite() local
29 if (!newType) in matchAndRewrite()
31 newResultTypes.push_back(newType); in matchAndRewrite()
96 Type newType = typeConverter->convertType(type); in matchAndRewrite() local
97 if (!newType) in matchAndRewrite()
99 newResultTypes.push_back(newType); in matchAndRewrite()
/external/angle/src/compiler/translator/tree_ops/
DRewriteStructSamplers.cpp439 TType *newType = nullptr; in stripStructSpecifierSamplers() local
451 newType = new TType(modifiedStruct, true); in stripStructSpecifierSamplers()
454 newType->makeArrays(fieldType.getArraySizes()); in stripStructSpecifierSamplers()
460 newType = new TType(fieldType); in stripStructSpecifierSamplers()
468 new TField(newType, field->name(), field->line(), field->symbolType()); in stripStructSpecifierSamplers()
530 TType *newType = new TType(modified, false); in extractStructSamplerUniforms() local
533 newType->makeArrays(type.getArraySizes()); in extractStructSamplerUniforms()
535 newType->setQualifier(EvqUniform); in extractStructSamplerUniforms()
537 new TVariable(mSymbolTable, variable.name(), newType, variable.symbolType()); in extractStructSamplerUniforms()
599 TType *newType = new TType(fieldType); in extractSampler() local
[all …]
DRewriteRowMajorMatrices.cpp67 TType *newType = new TType(*type); in TransposeMatrixType() local
69 SetColumnMajor(newType); in TransposeMatrixType()
71 newType->setPrimarySize(static_cast<unsigned char>(type->getRows())); in TransposeMatrixType()
72 newType->setSecondarySize(static_cast<unsigned char>(type->getCols())); in TransposeMatrixType()
74 return newType; in TransposeMatrixType()
612 const TType *newType = newInterfaceBlockType; in convertInterfaceBlock() local
615 TType *newArrayType = new TType(*newType); in convertInterfaceBlock()
617 newType = newArrayType; in convertInterfaceBlock()
625 TVariable *newVariable = new TVariable(mSymbolTable, variableName, newType, in convertInterfaceBlock()
680 TType *newType = new TType(variable->getType()); in convertNamelessInterfaceBlockField() local
[all …]
/external/llvm-project/mlir/lib/IR/
DValue.cpp47 void Value::setType(Type newType) { in setType() argument
49 return arg.setType(newType); in setType()
55 owner->resultType = newType; in setType()
62 if (curTypes[resultNo] == newType) in setType()
65 newTypes[resultNo] = newType; in setType()
66 owner->resultType = TupleType::get(newTypes, newType.getContext()); in setType()
DFunctionSupport.cpp37 Type newType) { in eraseFunctionArguments() argument
56 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in eraseFunctionArguments()
75 Type newType) { in eraseFunctionResults() argument
92 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in eraseFunctionResults()
DBuiltinDialect.cpp170 FunctionType newType = getType(); in clone() local
178 inputTypes.reserve(newType.getNumInputs()); in clone()
181 inputTypes.push_back(newType.getInput(i)); in clone()
182 newType = FunctionType::get(inputTypes, newType.getResults(), getContext()); in clone()
187 newFunc.setType(newType); in clone()
DAttributes.cpp26 void AttributeStorage::setType(Type newType) { in setType() argument
27 type = newType.getAsOpaquePointer(); in setType()
/external/javassist/src/main/javassist/bytecode/analysis/
DAnalyzer.java320 Type newType = frame.getLocal(i); in mergeJsr() local
322 old.setLocal(i, newType); in mergeJsr()
327 newType = oldType.merge(newType); in mergeJsr()
329 old.setLocal(i, newType); in mergeJsr()
330 if (!newType.equals(oldType) || newType.popChanged()) in mergeJsr()
378 Type newType = frame.getLocal(index); in mergeRet() local
379 if (oldType != newType) { in mergeRet()
380 old.setLocal(index, newType); in mergeRet()
/external/dagger2/java/dagger/internal/codegen/javapoet/
DExpression.java63 public Expression castTo(TypeMirror newType) { in castTo() argument
64 return create(newType, "($T) $L", newType, codeBlock); in castTo()
/external/llvm-project/mlir/include/mlir/IR/
DFunctionSupport.h77 unsigned originalNumArgs, Type newType);
81 unsigned originalNumResults, Type newType);
235 void setType(FunctionType newType);
270 Type newType = getTypeWithoutArgsAndResults(argIndices, {}); in eraseArguments() local
272 originalNumArgs, newType); in eraseArguments()
282 Type newType = getTypeWithoutArgsAndResults({}, resultIndices); in eraseResults() local
284 originalNumResults, newType); in eraseResults()
543 void FunctionLike<ConcreteType>::setType(FunctionType newType) { in setType() argument
548 for (int i = newType.getNumInputs(), e = oldType.getNumInputs(); i < e; i++) in setType()
550 for (int i = newType.getNumResults(), e = oldType.getNumResults(); i < e; i++) in setType()
[all …]
/external/skia/src/gpu/geometry/
DGrQuad.h126 void setQuadType(Type newType) { in setQuadType() argument
127 if (newType != Type::kPerspective && fType == Type::kPerspective) { in setQuadType()
130 SkASSERT(newType == Type::kPerspective || in setQuadType()
134 fType = newType; in setQuadType()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DAnalyzedInstruction.java413 RegisterType newType = null;
433 if (newType == null) {
434newType = RegisterType.getRegisterType(methodAnalyzer.getClassPath(),
438 if (MethodAnalyzer.isNotWideningConversion(originalType, newType)) {
565 RegisterType newType = null;
585 if (newType == null) {
586newType = RegisterType.getRegisterType(methodAnalyzer.getClassPath(),
590 if (MethodAnalyzer.isNotWideningConversion(originalType, newType)) {
/external/objenesis/main/src/main/java/org/objenesis/instantiator/basic/
DProxyingInstantiator.java58 private final Class<?> newType; field in ProxyingInstantiator
65newType = ClassDefinitionUtils.defineClass(type.getName() + SUFFIX, classBytes, type.getClassLoade… in ProxyingInstantiator()
74 return (T) newType.newInstance(); in newInstance()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DCreatorCollector.java309 Class<?> newType = newOne.getRawParameterType(0); in verifyNonDup() local
311 if (oldType == newType) { in verifyNonDup()
325 else if (newType.isAssignableFrom(oldType)) { in verifyNonDup()
328 } else if (oldType.isAssignableFrom(newType)) { in verifyNonDup()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DObjectWriter.java1442 public Prefetch forRootType(ObjectWriter parent, JavaType newType) { in forRootType() argument
1444 if (newType == null) { in forRootType()
1452 if (newType.equals(rootType)) { in forRootType()
1458 if (newType.isJavaLangObject()) { in forRootType()
1463 typeSer = prov.findTypeSerializer(newType); in forRootType()
1479 JsonSerializer<Object> ser = prov.findTypedValueSerializer(newType, true, null); in forRootType()
1482 return new Prefetch(newType, null, in forRootType()
1485 return new Prefetch(newType, ser, null); in forRootType()
1491 return new Prefetch(newType, null, typeSerializer); in forRootType()
/external/llvm-project/mlir/test/Conversion/PDLToPDLInterp/
Dpdl-to-pdl-interp-rewriter.mlir124 %newType = pdl.type
125 %newOp, %newResult = pdl.operation "foo.op" -> %newType
197 %newType = pdl.create_native "functor"[true](%root : !pdl.operation) : !pdl.type
198 %newOp, %newResult = pdl.operation "foo.op" -> %newType

1234