Searched refs:string (Results 101 - 125 of 430) sorted by relevance

1234567891011>>

/art/compiler/utils/
H A Dtest_dex_file_builder.h38 void AddString(const std::string& str) {
44 void AddType(const std::string& descriptor) {
50 void AddField(const std::string& class_descriptor, const std::string& type,
51 const std::string& name) {
60 void AddMethod(const std::string& class_descriptor, const std::string& signature,
61 const std::string& name) {
82 std::unique_ptr<const DexFile> Build(const std::string& dex_location) {
230 std::string error_ms
[all...]
/art/compiler/linker/
H A Dvector_output_stream.h22 #include <string>
23 #include <string.h>
30 VectorOutputStream(const std::string& location, std::vector<uint8_t>* vector);
H A Dvector_output_stream.cc23 VectorOutputStream::VectorOutputStream(const std::string& location, std::vector<uint8_t>* vector)
/art/runtime/base/
H A Dlogging.cc43 static std::unique_ptr<std::string> gCmdLine;
44 static std::unique_ptr<std::string> gProgramInvocationName;
45 static std::unique_ptr<std::string> gProgramInvocationShortName;
84 gCmdLine.reset(new std::string(argv[0]));
89 gProgramInvocationName.reset(new std::string(argv[0]));
91 gProgramInvocationShortName.reset(new std::string((last_slash != nullptr) ? last_slash + 1
95 gCmdLine.reset(new std::string("<unset>"));
102 std::vector<std::string> specs;
106 std::string spec(specs[i]);
170 std::string ToStrin
[all...]
H A Dtiming_logger.h25 #include <string>
33 explicit CumulativeLogger(const std::string& name);
44 void SetName(const std::string& name) REQUIRES(!lock_);
60 void AddPair(const std::string &label, uint64_t delta_time)
68 std::string name_;
69 const std::string lock_name_;
H A Dhistogram.h20 #include <string>
92 const std::string& Name() const {
103 std::string name_;
/art/runtime/gc/accounting/
H A Dremembered_set.h50 explicit RememberedSet(const std::string& name, Heap* heap, space::ContinuousSpace* space)
70 const std::string& GetName() const {
76 const std::string name_;
H A Dmod_union_table.h51 explicit ModUnionTable(const std::string& name, Heap* heap, space::ContinuousSpace* space)
91 const std::string& GetName() const {
96 const std::string name_;
104 explicit ModUnionTableReferenceCache(const std::string& name, Heap* heap,
146 explicit ModUnionTableCardCache(const std::string& name, Heap* heap,
H A Dbitmap.cc44 MemMap* Bitmap::AllocateMemMap(const std::string& name, size_t num_bits) {
47 std::string error_msg;
58 Bitmap* Bitmap::Create(const std::string& name, size_t num_bits) {
80 const std::string& name, uintptr_t cover_begin, uintptr_t cover_end) {
/art/runtime/
H A Dparsed_options.h20 #include <string>
38 typedef std::vector<std::pair<std::string, const void*>> RuntimeOptions;
67 std::vector<std::string>* out_options);
H A Doat.h55 const SafeMap<std::string, std::string>* variable_data);
58 std::string GetValidationErrorMessage() const;
124 const SafeMap<std::string, std::string>* variable_data);
129 void Flatten(const SafeMap<std::string, std::string>* variable_data);
H A Doat.cc19 #include <string.h>
33 static size_t ComputeOatHeaderSize(const SafeMap<std::string, std::string>* variable_data) {
36 SafeMap<std::string, std::string>::const_iterator it = variable_data->begin();
37 SafeMap<std::string, std::string>::const_iterator end = variable_data->end();
49 const SafeMap<std::string, std::string>* variable_data) {
66 const SafeMap<std::string, st
[all...]
/art/compiler/optimizing/
H A Dsharpening.cc29 #include "mirror/string.h"
176 // Compiling boot image. Resolve the string and allocate it if needed.
178 mirror::String* string = class_linker->ResolveString(dex_file, string_index, dex_cache); local
179 CHECK(string != nullptr);
193 mirror::String* string = dex_cache->GetResolvedString(string_index); local
194 is_in_dex_cache = (string != nullptr);
195 if (string != nullptr && runtime->GetHeap()->ObjectIsInBootImageSpace(string)) {
197 address = reinterpret_cast64<uint64_t>(string);
199 // Note: If the string i
209 mirror::String* string = class_linker->LookupString(dex_file, string_index, dex_cache); local
[all...]
H A Dssa_builder.h83 void AddUninitializedString(HNewInstance* string) { argument
89 if (!ContainsElement(uninitialized_strings_, string)) {
90 uninitialized_strings_.push_back(string);
/art/profman/
H A Dprofman.cc25 #include <string>
45 static std::string CommandLine() {
46 std::vector<std::string> command;
60 std::string error;
104 UsageError(" --dex-location=<string>: location string to use with corresponding");
206 int DumpOneProfile(const std::string& banner, const std::string& filename, int fd,
207 const std::vector<const DexFile*>* dex_files, std::string* dump) {
220 std::string this_dum
[all...]
/art/dex2oat/
H A Ddex2oat.cc26 #include <string>
87 static std::string CommandLine() {
88 std::vector<std::string> command;
98 static std::string StrippedCommandLine() {
99 std::vector<std::string> command;
159 std::string error;
382 std::string message(# call); \
427 NO_RETURN static void Fatal(const std::string& message) {
450 std::string message(StringPrintf("pthread_cond_timedwait failed: %s",
571 std::string boot_image_filenam
[all...]
/art/patchoat/
H A Dpatchoat.cc24 #include <string>
53 static bool LocationToFilename(const std::string& location, InstructionSet isa,
54 std::string* filename) {
59 std::string system_filename(GetSystemImageFilename(location.c_str(), isa));
67 std::string dalvik_cache;
71 std::string cache_filename;
78 std::string error_msg;
107 static bool ReadOatPatchDelta(const ElfFile* elf_file, off_t* delta, std::string* error_msg) {
153 bool PatchOat::Patch(const std::string& image_location,
155 const std::string
[all...]
/art/runtime/jit/
H A Doffline_profiling_info.cc47 std::string ProfileCompilationInfo::GetProfileDexFileKey(const std::string& dex_location) {
50 if (last_sep_index == std::string::npos) {
76 bool ProfileCompilationInfo::MergeAndSave(const std::string& filename,
81 std::string error;
153 // Add the string bytes to the buffer.
154 static void AddStringToBuffer(std::vector<uint8_t>* buffer, const std::string& value) {
198 const std::string& dex_location = it.first;
242 const std::string& dex_location,
256 const std::string dex_locatio
[all...]
/art/compiler/driver/
H A Dcompiler_driver_test.cc112 const mirror::String* string = dex_cache->GetResolvedString(i); local
113 EXPECT_TRUE(string != nullptr) << "string_idx=" << i;
180 std::unordered_set<std::string>* GetCompiledMethods() OVERRIDE {
181 return new std::unordered_set<std::string>({
215 std::unique_ptr<std::unordered_set<std::string>> expected(GetCompiledMethods());
219 std::string name = PrettyMethod(&m, true);
240 std::string key = ProfileCompilationInfo::GetProfileDexFileKey(dex_file->GetLocation());
247 std::unordered_set<std::string> GetExpectedMethodsForClass(const std::string& clazz) {
249 return std::unordered_set<std::string>({
[all...]
H A Ddex_compilation_unit.cc45 const std::string& DexCompilationUnit::GetSymbol() {
/art/runtime/arch/
H A Dinstruction_set_features_test.cc41 std::string key = StringPrintf("dalvik.vm.isa.%s.variant", GetInstructionSetString(kRuntimeISA));
46 std::string error_msg;
68 std::string variant_key = StringPrintf("dalvik.vm.isa.%s.variant",
73 std::string features_key = StringPrintf("dalvik.vm.isa.%s.features",
79 std::string error_msg;
116 std::string error_msg;
/art/test/137-cfi/
H A Dcfi.cc20 #include <string.h>
64 static bool CheckStack(Backtrace* bt, const std::vector<std::string>& seq) {
132 std::vector<std::string> seq = {
138 std::vector<std::string> full_seq = {
235 std::vector<std::string> seq = {
244 std::vector<std::string> full_seq = {
/art/cmdline/
H A Dcmdline_parse_result.h25 // otherwise it holds either a usage or a failure string message that should be displayed back
34 static CmdlineParseResult Usage(const std::string& message) {
44 static CmdlineParseResult<T> Failure(const std::string& message) {
65 static CmdlineParseResult<T> OutOfRange(const std::string& message) {
71 // Values are converted to string using the ostream<< operator.
/art/runtime/gc/collector/
H A Dpartial_mark_sweep.cc28 PartialMarkSweep::PartialMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix)
H A Dsticky_mark_sweep.h33 StickyMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");

Completed in 483 milliseconds

1234567891011>>