Home
last modified time | relevance | path

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

123456

/external/desugar/java/com/google/devtools/build/android/desugar/
DCoreLibraryRewriter.java56 private static boolean shouldPrefix(String typeName) { in shouldPrefix() argument
57 return (typeName.startsWith("java/") || typeName.startsWith("sun/")) && !except(typeName); in shouldPrefix()
60 private static boolean except(String typeName) { in except() argument
61 if (typeName.startsWith("java/lang/invoke/")) { in except()
65 switch (typeName) { in except()
91 public String prefix(String typeName) { in prefix() argument
92 if (prefix.length() > 0 && shouldPrefix(typeName)) { in prefix()
93 return prefix + typeName; in prefix()
95 return typeName; in prefix()
99 public String unprefix(String typeName) { in unprefix() argument
[all …]
/external/r8/src/main/java/com/android/tools/r8/utils/
DDescriptorUtils.java29 private static String internalToDescriptor(String typeName, boolean shorty) { in internalToDescriptor() argument
30 String descriptor = typeNameToLetterMap.get(typeName); in internalToDescriptor()
38 if (typeName.endsWith("[]")) { in internalToDescriptor()
39 return "[" + internalToDescriptor(typeName.substring(0, typeName.length() - 2), shorty); in internalToDescriptor()
42 return "L" + typeName.replace(JAVA_PACKAGE_SEPARATOR, DESCRIPTOR_PACKAGE_SEPARATOR) + ";"; in internalToDescriptor()
51 public static String javaTypeToDescriptor(String typeName) { in javaTypeToDescriptor() argument
52 assert typeName.indexOf(DESCRIPTOR_PACKAGE_SEPARATOR) == -1; in javaTypeToDescriptor()
53 return internalToDescriptor(typeName, false); in javaTypeToDescriptor()
62 public static String javaTypeToShorty(String typeName) { in javaTypeToShorty() argument
63 return internalToDescriptor(typeName, true); in javaTypeToShorty()
/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()
DBoolOrEnumConverter.java42 protected BoolOrEnumConverter(Class<T> enumType, String typeName, T trueValue, T falseValue) { in BoolOrEnumConverter() argument
43 super(enumType, typeName); in BoolOrEnumConverter()
/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/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/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/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/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp153 const char* typeName = "Unknown"; in GrGLCompileAndAttachShader() local
155 case GR_GL_VERTEX_SHADER: typeName = "Vertex"; break; in GrGLCompileAndAttachShader()
156 case GR_GL_GEOMETRY_SHADER: typeName = "Geometry"; break; in GrGLCompileAndAttachShader()
157 case GR_GL_FRAGMENT_SHADER: typeName = "Fragment"; break; in GrGLCompileAndAttachShader()
159 SkDebugf("---- %s shader ----------------------------------------------------\n", typeName); in GrGLCompileAndAttachShader()
/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/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/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutTests.cpp808 const char* typeName = glu::getDataTypeName(type); in init() local
811 …layoutGroup->addChild(new BlockBasicTypeCase(m_testCtx, typeName, "", VarType(type, glu::PRECISION… in init()
817 const string caseName = string(glu::getPrecisionName(precision)) + "_" + typeName; in init()
830 …ng(matrixFlags[matFlagNdx].name) + "_" + string(glu::getPrecisionName(precision)) + "_" + typeName; in init()
854 const char* typeName = glu::getDataTypeName(type); in init() local
857 layoutGroup->addChild(new BlockBasicTypeCase(m_testCtx, typeName, "", in init()
865 … BlockBasicTypeCase(m_testCtx, (string(matrixFlags[matFlagNdx].name) + "_" + typeName).c_str(), "", in init()
868 …kBasicTypeCase(m_testCtx, (string(matrixFlags[matFlagNdx].name) + "_" + typeName + "_comp_access")… in init()
890 const char* typeName = glu::getDataTypeName(type); in init() local
893 layoutGroup->addChild(new BlockBasicUnsizedArrayCase(m_testCtx, typeName, "", in init()
[all …]
/external/emma/core/java12/com/vladium/emma/report/
DItem.java114 ItemMetadata (final int typeID, final String typeName, final long attributeIDs) in ItemMetadata() argument
117 if ($assert.ENABLED) $assert.ASSERT (typeName != null, "typeName = null"); in ItemMetadata()
121 m_typeName = typeName; in ItemMetadata()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DErrorMessagesTest.java27 String typeName = "com.google.common.collect.ImmutableList<java.lang.Boolean>"; in stripCommonTypePrefixes() local
28 assertThat(ErrorMessages.stripCommonTypePrefixes(typeName)).isEqualTo("ImmutableList<Boolean>"); in stripCommonTypePrefixes()
/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()
/external/deqp/modules/gles31/functional/
Des31fUniformBlockTests.cpp207 const char* typeName = glu::getDataTypeName(type); in init() local
213 …createBlockBasicTypeCases(layoutGroup, m_context, typeName, parentType, layoutFlags[layoutFlagNdx]… in init()
218 …cTypeCases(layoutGroup, m_context, (string(matrixFlags[matFlagNdx].name) + "_" + typeName).c_str(), in init()
238 const char* typeName = glu::getDataTypeName(type); in init() local
246 …createBlockBasicTypeCases(layoutGroup, m_context, typeName, parentType, layoutFlags[layoutFlagNdx]… in init()
251 …cTypeCases(layoutGroup, m_context, (string(matrixFlags[matFlagNdx].name) + "_" + typeName).c_str(), in init()
Des31fSSBOLayoutTests.cpp815 const char* typeName = glu::getDataTypeName(type); in init() local
818 …layoutGroup->addChild(new BlockBasicTypeCase(m_context, typeName, "", VarType(type, glu::PRECISION… in init()
824 const string caseName = string(glu::getPrecisionName(precision)) + "_" + typeName; in init()
837 …ng(matrixFlags[matFlagNdx].name) + "_" + string(glu::getPrecisionName(precision)) + "_" + typeName; in init()
860 const char* typeName = glu::getDataTypeName(type); in init() local
863 layoutGroup->addChild(new BlockBasicTypeCase(m_context, typeName, "", in init()
870 … BlockBasicTypeCase(m_context, (string(matrixFlags[matFlagNdx].name) + "_" + typeName).c_str(), "", in init()
891 const char* typeName = glu::getDataTypeName(type); in init() local
894 layoutGroup->addChild(new BlockBasicUnsizedArrayCase(m_context, typeName, "", in init()
901 …sicUnsizedArrayCase(m_context, (string(matrixFlags[matFlagNdx].name) + "_" + typeName).c_str(), "", in init()
[all …]
Des31fShaderAtomicOpTests.cpp118 const char* typeName = getDataTypeName(m_type); in init() local
132 << " " << precName << " " << typeName << " inputValues[" << numValues << "];\n" in init()
138 src << "shared " << precName << " " << typeName << " s_var;\n"; in init()
160 << " s_var = " << typeName << "(" << tcu::toHex(m_initialValue) << "u);\n" in init()
162 …<< " " << precName << " " << typeName << " res = " << m_funcName << "(s_var, sb_inout.inputValues[… in init()
911 const char* typeName = getDataTypeName(m_type); in init() local
921 << " " << precName << " " << typeName << " compareValues[" << numValues << "];\n" in init()
922 << " " << precName << " " << typeName << " exchangeValues[" << numValues << "];\n" in init()
923 << " " << precName << " " << typeName << " outputValues[" << numValues << "];\n" in init()
924 …<< " " << (isSSBO ? "coherent " : "") << precName << " " << typeName << " groupValues[" << product… in init()
[all …]
/external/doclava/src/com/google/doclava/
DParameterInfo.java27 public ParameterInfo(String name, String typeName, TypeInfo type, boolean isVarArg, in ParameterInfo() argument
30 mTypeName = typeName; in ParameterInfo()
54 String typeName() { in typeName() method in ParameterInfo
/external/icu/icu4c/source/test/cintltst/
Dsprpdata.c57 const char* typeName; in strprepProfileLineFn() local
60 typeName = fields[2][0]; in strprepProfileLineFn()
63 if(strstr(typeName, usprepTypeNames[USPREP_UNASSIGNED])!=NULL){ in strprepProfileLineFn()
70 }else if(strstr(typeName, usprepTypeNames[USPREP_PROHIBITED])!=NULL){ in strprepProfileLineFn()
77 }else if(strstr(typeName, usprepTypeNames[USPREP_MAP])!=NULL){ in strprepProfileLineFn()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DSubclassBytecodeGenerator.java113 String typeName = type.getName(); in nameFor() local
117 typeName = "codegen." + typeName; in nameFor()
119 return String.format("%s$%s$%d", typeName, "MockitoMock", Math.abs(random.nextInt())); in nameFor()
/external/swiftshader/third_party/LLVM/lib/Target/CppBackend/
DCPPBackend.cpp120 void printType(const std::string& fname, const std::string& typeName );
505 std::string typeName(getCppName(Ty)); in printType() local
511 Out << "std::vector<Type*>" << typeName << "_args;"; in printType()
519 Out << typeName << "_args.push_back(" << argName; in printType()
525 Out << "FunctionType* " << typeName << " = FunctionType::get("; in printType()
528 nl(Out) << "/*Params=*/" << typeName << "_args,"; in printType()
537 Out << "StructType *" << typeName << " = mod->getTypeByName(\""; in printType()
541 Out << "if (!" << typeName << ") {"; in printType()
543 Out << typeName << " = "; in printType()
554 Out << "std::vector<Type*>" << typeName << "_fields;"; in printType()
[all …]
/external/icu/icu4c/source/tools/gensprep/
Dgensprep.c349 const char* typeName; in strprepProfileLineFn() local
374 typeName = fields[2][0]; in strprepProfileLineFn()
377 if(uprv_strstr(typeName, usprepTypeNames[USPREP_UNASSIGNED])!=NULL){ in strprepProfileLineFn()
388 }else if(uprv_strstr(typeName, usprepTypeNames[USPREP_PROHIBITED])!=NULL){ in strprepProfileLineFn()
399 }else if(uprv_strstr(typeName, usprepTypeNames[USPREP_MAP])!=NULL){ in strprepProfileLineFn()

123456