Searched defs:std (Results 1 - 6 of 6) 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/runtime/
H A Dcommon_runtime_test.h36 typedef std::vector<std::pair<std::string, const void*>> RuntimeOptions;
48 const std::string& GetFilename() const {
62 std::string filename_;
63 std::unique_ptr<File> file_;
72 static void SetUpAndroidData(std::string& android_data);
74 static void TearDownAndroidData(const std::string& android_data, bool fail_on_error);
96 std::string GetLibCoreDexFileName();
99 std
167 namespace std { namespace
[all...]
H A Dcommon_runtime_test.cc119 std::string root;
149 void CommonRuntimeTest::SetUpAndroidData(std::string& android_data) {
168 void CommonRuntimeTest::TearDownAndroidData(const std::string& android_data, bool fail_on_error) {
178 std::vector<const DexFile*> dex_files;
179 std::string error_msg;
199 std::string error_msg;
203 std::string min_heap_string(StringPrintf("-Xms%zdm", gc::Heap::kDefaultInitialSize / MB));
204 std::string max_heap_string(StringPrintf("-Xmx%zdm", gc::Heap::kDefaultMaximumSize / MB));
209 options.push_back(std::make_pair("bootclasspath", &boot_class_path_));
210 options.push_back(std
389 namespace std { namespace
[all...]
/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 t = tag())
81 typename std::enable_if<std::is_same<T, const U>::value, tag>::type t = tag())
85 explicit ArrayRef(std
80 ArrayRef(U* array, size_t size, typename std::enable_if<std::is_same<T, const U>::value, tag>::type t = tag()) argument
90 ArrayRef(const std::vector<U>& v, typename std::enable_if<std::is_same<T, const U>::value, tag>::type t = tag()) argument
[all...]
/art/compiler/
H A Dimage_writer.cc75 bool ImageWriter::Write(const std::string& image_filename,
77 const std::string& oat_filename,
78 const std::string& oat_location,
89 std::unique_ptr<File> oat_file(OS::OpenFileReadWrite(oat_filename.c_str()));
94 std::string error_msg;
161 std::unique_ptr<File> image_file(OS::CreateEmptyFile(image_filename.c_str()));
211 std::pair<BinSlot, uint32_t> slot_hash = *hash_it;
212 saved_hashes_.push_back(std::make_pair(obj, slot_hash.second));
412 DCHECK_LE(offset, std::numeric_limits<uint32_t>::max());
422 std
500 operator ()(const std::pair<size_t, size_t>& a, const std::pair<size_t, size_t>& b) argument
[all...]

Completed in 438 milliseconds