/frameworks/base/tools/aapt2/format/ |
D | Archive_test.cpp | 45 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/ |
D | Compile.cpp | 150 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 …]
|
D | Compile.h | 30 std::string output_path; member 50 AddRequiredFlag("-o", "Output path", &options_.output_path, Command::kPath); in CompileCommand()
|
D | Optimize.h | 32 Maybe<std::string> output_path; member 70 AddOptionalFlag("-o", "Path to the output APK.", &options_.output_path, Command::kPath); in OptimizeCommand()
|
D | Link.h | 39 std::string output_path; member 117 AddRequiredFlag("-o", "Output path.", &options_.output_path, Command::kPath); in LinkCommand()
|
D | Optimize.cpp | 218 if (options_.output_path) { in Run() 220 CreateZipFileArchiveWriter(context_->GetDiagnostics(), options_.output_path.value()); in Run()
|
D | Link.cpp | 2133 std::unique_ptr<IArchiveWriter> archive_writer = MakeArchiveWriter(options_.output_path); in Run()
|
/frameworks/compile/libbcc/tools/bcc_compat/ |
D | Main.cpp | 227 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/ |
D | RSCompilerDriver.cpp | 248 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/ |
D | slang_rs_reflect_utils.cpp | 263 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/ |
D | dexopt.h | 113 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/ |
D | LoadedApk.cpp | 226 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/ |
D | test_slang_version_info.ll | 13 ; 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 \
|
D | debug_info_static_const_fp.ll | 9 ; RUN: bcc -o debug_info_static_const_fp -output_path %T -bclib libclcore.bc -mtriple armv7-none-li…
|
D | test_reduce_general_cleanup.ll | 10 ; RUN: bcc -o test_reduce_general_cleanup -output_path %T -bclib libclcore.bc -mtriple armv7-none-l…
|