/arkcompiler/runtime_core/libpandafile/ |
H A D | param_annotations_data_accessor.h | 28 AnnotationArray(uint32_t count, Span<const uint8_t> offsets) : count_(count), offsets_(offsets) {} in AnnotationArray() 36 return count_; in GetCount() 41 return sizeof(uint32_t) + count_ * ID_SIZE; in GetSize() 48 for (size_t i = 0; i < count_; i++) { in EnumerateAnnotations() 55 uint32_t count_; member in panda::panda_file::ParamAnnotationsDataAccessor::AnnotationArray 62 count_ = helpers::Read<COUNT_SIZE>(&sp); in ParamAnnotationsDataAccessor() 77 for (size_t i = 0; i < count_; i++) { in EnumerateAnnotationArrays() 90 ASSERT(index < count_); in GetAnnotationArray() 93 for (uint32_t i = 0; i < count_; i++) { in GetAnnotationArray() 105 return count_; [all...] |
H A D | annotation_data_accessor.cpp | 27 count_ = helpers::Read<COUNT_SIZE>(&sp); in AnnotationDataAccessor() 28 size_ = ID_SIZE + COUNT_SIZE + count_ * (ID_SIZE + VALUE_SIZE) + count_ * TYPE_TAG_SIZE; in AnnotationDataAccessor() 31 size_t size = count_ * (ID_SIZE + VALUE_SIZE); in AnnotationDataAccessor() 38 ASSERT(i < count_); in GetElement() 47 ASSERT(i < count_);
|
H A D | value.h | 77 count_ = helpers::ReadULeb128(&sp); in ArrayValue() 105 return count_; in GetCount() 118 uint32_t count_; member in panda::panda_file::ArrayValue
|
H A D | annotation_data_accessor.h | 89 return count_; in GetCount() 115 uint32_t count_; member in panda::panda_file::AnnotationDataAccessor
|
/arkcompiler/runtime_core/static_core/libpandafile/ |
H A D | param_annotations_data_accessor.h | 28 AnnotationArray(uint32_t count, Span<const uint8_t> offsets) : count_(count), offsets_(offsets) {} in AnnotationArray() 36 return count_; in GetCount() 41 return sizeof(uint32_t) + count_ * ID_SIZE; in GetSize() 48 for (size_t i = 0; i < count_; i++) { in EnumerateAnnotations() 55 uint32_t count_; member in ark::panda_file::ParamAnnotationsDataAccessor::AnnotationArray 62 count_ = helpers::Read<COUNT_SIZE>(&sp); in ParamAnnotationsDataAccessor() 77 for (size_t i = 0; i < count_; i++) { in EnumerateAnnotationArrays() 90 ASSERT(index < count_); in GetAnnotationArray() 93 for (uint32_t i = 0; i < count_; i++) { in GetAnnotationArray() 105 return count_; [all...] |
H A D | annotation_data_accessor.cpp | 27 count_ = helpers::Read<COUNT_SIZE>(&sp); in AnnotationDataAccessor() 28 size_ = ID_SIZE + COUNT_SIZE + count_ * (ID_SIZE + VALUE_SIZE) + count_ * TYPE_TAG_SIZE; in AnnotationDataAccessor() 31 elementsTags_ = sp.SubSpan(count_ * (ID_SIZE + VALUE_SIZE)); in AnnotationDataAccessor() 36 ASSERT(i < count_); in GetElement() 45 ASSERT(i < count_);
|
H A D | value.h | 77 count_ = helpers::ReadULeb128(&sp); in ArrayValue() 105 return count_; in GetCount() 118 uint32_t count_; member in ark::panda_file::ArrayValue
|
H A D | annotation_data_accessor.h | 89 return count_; in GetCount() 115 uint32_t count_; member in ark::panda_file::AnnotationDataAccessor
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | gc_ring_buffer.h | 37 if (count_ == N) { in Push() 44 elements_[count_++] = value; in Push() 50 return count_; in Count() 59 for (int i = 0; i < count_; i++) { in Sum() 67 start_ = count_ = 0; in Reset() 73 int count_ {0};
|
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | global_handle_storage-inl.h | 43 if (count_ == GLOBAL_BLOCK_SIZE && freeList_ == nullptr) { in NewGlobalHandle() 47 count_ = count_ - GLOBAL_BLOCK_SIZE; in NewGlobalHandle() 51 if (count_ != GLOBAL_BLOCK_SIZE) { in NewGlobalHandle() 52 globalNodes_->back()->at(count_).SetNext(nullptr); in NewGlobalHandle() 53 globalNodes_->back()->at(count_).SetObject(value); in NewGlobalHandle() 54 return globalNodes_->back()->at(count_++).GetObjectAddress(); in NewGlobalHandle() 114 for (int32_t i = 0; i < count_; i++) { in UpdateHeapObject() 144 for (int32_t i = 0; i < count_; i++) { in VisitGCRoots()
|
H A D | global_handle_storage.h | 90 return count_; in GetCount() 122 int32_t count_ {GLOBAL_BLOCK_SIZE};
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | histogram.h | 62 return count_; in GetCount() 82 if (count_ > 0U) { in GetAvg() 83 return sum_ / static_cast<double>(count_); in GetAvg() 90 return sumOfSquares_ / static_cast<double>(count_) - GetAvg() * GetAvg(); in GetDispersion() 99 size_t count_ = 0; member in ark::SimpleHistogram
|
H A D | histogram-inl.h | 50 if (count_ == 0) { in AddValue() 57 count_ += number; in AddValue()
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | internal_allocator_test.cpp | 90 static size_t count_; member 93 value = ++count_; in A() 97 --count_; in ~A() 104 size_t A::count_ = 0; member in ark::mem::test::A 114 ASSERT_EQ(A::count_, COUNT); in TEST_F() 120 ASSERT_EQ(A::count_, 0); in TEST_F()
|
H A D | g1gc_fullgc_test.cpp | 53 count_++; 62 int count_ = 0; member in ark::mem::test::G1GCFullGCTest::GCCounter
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
H A D | stream.h | 23 : index_(index), count_(count), size_(size) {} in HeapStat() 27 int32_t count_ {0};
|
H A D | heap_sampling.h | 38 count_(count) {} in Sample() 42 const unsigned int count_; member
|
H A D | heap_snapshot.h | 261 return count_; in GetCount() 266 count_ = count; in SetCount() 281 uint32_t count_ {0};
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/types/ |
H A D | pgo_profiler_type.h | 460 PGOProtoChainTemplate(int32_t size, int32_t count) : size_(size), count_(count) {}; in PGOProtoChainTemplate() 517 if (count_ < PROTO_CHAIN_MIN_COUNT || count_ > PROTO_CHAIN_MAX_COUNT) { in IterateProtoChain() 520 for (int i = 0; i < count_; i++) { in IterateProtoChain() 527 return count_; in GetCount() 537 int32_t count_; member in panda::ecmascript::pgo::PGOProtoChainTemplate 782 count_ = std::min(from.GetCount(), static_cast<uint32_t>(POLY_CASE_NUM)); in ConvertFrom() 783 for (uint32_t index = 0; index < count_; index++) { in ConvertFrom() 790 for (uint32_t i = 0; i < type.count_; i++) { in Merge() 801 count_ in AddObjectInfo() [all...] |
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
H A D | pgo_profiler_info.h | 123 : id_(id), count_(count), mode_(mode) in PGOMethodInfo() 162 count_++; in IncreaseCount() 167 count_ = 0; in ClearCount() 176 count_ = std::min(count_ + info->GetCount(), METHOD_MAX_HIT_COUNT); in Merge() 187 return count_; in GetCount() 226 if (count_ < threshold && mode_ == SampleMode::CALL_MODE) { in IsFilter() 246 uint32_t count_ {0};
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/amd64/ |
H A D | target.h | 48 ++count_; in RegList() 64 return count_ == size_t(0); in IsEmpty() 69 return count_; in GetCount() 83 ++count_; in Add() 92 --count_; in Remove() 110 size_t count_ {0};
|
/arkcompiler/toolchain/tooling/agent/ |
H A D | heapprofiler_impl.cpp | 285 statsDiff.emplace_back(updateData[i].count_); in HeapStatsUpdate()
|
/arkcompiler/toolchain/tooling/base/ |
H A D | pt_types.h | 2391 return count_; in GetCount() 2396 count_ = count; in SetCount() 2406 int32_t count_ {0};
|
H A D | pt_types.cpp | 2387 sampleTemp->SetSize(sample.size_ * sample.count_); in FromSamplingInfo() 2853 coverage->count_ = count; in Create() 2872 result->Add("count", count_); in ToJson()
|
/arkcompiler/toolchain/tooling/test/ |
H A D | pt_types_test.cpp | 888 ASSERT_TRUE(size == (sampleInfo.size_ * sampleInfo.count_)); in HWTEST_F_L0()
|