Home
last modified time | relevance | path

Searched refs:output_path (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/tools/aapt2/format/
DArchive_test.cpp70 std::unique_ptr<IArchiveWriter> MakeDirectoryWriter(const std::string& output_path) { in MakeDirectoryWriter() argument
71 file::mkdirs(output_path); in MakeDirectoryWriter()
74 return CreateDirectoryArchiveWriter(&diag, output_path); in MakeDirectoryWriter()
77 std::unique_ptr<IArchiveWriter> MakeZipFileWriter(const std::string& output_path) { in MakeZipFileWriter() argument
78 file::mkdirs(std::string(file::GetStem(output_path))); in MakeZipFileWriter()
79 std::remove(output_path.c_str()); in MakeZipFileWriter()
82 return CreateZipFileArchiveWriter(&diag, output_path); in MakeZipFileWriter()
96 void VerifyZipFile(const std::string& output_path, const std::string& file, const uint8_t array[]) { in VerifyZipFile() argument
97 std::unique_ptr<io::ZipFileCollection> zip = io::ZipFileCollection::Create(output_path, nullptr); in VerifyZipFile()
114 void VerifyZipFileTimestamps(const std::string& output_path) { in VerifyZipFileTimestamps() argument
[all …]
/frameworks/base/tools/aapt2/cmd/
DCompile.cpp154 const std::string& output_path) { in CompileTable() argument
220 if (!writer->StartEntry(output_path, 0)) { in CompileTable()
221 context->GetDiagnostics()->Error(android::DiagMessage(output_path) << "failed to open"); in CompileTable()
234 context->GetDiagnostics()->Error(android::DiagMessage(output_path) << "failed to write"); in CompileTable()
240 context->GetDiagnostics()->Error(android::DiagMessage(output_path) << "failed to finish entry"); in CompileTable()
310 static bool WriteHeaderAndDataToWriter(StringPiece output_path, const ResourceFile& file, in WriteHeaderAndDataToWriter() argument
315 if (!writer->StartEntry(output_path, 0)) { in WriteHeaderAndDataToWriter()
316 diag->Error(android::DiagMessage(output_path) << "failed to open file"); in WriteHeaderAndDataToWriter()
330 diag->Error(android::DiagMessage(output_path) << "failed to write entry data"); in WriteHeaderAndDataToWriter()
336 diag->Error(android::DiagMessage(output_path) << "failed to finish writing data"); in WriteHeaderAndDataToWriter()
[all …]
DCompile.h33 std::string output_path; member
56 AddRequiredFlag("-o", "Output path", &options_.output_path, Command::kPath); in CompileCommand()
DOptimize.h30 std::optional<std::string> output_path; member
78 AddOptionalFlag("-o", "Path to the output APK.", &options_.output_path, Command::kPath); in OptimizeCommand()
DLink.h45 std::string output_path; member
124 AddRequiredFlag("-o", "Output path.", &options_.output_path, Command::kPath); in LinkCommand()
DOptimize.cpp233 if (options_.output_path) { in Run()
235 CreateZipFileArchiveWriter(context_->GetDiagnostics(), options_.output_path.value()); in Run()
DLink.cpp2275 std::unique_ptr<IArchiveWriter> archive_writer = MakeArchiveWriter(options_.output_path); in Run()
/frameworks/compile/libbcc/tools/bcc_compat/
DMain.cpp227 llvm::SmallString<200> output_path(input_path); in DetermineOutputFilename() local
229 std::error_code err = llvm::sys::fs::make_absolute(output_path); in DetermineOutputFilename()
238 llvm::sys::path::replace_extension(output_path, "o"); in DetermineOutputFilename()
242 llvm::sys::path::remove_filename(output_path); in DetermineOutputFilename()
243 llvm::sys::path::append(output_path, "a.out"); in DetermineOutputFilename()
246 return output_path.c_str(); in DetermineOutputFilename()
/frameworks/compile/libbcc/lib/
DRSCompilerDriver.cpp248 llvm::SmallString<80> output_path(pCacheDir); in build() local
249 llvm::sys::path::append(output_path, pResName); in build()
250 llvm::sys::path::replace_extension(output_path, ".o"); in build()
295 output_path.c_str(), in build()
414 llvm::SmallString<80> output_path(pOutputFilepath); in buildScriptGroup() local
415 llvm::sys::path::replace_extension(output_path, ".o"); in buildScriptGroup()
427 compileScript(script, pOutputFilepath, output_path.c_str(), coreLibPath, in buildScriptGroup()
/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp263 string output_path = in GenerateJavaBitCodeAccessor() local
266 llvm::sys::path::parent_path(output_path))) { in GenerateJavaBitCodeAccessor()
268 output_path.c_str(), EC.message().c_str()); in GenerateJavaBitCodeAccessor()
277 if (!out.startFile(output_path, filename, context.rsFileName, in GenerateJavaBitCodeAccessor()
/frameworks/libs/native_bridge_support/android_api/
Dcheck_proxy_libraries.py29 def run_and_compare(args, output_path, source_path): argument
34 return filecmp.cmp(output_path, source_path, shallow=False)
/frameworks/native/cmds/installd/
Ddexopt.h111 int64_t delete_odex(const char* apk_path, const char* instruction_set, const char* output_path);
144 bool move_ab(const char* apk_path, const char* instruction_set, const char* output_path);
/frameworks/base/tools/aapt2/
DLoadedApk.cpp229 std::string output_path = path; in WriteToArchive() local
234 output_path = it->second; in WriteToArchive()
239 if (is_resource && referenced_resources.find(output_path) == referenced_resources.end()) { in WriteToArchive()
306 context, file, output_path, writer)) { in WriteToArchive()
/frameworks/compile/libbcc/tests/libbcc/
Dtest_slang_version_info.ll13 ; RUN: bcc -o test_slang_version_info-known-version -output_path %T \
17 ; RUN: bcc -o test_slang_version_info-unknown-version -output_path %T \
39 ; RUN: bcc -o test_slang_version_info-known-version -output_path %T \
Ddebug_info_static_const_fp.ll9 ; RUN: bcc -o debug_info_static_const_fp -output_path %T -bclib libclcore.bc -mtriple armv7-none-li…
Dtest_reduce_general_cleanup.ll10 ; RUN: bcc -o test_reduce_general_cleanup -output_path %T -bclib libclcore.bc -mtriple armv7-none-l…