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

/art/libartbase/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>,
60 using Base = HashSet<std
[all...]
H A Dhash_set_test.cc32 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/openjdkjvmti/
H A Dti_breakpoint.h86 namespace std { namespace
93 } // namespace std
/art/libdexfile/dex/
H A Ddex_file_types.h32 constexpr StringIndex() : index_(std::numeric_limits<decltype(index_)>::max()) {}
36 return index_ != std::numeric_limits<decltype(index_)>::max();
39 return StringIndex(std::numeric_limits<decltype(index_)>::max());
61 std::ostream& operator<<(std::ostream& os, const StringIndex& index);
67 constexpr TypeIndex() : index_(std::numeric_limits<decltype(index_)>::max()) {}
71 return index_ != std::numeric_limits<decltype(index_)>::max();
74 return TypeIndex(std::numeric_limits<decltype(index_)>::max());
96 std::ostream& operator<<(std
101 namespace std { namespace
[all...]
H A Ddex_file_verifier.h36 std::string* error_msg);
38 const std::string& FailureReason() const {
88 std::unordered_set<uint32_t>* direct_method_indexes,
116 std::unordered_set<uint32_t>* direct_method_indexes,
185 std::string* error_message);
195 std::string* error_message);
211 void MakeEmpty(std::pair<uint32_t, uint16_t>& pair) const {
215 bool IsEmpty(const std::pair<uint32_t, uint16_t>& pair) const { argument
224 // std::equal function for offset.
238 std
[all...]
/art/cmdline/
H A Dcmdline_types.h59 Result Parse(const std::string& args) {
73 Result Parse(const std::string& option) {
89 return Result::Failure(std::string("not a valid jdwp provider: ") + option);
99 Result Parse(const std::string& arg) {
100 CMDLINE_DEBUG_LOG << "Parsing memory: " << arg << std::endl;
102 CMDLINE_DEBUG_LOG << "Memory parsed to size_t value: " << val << std::endl;
105 return Result::Failure(std::string("not a valid memory value, or not divisible by ")
106 + std::to_string(Divisor));
158 if (val <= std::numeric_limits<size_t>::max() / mul) {
162 val = std
[all...]
/art/tools/veridex/
H A Dprecise_hidden_api_finder.cc33 const std::vector<std::unique_ptr<VeridexResolver>>& resolvers,
34 const std::function<void(VeridexResolver*, const ClassDataItemIterator&)>& action) {
35 for (const std::unique_ptr<VeridexResolver>& resolver : resolvers) {
58 void PreciseHiddenApiFinder::AddUsesAt(const std::vector<ReflectAccessInfo>& accesses,
69 void PreciseHiddenApiFinder::Run(const std::vector<std::unique_ptr<VeridexResolver>>& resolvers) {
84 std::map<MethodReference, std::vector<ReflectAccessInfo>> current_uses
85 = std
32 RunInternal( const std::vector<std::unique_ptr<VeridexResolver>>& resolvers, const std::function<void(VeridexResolver*, const ClassDataItemIterator&)>& action) argument
[all...]
H A Dflow_analysis.h76 std::string ToString() const {
92 return std::string("Parameter of ") + reference_.dex_file->PrettyMethod(reference_.index);
164 std::vector<std::unique_ptr<std::vector<RegisterValue>>> dex_registers_;
167 std::vector<RegisterValue> current_registers_;
170 std::vector<InstructionInfo> instruction_infos_;
195 const std::vector<ReflectAccessInfo>& GetUses() const {
204 std::vector<ReflectAccessInfo> uses_;
212 const std
210 FlowAnalysisSubstitutor(VeridexResolver* resolver, const ClassDataItemIterator& it, const std::map<MethodReference, std::vector<ReflectAccessInfo>>& accesses) argument
[all...]
/art/runtime/
H A Djava_vm_ext.h50 static std::unique_ptr<JavaVMExt> Create(Runtime* runtime,
52 std::string* error_msg);
73 void SetCheckJniAbortHook(void (*hook)(void*, const std::string&), void* data) { argument
102 const std::string& path,
104 std::string* error_msg);
118 void DumpForSigQuit(std::ostream& os)
123 void DumpReferenceTables(std::ostream& os)
210 JavaVMExt(Runtime* runtime, const RuntimeArgumentMap& runtime_options, std::string* error_msg);
223 void (*check_jni_abort_hook_)(void* data, const std::string& reason);
232 const std
[all...]
H A Dclass_linker.cc189 std::string temp;
215 std::string extra;
255 std::string temp;
272 std::string tmp;
305 typedef std::priority_queue<FieldGap, std::vector<FieldGap>, FieldGapsComparator> FieldGaps;
331 std::deque<ArtField*>* grouped_and_sorted_fields,
390 std::fill_n(find_array_class_cache_, kFindArrayCacheSize, GcRoot<mirror::Class>(nullptr));
400 std::ostringstream os1, os2;
411 bool ClassLinker::InitWithoutImage(std
7122 UpdateVtable( const std::unordered_map<size_t, ClassLinker::MethodTranslation>& default_translations, ObjPtr<mirror::PointerArray> old_vtable) argument
7245 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 Dsuperblock_cloner.h53 void Dump(std::ostream& stream) const;
309 namespace std { namespace
321 } // namespace std
H A Dstack_map_stream.h34 void MakeEmpty(std::pair<DexRegisterLocation, size_t>& item) const {
37 bool IsEmpty(const std::pair<DexRegisterLocation, size_t>& item) const { argument
53 std::hash<int64_t> inner_hash_fn_;
79 dex_map_hash_to_stack_map_indices_(std::less<uint32_t>(),
/art/cmdline/detail/
H A Dcmdline_parse_argument_detail.h65 virtual std::pair<size_t, size_t> GetNumTokens() const = 0;
83 using EnableIfNumeric = std::enable_if<std::is_arithmetic<T>::value>;
86 using DisableIfNumeric = std::enable_if<!std::is_arithmetic<T>::value>;
123 std::pair<const TokenRange*, size_t> FindClosestMatch(const TokenRange& token_list) const {
128 size_t this_match = token_range.MaybeMatches(token_list, std::string("_"));
136 return std::make_pair(best_match_ptr, best_match);
155 std::string s(name);
157 size_t local_blank_count = std
291 TypedCheck(typename std::enable_if<std::is_same<Unit, T>::value>::type* = 0) argument
[all...]
/art/runtime/verifier/
H A Dverifier_deps.cc36 VerifierDeps::VerifierDeps(const std::vector<const DexFile*>& dex_files, bool output_only)
40 std::unique_ptr<DexFileDeps> deps(new DexFileDeps());
41 dex_deps_.emplace(dex_file, std::move(deps));
45 VerifierDeps::VerifierDeps(const std::vector<const DexFile*>& dex_files)
49 const std::vector<const DexFile*>& dex_files) {
105 std::string temp;
111 std::string temp;
189 static bool FindExistingStringId(const std::vector<std::string>& strings,
190 const std
598 EncodeTuple(std::vector<uint8_t>* out, const std::tuple<T1, T2>& t) argument
611 EncodeTuple(std::vector<uint8_t>* out, const std::tuple<T1, T2, T3>& t) argument
[all...]
/art/imgdiag/
H A Dimgdiag.cc88 std::set<size_t> dirty_page_set;
91 static std::string GetClassDescriptor(mirror::Class* klass)
95 std::string descriptor;
98 return std::string(descriptor_str);
101 static std::string PrettyFieldValue(ArtField* field, mirror::Object* object)
103 std::ostringstream oss;
151 static std::vector<std::pair<V, K>> SortByValueDesc( argument
152 const std::map<K, D> map,
153 std
[all...]

Completed in 404 milliseconds