Lines Matching refs:testOption
140 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()
196 scanner->error(lineNumber) << "Incorrect testOption " << testOption << "\n"; in parseParameterDefinition()
198 smallerParameter = testOption.substr(6, pParen - 6); in parseParameterDefinition()
200 } else if (testOption.compare(0, 11, "compatible(") == 0) { in parseParameterDefinition()
201 size_t pParen = testOption.find(')'); in parseParameterDefinition()
203 scanner->error(lineNumber) << "Incorrect testOption " << testOption << "\n"; in parseParameterDefinition()
205 compatibleTypeIndex = findCType(testOption.substr(11, pParen - 11)); in parseParameterDefinition()
207 } else if (testOption.compare(0, 11, "conditional") == 0) { in parseParameterDefinition()
210 scanner->error(lineNumber) << "Unrecognized testOption " << testOption << "\n"; in parseParameterDefinition()
540 std::string* type, std::string* name, std::string* testOption, in getParam() argument
545 *testOption = expandString(p->testOption, replacementIndexes); in getParam()
684 spec->checkRSTPatternValidity(p->testOption, false, scanner); in scanFunctionSpecification()
721 string type, name, testOption; in FunctionPermutation() local
723 spec->getParam(i, replacementIndexes, &type, &name, &testOption, &lineNumber); in FunctionPermutation()
725 def->parseParameterDefinition(type, name, testOption, lineNumber, false, scanner); in FunctionPermutation()