Home
last modified time | relevance | path

Searched refs:typeName (Results 1 – 25 of 176) sorted by relevance

12345678

/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/node/
DTypeCastingGenerator.java53 final String typeName = nodeMetaModel.getTypeName(); in generateNode() local
57 generateIsType(baseCu, nodeCoid, baseCoid, typeName); in generateNode()
58 generateAsType(baseCu, nodeCoid, baseCoid, typeName); in generateNode()
59 generateToType(nodeCu, baseCu, nodeCoid, baseCoid, typeName); in generateNode()
60 generateIfType(nodeCu, baseCu, nodeCoid, baseCoid, typeName); in generateNode()
63 …eCu, ClassOrInterfaceDeclaration nodeCoid, ClassOrInterfaceDeclaration baseCoid, String typeName) { in generateAsType() argument
64 …throw new IllegalStateException(f(\"%%s is not an %s\", this)); }", typeName, typeName, typeName)); in generateAsType()
65 …ration) parseBodyDeclaration(f("@Override public %s as%s() { return this; }", typeName, typeName)); in generateAsType()
71 …eCu, ClassOrInterfaceDeclaration nodeCoid, ClassOrInterfaceDeclaration baseCoid, String typeName) { in generateToType() argument
74 …ration(f("public Optional<%s> to%s() { return Optional.empty(); }", typeName, typeName, typeName)); in generateToType()
[all …]
/external/desugar/java/com/google/devtools/build/android/desugar/
DCoreLibraryRewriter.java54 static boolean shouldPrefix(String typeName) { in shouldPrefix() argument
55 return (typeName.startsWith("java/") || typeName.startsWith("sun/")) && !except(typeName); in shouldPrefix()
58 private static boolean except(String typeName) { in except() argument
59 if (typeName.startsWith("java/lang/invoke/")) { in except()
63 switch (typeName) { in except()
89 public String unprefix(String typeName) { in unprefix() argument
90 if (prefix.isEmpty() || !typeName.startsWith(prefix)) { in unprefix()
91 return typeName; in unprefix()
93 return typeName.substring(prefix.length()); in unprefix()
112 public String map(String typeName) { in accept()
[all …]
/external/annotation-tools/scene-lib/src/annotations/
DAnnotationBuilder.java33 private String typeName; field in AnnotationBuilder
47 public String typeName() { in typeName() method in AnnotationBuilder
51 return typeName; in typeName()
203 def = new AnnotationDef(typeName, tlAnnotationsHere, fieldTypes); in finish()
205 assert typeName == null; in finish()
216 AnnotationBuilder(String typeName) { in AnnotationBuilder() argument
217 assert typeName != null; in AnnotationBuilder()
218 this.typeName = typeName; in AnnotationBuilder()
221 AnnotationBuilder(String typeName, Set<Annotation> tlAnnotationsHere) { in AnnotationBuilder() argument
222 assert typeName != null; in AnnotationBuilder()
[all …]
DAnnotationFactory.java48 public AnnotationBuilder beginAnnotation(String typeName, Set<Annotation> tlAnnotationsHere) { in beginAnnotation() argument
49 assert typeName != null; in beginAnnotation()
50 return new AnnotationBuilder(typeName, tlAnnotationsHere); in beginAnnotation()
/external/annotation-tools/scene-lib/src/annotations/field/
DEnumAFT.java17 public final String typeName; field in EnumAFT
23 public EnumAFT(String typeName) { in EnumAFT() argument
24 this.typeName = typeName; in EnumAFT()
41 return "enum " + typeName; in toString()
49 return typeName + "." + o.toString(); in format()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistUtils.java139 final String typeName = in signatureTypeToType() local
144 removeTypeArguments(internalNameToCanonicalName(typeName))); in signatureTypeToType()
169 private static String removeTypeArguments(String typeName) { in removeTypeArguments() argument
170 if (typeName.contains("<")) { in removeTypeArguments()
171 return typeName.substring(0, typeName.indexOf('<')); in removeTypeArguments()
173 return typeName; in removeTypeArguments()
177 private static String internalNameToCanonicalName(String typeName) { in internalNameToCanonicalName() argument
178 return typeName.replaceAll("\\$", "."); in internalNameToCanonicalName()
182 String typeName = typeArgument.jvmTypeName(); in objectTypeArgumentToType() local
183 Optional<ResolvedType> type = getGenericParameterByName(typeName, typeParametrizable); in objectTypeArgumentToType()
[all …]
/external/python/cpython2/Tools/bgen/bgen/
DbgenType.py14 def __init__(self, typeName, fmt): argument
19 self.typeName = typeName
47 return ["%s%s%s%s %s" % (const, self.typeName, ref, out, name)]
116 Output("/* XXX no err check for %s %s */", self.typeName, name)
166 raise RuntimeError, "Type '%s' can only be used for input parameters" % self.typeName
177 raise RuntimeError, "Type '%s' can only be used for output parameters" % self.typeName
218 self.typeName = None # Don't show this argument in __doc__ string
247 self.typeName = name
/external/desugar/java/com/google/devtools/common/options/
DEnumConverter.java33 private final String typeName; field in EnumConverter
45 protected EnumConverter(Class<T> enumType, String typeName) { in EnumConverter() argument
47 this.typeName = typeName; in EnumConverter()
60 throw new OptionsParsingException("Not a valid " + typeName + ": '" in convert()
/external/javassist/src/main/javassist/bytecode/stackmap/
DTypeData.java202 protected void setType(String typeName, ClassPool cp) throws BadBytecode { in setType() argument
203 if (update(cp, expectedName, typeName)) in setType()
204 expectedName = typeName; in setType()
253 private boolean update(ClassPool cp, String oldName, String typeName) throws BadBytecode { in update() argument
254 if (typeName == null) in update()
258 else if (oldName.equals(typeName)) in update()
260 else if (typeName.charAt(0) == '[' in update()
273 CtClass cache2 = cp.get(typeName); in update()
402 protected void setType(String typeName, ClassPool cp) throws BadBytecode { in setType() argument
403 super.setType(typeName, cp); in setType()
[all …]
/external/skqp/tests/
DTracingTest.cpp25 TRACE_EVENT_OBJECT_CREATED_WITH_ID("skia.objects", this->typeName(), this); in TracingShape()
28 TRACE_EVENT_OBJECT_DELETED_WITH_ID("skia.objects", this->typeName(), this); in ~TracingShape()
42 TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID("skia.objects", this->typeName(), this, in traceSnapshot()
46 virtual const char* typeName() { return "TracingShape"; } in typeName() function
52 const char* typeName() override { return "TracingCircle"; } in typeName() function
63 const char* typeName() override { return "TracingRect"; } in typeName() function
/external/skia/tests/
DTracingTest.cpp25 TRACE_EVENT_OBJECT_CREATED_WITH_ID("skia.objects", this->typeName(), this); in TracingShape()
28 TRACE_EVENT_OBJECT_DELETED_WITH_ID("skia.objects", this->typeName(), this); in ~TracingShape()
42 TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID("skia.objects", this->typeName(), this, in traceSnapshot()
46 virtual const char* typeName() { return "TracingShape"; } in typeName() function
52 const char* typeName() override { return "TracingCircle"; } in typeName() function
63 const char* typeName() override { return "TracingRect"; } in typeName() function
/external/gptfdisk/
Dparttypes.cc317 string typeName; in TypeName() local
321 typeName = theItem->name; in TypeName()
328 typeName = "Unknown"; in TypeName()
330 return typeName; in TypeName()
338 UnicodeString typeName; in UTypeName() local
342 typeName = theItem->name.c_str(); in UTypeName()
349 typeName = "Unknown"; in UTypeName()
351 return typeName; in UTypeName()
/external/turbine/java/com/google/turbine/bytecode/
DClassFile.java334 private final String typeName; field in ClassFile.AnnotationInfo
339 String typeName, boolean runtimeVisible, Map<String, ElementValue> elementValuePairs) { in AnnotationInfo() argument
340 this.typeName = typeName; in AnnotationInfo()
346 public String typeName() { in typeName() method in ClassFile.AnnotationInfo
347 return typeName; in typeName()
378 private final String typeName; field in ClassFile.AnnotationInfo.ElementValue.EnumConstValue
381 public EnumConstValue(String typeName, String constName) { in EnumConstValue() argument
382 this.typeName = typeName; in EnumConstValue()
392 public String typeName() { in typeName() method in ClassFile.AnnotationInfo.ElementValue.EnumConstValue
393 return typeName; in typeName()
/external/deqp/modules/gles3/functional/
Des3fShaderPrecisionTests.cpp68 const char* typeName = glu::getDataTypeName(type); in createFloatPrecisionEvalProgram() local
77 << "in " << precName << " " << typeName << " a_in0;\n" in createFloatPrecisionEvalProgram()
78 << "in " << precName << " " << typeName << " a_in1;\n"; in createFloatPrecisionEvalProgram()
84 vtx << "flat out " << precName << " " << typeName << " v_out;\n"; in createFloatPrecisionEvalProgram()
85 frag << "flat in " << precName << " " << typeName << " v_out;\n"; in createFloatPrecisionEvalProgram()
89 vtx << "flat out " << precName << " " << typeName << " v_in0;\n" in createFloatPrecisionEvalProgram()
90 << "flat out " << precName << " " << typeName << " v_in1;\n"; in createFloatPrecisionEvalProgram()
91 frag << "flat in " << precName << " " << typeName << " v_in0;\n" in createFloatPrecisionEvalProgram()
92 << "flat in " << precName << " " << typeName << " v_in1;\n"; in createFloatPrecisionEvalProgram()
99 op << "\t" << precName << " " << typeName << " in0 = " << (isVertexCase ? "a_" : "v_") << "in0;\n" in createFloatPrecisionEvalProgram()
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DCompilationUnitContext.java74 String typeName = getType(itName); in solveSymbol() local
76 SymbolReference<ResolvedTypeDeclaration> type = this.solveType(typeName, typeSolver); in solveSymbol()
80 itName = typeName; in solveSymbol()
100 String typeName = getType(whole); in solveSymbol() local
103 ResolvedTypeDeclaration importedType = typeSolver.solveType(typeName); in solveSymbol()
257 String typeName = getType(qName); in solveMethod() local
258 ResolvedTypeDeclaration ref = typeSolver.solveType(typeName); in solveMethod()
279 String typeName = qName.substring(0, index); in getType() local
280 return typeName; in getType()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePatternUtil.java221 return typeName; in getTypeName()
245 sb.append(',').append(typeName); in toString()
267 private String typeName; field in MessagePatternUtil.ArgNode
466 node.typeName = pattern.getSubstring(pattern.getPart(start++)); in buildArgNode()
473 node.typeName = "choice"; in buildArgNode()
477 node.typeName = "plural"; in buildArgNode()
481 node.typeName = "select"; in buildArgNode()
485 node.typeName = "selectordinal"; in buildArgNode()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePatternUtil.java241 return typeName; in getTypeName()
268 sb.append(',').append(typeName); in toString()
290 private String typeName; field in MessagePatternUtil.ArgNode
502 node.typeName = pattern.getSubstring(pattern.getPart(start++)); in buildArgNode()
509 node.typeName = "choice"; in buildArgNode()
513 node.typeName = "plural"; in buildArgNode()
517 node.typeName = "select"; in buildArgNode()
521 node.typeName = "selectordinal"; in buildArgNode()
/external/annotation-tools/annotation-file-utilities/src/annotator/find/
DInsertion.java294 String typeName = declaredType.getName(); in typeToString() local
295 int sep = typeName.lastIndexOf('.') + 1; in typeToString()
297 typeName = typeName.substring(sep); in typeToString()
299 result.append(typeName.substring(0, sep)); in typeToString()
300 typeName = typeName.substring(sep); in typeToString()
303 result.append(typeName); in typeToString()
/external/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp54 const char* typeName = "Unknown"; in print_shader_banner() local
56 case GR_GL_VERTEX_SHADER: typeName = "Vertex"; break; in print_shader_banner()
57 case GR_GL_GEOMETRY_SHADER: typeName = "Geometry"; break; in print_shader_banner()
58 case GR_GL_FRAGMENT_SHADER: typeName = "Fragment"; break; in print_shader_banner()
60 SkDebugf("---- %s shader ----------------------------------------------------\n", typeName); in print_shader_banner()
/external/skqp/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp54 const char* typeName = "Unknown"; in print_shader_banner() local
56 case GR_GL_VERTEX_SHADER: typeName = "Vertex"; break; in print_shader_banner()
57 case GR_GL_GEOMETRY_SHADER: typeName = "Geometry"; break; in print_shader_banner()
58 case GR_GL_FRAGMENT_SHADER: typeName = "Fragment"; break; in print_shader_banner()
60 SkDebugf("---- %s shader ----------------------------------------------------\n", typeName); in print_shader_banner()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typesolvers/
DJavaParserTypeSolver.java145 String typeName = "";
148 typeName += ".";
150 typeName += nameElements[j];
157 ….body.TypeDeclaration<?>> astTypeDeclaration = Navigator.findType(compilationUnit.get(), typeName);
167 …er.ast.body.TypeDeclaration<?>> astTypeDeclaration = Navigator.findType(compilationUnit, typeName);
/external/doclava/src/com/google/doclava/apicheck/
DXmlApiFile.java182 String typeName = attributes.getValue("type"); in startElement() local
183 TypeInfo type = Converter.obtainTypeFromString(typeName); in startElement()
187 value = ApiFile.parseValue(typeName, attributes.getValue("value")); in startElement()
204 String typeName = attributes.getValue("type"); in startElement() local
205 TypeInfo type = Converter.obtainTypeFromString(typeName); in startElement()
206 boolean isVarArg = typeName.endsWith("..."); in startElement()
211 new ParameterInfo(name, typeName, type, isVarArg, position, annotations)); in startElement()
/external/golang-protobuf/protoc-gen-go/grpc/
Dgrpc.go98 func (g *grpc) typeName(str string) string { func
269 reqArg := ", in *" + g.typeName(method.GetInputType())
273 respName := "*" + g.typeName(method.GetOutputType())
283 inType := g.typeName(method.GetInputType())
284 outType := g.typeName(method.GetOutputType())
370 ret = "(*" + g.typeName(method.GetOutputType()) + ", error)"
373 reqArgs = append(reqArgs, "*"+g.typeName(method.GetInputType()))
385 inType := g.typeName(method.GetInputType())
386 outType := g.typeName(method.GetOutputType())
/external/javassist/src/main/javassist/bytecode/annotation/
DAnnotation.java85 public Annotation(String typeName, ConstPool cp) { in Annotation() argument
86 this(cp.addUtf8Info(Descriptor.of(typeName)), cp); in Annotation()
306 String typeName = pool.getUtf8Info(typeIndex); in write() local
308 writer.annotation(typeName, 0); in write()
312 writer.annotation(typeName, members.size()); in write()
/external/javaparser/javaparser-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/
DInitializePropertyMetaModelsStatementsGenerator.java24 final String typeName = fieldType.getTypeName().replace('$', '.'); in generate() local
30 typeName, in generate()
48 final String typeName = innermostReturnType.getTypeName().replace('$', '.'); in generateDerivedProperty() local
54 typeName, in generateDerivedProperty()

12345678