/art/runtime/jdwp/ |
H A D | jdwp_handler.cc | 90 int32_t arg_count = request->ReadSigned32("argument count"); 236 * This needs to increment the "suspend count" on all threads. 248 * Resume execution. Decrements the "suspend count" of all threads. 345 // Fill in reserved22 through reserved32; note count started at 1. 395 int32_t class_count = request->ReadSigned32("class count"); 429 int32_t field_count = request->ReadSigned32("field count"); 581 int32_t max_count = request->ReadSigned32("max count"); 616 int32_t values_count = request->ReadSigned32("values count"); 767 int32_t field_count = request->ReadSigned32("field count"); 787 int32_t field_count = request->ReadSigned32("field count"); 1163 uint32_t count = request->ReadUnsigned32("count"); local 1205 uint32_t count = request->ReadUnsigned32("count"); local [all...] |
H A D | jdwp_main.cc | 75 void JdwpNetStateBase::ConsumeBytes(size_t count) { argument 76 CHECK_GT(count, 0U); 77 CHECK_LE(count, input_count_); 79 if (count == input_count_) { 84 memmove(input_buffer_, input_buffer_ + count, input_count_ - count); 85 input_count_ -= count;
|
/art/runtime/jit/ |
H A D | jit_instrumentation.cc | 76 void JitInstrumentationCache::AddSamples(Thread* self, ArtMethod* method, size_t count) { argument 91 it->second += count; 94 sample_count = count; 95 samples_.insert(std::make_pair(method_id, count)); 98 if (sample_count >= hot_method_threshold_ && sample_count - count < hot_method_threshold_) {
|
/art/runtime/ |
H A D | lock_word.h | 40 * |00|rb| lock count |thread id owner | 70 // Remaining bits are the recursive lock count. 111 static LockWord FromThinLockId(uint32_t thread_id, uint32_t count, uint32_t rb_state) { argument 113 CHECK_LE(count, static_cast<uint32_t>(kThinLockMaxCount)); 115 return LockWord((thread_id << kThinLockOwnerShift) | (count << kThinLockCountShift) |
|
H A D | native_bridge_art_interface.cc | 65 uint32_t count = 0; local 68 if (count < method_count) { 69 methods[count].name = m.GetName(); 70 methods[count].signature = m.GetShorty(); 71 methods[count].fnPtr = m.GetEntryPointFromJni(); 72 count++; 80 if (count < method_count) { 81 methods[count].name = m.GetName(); 82 methods[count].signature = m.GetShorty(); 83 methods[count] [all...] |
H A D | nth_caller_visitor.h | 33 count(0), 47 if (count == n) { 51 count++; 58 size_t count; member in struct:art::NthCallerVisitor
|
H A D | profiler.cc | 431 is_filtered = filtered_methods_.count(method_full_name) != 0; 467 // This holds a mapping of ArtMethod* to a count of how many times a sample 484 // has been seen, add it with count=1, otherwise increment the count. 500 // Add a bounded stack to the profile table. Only the count of the method on 588 uint32_t count = meth_iter.second; local 594 count += pi->second.count_; 597 os << StringPrintf("%s/%u/%u\n", method_name.c_str(), count, method_size); 614 uint32_t count = node->GetCount(); local 616 total_count += count; 638 uint32_t count = context_i.second; local 780 uint32_t count = strtoul(context_count[1].c_str(), nullptr, 10); local 785 uint32_t count = strtoul(context_count[1].c_str(), nullptr, 10); local 845 int count = atoi(info[1].c_str()); local 854 uint32_t count = -it->first; local [all...] |
H A D | profiler.h | 124 typedef std::map<ArtMethod*, uint32_t> Map; // Map of method vs its count. 137 PreviousValue(uint32_t count, uint32_t method_size, PreviousContextMap* context_map) argument 138 : count_(count), method_size_(method_size), context_map_(context_map) {} 243 ProfileData(const std::string& method_name, uint32_t count, uint32_t method_size, argument 245 method_name_(method_name), count_(count), method_size_(method_size),
|
H A D | reference_table.cc | 83 os << " null reference (count=" << equiv << ")\n"; 87 os << " cleared jweak (count=" << equiv << ")\n"; 158 size_t count = entries.size(); local 159 int first = count - kLast; 163 os << " Last " << (count - first) << " entries (of " << count << "):\n"; 165 for (int idx = count - 1; idx >= first; --idx) { 225 // Same class / element count, different object.
|
H A D | safe_map.h | 80 size_type count(const K& k) const { return map_.count(k); } function in class:art::SafeMap
|
H A D | stack.cc | 65 size_t count = 0; local 72 count += current_frame->NumberOfVRegs(); 76 return count;
|
H A D | thread.cc | 742 LOG(ERROR) << *thread << " suspend count already zero."; 1503 size_t count = 0; local 1505 count += cur->NumberOfReferences(); 1507 return count; 1526 for (size_t j = 0, count = cur->NumberOfReferences(); j < count; ++j) {
|
H A D | thread_list.cc | 262 size_t count = 0; local 273 count++; 326 // suspend count. Now the suspend_count_ is lowered so we must do the broadcast. 331 return count; 343 size_t count = 0; local 352 count++; 359 return count; 385 // Increment everybody's suspend count (except our own). 473 // Increment everybody's suspend count (except our own). 645 // If we incremented the suspend count bu [all...] |
/art/runtime/mirror/ |
H A D | array-inl.h | 256 static inline void ArrayBackwardCopy(T* d, const T* s, int32_t count) { argument 257 d += count; 258 s += count; 259 for (int32_t i = 0; i < count; ++i) { 269 static inline void ArrayForwardCopy(T* d, const T* s, int32_t count) { argument 270 for (int32_t i = 0; i < count; ++i) { 279 int32_t count) { 280 if (UNLIKELY(count == 0)) { 285 DCHECK_GT(count, 0); 288 DCHECK_LE(dst_pos, GetLength() - count); 278 Memmove(int32_t dst_pos, PrimitiveArray<T>* src, int32_t src_pos, int32_t count) argument 338 Memcpy(int32_t dst_pos, PrimitiveArray<T>* src, int32_t src_pos, int32_t count) argument [all...] |
H A D | array.h | 144 void Memmove(int32_t dst_pos, PrimitiveArray<T>* src, int32_t src_pos, int32_t count) 152 void Memcpy(int32_t dst_pos, PrimitiveArray<T>* src, int32_t src_pos, int32_t count)
|
H A D | class-inl.h | 815 for (size_t i = 0, count = NumStaticFields(); i < count; ++i) { 825 for (size_t i = 0, count = NumInstanceFields(); i < count; ++i) { 852 auto count = NumDirectMethods(); local 853 return StrideIterator<ArtMethod>(reinterpret_cast<uintptr_t>(methods) + stride * count, stride); 872 auto count = NumVirtualMethods(); local 873 return StrideIterator<ArtMethod>(reinterpret_cast<uintptr_t>(methods) + stride * count, stride);
|
H A D | class.cc | 284 uint32_t count = 0; local 286 count += c->NumReferenceInstanceFieldsDuringLinking(); 289 CHECK_EQ(static_cast<uint32_t>(POPCOUNT(new_reference_offsets)) + 1, count);
|
H A D | object.cc | 207 for (size_t i = 0, count = cur->NumInstanceFields(); i < count; ++i) { 228 for (size_t i = 0, count = AsClass()->NumStaticFields(); i < count; ++i) {
|
H A D | object_array-inl.h | 124 int32_t src_pos, int32_t count) { 126 for (int i = 0; i < count; ++i) { 137 const bool copy_forward = (src != this) || (dst_pos < src_pos) || (dst_pos - src_pos >= count); 140 for (int i = 0; i < count; ++i) { 147 for (int i = count - 1; i >= 0; --i) { 154 dstAsIntArray->Memmove(dst_pos, srcAsIntArray, src_pos, count); 156 Runtime::Current()->GetHeap()->WriteBarrierArray(this, dst_pos, count); 158 for (int i = 0; i < count; ++i) { 167 int32_t src_pos, int32_t count) { 169 for (int i = 0; i < count; 123 AssignableMemmove(int32_t dst_pos, ObjectArray<T>* src, int32_t src_pos, int32_t count) argument 166 AssignableMemcpy(int32_t dst_pos, ObjectArray<T>* src, int32_t src_pos, int32_t count) argument 198 AssignableCheckingMemcpy(int32_t dst_pos, ObjectArray<T>* src, int32_t src_pos, int32_t count, bool throw_exception) argument [all...] |
H A D | object_array.h | 72 int32_t count) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 76 int32_t count) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 80 int32_t count, bool throw_exception)
|
H A D | string-inl.h | 38 // Sets string count in the allocation code path to ensure it is guarded by a CAS. 41 explicit SetStringCountVisitor(int32_t count) : count_(count) { argument 55 // Sets string count and value in the allocation code path to ensure it is guarded by a CAS. 58 SetStringCountAndBytesVisitor(int32_t count, Handle<ByteArray> src_array, int32_t offset, argument 60 : count_(count), src_array_(src_array), offset_(offset), high_byte_(high_byte) { 82 // Sets string count and value in the allocation code path to ensure it is guarded by a CAS. 85 SetStringCountAndValueVisitorFromCharArray(int32_t count, Handle<CharArray> src_array, argument 87 count_(count), src_array_(src_array), offset_(offset) { 105 // Sets string count an 108 SetStringCountAndValueVisitorFromString(int32_t count, Handle<String> src_string, int32_t offset) argument 133 int32_t count = GetField32(OFFSET_OF_OBJECT_MEMBER(String, count_)); local [all...] |
H A D | string.cc | 38 int32_t count = GetLength(); local 41 } else if (start > count) { 42 start = count; 46 const uint16_t* end = chars + count;
|
/art/runtime/native/ |
H A D | dalvik_system_VMDebug.cc | 270 uint64_t count = 0; local 271 heap->CountInstances(classes, countAssignable, &count); 272 return count;
|
H A D | java_lang_System.cc | 48 // The API is defined in terms of length, but length is somewhat overloaded so we use count. 49 const jint count = length; local 77 if (UNLIKELY(srcPos < 0) || UNLIKELY(dstPos < 0) || UNLIKELY(count < 0) || 78 UNLIKELY(srcPos > srcArray->GetLength() - count) || 79 UNLIKELY(dstPos > dstArray->GetLength() - count)) { 83 count); 100 dstArray->AsByteSizedArray()->Memmove(dstPos, srcArray->AsByteSizedArray(), srcPos, count); 105 dstArray->AsShortSizedArray()->Memmove(dstPos, srcArray->AsShortSizedArray(), srcPos, count); 110 dstArray->AsIntArray()->Memmove(dstPos, srcArray->AsIntArray(), srcPos, count); 115 dstArray->AsLongArray()->Memmove(dstPos, srcArray->AsLongArray(), srcPos, count); 156 System_arraycopyTUnchecked(JNIEnv* env, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument 170 System_arraycopyCharUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument 176 System_arraycopyByteUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument 182 System_arraycopyShortUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument 188 System_arraycopyIntUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument 194 System_arraycopyLongUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument 200 System_arraycopyFloatUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument 206 System_arraycopyDoubleUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument 212 System_arraycopyBooleanUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument [all...] |
H A D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 86 uint16_t& count = *reinterpret_cast<uint16_t*>(context); local 87 ++count; 101 * (2b) thread count
|