/art/runtime/base/ |
H A D | hash_map.h | 31 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>, 60 using Base = HashSet<std [all...] |
H A D | hash_set_test.cc | 32 void MakeEmpty(std::string& item) const { 35 bool IsEmpty(const std::string& item) const { 44 std::string RandomString(size_t len) { 45 std::ostringstream oss; 67 HashSet<std::string, IsEmptyFnString> hash_set; 68 const std::string test_string = "hello world 1234"; 83 HashSet<std::string, IsEmptyFnString> hash_set; 85 std::vector<std::string> strings; 115 HashSet<std 264 IsEmpty(const std::pair<std::string, int>& pair) const argument [all...] |
/art/cmdline/ |
H A D | cmdline_types.h | 51 Result Parse(const std::string& args) { 78 Result Parse(const std::string& options) { 87 const std::string s; 89 std::vector<std::string> pairs; 94 for (const std::string& jdwp_option : pairs) { 95 std::string::size_type equals_pos = jdwp_option.find('='); 96 if (equals_pos == std::string::npos) { 117 return Result::Success(std::move(jdwp_options)); 120 Result ParseJdwpOption(const std [all...] |
/art/runtime/ |
H A D | dex_file_verifier.h | 30 const char* location, std::string* error_msg); 32 const std::string& FailureReason() const { 72 std::unordered_set<uint32_t>* direct_method_indexes, 99 std::unordered_set<uint32_t>* direct_method_indexes, 165 std::string* error_msg); 173 std::string* error_msg); 185 void MakeEmpty(std::pair<uint32_t, uint16_t>& pair) const { 189 bool IsEmpty(const std::pair<uint32_t, uint16_t>& pair) const { argument 198 // std::equal function for offset. 213 std [all...] |
H A D | java_vm_ext.h | 60 void SetCheckJniAbortHook(void (*hook)(void*, const std::string&), void* data) { argument 89 const std::string& path, 92 std::string* error_msg); 106 void DumpForSigQuit(std::ostream& os) 109 void DumpReferenceTables(std::ostream& os) 184 void (*check_jni_abort_hook_)(void* data, const std::string& reason); 193 const std::string trace_; 202 std::unique_ptr<Libraries> libraries_;
|
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 | common_runtime_test.cc | 82 ScratchFile::ScratchFile(const std::string& filename) : filename_(filename) { 95 *this = std::move(other); 100 std::swap(filename_, other.filename_); 101 std::swap(file_, other.file_); 153 std::string root; 183 void CommonRuntimeTestImpl::SetUpAndroidData(std::string& android_data) { 202 void CommonRuntimeTestImpl::TearDownAndroidData(const std::string& android_data, 213 static std::string GetAndroidToolsDir(const std::string& subdir1, 214 const std 635 namespace std { namespace [all...] |
H A D | class_linker.cc | 143 std::string temp; 169 std::string extra; 205 std::string temp; 246 typedef std::priority_queue<FieldGap, std::vector<FieldGap>, FieldGapsComparator> FieldGaps; 272 std::deque<ArtField*>* grouped_and_sorted_fields, 330 std::fill_n(find_array_class_cache_, kFindArrayCacheSize, GcRoot<mirror::Class>(nullptr)); 340 std::ostringstream os1, os2; 351 bool ClassLinker::InitWithoutImage(std::vector<std 6664 LinkInterfaceMethods( Thread* self, Handle<mirror::Class> klass, const std::unordered_map<size_t, ClassLinker::MethodTranslation>& default_translations, bool* out_new_conflict, ArtMethod** out_imt) argument [all...] |
/art/compiler/optimizing/ |
H A D | stack_map_stream.h | 33 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>(),
|
/art/runtime/lambda/ |
H A D | box_table.cc | 66 std::pair<UnorderedMapKeyType, ValueType>& key_value_pair = *map_iterator; 199 const std::pair<UnorderedMapKeyType, ValueType>& key_value_pair = *map_iterator; 227 std::vector<ClosureType> remove_list; 229 std::pair<UnorderedMapKeyType, ValueType>& key_value_pair = *map_iterator; 285 void BoxTable::EmptyFn::MakeEmpty(std::pair<UnorderedMapKeyType, ValueType>& item) const { 292 bool BoxTable::EmptyFn::IsEmpty(const std::pair<UnorderedMapKeyType, ValueType>& item) const { argument
|
H A D | closure_test.cc | 32 namespace std { namespace 35 // Specialize std::default_delete so it knows how to properly delete closures 45 } // namespace std 93 static std::unique_ptr<Closure> CreateClosureStaticVariables(ArtLambdaMethod* lambda_method, 108 return std::unique_ptr<Closure>(closure_ptr); // NOLINT [whitespace/braces] [5] 127 static std::unique_ptr<Closure> CreateClosureStaticVariablesFromBuilder( 153 return std::unique_ptr<Closure>(closure_ptr); // NOLINT [whitespace/braces] [5] 168 typename std::enable_if<ShortyFieldTypeTraits::IsPrimitiveType<T>()>::type 176 typename std::enable_if<ShortyFieldTypeTraits::IsObjectType<T>()>::type 204 static typename std [all...] |
/art/cmdline/detail/ |
H A D | cmdline_parse_argument_detail.h | 63 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 D | imgdiag.cc | 51 explicit ImgDiagDumper(std::ostream* os, 53 const std::string& image_location, 63 std::ostream& os = *os_; 79 os << std::flush; 85 static bool EndsWith(const std::string& str, const std::string& suffix) { 91 static std::string BaseName(const std::string& str) { 93 if (idx == std::string::npos) { 102 std 880 SortByValueDesc( const std::map<K, D> map, std::function<V(const D&)> value_mapper = [](const D& d) { return static_cast<V>(d); }) argument [all...] |
/art/compiler/driver/ |
H A D | compiler_driver.cc | 137 std::ostringstream oss; 141 std::ostringstream oss2; 148 std::ostringstream oss2; 155 std::ostringstream oss2; 365 std::unordered_set<std::string>* image_classes, 366 std::unordered_set<std::string>* compiled_classes, 367 std::unordered_set<std 1006 ResolveCatchBlockExceptionsClassVisitor( std::set<std::pair<uint16_t, const DexFile*>>& exceptions_to_resolve) argument [all...] |