Home
last modified time | relevance | path

Searched refs:formatName (Results 1 – 25 of 33) sorted by relevance

12

/external/antlr/tool/src/main/java/org/antlr/codegen/
DRubyTarget.java94 public String toString( Object o, String formatName, Locale locale ) { in toString() argument
95 if ( formatName==null ) { in toString()
103 if ( formatName.equals( "snakecase" ) ) { in toString()
105 } else if ( formatName.equals( "camelcase" ) ) { in toString()
107 } else if ( formatName.equals( "subcamelcase" ) ) { in toString()
109 } else if ( formatName.equals( "constant" ) ) { in toString()
111 } else if ( formatName.equals( "platform" ) ) { in toString()
113 } else if ( formatName.equals( "lexerRule" ) ) { in toString()
115 } else if ( formatName.equals( "constantPath" ) ) { in toString()
117 } else if ( formatName.equals( "rubyString" ) ) { in toString()
[all …]
DCSharp3Target.java124 public String toString(Object obj, String formatName, Locale locale) in toString() argument
127 if (value == null || formatName == null) in toString()
130 if (formatName.equals("id")) { in toString()
135 } else if (formatName.equals("cap")) { in toString()
137 } else if (formatName.equals("string")) { in toString()
140 throw new IllegalArgumentException("Unsupported format name: '" + formatName + "'"); in toString()
/external/antlr/tool/src/main/java/org/antlr/tool/
DErrorManager.java258 private static String formatName; field in ErrorManager
464 public static void setFormat(String formatName) { in setFormat() argument
465 ErrorManager.formatName = formatName; in setFormat()
466 String fileName = "org/antlr/tool/templates/messages/formats/"+formatName+".stg"; in setFormat()
470 if ( formatName.equals("antlr") ) { in setFormat()
482 if ( !formatOK && formatName.equals("antlr") ) { in setFormat()
483 …rawError("ANTLR installation corrupted; ANTLR messages format file "+formatName+".stg incomplete"); in setFormat()
912 System.err.println("Format template 'location' not found in " + formatName); in verifyFormat()
916 System.err.println("Format template 'message' not found in " + formatName); in verifyFormat()
920 System.err.println("Format template 'report' not found in " + formatName); in verifyFormat()
/external/cldr/tools/java/org/unicode/cldr/icu/
DBcp47Mapper.java157 icuData.add(typeMapPrefix + formatName(mainAlias), typeName); in startElement()
159 icuData.add(typeAliasPrefix + formatName(aliases[i]), mainAlias); in startElement()
178 private String formatName(String str) { in formatName() method in Bcp47Mapper.KeywordHandler
/external/icu/icu4c/source/i18n/unicode/
Dmsgfmt.h582 virtual Format* getFormat(const UnicodeString& formatName, UErrorCode& status);
597 … virtual void setFormat(const UnicodeString& formatName, const Format& format, UErrorCode& status);
613 …virtual void adoptFormat(const UnicodeString& formatName, Format* formatToAdopt, UErrorCode& statu…
/external/v8/tools/
Dic-processor.js144 IcProcessor.prototype.formatName = function(entry) { method in IcProcessor
159 this.formatName(entry) + ":" + line + ":" + column + " " + name +
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp1150 const char* formatName = formatData.name; in initTests() local
1157 …::MovePtr<tcu::TestCaseGroup> formatGroup(new tcu::TestCaseGroup(testCtx, formatName, formatName)); in initTests()
1279 const char* formatName = formatData.name; in initTests() local
1286 …::MovePtr<tcu::TestCaseGroup> formatGroup(new tcu::TestCaseGroup(testCtx, formatName, formatName)); in initTests()
DvktRenderPassMultisampleResolveTests.cpp1702 const std::string formatName (formatToName(format)); in initTests() local
1703 …:TestCaseGroup> formatGroup (new tcu::TestCaseGroup(testCtx, formatName.c_str(), formatName.c_str(… in initTests()
/external/icu/icu4c/source/i18n/
Dmsgfmt.cpp699 MessageFormat::adoptFormat(const UnicodeString& formatName, in adoptFormat() argument
706 int32_t argNumber = MessagePattern::validateArgumentName(formatName); in adoptFormat()
714 if (argNameMatches(partIndex + 1, formatName, argNumber)) { in adoptFormat()
759 MessageFormat::getFormat(const UnicodeString& formatName, UErrorCode& status) { in getFormat() argument
762 int32_t argNumber = MessagePattern::validateArgumentName(formatName); in getFormat()
768 if (argNameMatches(partIndex + 1, formatName, argNumber)) { in getFormat()
779 MessageFormat::setFormat(const UnicodeString& formatName, in setFormat() argument
784 int32_t argNumber = MessagePattern::validateArgumentName(formatName); in setFormat()
792 if (argNameMatches(partIndex + 1, formatName, argNumber)) { in setFormat()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrConversionTests.cpp1168 const std::string formatName (de::toLower(std::string(getFormatName(format)).substr(10))); in initTests() local
1169 …p (new tcu::TestCaseGroup(testCtx, formatName.c_str(), ("Tests for color conversion using forma… in initTests()
1259 const std::string formatName (de::toLower(std::string(getFormatName(format)).substr(10))); in initTests() local
1260 …roup (new tcu::TestCaseGroup(testCtx, formatName.c_str(), ("Tests for color conversion using forma… in initTests()
1452 const std::string formatName (de::toLower(std::string(getFormatName(format)).substr(10))); in initTests() local
1453 …roup (new tcu::TestCaseGroup(testCtx, formatName.c_str(), ("Tests for color conversion using forma… in initTests()
DvktYCbCrFormatTests.cpp577 const string formatName = de::toLower(de::toString(format).substr(10)); in populateFormatGroup() local
579 …group->addChild(createTestGroup<VkFormat>(group->getTestContext(), formatName, "", populatePerForm… in populateFormatGroup()
/external/deqp/modules/gles3/functional/
Des3fTextureFilteringTests.cpp1320 const char* formatName = filterableFormatsByType[fmtNdx].name; in init() local
1323 string name = string(formatName) + "_" + filterName; in init()
1436 const char* formatName = filterableFormatsByType[fmtNdx].name; in init() local
1439 string name = string(formatName) + "_" + filterName; in init()
1578 const char* formatName = filterableFormatsByType[fmtNdx].name; in init() local
1581 string name = string(formatName) + "_" + filterName; in init()
1673 const char* formatName = filterableFormatsByType[fmtNdx].name; in init() local
1676 string name = string(formatName) + "_" + filterName; in init()
Des3fTextureWrapTests.cpp532 …const string formatName = "astc_" + de::toString(blockSize.x()) + "x" + de::toString(blockSize.… in init() local
533 TestCaseGroup* const formatGroup = new TestCaseGroup(m_context, formatName.c_str(), ""); in init()
/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsClusteredTests.cpp271 std::string formatName = subgroups::getFormatNameForGLSL(format); in getCompare() local
299 return "all(lessThan(abs(" + lhs + " - " + rhs + "), " + formatName + "(0.00001)))"; in getCompare()
DvktSubgroupsPartitionedTests.cpp350 std::string formatName = subgroups::getFormatNameForGLSL(format); in getCompare() local
382 return "all(lessThan(abs(" + lhs + " - " + rhs + "), " + formatName + "(0.00001)))"; in getCompare()
DvktSubgroupsArithmeticTests.cpp341 std::string formatName = subgroups::getFormatNameForGLSL(format); in getCompare() local
373 return "all(lessThan(abs(" + lhs + " - " + rhs + "), " + formatName + "(0.00001)))"; in getCompare()
/external/deqp/modules/gles31/functional/
Des31fTextureFilteringTests.cpp518 const char* formatName = filterableFormatsByType[fmtNdx].name; in init() local
521 const string name = string(formatName) + "_" + filterName; in init()
Des31fShaderImageLoadStoreTests.cpp3212 const string formatName = getShaderImageFormatQualifier(formats[formatNdx]); in init() local
3219 storeGroup->addChild(new ImageStoreCase(m_context, formatName.c_str(), "", format, imageType)); in init()
3221 …storeGroup->addChild(new ImageStoreCase(m_context, (formatName + "_single_layer").c_str(), "", for… in init()
3225 …loadStoreGroup->addChild(new ImageLoadAndStoreCase(m_context, formatName.c_str(), "", format, imag… in init()
3227 …loadStoreGroup->addChild(new ImageLoadAndStoreCase(m_context, (formatName + "_single_layer").c_str… in init()
3246 … caseName = string() + getAtomicOperationCaseName(operation) + "_" + formatName + "_" + caseType… in init()
3263 const string caseName = string() + coherenceQualifierName + "_" + formatName; in init()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageAtomicOperationTests.cpp975 const std::string formatName = getShaderImageFormatQualifier(format); in createImageAtomicOperationTests() local
978 const string caseEndResult = formatName + "_end_result"; in createImageAtomicOperationTests()
982 const string caseIntermValues = formatName + "_intermediate_values"; in createImageAtomicOperationTests()
DvktImageQualifiersTests.cpp766 const std::string formatName = getShaderImageFormatQualifier(formats[formatNdx]); in createImageQualifiersTests() local
769 …new MemoryQualifierTestCase(testCtx, formatName, "", memoryQualifier, imageType, imageSize, format… in createImageQualifiersTests()
/external/deqp/modules/glshared/
DglsFboCompletenessTests.cpp774 static string formatName (ImageFormat format) in formatName() function
808 return formatName(params.format); in getName()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewCreateTests.cpp425 const std::string formatName = de::toLower(getFormatName((VkFormat)format)).substr(10); in createBufferViewCreateTests() local
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp1149 const std::string formatName = getFormatName(vertexFormats[i]); in addVertexFormatTests() local
1150 …estCaseGroup> formatGroup (new tcu::TestCaseGroup(testCtx, de::toLower(formatName.substr(10)).c_st… in addVertexFormatTests()
DvktRobustnessBufferAccessTests.cpp1459 const std::string formatName = getFormatName(bufferFormat); in addBufferAccessTests() local
1460 …stCaseGroup> formatTests (new tcu::TestCaseGroup(testCtx, de::toLower(formatName.substr(10)).c_st… in addBufferAccessTests()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringTests.cpp1355 const char* const formatName = filterableFormatsByType[fmtNdx].name; in populateTextureFilteringTests() local
1356 const string name = string(formatName) + "_" + filterName; in populateTextureFilteringTests()
1475 const char* const formatName = filterableFormatsByType[fmtNdx].name; in populateTextureFilteringTests() local
1476 const string name = string(formatName) + "_" + filterName; in populateTextureFilteringTests()

12