Searched defs:std (Results 1 - 15 of 15) sorted by relevance

/art/runtime/base/
H A Dhash_map.h31 size_t operator()(const std::pair<Key, Value>& pair) const { argument
39 bool operator()(const std::pair<Key, Value>& a, const std::pair<Key, Value>& b) const { argument
43 bool operator()(const std::pair<Key, Value>& a, const Element& element) const { argument
52 class HashFn = std::hash<Key>, class Pred = std::equal_to<Key>,
53 class Alloc = std::allocator<std::pair<Key, Value>>>
54 class HashMap : public HashSet<std::pair<Key, Value>, EmptyFn, HashMapWrapper<HashFn>,
H A Dhash_set_test.cc30 void MakeEmpty(std::string& item) const {
33 bool IsEmpty(const std::string& item) const {
42 std::string RandomString(size_t len) {
43 std::ostringstream oss;
65 HashSet<std::string, IsEmptyFnString> hash_set;
66 const std::string test_string = "hello world 1234";
81 HashSet<std::string, IsEmptyFnString> hash_set;
83 std::vector<std::string> strings;
113 HashSet<std
206 IsEmpty(const std::pair<std::string, int>& pair) const argument
[all...]
/art/cmdline/
H A Dcmdline_types.h50 Result Parse(const std::string& args) {
77 Result Parse(const std::string& options) {
86 const std::string s;
88 std::vector<std::string> pairs;
93 for (const std::string& jdwp_option : pairs) {
94 std::string::size_type equals_pos = jdwp_option.find('=');
95 if (equals_pos == std::string::npos) {
116 return Result::Success(std::move(jdwp_options));
119 Result ParseJdwpOption(const std
[all...]
/art/runtime/
H A Djava_vm_ext.h60 void SetCheckJniAbortHook(void (*hook)(void*, const std::string&), void* data) { argument
88 bool LoadNativeLibrary(JNIEnv* env, const std::string& path, jobject javaLoader,
89 std::string* error_msg);
98 void DumpForSigQuit(std::ostream& os)
101 void DumpReferenceTables(std::ostream& os)
150 void (*check_jni_abort_hook_)(void* data, const std::string& reason);
159 const std::string trace_;
166 std::unique_ptr<Libraries> libraries_ GUARDED_BY(Locks::jni_libraries_lock_);
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 Dcommon_runtime_test.cc138 std::string root;
168 void CommonRuntimeTest::SetUpAndroidData(std::string& android_data) {
187 void CommonRuntimeTest::TearDownAndroidData(const std::string& android_data, bool fail_on_error) {
197 static std::string GetAndroidToolsDir(const std::string& subdir1,
198 const std::string& subdir2,
199 const std::string& subdir3) {
200 std::string root;
212 std::string toolsdir = root + "/" + subdir1;
213 std
597 namespace std { namespace
[all...]
/art/compiler/dwarf/
H A Dheaders.h45 std::vector<uint8_t>* debug_frame) {
80 const std::vector<uint8_t, Allocator>* opcodes,
82 std::vector<uint8_t>* debug_frame,
83 std::vector<uintptr_t>* debug_frame_patches) {
113 std::vector<uint8_t>* debug_info,
114 std::vector<uintptr_t>* debug_info_patches) {
131 std::string file_name;
139 void WriteDebugLineTable(const std::vector<std::string>& include_directories,
140 const std
78 WriteDebugFrameFDE(bool is64bit, size_t cie_offset, uint64_t initial_address, uint64_t address_range, const std::vector<uint8_t, Allocator>* opcodes, CFIFormat format, std::vector<uint8_t>* debug_frame, std::vector<uintptr_t>* debug_frame_patches) argument
[all...]
H A Dwriter.h29 template<typename Allocator = std::allocator<uint8_t>>
120 void PushData(const std::vector<uint8_t, Allocator2>* buffer) { argument
158 const std::vector<uint8_t, Allocator>* data() const {
162 explicit Writer(std::vector<uint8_t, Allocator>* buffer) : data_(buffer) { }
165 std::vector<uint8_t, Allocator>* data_;
H A Ddebug_info_entry_writer.h34 size_t operator()(const std::vector<uint8_t, Allocator>& v) const { argument
55 template< typename Allocator = std::allocator<uint8_t> >
166 void WriteStrp(Attribute attrib, const char* value, std::vector<uint8_t>* debug_str) {
175 const std::vector<uintptr_t>& GetPatchLocations() const {
182 std::vector<uint8_t, Allocator>* debug_abbrev,
220 auto it = abbrev_codes_.insert(std::make_pair(std::move(current_abbrev_),
224 const std::vector<uint8_t, Allocator>& abbrev = it.first->first;
238 std::vector<uint8_t, Allocator> current_abbrev_;
239 std
[all...]
/art/compiler/dex/
H A Dpass_driver_me.h106 const std::string& print_pass_list = options->GetPrintPassList();
130 const std::string& dump_pass_list = pass_manager_->GetOptions().GetDumpPassList();
146 std::string prefix = GetDumpCFGFolder();
168 SafeMap<const std::string, const OptionContent> overridden_settings;
216 SafeMap<const std::string, const OptionContent>& settings_to_fill) {
217 const std::string& settings = options->GetOverriddenPassOptions();
238 if (search_pos == std::string::npos) {
267 if (setting_pos == std::string::npos) {
280 if (next_configuration_separator == std::string::npos) {
290 std
214 FillOverriddenPassSettings( const PassManagerOptions* options, const char* pass_name, SafeMap<const std::string, const OptionContent>& settings_to_fill) argument
[all...]
H A Dpass_me.h42 std::ostream& operator<<(std::ostream& os, const OptimizationFlag& rhs);
65 std::ostream& operator<<(std::ostream& os, const DataFlowAnalysisMode& rhs);
116 void PrintPassOptions(SafeMap<const std::string, const OptionContent>& overridden_options) const { argument
169 const SafeMap<const std::string, const OptionContent>& overridden_options) const {
173 auto overridden_it = overridden_options.find(std::string(option_name));
189 const SafeMap<const std::string, const OptionContent>& overridden_options) const {
199 const SafeMap<const std::string, const OptionContent>& overridden_options) const {
168 GetPassOption(const char* option_name, const SafeMap<const std::string, const OptionContent>& overridden_options) const argument
188 GetStringPassOption(const char* option_name, const SafeMap<const std::string, const OptionContent>& overridden_options) const argument
198 GetIntegerPassOption(const char* option_name, const SafeMap<const std::string, const OptionContent>& overridden_options) const argument
/art/compiler/optimizing/
H A Dstack_map_stream.h33 void MakeEmpty(std::pair<DexRegisterLocation, size_t>& item) const {
36 bool IsEmpty(const std::pair<DexRegisterLocation, size_t>& item) const { argument
52 std::hash<int64_t> inner_hash_fn_;
73 dex_map_hash_to_stack_map_indices_(std::less<uint32_t>(), allocator->Adapter()),
/art/compiler/utils/
H A Darray_ref.h32 * object is in use. The external array may be a std::vector<>-backed storage
34 * i.e. the std::vector<> must not be resized for example.
37 * is essentially the same as std::vector<>. Since we don't want to throw
53 typedef std::reverse_iterator<iterator> reverse_iterator;
54 typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
71 typename std::enable_if<std::is_same<T, const U>::value, tag>::type
81 explicit ArrayRef(std::vector<T, Alloc>& v)
86 ArrayRef(const std::vector<U, Alloc>& v, argument
87 typename std
[all...]
/art/cmdline/detail/
H A Dcmdline_parse_argument_detail.h63 virtual std::pair<size_t, size_t> GetNumTokens() const = 0;
81 using EnableIfNumeric = std::enable_if<std::is_arithmetic<T>::value>;
84 using DisableIfNumeric = std::enable_if<!std::is_arithmetic<T>::value>;
121 std::pair<const TokenRange*, size_t> FindClosestMatch(TokenRange token_list) const {
126 size_t this_match = token_range.MaybeMatches(token_list, std::string("_"));
134 return std::make_pair(best_match_ptr, best_match);
153 std::string s(name);
155 size_t local_blank_count = std
289 TypedCheck(typename std::enable_if<std::is_same<Unit, T>::value>::type* = 0) argument
[all...]
/art/imgdiag/
H A Dimgdiag.cc50 explicit ImgDiagDumper(std::ostream* os,
60 std::ostream& os = *os_;
74 os << std::flush;
80 static bool EndsWith(const std::string& str, const std::string& suffix) {
86 static std::string BaseName(const std::string& str) {
88 if (idx == std::string::npos) {
96 std::ostream& os = *os_;
100 std
704 SortByValueDesc(const std::map<K, V> map) argument
[all...]

Completed in 2401 milliseconds