/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | ecma_list.h | 56 length_++; in AddNode() 72 length_++; in AddNodeToFront() 107 length_--; in RemoveNode() 140 length_ = 0; in Clear() 145 return length_; in GetLength() 151 uint32_t length_{0};
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
H A D | binary_buffer_parser.h | 23 BinaryBufferParser(uint8_t *buffer, uint32_t length) : buffer_(buffer), length_(length) {} in BinaryBufferParser() 35 uint32_t length_ {0};
|
H A D | binary_buffer_parser.cpp | 21 if (count > 0 && count + offset_ <= length_) { in ParseBuffer() 39 if (src >= buffer_ && src + count <= buffer_ + length_) { in ParseBuffer()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | dtoa_helper.h | 31 BufferVector() : start_(NULL), length_(0) {} in BufferVector() 32 BufferVector(T* data, int length) : start_(data), length_(length) in BufferVector() 36 int length() const { return length_; } in length() 42 ASSERT(0 <= index && index < length_); in operator []() 48 T& last() { return start_[length_ - 1]; } in last() 52 int length_; member in panda::ecmascript::base::BufferVector
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
H A D | ets_string_builder.h | 97 return length_; in GetLength() 102 length_ = length; in SetLength() 118 EtsInt length_; // length of the resulting string member in ark::ets::EtsStringBuilder
|
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/ |
H A D | string.h | 89 return compressedStringsEnabled_ ? ((length_ & STRING_COMPRESSED_BIT) == STRING_UNCOMPRESSED) : true; in IsUtf16() 208 length = length_ >> 1U; in GetLength() 210 length = length_; in GetLength() 218 return length_ == 0; in IsEmpty() 240 return MEMBER_OFFSET(String, length_); in GetLengthOffset() 327 length_ = (length << 1U) | (compressed ? STRING_COMPRESSED : STRING_UNCOMPRESSED); in SetLength() 329 length_ = length; in SetLength() 370 // In last bit of length_ we store if this string is compressed or not. 371 uint32_t length_;
|
H A D | array.h | 90 // Atomic with relaxed order reason: data race with length_ with no synchronization or ordering constraints in GetLength() 92 return length_.load(std::memory_order_relaxed); in GetLength() 182 return ComputeSize(componentSize, length_); in ObjectSize() 187 return MEMBER_OFFSET(Array, length_); in GetLengthOffset() 215 // Atomic with relaxed order reason: data race with length_ with no synchronization or ordering constraints in SetLength() 217 length_.store(length, std::memory_order_relaxed); in SetLength() 220 std::atomic<ArraySizeT> length_; member in ark::ark::coretypes::Array
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_string_stub_builder.h | 134 return length_;
in GetLength() 140 GateRef length_ { Circuit::NullGate() };
146 GateRef length_ { Circuit::NullGate() };
149 length_(flatString->GetLength()) {}
in StringInfoGateRef() 162 return length_;
in GetLength()
|
/arkcompiler/ets_runtime/ecmascript/stackmap/ |
H A D | ark_stackmap_builder.h | 38 BinaryBufferWriter(uint8_t *buffer, uint32_t length) : buffer_(buffer), length_(length) {} in BinaryBufferWriter() 51 uint32_t length_ {0};
|
H A D | ark_stackmap_builder.cpp | 29 if (dst >= buffer_ && dst + count <= buffer_ + length_) { in WriteBuffer() 30 if (memcpy_s(dst, buffer_ + length_ - dst, src, count) != EOK) { in WriteBuffer()
|
/arkcompiler/runtime_core/libpandafile/ |
H A D | code_data_accessor.h | 41 return length_; in GetLength() 67 uint32_t length_; member in panda::panda_file::CodeDataAccessor::TryBlock
|
H A D | code_data_accessor.cpp | 32 length_ = helpers::ReadULeb128(&data); in TryBlock()
|
H A D | file_items.cpp | 777 return leb128::UnsignedEncodingSize(start_pc_) + leb128::UnsignedEncodingSize(length_) + in CalculateSizeWithoutCatchBlocks() 800 if (!writer->WriteUleb128(length_)) { in Write()
|
H A D | file_items.h | 1368 : start_pc_(start_pc), length_(length), catch_blocks_(std::move(catch_blocks)) in TryBlock() 1392 size_t length_; member in panda::panda_file::ClassTag::MethodTag::FieldTag::CodeItem::TryBlock
|
/arkcompiler/runtime_core/static_core/libpandafile/ |
H A D | code_data_accessor.h | 41 return length_; in GetLength() 67 uint32_t length_; member in ark::panda_file::CodeDataAccessor::TryBlock
|
H A D | code_data_accessor.cpp | 32 length_ = helpers::ReadULeb128(&data); in TryBlock()
|
H A D | file_items.cpp | 723 return leb128::UnsignedEncodingSize(startPc_) + leb128::UnsignedEncodingSize(length_) + in CalculateSizeWithoutCatchBlocks() 746 if (!writer->WriteUleb128(length_)) { in Write()
|
H A D | file_items.h | 1473 : startPc_(startPc), length_(length), catchBlocks_(std::move(catchBlocks)) in TryBlock() 1489 return length_; in GetLength() 1512 size_t length_; member in ark::panda_file::ClassTag::CodeItem::TryBlock
|
/arkcompiler/toolchain/tooling/base/ |
H A D | pt_events.h | 479 return length_.value_or(0); in GetLength() 484 length_ = length; in SetLength() 490 return length_.has_value(); in HasLength() 559 std::optional<int32_t> length_ {}; 747 return length_.value_or(0); in GetLength() 752 length_ = length; in SetLength() 758 return length_.has_value(); in HasLength() 828 std::optional<int32_t> length_ {};
|
H A D | pt_events.cpp | 137 if (length_) { in ToJson() 138 result->Add("length", length_.value()); in ToJson() 181 if (length_) { in ToJson() 182 result->Add("length", length_.value()); in ToJson()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | date_parse.h | 37 explicit StringReader(const char *str, int length) : data_(str), length_(length)
in StringReader() 44 value_ = (index_ < length_) ? data_[index_] : DEL;
in NextChar() 147 int length_;
member in panda::ecmascript::DateParse::StringReader
|
H A D | js_locale.h | 85 JSIntlIterator(const JSHandle<TaggedArray> &data, uint32_t length) : length_(length), curIdx_(0) in JSIntlIterator() 100 return static_cast<UBool>(curIdx_ < length_); 105 ASSERT(curIdx_ < length_); 115 ASSERT(index < length_); 121 uint32_t length_{0};
|
H A D | ecma_string.h | 1013 length_(length) {} in FlatStringInfo() 1046 return length_; in GetLength() 1057 uint32_t length_ {0};
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/ |
H A D | ets_string_builder_members_test.cpp | 74 MIRROR_FIELD_INFO(EtsStringBuilder, length_, "length"), in GetMembers()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/ |
H A D | dtoa_helper.h | 41 return length_; in GetDigits() 189 int length_ {};
|