Home
last modified time | relevance | path

Searched refs:specFile (Results 1 – 9 of 9) sorted by relevance

/frameworks/rs/script_api/
DGenerateDocumentation.cpp36 const SpecFile& specFile) { in writeHeader() argument
47 auto desc = specFile.getFullDescription(); in writeHeader()
416 static bool writeOverviewForFile(GeneratedFile* file, const SpecFile& specFile) { in writeOverviewForFile() argument
418 *file << "<h2>" << specFile.getBriefDescription() << "</h2>\n"; in writeOverviewForFile()
419 if (!generateHtmlParagraphs(file, specFile.getFullDescription())) { in writeOverviewForFile()
425 writeSummaryTables(file, specFile.getDocumentedConstants(), specFile.getDocumentedTypes(), in writeOverviewForFile()
426 specFile.getDocumentedFunctions(), NON_DEPRECATED_ONLY, false); in writeOverviewForFile()
443 for (auto specFile : systemSpecification.getSpecFiles()) { in generateOverview() local
444 if (!writeOverviewForFile(&file, *specFile)) { in generateOverview()
618 const SpecFile& specFile) { in writeDetailedDocumentationFile() argument
[all …]
DGenerateHeaderFiles.cpp316 static bool writeHeaderFile(const string& directory, const SpecFile& specFile) { in writeHeaderFile() argument
317 const string headerFileName = specFile.getHeaderFileName(); in writeHeaderFile()
327 writeComment(&file, headerFileName, specFile.getBriefDescription(), in writeHeaderFile()
328 specFile.getFullDescription(), false, true); in writeHeaderFile()
337 if (specFile.getVerbatimInclude().size() > 0) { in writeHeaderFile()
338 for (auto s : specFile.getVerbatimInclude()) { in writeHeaderFile()
348 for (auto spec : specFile.getConstantSpecifications()) { in writeHeaderFile()
357 for (auto spec : specFile.getTypeSpecifications()) { in writeHeaderFile()
367 for (auto spec : specFile.getFunctionSpecifications()) { in writeHeaderFile()
387 for (auto specFile : systemSpecification.getSpecFiles()) { in generateHeaderFiles() local
[all …]
DSpecification.cpp276 const SpecFile* specFile) { in scanDocumentationTags() argument
303 mUrl = specFile->getDetailedDocumentationUrl() + "#android_rs:" + mName; in scanDocumentationTags()
365 void ConstantSpecification::scanConstantSpecification(Scanner* scanner, SpecFile* specFile, in scanConstantSpecification() argument
380 specFile->addConstantSpecification(spec, created); in scanConstantSpecification()
389 constant->scanDocumentationTags(scanner, created, specFile); in scanConstantSpecification()
394 void TypeSpecification::scanTypeSpecification(Scanner* scanner, SpecFile* specFile, in scanTypeSpecification() argument
409 specFile->addTypeSpecification(spec, created); in scanTypeSpecification()
444 type->scanDocumentationTags(scanner, created, specFile); in scanTypeSpecification()
602 void FunctionSpecification::scanFunctionSpecification(Scanner* scanner, SpecFile* specFile, in scanFunctionSpecification() argument
626 specFile->addFunctionSpecification(spec, created); in scanFunctionSpecification()
[all …]
DSpecification.h180 void scanDocumentationTags(Scanner* scanner, bool firstOccurence, const SpecFile* specFile);
278 …static void scanConstantSpecification(Scanner* scanner, SpecFile* specFile, unsigned int maxApiLev…
325 … static void scanTypeSpecification(Scanner* scanner, SpecFile* specFile, unsigned int maxApiLevel);
451 …static void scanFunctionSpecification(Scanner* scanner, SpecFile* specFile, unsigned int maxApiLev…
/frameworks/ml/nn/tools/test_generator/
Dcts_generator.py89 specTime = os.path.getmtime(tg.FileNames.specFile) + 10
110 specFileBase = os.path.basename(tg.FileNames.specFile)
289 print("Generating test(s) from spec: %s" % tg.FileNames.specFile, file=sys.stderr)
290 exec(open(tg.FileNames.specFile, "r").read())
303 print("Skip file: %s" % tg.FileNames.specFile, file=sys.stderr)
305 print("#include \"../generated/tests/%s.cpp\""%os.path.basename(tg.FileNames.specFile),
Dspec_visualizer.py397 specFile, varName, outFile = ParseCmdLine() variable
398 print("Visualizing from spec: %s" % specFile)
399 exec(open(specFile, "r").read())
Dslicing.py75 test_generator.FileNames.specFile = os.path.basename(args.spec)
163 spec_file = " (from: %s)" % (test_generator.FileNames.specFile)
Dvts_generator.py311 specFileBase = os.path.basename(tg.FileNames.specFile)
323 print("Generating test(s) from spec: %s" % tg.FileNames.specFile, file=sys.stderr)
324 exec (open(tg.FileNames.specFile, "r").read())
Dtest_generator.py1217 specFile = "" variable in FileNames
1261 FileNames.specFile = FileNames.specFiles[FileNames.fileIndex]
1276 versionMatch = re.findall(r"/V\d_\d/", FileNames.specFile)