Home
last modified time | relevance | path

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

123456789

/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/io/
DCoreLibraryRewriter.java55 static boolean shouldPrefix(String typeName) { in shouldPrefix() argument
56 return (typeName.startsWith("java/") || typeName.startsWith("sun/")) && !except(typeName); in shouldPrefix()
59 private static boolean except(String typeName) { in except() argument
60 if (typeName.startsWith("java/lang/invoke/")) { in except()
64 switch (typeName) { in except()
94 public String unprefix(String typeName) { in unprefix() argument
95 if (prefix.isEmpty() || !typeName.startsWith(prefix)) { in unprefix()
96 return typeName; in unprefix()
98 return typeName.substring(prefix.length()); in unprefix()
117 public String map(String typeName) { in accept()
[all …]
/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/cldr/tools/java/org/unicode/cldr/icu/
DBcp47Mapper.java136 String typeName = attr.getValue("name"); in startElement() local
137 if (typeName == null) { in startElement()
144 icuData.add(bcpTypeAliasPrefix + typeName, preferredTypeName); in startElement()
153 icuData.add(typeMapPrefix + typeName, ""); in startElement()
157 icuData.add(typeMapPrefix + formatName(mainAlias), typeName); in startElement()
162 addOtherInfo(qName, attr, lastKeyName + "/" + typeName, SKIP_KEY_ATTRIBUTES); in startElement()
166 …private void addOtherInfo(String qName, Attributes attr, String typeName, Set<String> excludedAttr… in addOtherInfo() argument
174 keyMap.put("@" + qName + "Info/" + name + "/" + typeName, value); in addOtherInfo()
/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/desugar/java/com/google/devtools/build/android/desugar/
DCorePackageRenamer.java41 public String map(String typeName) { in map() argument
42 return isRenamed(typeName) ? support.renameCoreLibrary(typeName) : typeName; in map()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DInitialize.h95 void addSubpassSampling(TSampler, const TString& typeName, int version, EProfile profile);
96 void addQueryFunctions(TSampler, const TString& typeName, int version, EProfile profile);
97 void addImageFunctions(TSampler, const TString& typeName, int version, EProfile profile);
98 void addSamplingFunctions(TSampler, const TString& typeName, int version, EProfile profile);
99 void addGatherFunctions(TSampler, const TString& typeName, int version, EProfile profile);
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/
DAgentBuilderListener.java53 String typeName, in onError() argument
58 logger.log(Level.WARNING, "Failed to handle " + typeName, throwable); in onError()
63 String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) {} in onComplete() argument
67 String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) {} in onDiscovery() argument
/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/turbine/java/com/google/turbine/bytecode/
DClassFile.java343 private final String typeName; field in ClassFile.AnnotationInfo
348 String typeName, boolean runtimeVisible, Map<String, ElementValue> elementValuePairs) { in AnnotationInfo() argument
349 this.typeName = typeName; in AnnotationInfo()
355 public String typeName() { in typeName() method in ClassFile.AnnotationInfo
356 return typeName; in typeName()
387 private final String typeName; field in ClassFile.AnnotationInfo.ElementValue.EnumConstValue
390 public EnumConstValue(String typeName, String constName) { in EnumConstValue() argument
391 this.typeName = typeName; in EnumConstValue()
401 public String typeName() { in typeName() method in ClassFile.AnnotationInfo.ElementValue.EnumConstValue
402 return typeName; in typeName()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePatternUtil.java227 return typeName; in getTypeName()
251 sb.append(',').append(typeName); in toString()
273 private String typeName; field in MessagePatternUtil.ArgNode
474 node.typeName = pattern.getSubstring(pattern.getPart(start++)); in buildArgNode()
481 node.typeName = "choice"; in buildArgNode()
485 node.typeName = "plural"; in buildArgNode()
489 node.typeName = "select"; in buildArgNode()
493 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/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/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/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.go95 func (g *grpc) typeName(str string) string { func
279 reqArg := ", in *" + g.typeName(method.GetInputType())
283 respName := "*" + g.typeName(method.GetOutputType())
293 inType := g.typeName(method.GetInputType())
294 outType := g.typeName(method.GetOutputType())
383 ret = "(*" + g.typeName(method.GetOutputType()) + ", error)"
386 reqArgs = append(reqArgs, "*"+g.typeName(method.GetInputType()))
398 inType := g.typeName(method.GetInputType())
399 outType := g.typeName(method.GetOutputType())
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DCheckedProviders.java69 private final String typeName; field in CheckedProviders.ThrowingHandler
71 private ThrowingHandler(Constructor<? extends Throwable> throwableCtor, String typeName) { in ThrowingHandler() argument
73 this.typeName = typeName; in ThrowingHandler()
96 return String.format("generated CheckedProvider throwing <%s>", this.typeName); in toString()
/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()
/external/deqp/modules/glshared/
DglsShaderConstExprTests.cpp141 …string typeName = glu::getDataTypeName((glu::DataType)(inType + compCount)); // results in … in createTests() local
145 … caseName = string(cases[caseNdx].name) + (minComponents==maxComponents ? "" : ("_" + typeName)); in createTests()
148 expressionTemplateParams["T"] = typeName; in createTests()
149 expressionTemplateParams["MT"] = typeName; in createTests()
202 …const string scalarCaseName = string(cases[caseNdx].name) + "_" + typeName + "_" + glu::getDataTyp… in createTests()

123456789