Home
last modified time | relevance | path

Searched refs:casePath (Results 1 – 25 of 36) sorted by relevance

12

/third_party/vk-gl-cts/executor/
DxeBatchResult.cpp50 TestCaseResultData::TestCaseResultData (const char* casePath) in TestCaseResultData() argument
51 : m_casePath (casePath) in TestCaseResultData()
84 bool BatchResult::hasTestCaseResult (const char* casePath) const in hasTestCaseResult()
86 return m_resultMap.find(casePath) != m_resultMap.end(); in hasTestCaseResult()
89 ConstTestCaseResultPtr BatchResult::getTestCaseResult (const char* casePath) const in getTestCaseResult()
91 map<string, int>::const_iterator pos = m_resultMap.find(casePath); in getTestCaseResult()
96 TestCaseResultPtr BatchResult::getTestCaseResult (const char* casePath) in getTestCaseResult() argument
98 map<string, int>::const_iterator pos = m_resultMap.find(casePath); in getTestCaseResult()
103 TestCaseResultPtr BatchResult::createTestCaseResult (const char* casePath) in createTestCaseResult() argument
105 DE_ASSERT(!hasTestCaseResult(casePath)); in createTestCaseResult()
[all …]
DxeBatchResult.hpp74 TestCaseResultData (const char* casePath);
116 bool hasTestCaseResult (const char* casePath) const;
117 ConstTestCaseResultPtr getTestCaseResult (const char* casePath) const;
118 TestCaseResultPtr getTestCaseResult (const char* casePath);
120 TestCaseResultPtr createTestCaseResult (const char* casePath);
DxeBatchExecutor.cpp138 TestCaseResultPtr BatchExecutorLogHandler::startTestCaseResult (const char* casePath) in startTestCaseResult() argument
141 if (m_batchResult->hasTestCaseResult(casePath)) in startTestCaseResult()
142 return m_batchResult->getTestCaseResult(casePath); in startTestCaseResult()
144 return m_batchResult->createTestCaseResult(casePath); in startTestCaseResult()
DxeTestResultParser.cpp272 static TestCaseType getTestCaseTypeFromPath (const char* casePath) in getTestCaseTypeFromPath() argument
274 if (deStringBeginsWith(casePath, "dEQP-GLES2.")) in getTestCaseTypeFromPath()
276 const char* group = casePath+11; in getTestCaseTypeFromPath()
471 m_result->casePath = getAttribute("CasePath"); in handleElementStart()
481 m_result->caseType = getTestCaseTypeFromPath(m_result->casePath.c_str()); in handleElementStart()
892 result->casePath = data.getTestCasePath(); in parseTestCaseResultFromData()
921 if (result->casePath.empty()) in parseTestCaseResultFromData()
DxeTestLogParser.cpp118 const char* casePath = m_containerParser.getTestCasePath(); in parse() local
119 m_currentCaseData = m_handler->startTestCaseResult(casePath); in parse()
DxeTestLogParser.hpp46 virtual TestCaseResultPtr startTestCaseResult (const char* casePath) = DE_NULL;
/third_party/vk-gl-cts/scripts/
Dconvert_case_list_to_xml.py26 def __init__(self, casePath, description, caseType): argument
27 self.casePath = casePath
42 def createAncestors(casePath): argument
44 for dotNdx in findAllMatches(casePath, "."):
45 ancestorPath = casePath[:dotNdx]
57 element.setAttribute("Name", testCase.casePath.rsplit(".", 2)[-1])
79 casePath = m.group(1) variable
82 parent = createAncestors(casePath)
83 parent.children.append(TestCase(casePath, description, caseType))
/third_party/vk-gl-cts/executor/tools/
DxeExtractSampleLists.cpp43 void writeSampleList (const char* casePath, int listNdx, const xe::ri::SampleList& sampleList) in writeSampleList() argument
45 const string filename = string(casePath) + "." + de::toString(listNdx) + ".csv"; in writeSampleList()
78 void extractSampleLists (const char* casePath, int* listNdx, const xe::ri::List& items) in extractSampleLists() argument
85 extractSampleLists(casePath, listNdx, static_cast<const xe::ri::Section&>(child).items); in extractSampleLists()
88 writeSampleList(casePath, *listNdx, static_cast<const xe::ri::SampleList&>(child)); in extractSampleLists()
97 extractSampleLists(result.casePath.c_str(), &listNdx, result.resultItems); in extractSampleLists()
112 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
114 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
DxeTestLogCompare.cpp138 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
140 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
153 header.casePath = caseData->getTestCasePath(); in testCaseResultComplete()
169 m_result.resultMap[header.casePath] = caseNdx; in testCaseResultComplete()
227 if (addedCases.find(caseIter->casePath) == addedCases.end()) in computeCaseList()
229 cases.push_back(caseIter->casePath); in computeCaseList()
230 addedCases.insert(caseIter->casePath); in computeCaseList()
236 …TestCaseResultHeader>& headers, const vector<ShortBatchResult>& batchResults, const char* casePath) in getTestResultHeaders() argument
243 map<string, int>::const_iterator resultPos = batchResult.resultMap.find(casePath); in getTestResultHeaders()
249 headers[ndx].casePath = casePath; in getTestResultHeaders()
DxeExtractShaderPrograms.cpp77 static void writeShaderProgram (const CommandLine& cmdLine, const std::string& casePath, const xe::… in writeShaderProgram() argument
79 …const string basePath = string(de::FilePath::join(cmdLine.dstPath, casePath).getPath()) + "." + de… in writeShaderProgram()
108 static void extractShaderPrograms (const CommandLine& cmdLine, const std::string& casePath, const x… in extractShaderPrograms() argument
126 …writeShaderProgram(cmdLine, casePath, static_cast<const xe::ri::ShaderProgram&>(curItem), programN… in extractShaderPrograms()
137 std::cout << "WARNING: no shader programs found in '" << casePath << "'\n"; in extractShaderPrograms()
153 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
155 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
DxeBatchResultToJUnit.cpp95 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
97 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
113 size_t sepPos = result.casePath.find_last_of('.'); in testCaseResultComplete()
114 std::string caseName = result.casePath.substr(sepPos+1); in testCaseResultComplete()
115 std::string groupName = result.casePath.substr(0, sepPos); in testCaseResultComplete()
DxeBatchResultToXml.cpp154 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
156 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
242 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
244 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
259 de::FilePath casePath = de::FilePath::join(m_dstPath, (result.casePath + ".xml").c_str()); in testCaseResultComplete() local
260 std::ofstream out (casePath.getPath(), std::ofstream::binary|std::ofstream::trunc); in testCaseResultComplete()
264 throw xe::Error(string("Failed to open ") + casePath.getPath()); in testCaseResultComplete()
360 xe::TestCase* testCase = hierarchyBuilder.createCase(result->casePath.c_str(), result->caseType); in batchResultToSeparateXmlFiles()
DxeExtractValues.cpp58 string casePath; member
139 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
141 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
154 tagResult.casePath = caseData->getTestCasePath(); in testCaseResultComplete()
243 dst << result.casePath; in printTaggedValues()
DxeMergeTestLogs.cpp96 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
98 if (m_batchResult->hasTestCaseResult(casePath)) in startTestCaseResult()
100 xe::TestCaseResultPtr existingResult = m_batchResult->getTestCaseResult(casePath); in startTestCaseResult()
105 return m_batchResult->createTestCaseResult(casePath); in startTestCaseResult()
DxeCommandLineExecutor.cpp211 bool checkCasePathPatternMatch (const char* pattern, const char* casePath, bool isTestGroup) in checkCasePathPatternMatch() argument
218 char c = casePath[casePos]; in checkCasePathPatternMatch()
227 if (checkCasePathPatternMatch(pattern+ptrnPos+1, casePath+next, isTestGroup)) in checkCasePathPatternMatch()
230 if (casePath[next] == 0) in checkCasePathPatternMatch()
366 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult() argument
369 if (m_batchResult->hasTestCaseResult(casePath)) in startTestCaseResult()
370 return m_batchResult->getTestCaseResult(casePath); in startTestCaseResult()
372 return m_batchResult->createTestCaseResult(casePath); in startTestCaseResult()
/third_party/vk-gl-cts/framework/common/
DtcuTestSessionExecutor.cpp193 void TestSessionExecutor::enterTestGroup (const std::string& casePath) in enterTestGroup() argument
195 m_groupsDurationTime[casePath] = deGetMicroseconds(); in enterTestGroup()
198 void TestSessionExecutor::leaveTestGroup (const std::string& casePath) in leaveTestGroup() argument
200 m_groupsDurationTime[casePath] = deGetMicroseconds() - m_groupsDurationTime[casePath]; in leaveTestGroup()
203 bool TestSessionExecutor::enterTestCase (TestCase* testCase, const std::string& casePath) in enterTestCase() argument
209 print("\nTest case '%s'..\n", casePath.c_str()); in enterTestCase()
217 log.startCase(casePath.c_str(), caseType); in enterTestCase()
224 m_caseExecutor->init(testCase, casePath); in enterTestCase()
DtcuTestSessionExecutor.hpp52 void enterTestGroup (const std::string& casePath);
53 void leaveTestGroup (const std::string& casePath);
55 bool enterTestCase (TestCase* testCase, const std::string& casePath);
DtcuWaiverUtil.cpp514 bool WaiverUtil::isOnWaiverList(const std::string& casePath) const in isOnWaiverList()
520 size_t firstDotPos = casePath.find('.'); in isOnWaiverList()
521 std::string::const_iterator componentStart = casePath.cbegin() + firstDotPos + 1; in isOnWaiverList()
523 std::string::const_iterator pathEnd = casePath.cend(); in isOnWaiverList()
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/
DtcuRandomOrderExecutor.cpp180 TestStatus RandomOrderExecutor::execute(const std::string &casePath) in execute() argument
182 TestCase *const testCase = seekToCase(casePath); in execute()
187 log.startCase(casePath.c_str(), caseType); in execute()
190 const TestStatus result = executeInner(testCase, casePath); in execute()
196 tcu::TestStatus RandomOrderExecutor::executeInner(TestCase *testCase, const std::string &casePath) in executeInner() argument
207 m_caseExecutor->init(testCase, casePath); in executeInner()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/deqp_support/
DtcuRandomOrderExecutor.cpp173 TestStatus RandomOrderExecutor::execute(const std::string &casePath) in execute() argument
175 TestCase *const testCase = seekToCase(casePath); in execute()
180 log.startCase(casePath.c_str(), caseType); in execute()
183 const TestStatus result = executeInner(testCase, casePath); in execute()
189 tcu::TestStatus RandomOrderExecutor::executeInner(TestCase *testCase, const std::string &casePath) in executeInner() argument
199 m_caseExecutor->init(testCase, casePath); in executeInner()
/third_party/vk-gl-cts/framework/platform/ohos/
Dtestmain.cpp100 bool GetCasePath(tcu::TestNode *node, std::vector<tcu::TestNode *> &casePath, std::vector<std::stri… in GetCasePath() argument
106 casePath.push_back(node); in GetCasePath()
121 if (GetCasePath(children[i], casePath, namePath, deep + 1)) in GetCasePath()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
DvktTestPackage.cpp164 int getCurrentSubprocessCount (const std::string& casePath, int defaultSubprocessCount);
374 void TestCaseExecutor::init (tcu::TestCase* testCase, const std::string& casePath) in init() argument
376 if (m_waiverMechanism.isOnWaiverList(casePath)) in init()
395 …int currentSubprocessCount = getCurrentSubprocessCount(casePath, m_context->getTestContext().getCo… in init()
414 m_testsForSubprocess.push_back(casePath); in init()
417 m_resourceInterface->initTestCase(casePath); in init()
419 if (m_waiverMechanism.isOnWaiverList(casePath)) in init()
434 …uildProgram<glu::ShaderProgramInfo, vk::GlslSourceCollection::Iterator>(casePath, progIter, m_preb… in init()
458 …uildProgram<glu::ShaderProgramInfo, vk::HlslSourceCollection::Iterator>(casePath, progIter, m_preb… in init()
482 …e->buildProgram<vk::SpirVProgramInfo, vk::SpirVAsmCollection::Iterator>(casePath, asmIterator, m_p… in init()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/
DvktTestPackage.cpp164 int getCurrentSubprocessCount (const std::string& casePath, int defaultSubprocessCount);
374 void TestCaseExecutor::init (tcu::TestCase* testCase, const std::string& casePath) in init() argument
376 if (m_waiverMechanism.isOnWaiverList(casePath)) in init()
395 …int currentSubprocessCount = getCurrentSubprocessCount(casePath, m_context->getTestContext().getCo… in init()
414 m_testsForSubprocess.push_back(casePath); in init()
417 m_resourceInterface->initTestCase(casePath); in init()
419 if (m_waiverMechanism.isOnWaiverList(casePath)) in init()
434 …uildProgram<glu::ShaderProgramInfo, vk::GlslSourceCollection::Iterator>(casePath, progIter, m_preb… in init()
458 …uildProgram<glu::ShaderProgramInfo, vk::HlslSourceCollection::Iterator>(casePath, progIter, m_preb… in init()
482 …e->buildProgram<vk::SpirVProgramInfo, vk::SpirVAsmCollection::Iterator>(casePath, asmIterator, m_p… in init()
[all …]
/third_party/openh264/codec/build/iOS/enc/encDemo/encDemo/
Dmain.m97 for (NSString * casePath in cases) {
99 NSString* path = [encFilePath stringByAppendingPathComponent:casePath];
101 [dirArray addObject:casePath];
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkResourceInterface.hpp54 virtual void initTestCase (const std::string& casePath);
59 vk::ProgramBinary* buildProgram (const std::string& casePath,
382 vk::ProgramBinary* ResourceInterface::buildProgram (const std::string& casePath, in buildProgram() argument
387 const vk::ProgramIdentifier progId (casePath, iter.getName()); in buildProgram()

12