Home
last modified time | relevance | path

Searched refs:testOption (Results 1 – 3 of 3) sorted by relevance

/frameworks/rs/script_api/
DSpecification.cpp140 const string& testOption, int lineNumber, in parseParameterDefinition() argument
183 if (!testOption.empty()) { in parseParameterDefinition()
184 if (testOption.compare(0, 6, "range(") == 0) { in parseParameterDefinition()
185 size_t pComma = testOption.find(','); in parseParameterDefinition()
186 size_t pParen = testOption.find(')'); in parseParameterDefinition()
188 scanner->error(lineNumber) << "Incorrect range " << testOption << "\n"; in parseParameterDefinition()
190 minValue = testOption.substr(6, pComma - 6); in parseParameterDefinition()
191 maxValue = testOption.substr(pComma + 1, pParen - pComma - 1); in parseParameterDefinition()
193 } else if (testOption.compare(0, 6, "above(") == 0) { in parseParameterDefinition()
194 size_t pParen = testOption.find(')'); in parseParameterDefinition()
[all …]
DSpecification.h71 std::string testOption; member
120 const std::string& testOption, int lineNumber, bool isReturn,
424 std::string* name, std::string* testOption, int* lineNumber) const;
DScanner.cpp170 p->testOption = s.substr(optionStart + 2); in parseArgString()