Searched refs:std (Results 1 - 25 of 650) sorted by relevance

1234567891011>>

/art/runtime/
H A Doffsets.cc23 std::ostream& operator<<(std::ostream& os, const Offset& offs) {
H A Doat_file_test.cc32 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 Dcommon_runtime_test.h37 typedef std::vector<std::pair<std::string, const void*>> RuntimeOptions;
49 const std::string& GetFilename() const {
63 std::string filename_;
64 std::unique_ptr<File> file_;
73 static void SetUpAndroidData(std::string& android_data);
75 static void TearDownAndroidData(const std::string& android_data, bool fail_on_error);
81 static std::string GetLibCoreDexFileName();
84 static std
192 namespace std { namespace
[all...]
H A Dutils.h53 if (std::numeric_limits<T>::max() < result) {
67 if (result < std::numeric_limits<T>::min() || std::numeric_limits<T>::max() < result) {
96 std::string PrintableChar(uint16_t ch);
100 std::string PrintableString(const char* utf8);
103 bool StartsWith(const std::string& s, const char* prefix);
106 bool EndsWith(const std::string& s, const char* suffix);
113 std::string PrettyDescriptor(mirror::String* descriptor)
115 std::string PrettyDescriptor(const char* descriptor);
116 std
[all...]
/art/compiler/
H A Delf_writer_debug.h32 std::vector<uint8_t>* debug_frame,
33 std::vector<uintptr_t>* debug_frame_patches,
34 std::vector<uint8_t>* eh_frame_hdr,
35 std::vector<uintptr_t>* eh_frame_hdr_patches);
39 std::vector<uint8_t>* debug_info,
40 std::vector<uintptr_t>* debug_info_patches,
41 std::vector<uint8_t>* debug_abbrev,
42 std::vector<uint8_t>* debug_str,
43 std::vector<uint8_t>* debug_line,
44 std
[all...]
H A Dcfi_test.h38 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;
59 std::unique_ptr<Disassembler> disasm(Disassembler::Create(isa, opts));
60 std::stringstream stream;
65 std::stable_sort(lines.begin(), lines.end(), CompareByAddress);
66 for (const std::string& line : lines) {
74 static size_t FindEndOf(const std
[all...]
H A Doutput_stream.cc21 std::ostream& operator<<(std::ostream& os, const Whence& rhs) {
H A Dcommon_compiler_test.h62 virtual std::unordered_set<std::string>* GetImageClasses();
66 virtual std::unordered_set<std::string>* GetCompiledClasses();
70 virtual std::unordered_set<std::string>* GetCompiledMethods();
91 std::unique_ptr<CompilerOptions> compiler_options_;
92 std::unique_ptr<VerificationResults> verification_results_;
93 std::unique_ptr<DexFileToMethodInlinerMap> method_inliner_map_;
94 std
[all...]
H A Doutput_stream.h32 std::ostream& operator<<(std::ostream& os, const Whence& rhs);
36 explicit OutputStream(const std::string& location) : location_(location) {}
40 const std::string& GetLocation() const {
49 const std::string location_;
/art/compiler/dex/
H A Dpass_manager.h49 void SetDisablePassList(const std::string& list) {
52 const std::string& GetDisablePassList() const {
56 void SetPrintPassList(const std::string& list) {
59 const std::string& GetPrintPassList() const {
63 void SetDumpPassList(const std::string& list) {
66 const std::string& GetDumpPassList() const {
77 void SetOverriddenPassOptions(const std::string& list) {
80 const std::string& GetOverriddenPassOptions() const {
96 std::string print_pass_list_;
99 std
[all...]
/art/runtime/interpreter/
H A Dsafe_math_test.cc28 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/imgdiag/
H A Dimgdiag_test.cc53 options->push_back(std::make_pair(runtime_args_image_, nullptr));
57 std::string GetImgDiagFilePath() {
58 std::string root = GetTestAndroidRoot();
67 std::string root32 = root + "32";
78 bool Exec(pid_t image_diff_pid, const std::string& boot_image, std::string* error_msg) {
82 std::string file_path = GetImgDiagFilePath();
86 std::string diff_pid_args;
88 std::stringstream diff_pid_args_ss;
92 std
[all...]
/art/compiler/utils/
H A Dassembler_test_base.h37 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,
81 std::string disassembler = GetDisassembleCommand();
97 void Driver(const std
[all...]
H A Dassembler_test.h52 typedef std::string (*TestFn)(AssemblerTest* assembler_test, Ass* assembler);
54 void DriverFn(TestFn f, std::string test_name) {
59 void DriverStr(std::string assembly_string, std::string test_name) {
63 std::string RepeatR(void (Ass::*f)(Reg), std::string fmt) {
70 std::string Repeatr(void (Ass::*f)(Reg), std::string fmt) {
77 std::string RepeatRR(void (Ass::*f)(Reg, Reg), std
[all...]
/art/runtime/arch/arm64/
H A Dregisters_arm64.cc38 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/arch/arm/
H A Dregisters_arm.cc28 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 Dregisters_mips.cc30 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 Dregisters_mips64.cc31 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 Dregisters_x86_64.cc28 std::ostream& operator<<(std::ostream& os, const Register& rhs) {
37 std::ostream& operator<<(std::ostream& os, const FloatRegister& rhs) {
/art/cmdline/detail/
H A Dcmdline_debug_detail.h22 #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/runtime/base/
H A Dscoped_flock.h39 bool Init(const char* filename, std::string* error_msg);
43 bool Init(File* file, std::string* error_msg);
54 std::unique_ptr<File> file_;
H A Dstringprintf.h26 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/runtime/arch/
H A Dinstruction_set_features.h40 const std::string& variant,
41 std::string* error_msg);
62 const InstructionSetFeatures* AddFeaturesFromString(const std::string& feature_list,
63 std::string* error_msg) const WARN_UNUSED;
75 virtual std::string GetFeatureString() const = 0;
107 const std::string& variant);
111 AddFeaturesFromSplitString(bool smp, const std::vector<std::string>& features,
112 std::string* error_msg) const = 0;
119 std
[all...]
/art/runtime/gc/space/
H A Dimage_space.h46 static ImageSpace* Create(const char* image, InstructionSet image_isa, std::string* error_msg)
59 std::string* error_msg);
78 const std::string GetImageFilename() const {
84 const std::string GetImageLocation() const {
98 void Dump(std::ostream& os) const;
116 std::string* system_location,
118 std::string* data_location,
132 bool validate_oat_file, std::string* error_msg)
135 OatFile* OpenOatFile(const char* image, std::string* error_msg) const
138 bool ValidateOatFile(std
[all...]
/art/oatdump/
H A Doatdump_test.cc45 std::string GetOatDumpFilePath() {
46 std::string root = GetTestAndroidRoot();
61 bool Exec(Mode mode, const std::vector<std::string>& args, std::string* error_msg) {
62 std::string file_path = GetOatDumpFilePath();
66 std::vector<std::string> exec_argv = { file_path };
83 std::string core_art_location_;
84 std
[all...]

Completed in 396 milliseconds

1234567891011>>