Home
last modified time | relevance | path

Searched refs:length_ (Results 1 - 25 of 26) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/mem/
H A Decma_list.h56 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 Dbinary_buffer_parser.h23 BinaryBufferParser(uint8_t *buffer, uint32_t length) : buffer_(buffer), length_(length) {} in BinaryBufferParser()
35 uint32_t length_ {0};
H A Dbinary_buffer_parser.cpp21 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 Ddtoa_helper.h31 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 Dets_string_builder.h97 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 Dstring.h89 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 Darray.h90 // 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 Dbuiltins_string_stub_builder.h134 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 Dark_stackmap_builder.h38 BinaryBufferWriter(uint8_t *buffer, uint32_t length) : buffer_(buffer), length_(length) {} in BinaryBufferWriter()
51 uint32_t length_ {0};
H A Dark_stackmap_builder.cpp29 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 Dcode_data_accessor.h41 return length_; in GetLength()
67 uint32_t length_; member in panda::panda_file::CodeDataAccessor::TryBlock
H A Dcode_data_accessor.cpp32 length_ = helpers::ReadULeb128(&data); in TryBlock()
H A Dfile_items.cpp777 return leb128::UnsignedEncodingSize(start_pc_) + leb128::UnsignedEncodingSize(length_) + in CalculateSizeWithoutCatchBlocks()
800 if (!writer->WriteUleb128(length_)) { in Write()
H A Dfile_items.h1368 : 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 Dcode_data_accessor.h41 return length_; in GetLength()
67 uint32_t length_; member in ark::panda_file::CodeDataAccessor::TryBlock
H A Dcode_data_accessor.cpp32 length_ = helpers::ReadULeb128(&data); in TryBlock()
H A Dfile_items.cpp723 return leb128::UnsignedEncodingSize(startPc_) + leb128::UnsignedEncodingSize(length_) + in CalculateSizeWithoutCatchBlocks()
746 if (!writer->WriteUleb128(length_)) { in Write()
H A Dfile_items.h1473 : 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 Dpt_events.h479 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 Dpt_events.cpp137 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 Ddate_parse.h37 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 Djs_locale.h85 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 Decma_string.h1013 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 Dets_string_builder_members_test.cpp74 MIRROR_FIELD_INFO(EtsStringBuilder, length_, "length"), in GetMembers()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/
H A Ddtoa_helper.h41 return length_; in GetDigits()
189 int length_ {};

Completed in 38 milliseconds

12