Searched refs:vec (Results 1 – 7 of 7) sorted by relevance
/art/runtime/gc/collector/ |
D | garbage_collector.cc | 126 std::unique_ptr<unsigned char[]> vec(new unsigned char[vec_len]); in ExtractRssFromMincore() local 129 if (mincore(it.first, length, vec.get()) == 0) { in ExtractRssFromMincore() 133 rss += vec[i] & 0x1; in ExtractRssFromMincore()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 91 std::vector<std::unique_ptr<const DexFile>>& vec) { in ConvertDexFilesToJavaArray() argument 93 jlongArray long_array = env->NewLongArray(static_cast<jsize>(kDexFileIndexStart + vec.size())); in ConvertDexFilesToJavaArray() 105 for (size_t i = 0; i < vec.size(); ++i) { in ConvertDexFilesToJavaArray() 106 long_data[kDexFileIndexStart + i] = reinterpret_cast64<jlong>(vec[i].get()); in ConvertDexFilesToJavaArray() 115 for (auto& dex_file : vec) { in ConvertDexFilesToJavaArray()
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 2019 std::vector<uint32_t> vec(out_of); in GenerateTestProfile() local 2020 std::iota(vec.begin(), vec.end(), 0u); in GenerateTestProfile() 2021 std::shuffle(vec.begin(), vec.end(), rng); in GenerateTestProfile() 2022 vec.erase(vec.begin() + take, vec.end()); in GenerateTestProfile() 2023 std::sort(vec.begin(), vec.end()); in GenerateTestProfile() 2024 return vec; in GenerateTestProfile()
|
/art/compiler/optimizing/ |
D | load_store_analysis_test.cc | 83 size_t vec = HeapLocation::kScalar; in TEST_F() local 86 ref, type, field, c1, vec, class_def); in TEST_F() 88 ref, type, field, c2, vec, class_def); in TEST_F() 90 ref, type, field, index, vec, class_def); in TEST_F()
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 104 static bool Contains(const std::vector<E>& vec, const E& elem) { in Contains() argument 105 return std::find(vec.begin(), vec.end(), elem) != vec.end(); in Contains()
|
/art/dex2oat/ |
D | verifier_deps_test.cc | 433 bool HasBoolValue(const std::vector<bool>& vec, bool value) { in HasBoolValue() argument 434 return std::count(vec.begin(), vec.end(), value) > 0; in HasBoolValue()
|
/art/runtime/ |
D | debugger.cc | 345 iovec vec[1]; in DdmPublishChunk() local 346 vec[0].iov_base = reinterpret_cast<void*>(const_cast<uint8_t*>(data.data())); in DdmPublishChunk() 347 vec[0].iov_len = data.size(); in DdmPublishChunk() 348 gJdwpState->DdmSendChunkV(type, vec, 1); in DdmPublishChunk()
|