Lines Matching refs:maxApiLevel
227 bool VersionInfo::scan(Scanner* scanner, unsigned int maxApiLevel) { in scan() argument
251 if (maxVersion > maxApiLevel) { in scan()
252 maxVersion = maxApiLevel; in scan()
255 return minVersion == 0 || minVersion <= maxApiLevel; in scan()
366 unsigned int maxApiLevel) { in scanConstantSpecification() argument
369 if (!info.scan(scanner, maxApiLevel)) { in scanConstantSpecification()
395 unsigned int maxApiLevel) { in scanTypeSpecification() argument
398 if (!info.scan(scanner, maxApiLevel)) { in scanTypeSpecification()
603 unsigned int maxApiLevel) { in scanFunctionSpecification() argument
615 if (!info.scan(scanner, maxApiLevel)) { in scanFunctionSpecification()
804 bool SpecFile::readSpecFile(unsigned int maxApiLevel) { in readSpecFile() argument
841 FunctionSpecification::scanFunctionSpecification(&scanner, this, maxApiLevel); in readSpecFile()
843 TypeSpecification::scanTypeSpecification(&scanner, this, maxApiLevel); in readSpecFile()
845 ConstantSpecification::scanConstantSpecification(&scanner, this, maxApiLevel); in readSpecFile()
897 bool SystemSpecification::readSpecFile(const string& fileName, unsigned int maxApiLevel) { in readSpecFile() argument
899 if (!spec->readSpecFile(maxApiLevel)) { in readSpecFile()
908 static void updateMaxApiLevel(const VersionInfo& info, unsigned int* maxApiLevel) { in updateMaxApiLevel() argument
913 *maxApiLevel = max(*maxApiLevel, max(info.minVersion, info.maxVersion)); in updateMaxApiLevel()
917 unsigned int maxApiLevel = 0; in getMaximumApiLevel() local
920 updateMaxApiLevel(j->getVersionInfo(), &maxApiLevel); in getMaximumApiLevel()
925 updateMaxApiLevel(j->getVersionInfo(), &maxApiLevel); in getMaximumApiLevel()
930 updateMaxApiLevel(j->getVersionInfo(), &maxApiLevel); in getMaximumApiLevel()
933 return maxApiLevel; in getMaximumApiLevel()
936 bool SystemSpecification::generateFiles(unsigned int maxApiLevel) const { in generateFiles()
939 generateTestFiles("test", maxApiLevel) && in generateFiles()
940 generateStubsWhiteList("slangtest", maxApiLevel); in generateFiles()