HomeSort by relevance Sort by last modified time
    Searched full:apifile (Results 1 - 25 of 121) sorted by null

1 2 3 4 5

  /tools/metalava/src/test/java/com/android/tools/metalava/
AnnotationsDifferTest.kt 19 import com.android.tools.metalava.doclava1.ApiFile
32 val codebase = ApiFile.parseApi("old.txt", """
45 val codebase2 = ApiFile.parseApi("new.txt", """
54 val apiFile = temporaryFolder.newFile("diff.txt")
55 AnnotationsDiffer(codebase, codebase2).writeDiffSignature(apiFile)
56 assertTrue(apiFile.exists())
57 val actual = apiFile.readText(Charsets.UTF_8)
DriverTest.kt 429 var apiFile: File? = null
431 apiFile = temporaryFolder.newFile("public-api.txt")
432 arrayOf("--api", apiFile.path)
623 if (api != null && apiFile != null) {
624 assertTrue("${apiFile.path} does not exist even though --api was used", apiFile.exists())
625 val expectedText = readFile(apiFile, stripBlankLines, trim)
    [all...]
  /external/swiftshader/third_party/LLVM/test/Transforms/Internalize/
2008-05-09-AllButMain.ll 8 ; -file and -list options should be merged, the .apifile contains foo and j
9 ; RUN: opt < %s -internalize -internalize-public-api-list bar -internalize-public-api-file %s.apifile -S | grep internal | count 2
  /frameworks/support/buildSrc/src/main/kotlin/androidx/build/doclava/
DoclavaTask.kt 84 var apiFile: File? = null
88 * If this is non-null, then {@link #apiFile} must be non-null as well.
116 // If none of generateDocs, apiFile, keepListFile, or stubJarsDir are true, then there is
118 onlyIf({ generateDocs || apiFile != null || keepListFile != null || stubsDir != null })
166 if (apiFile != null) {
167 addFileOption("api", apiFile)
  /frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
SdkUtil.java 83 public ApiChecker(File apiFile) {
86 if (apiFile == null || !apiFile.exists()) {
89 inputStream = FileUtils.openInputStream(apiFile);
98 L.e(t, "cannot load api descriptions from %s", apiFile);
  /tools/metalava/src/main/java/com/android/tools/metalava/
Driver.kt 32 import com.android.tools.metalava.doclava1.ApiFile
234 options.apiFile?.let { apiFile ->
239 createReportFile(codebase, apiFile, "API") { printWriter ->
245 options.dexApiFile?.let { apiFile ->
252 codebase, apiFile, "DEX API"
256 options.removedApiFile?.let { apiFile ->
263 createReportFile(unfiltered, apiFile, "removed API") { printWriter ->
268 options.removedDexApiFile?.let { apiFile ->
277 unfiltered, apiFile, "removed DEX API
    [all...]
ArtifactTagger.kt 19 import com.android.tools.metalava.doclava1.ApiFile
64 specApi = ApiFile.parseApi(xmlFile, kotlinStyleNulls, false)
AnnotationsDiffer.kt 106 fun writeDiffSignature(apiFile: File) {
132 apiFile.writeText(cleanedUp, Charsets.UTF_8)
134 reporter.report(Errors.IO_ERROR, apiFile, "Cannot open file for write.")
AnnotationsMerger.kt 48 import com.android.tools.metalava.doclava1.ApiFile
175 val signatureCodebase = ApiFile.parseApi(File(path), kotlinStyleNulls, supportsStagedNullability)
    [all...]
  /cts/hostsidetests/api/src/com/android/cts/api/
ApprovedApis.java 37 import com.google.doclava.apicheck.ApiFile;
91 private void parse(File apiFile) {
95 is = this.getClass().getResourceAsStream(apiFile.toString());
96 ApiInfo apiInfo = ApiFile.parseApi(apiFile.toString(), is);
118 throw new RuntimeException("Failed to parse " + apiFile, e);
  /external/llvm/test/Transforms/Internalize/
lists.ll 13 ; -file and -list options should be merged, the apifile contains foo and j
14 ; RUN: opt < %s -internalize -internalize-public-api-list bar -internalize-public-api-file %S/apifile -S | FileCheck --check-prefix=FOO_J_AND_BAR %s
  /external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
Internalize.cpp 33 // APIFile - A file which contains a list of symbols that should not be marked
36 APIFile("internalize-public-api-file", cl::value_desc("filename"),
72 if (!APIFile.empty()) // If a filename is specified, use it.
73 LoadFile(APIFile.c_str());
88 // Load the APIFile...
  /external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
CollectAPI.java 192 String apifile = null; local
237 apifile = args[i];
245 if (apifile == null) {
250 CollectAPI collection = new CollectAPI(apifile);
  /external/llvm/lib/Transforms/IPO/
Internalize.cpp 44 // APIFile - A file which contains a list of symbols that should not be marked
47 APIFile("internalize-public-api-file", cl::value_desc("filename"),
61 if (!APIFile.empty())
62 LoadFile(APIFile);
75 // Load the APIFile...
  /frameworks/support/buildSrc/src/main/kotlin/androidx/build/
DiffAndDocs.kt 267 docs.addArtifact(tasks.generateApi.apiFile!!.absolutePath, artifact)
337 apiFile = File(project.docsDir(), "release/${project.name}/current.txt")
484 inputApiFile = generateApi.apiFile!!
576 apiFile = sdkApiFile(project)
620 listOf("Android", generateSdkApiTask.apiFile?.absolutePath)
664 val whitelistFile = lastReleasedApiFile?.let { apiFile ->
665 File(lastReleasedApiFile.parentFile, stripExtension(apiFile.name) + ".ignore")
672 generateApi.apiFile!!,
690 generateApi.apiFile!!,
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
CurrentApiHelper.java 126 File apiFile = new File(filePath);
129 Document dom = db.parse(apiFile.toURI().toString());
  /external/llvm/tools/gold/
gold-plugin.cpp 691 StringRef Name, raw_fd_ostream *ApiFile,
727 *ApiFile << Sym.name << ' ' << getResolutionName(Resolution) << '\n';
    [all...]
  /external/doclava/src/com/google/doclava/apicheck/
ApiCheck.java 177 return ApiFile.parseApi(filename, stream);
216 return ApiFile.parseApi(url.toString(), stream);
XmlApiFile.java 187 value = ApiFile.parseValue(typeName, attributes.getValue("value"));
ApiFile.java 37 public class ApiFile {
  /external/llvm/test/tools/gold/X86/
emit-llvm.ll 8 ; RUN: FileCheck --check-prefix=API %s < %T/../apifile.txt
  /frameworks/opt/setupwizard/tools/docs/
doclava.jar 
  /external/swiftshader/third_party/LLVM/tools/gold/
gold-plugin.cpp 372 api_file.open("apifile.txt", std::ofstream::out | std::ofstream::trunc);
374 (*message)(LDPL_FATAL, "Unable to open apifile.txt for writing.");
  /external/doclava/src/com/google/doclava/
Doclava.java 185 String apiFile = null;
307 apiFile = a[1];
564 if (stubsDir != null || apiFile != null || dexApiFile != null || proguardFile != null
567 Stubs.writeStubsAndApi(stubsDir, apiFile, dexApiFile, proguardFile, removedApiFile,
    [all...]
Stubs.java 49 public static void writeStubsAndApi(String stubsDir, String apiFile, String dexApiFile,
66 if (apiFile != null) {
68 File xml = new File(apiFile);
72 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(apiFile, 0, 0),
    [all...]

Completed in 2463 milliseconds

1 2 3 4 5