/art/runtime/ |
H A D | offsets.cc | 23 std::ostream& operator<<(std::ostream& os, const Offset& offs) {
|
H A D | common_runtime_test.h | 37 typedef std::vector<std::pair<std::string, const void*>> RuntimeOptions; 43 explicit ScratchFile(const std::string& filename); 55 const std::string& GetFilename() const { 69 std::string filename_; 70 std::unique_ptr<File> file_; 81 static void SetUpAndroidData(std::string& android_data); 83 static void TearDownAndroidData(const std::string& android_data, bool fail_on_error); 86 static std 215 namespace std { namespace [all...] |
H A D | oat_file_test.cc | 32 EXPECT_EQ(std::string("/data/app/foo/base.apk"), 36 EXPECT_EQ(std::string("/system/framework/base.apk"), 40 EXPECT_EQ(std::string("/data/app/foo/base.apk"), 44 EXPECT_EQ(std::string("/data/app/foo/base.apk"), 48 EXPECT_EQ(std::string("/data/app/foo/base.apk:classes2.dex"), 52 EXPECT_EQ(std::string("/data/app/foo/base.apk:classes11.dex"), 56 EXPECT_EQ(std::string("base.apk"), 60 EXPECT_EQ(std::string("o/base.apk"), 65 static std::vector<const DexFile*> ToConstDexFiles( 66 const std [all...] |
H A D | process_state.h | 29 std::ostream& operator<<(std::ostream& os, const ProcessState& process_state);
|
H A D | dex2oat_environment_test.h | 51 odex_dir_ = odex_oat_dir_ + "/" + std::string(GetInstructionSetString(kRuntimeISA)); 56 std::string error_msg; 70 std::vector<std::unique_ptr<const DexFile>> multi1; 75 std::vector<std::unique_ptr<const DexFile>> multi2; 85 // options->push_back(std::make_pair("-verbose:oat", nullptr)); 88 options->push_back(std::make_pair("-Ximage:" + GetImageLocation(), 108 static void Copy(const std::string& src, const std [all...] |
H A D | oat_file_manager.h | 51 // Add an oat file to the internal accounting, std::aborts if there already exists an oat file 53 const OatFile* RegisterOatFile(std::unique_ptr<const OatFile> oat_file) 60 const OatFile* FindOpenedOatFileFromOatLocation(const std::string& oat_location) const 65 const OatFile* FindOpenedOatFileFromDexLocation(const std::string& dex_base_location) const 74 std::vector<const OatFile*> GetBootOatFiles() const; 81 std::vector<const OatFile*> RegisterImageOatFiles(std::vector<gc::space::ImageSpace*> spaces) 98 std::vector<std::unique_ptr<const DexFile>> OpenDexFilesFromOat( 104 /*out*/ std [all...] |
/art/compiler/trampolines/ |
H A D | trampoline_compiler.h | 28 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline32(InstructionSet isa, 31 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline64(InstructionSet isa,
|
/art/runtime/gc/space/ |
H A D | image_space.h | 49 std::string* error_msg) 55 std::string* error_msg) 68 std::string* error_msg); 75 std::unique_ptr<const OatFile> ReleaseOatFile(); 86 const std::string GetImageFilename() const { 92 const std::string GetImageLocation() const { 106 void Dump(std::ostream& os) const; 124 std::string* system_location, 126 std::string* data_location, 133 static void ExtractMultiImageLocations(const std [all...] |
/art/compiler/utils/ |
H A D | assembler_test_base.h | 37 static std::string tmpnam_; 42 AssemblerTestInfrastructure(std::string architecture, 43 std::string as, 44 std::string as_params, 45 std::string objdump, 46 std::string objdump_params, 47 std::string disasm, 48 std::string disasm_params, 70 std::string asm_tool = FindTool(assembler_cmd_name_); 79 std [all...] |
/art/runtime/interpreter/ |
H A D | safe_math_test.cc | 28 EXPECT_EQ(SafeAdd(std::numeric_limits<int32_t>::max(), 1), 29 std::numeric_limits<int32_t>::min()); 30 EXPECT_EQ(SafeAdd(std::numeric_limits<int64_t>::max(), 1), 31 std::numeric_limits<int64_t>::min()); 34 EXPECT_EQ(SafeAdd(std::numeric_limits<int32_t>::max() - 1, 1), 35 std::numeric_limits<int32_t>::max()); 36 EXPECT_EQ(SafeAdd(std::numeric_limits<int64_t>::max() - 1, 1), 37 std::numeric_limits<int64_t>::max()); 39 EXPECT_EQ(SafeAdd(std::numeric_limits<int32_t>::min() + 1, -1), 40 std [all...] |
/art/compiler/ |
H A D | cfi_test.h | 38 const std::vector<uint8_t>& actual_asm, 39 const std::vector<uint8_t>& actual_cfi) { 40 std::vector<std::string> lines; 53 std::vector<uintptr_t> debug_frame_patches; 61 std::unique_ptr<Disassembler> disasm(Disassembler::Create(isa, opts)); 62 std::stringstream stream; 67 std::stable_sort(lines.begin(), lines.end(), CompareByAddress); 68 for (const std::string& line : lines) { 76 static size_t FindEndOf(const std [all...] |
/art/compiler/linker/ |
H A D | output_stream.cc | 21 std::ostream& operator<<(std::ostream& os, const Whence& rhs) {
|
/art/runtime/arch/arm64/ |
H A D | registers_arm64.cc | 38 std::ostream& operator<<(std::ostream& os, const XRegister& rhs) { 47 std::ostream& operator<<(std::ostream& os, const WRegister& rhs) { 56 std::ostream& operator<<(std::ostream& os, const DRegister& rhs) { 65 std::ostream& operator<<(std::ostream& os, const SRegister& rhs) {
|
/art/runtime/gc/ |
H A D | weak_root_state.h | 36 std::ostream& operator<<(std::ostream& os, const WeakRootState&);
|
/art/runtime/jit/ |
H A D | profile_saver.h | 31 static void Start(const std::string& output_filename, 33 const std::vector<std::string>& code_paths, 34 const std::string& foreign_dex_profile_path, 35 const std::string& app_data_dir) 47 static void NotifyDexUse(const std::string& dex_location); 50 static void DumpInstanceInfo(std::ostream& os); 59 static bool HasSeenMethod(const std::string& profile, 64 ProfileSaver(const std::string& output_filename, 66 const std [all...] |
/art/runtime/arch/arm/ |
H A D | registers_arm.cc | 28 std::ostream& operator<<(std::ostream& os, const Register& rhs) { 37 std::ostream& operator<<(std::ostream& os, const SRegister& rhs) {
|
/art/runtime/arch/mips/ |
H A D | registers_mips.cc | 30 std::ostream& operator<<(std::ostream& os, const Register& rhs) { 39 std::ostream& operator<<(std::ostream& os, const FRegister& rhs) {
|
/art/runtime/arch/mips64/ |
H A D | registers_mips64.cc | 31 std::ostream& operator<<(std::ostream& os, const GpuRegister& rhs) { 40 std::ostream& operator<<(std::ostream& os, const FpuRegister& rhs) {
|
/art/runtime/arch/x86_64/ |
H A D | registers_x86_64.cc | 28 std::ostream& operator<<(std::ostream& os, const Register& rhs) { 37 std::ostream& operator<<(std::ostream& os, const FloatRegister& rhs) {
|
/art/runtime/base/ |
H A D | scoped_flock.h | 42 bool Init(const char* filename, int flags, bool block, std::string* error_msg); 44 bool Init(const char* filename, std::string* error_msg); 48 bool Init(File* file, std::string* error_msg); 59 std::unique_ptr<File> file_;
|
H A D | stringprintf.h | 26 std::string StringPrintf(const char* fmt, ...) 30 void StringAppendF(std::string* dst, const char* fmt, ...) 34 void StringAppendV(std::string* dst, const char* format, va_list ap);
|
/art/cmdline/detail/ |
H A D | cmdline_debug_detail.h | 22 #define CMDLINE_DEBUG_LOG std::cerr 34 // Ignore std::endl and the like. 35 debug_log_ignore& operator<<(std::ostream& (*)(std::ostream&) ) { return *this; }
|
/art/dexdump/ |
H A D | dexdump_test.cc | 44 bool Exec(const std::vector<std::string>& args, std::string* error_msg) { 46 std::string file_path = GetTestAndroidRoot() + "/bin/dexdump2"; 48 std::vector<std::string> exec_argv = { file_path }; 53 std::string dex_file_; 58 std::string error_msg; 63 std::string error_msg; 68 std [all...] |
/art/dexlist/ |
H A D | dexlist_test.cc | 44 bool Exec(const std::vector<std::string>& args, std::string* error_msg) { 45 std::string file_path = GetTestAndroidRoot(); 52 std::vector<std::string> exec_argv = { file_path }; 57 std::string dex_file_; 62 std::string error_msg; 67 std::string error_msg; 72 std [all...] |
/art/imgdiag/ |
H A D | imgdiag_test.cc | 52 std::vector<gc::space::ImageSpace*> image_spaces = 61 options->push_back(std::make_pair(runtime_args_image_, nullptr)); 65 std::string GetImgDiagFilePath() { 66 std::string root = GetTestAndroidRoot(); 75 std::string root32 = root + "32"; 86 bool Exec(pid_t image_diff_pid, const std::string& boot_image, std::string* error_msg) { 90 std::string file_path = GetImgDiagFilePath(); 94 std::string diff_pid_args; 95 std [all...] |