Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/
DArchive_test.cpp45 std::unique_ptr<IArchiveWriter> MakeDirectoryWriter(const std::string& output_path) { in MakeDirectoryWriter() argument
46 file::mkdirs(output_path); in MakeDirectoryWriter()
49 return CreateDirectoryArchiveWriter(&diag, output_path); in MakeDirectoryWriter()
52 std::unique_ptr<IArchiveWriter> MakeZipFileWriter(const std::string& output_path) { in MakeZipFileWriter() argument
53 file::mkdirs(file::GetStem(output_path).to_string()); in MakeZipFileWriter()
54 std::remove(output_path.c_str()); in MakeZipFileWriter()
57 return CreateZipFileArchiveWriter(&diag, output_path); in MakeZipFileWriter()
71 void VerifyZipFile(const std::string& output_path, const std::string& file, const uint8_t array[]) { in VerifyZipFile() argument
72 std::unique_ptr<io::ZipFileCollection> zip = io::ZipFileCollection::Create(output_path, nullptr); in VerifyZipFile()
90 std::string output_path = GetTestPath("output"); in TEST_F() local
[all …]
/frameworks/base/tools/aapt2/cmd/
DCompile.cpp150 const std::string& output_path) { in CompileTable() argument
194 if (!writer->StartEntry(output_path, 0)) { in CompileTable()
195 context->GetDiagnostics()->Error(DiagMessage(output_path) << "failed to open"); in CompileTable()
208 context->GetDiagnostics()->Error(DiagMessage(output_path) << "failed to write"); in CompileTable()
214 context->GetDiagnostics()->Error(DiagMessage(output_path) << "failed to finish entry"); in CompileTable()
284 static bool WriteHeaderAndDataToWriter(const StringPiece& output_path, const ResourceFile& file, in WriteHeaderAndDataToWriter() argument
289 if (!writer->StartEntry(output_path, 0)) { in WriteHeaderAndDataToWriter()
290 diag->Error(DiagMessage(output_path) << "failed to open file"); in WriteHeaderAndDataToWriter()
304 diag->Error(DiagMessage(output_path) << "failed to write entry data"); in WriteHeaderAndDataToWriter()
310 diag->Error(DiagMessage(output_path) << "failed to finish writing data"); in WriteHeaderAndDataToWriter()
[all …]
DCompile.h30 std::string output_path; member
50 AddRequiredFlag("-o", "Output path", &options_.output_path, Command::kPath); in CompileCommand()
DOptimize.h32 Maybe<std::string> output_path; member
70 AddOptionalFlag("-o", "Path to the output APK.", &options_.output_path, Command::kPath); in OptimizeCommand()
DLink.h39 std::string output_path; member
117 AddRequiredFlag("-o", "Output path.", &options_.output_path, Command::kPath); in LinkCommand()
DOptimize.cpp218 if (options_.output_path) { in Run()
220 CreateZipFileArchiveWriter(context_->GetDiagnostics(), options_.output_path.value()); in Run()
DLink.cpp2133 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/native/cmds/installd/
Ddexopt.h113 int64_t delete_odex(const char* apk_path, const char* instruction_set, const char* output_path);
139 bool move_ab(const char* apk_path, const char* instruction_set, const char* output_path);
/frameworks/base/tools/aapt2/
DLoadedApk.cpp226 std::string output_path = path; in WriteToArchive() local
231 output_path = it->second; in WriteToArchive()
236 if (is_resource && referenced_resources.find(output_path) == referenced_resources.end()) { in WriteToArchive()
302 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…