Home
last modified time | relevance | path

Searched refs:parseResult (Results 1 – 25 of 41) sorted by relevance

12

/third_party/icu/icu4c/source/test/intltest/
Ditrbnfrt.cpp300 Formattable parseResult; in doTest() local
301 formatter->parse(formatResult, parseResult, status); in doTest()
307 double rt = (parseResult.getType() == Formattable::kDouble) ? in doTest()
308 parseResult.getDouble() : in doTest()
309 (double)parseResult.getLong(); in doTest()
327 Formattable parseResult; in doTest() local
328 formatter->parse(formatResult, parseResult, status); in doTest()
334 double rt = (parseResult.getType() == Formattable::kDouble) ? in doTest()
335 parseResult.getDouble() : in doTest()
336 (double)parseResult.getLong(); in doTest()
Dnumfmtst.cpp3904 Formattable parseResult; in TestCurrencyIsoPluralFormat() local
3905 numFmt->parse(oneCurrencyFormatResult, parseResult, status); in TestCurrencyIsoPluralFormat()
3907 (parseResult.getType() == Formattable::kDouble && in TestCurrencyIsoPluralFormat()
3908 parseResult.getDouble() != numberToBeFormat) || in TestCurrencyIsoPluralFormat()
3909 (parseResult.getType() == Formattable::kLong && in TestCurrencyIsoPluralFormat()
3910 parseResult.getLong() != numberToBeFormat)) { in TestCurrencyIsoPluralFormat()
3913 if (parseResult.getType() == Formattable::kDouble) { in TestCurrencyIsoPluralFormat()
3914 … errln((UnicodeString)"expected: " + numberToBeFormat + "; actual: " +parseResult.getDouble()); in TestCurrencyIsoPluralFormat()
3916 … errln((UnicodeString)"expected: " + numberToBeFormat + "; actual: " +parseResult.getLong()); in TestCurrencyIsoPluralFormat()
4019 Formattable parseResult; in TestCurrencyParsing() local
[all …]
/third_party/skia/modules/svg/src/
DSkSVGDOM.cpp58 auto parseResult = SkSVGAttributeParser::parse<SkSVGIRI>(stringValue); in SetIRIAttribute() local
59 if (!parseResult.isValid()) { in SetIRIAttribute()
63 node->setAttribute(attr, SkSVGStringValue(parseResult->iri())); in SetIRIAttribute()
77 auto parseResult = SkSVGAttributeParser::parse<SkSVGTransformType>(stringValue); in SetTransformAttribute() local
78 if (!parseResult.isValid()) { in SetTransformAttribute()
82 node->setAttribute(attr, SkSVGTransformValue(*parseResult)); in SetTransformAttribute()
88 auto parseResult = SkSVGAttributeParser::parse<SkSVGLength>(stringValue); in SetLengthAttribute() local
89 if (!parseResult.isValid()) { in SetLengthAttribute()
93 node->setAttribute(attr, SkSVGLengthValue(*parseResult)); in SetLengthAttribute()
112 auto parseResult = SkSVGAttributeParser::parse<SkSVGObjectBoundingBoxUnits>(stringValue); in SetObjectBoundingBoxUnitsAttribute() local
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DShaderModuleVk.cpp73 ShaderModuleParseResult* parseResult) { in Create() argument
75 DAWN_TRY(module->Initialize(parseResult)); in Create()
85 MaybeError ShaderModule::Initialize(ShaderModuleParseResult* parseResult) { in Initialize() argument
93 DAWN_TRY_ASSIGN(program, RunTransforms(&robustness, parseResult->tintProgram.get(), in Initialize()
96 parseResult->tintProgram = std::make_unique<tint::Program>(std::move(program)); in Initialize()
99 return InitializeBase(parseResult); in Initialize()
DShaderModuleVk.h34 ShaderModuleParseResult* parseResult);
42 MaybeError Initialize(ShaderModuleParseResult* parseResult);
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/mocks/
DShaderModuleMock.cpp34 ShaderModuleParseResult parseResult; in Create() local
35 DAWN_TRY(ValidateShaderModuleDescriptor(device, &desc, &parseResult, nullptr)); in Create()
36 DAWN_TRY(mock->InitializeBase(&parseResult)); in Create()
/third_party/vk-gl-cts/executor/tools/
DxeExtractValues.cpp163 xe::TestResultParser::ParseResult parseResult; in testCaseResultComplete() local
166 parseResult = m_testResultParser.parse(caseData->getData(), caseData->getDataSize()); in testCaseResultComplete()
168 …if ((parseResult != xe::TestResultParser::PARSERESULT_ERROR && fullResult.statusCode != xe::TESTST… in testCaseResultComplete()
176 DE_ASSERT(parseResult == xe::TestResultParser::PARSERESULT_ERROR); in testCaseResultComplete()
181 if (parseResult != xe::TestResultParser::PARSERESULT_ERROR) in testCaseResultComplete()
DxeExtractShaderPrograms.cpp168 xe::TestResultParser::ParseResult parseResult; in testCaseResultComplete() local
171 parseResult = m_testResultParser.parse(caseData->getData(), caseData->getDataSize()); in testCaseResultComplete()
172 DE_UNREF(parseResult); in testCaseResultComplete()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DShaderModuleD3D12.h54 ShaderModuleParseResult* parseResult);
64 MaybeError Initialize(ShaderModuleParseResult* parseResult);
DShaderModuleD3D12.cpp733 ShaderModuleParseResult* parseResult) { in Create() argument
735 DAWN_TRY(module->Initialize(parseResult)); in Create()
743 MaybeError ShaderModule::Initialize(ShaderModuleParseResult* parseResult) { in Initialize() argument
745 return InitializeBase(parseResult); in Initialize()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DShaderModuleMTL.h35 ShaderModuleParseResult* parseResult);
65 MaybeError Initialize(ShaderModuleParseResult* parseResult);
DShaderModuleMTL.mm32 ShaderModuleParseResult* parseResult) {
34 DAWN_TRY(module->Initialize(parseResult));
42 MaybeError ShaderModule::Initialize(ShaderModuleParseResult* parseResult) {
44 return InitializeBase(parseResult);
DDeviceMTL.h100 ShaderModuleParseResult* parseResult) override;
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DShaderModuleGL.h54 ShaderModuleParseResult* parseResult);
65 MaybeError Initialize(ShaderModuleParseResult* parseResult);
DShaderModuleGL.cpp217 ShaderModuleParseResult* parseResult) { in Create() argument
219 DAWN_TRY(module->Initialize(parseResult)); in Create()
246 MaybeError ShaderModule::Initialize(ShaderModuleParseResult* parseResult) { in Initialize() argument
249 DAWN_TRY(InitializeBase(parseResult)); in Initialize()
DDeviceGL.cpp154 ShaderModuleParseResult* parseResult) { in CreateShaderModuleImpl() argument
155 return ShaderModule::Create(this, descriptor, parseResult); in CreateShaderModuleImpl()
DDeviceGL.h102 ShaderModuleParseResult* parseResult) override;
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/
DDeviceNull.cpp152 ShaderModuleParseResult* parseResult) { in CreateShaderModuleImpl() argument
154 DAWN_TRY(module->Initialize(parseResult)); in CreateShaderModuleImpl()
437 MaybeError ShaderModule::Initialize(ShaderModuleParseResult* parseResult) { in Initialize() argument
438 return InitializeBase(parseResult); in Initialize()
DDeviceNull.h145 ShaderModuleParseResult* parseResult) override;
282 MaybeError Initialize(ShaderModuleParseResult* parseResult);
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DShaderModule.h100 ShaderModuleParseResult* parseResult,
283 MaybeError InitializeBase(ShaderModuleParseResult* parseResult);
DDevice.cpp834 ShaderModuleParseResult* parseResult, in GetOrCreateShaderModule() argument
836 ASSERT(parseResult != nullptr); in GetOrCreateShaderModule()
848 if (!parseResult->HasParsedShader()) { in GetOrCreateShaderModule()
854 DAWN_TRY(ValidateShaderModuleDescriptor(this, descriptor, parseResult, in GetOrCreateShaderModule()
857 DAWN_TRY_ASSIGN(result, CreateShaderModuleImpl(descriptor, parseResult)); in GetOrCreateShaderModule()
1495 ShaderModuleParseResult parseResult; in CreateShaderModule() local
1499 ValidateShaderModuleDescriptor(this, descriptor, &parseResult, compilationMessages), in CreateShaderModule()
1503 return GetOrCreateShaderModule(descriptor, &parseResult, compilationMessages); in CreateShaderModule()
DShaderModule.cpp982 ShaderModuleParseResult* parseResult, in ValidateShaderModuleDescriptor() argument
984 ASSERT(parseResult != nullptr); in ValidateShaderModuleDescriptor()
1028 parseResult->tintProgram = std::make_unique<tint::Program>(std::move(program)); in ValidateShaderModuleDescriptor()
1040 parseResult->tintProgram = std::make_unique<tint::Program>(std::move(program)); in ValidateShaderModuleDescriptor()
1041 parseResult->tintSource = std::move(tintSource); in ValidateShaderModuleDescriptor()
1297 MaybeError ShaderModuleBase::InitializeBase(ShaderModuleParseResult* parseResult) { in InitializeBase() argument
1298 mTintProgram = std::move(parseResult->tintProgram); in InitializeBase()
1299 mTintSource = std::move(parseResult->tintSource); in InitializeBase()
DDevice.h184 ShaderModuleParseResult* parseResult,
402 ShaderModuleParseResult* parseResult) = 0;
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DUtil.cpp154 …bool parseResult = glslangShader->parse(&glslang::DefaultTBuiltInResource, defaultVersion, false, … in compileGLSLtoSPIRV() local
156 if(!parseResult) in compileGLSLtoSPIRV()
/third_party/vk-gl-cts/executor/
DxeTestResultParser.cpp901 …const TestResultParser::ParseResult parseResult = parser->parse(data.getData(), data.getDataSize()… in parseTestCaseResultFromData() local
907 if (parseResult == TestResultParser::PARSERESULT_ERROR) in parseTestCaseResultFromData()
909 else if (parseResult != TestResultParser::PARSERESULT_COMPLETE) in parseTestCaseResultFromData()

12