Home
last modified time | relevance | path

Searched defs:length (Results 1 – 25 of 199) sorted by relevance

12345678

/arkcompiler/runtime_core/libpandabase/utils/
Dbit_memory_stream.h33 void EnsureSpace(size_t length) in EnsureSpace()
38 void Write(size_t value, size_t length) in Write()
49 void Write(uint32_t *ptr, size_t payload_length, size_t length) in Write()
90 T Read(size_t length) in Read()
98 BitMemoryRegion ReadRegion(size_t length) in ReadRegion()
Dbit_memory_region.h152 Read(size_t offset, size_t length) const in Read()
193 T Pop(size_t length) in Pop()
201 void Write(uint32_t value, size_t offset, size_t length) in Write()
226 BitMemoryRegion Subregion(size_t offset, size_t length) in Subregion()
233 BitMemoryRegion Subregion(size_t offset, size_t length) const in Subregion()
245 size_t Popcount(size_t first, size_t length) const in Popcount()
Dspan.h166 Span First(size_t length) const in First()
172 Span Last(size_t length) const in Last()
178 Span SubSpan(size_t position, size_t length) const in SubSpan()
192 Span<SubT> SubSpan(size_t position, size_t length) const in SubSpan()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_vector.cpp32 int32_t length = vector->GetSize(); in Add() local
46 int32_t length = vector->GetSize(); in Insert() local
106 int32_t length = vector->GetSize(); in GetIndexFrom() local
129 int32_t length = GetSize(); in GetLastElement() local
151 int32_t length = vector->GetSize(); in GetLastIndexFrom() local
172 int32_t length = vector->GetSize(); in Remove() local
187 int32_t length = vector->GetSize(); in RemoveByIndex() local
211 int32_t length = vector->GetSize(); in RemoveByRange() local
238 int32_t length = vector->GetSize(); in SubVector() local
265 int32_t length = vector->GetSize(); in ToString() local
[all …]
Djs_api_arraylist.cpp34 uint32_t length = arrayList->GetLength().GetArrayLength(); in Add() local
46 int length = arrayList->GetLength().GetInt(); in Insert() local
66 int length = arrayList->GetLength().GetInt(); in Clear() local
81 int32_t length = obj->GetSize(); in Clone() local
104 int length = arrayList->GetLength().GetInt(); in IncreaseCapacityTo() local
116 uint32_t length = arrayList->GetLength().GetArrayLength(); in TrimToCurrentLength() local
149 uint32_t length = arrayList->GetLength().GetArrayLength(); in GetIndexOf() local
165 int length = arrayList->GetLength().GetInt(); in GetLastIndexOf() local
176 int length = arrayList->GetLength().GetInt(); in RemoveByIndex() local
203 int length = arrayList->GetSize(); in Remove() local
[all …]
Djs_api_queue.cpp29 uint32_t length = queue->GetLength().GetArrayLength(); in Add() local
86 uint32_t length = queue->GetLength().GetArrayLength(); in Pop() local
106 uint32_t length = GetSize(); in Get() local
158 uint32_t length = obj->GetLength().GetArrayLength(); in OwnKeys() local
182 uint32_t length = obj->GetLength().GetArrayLength(); in GetOwnProperty() local
199 int length = static_cast<int>(obj->GetLength().GetArrayLength()); in GetProperty() local
218 int length = static_cast<int>(obj->GetLength().GetArrayLength()); in SetProperty() local
237 uint32_t length = (end - begin + elementsSize) % elementsSize; in GetArrayLength() local
Djs_api_lightweightmap.cpp109 int32_t length = newLightWeightMap->GetSize(); in HasAll() local
152 int32_t length = lightWeightMap->GetSize(); in HasValue() local
172 int32_t length = lightWeightMap->GetSize(); in GetStateOfKey() local
201 int32_t length = lightWeightMap->GetSize(); in GetIndexOfValue() local
214 int32_t length = lightWeightMap->GetSize(); in GetKeyAt() local
229 int32_t length = lightWeightMap->GetSize(); in GetValueAt() local
248 int32_t length = needLightWeightMap->GetSize(); in SetAll() local
276 int32_t length = lightWeightMap->GetSize(); in RemoveAt() local
311 int32_t length = lightWeightMap->GetSize(); in SetValueAt() local
358 uint32_t length = lightWeightMap->GetLength(); in ToString() local
/arkcompiler/runtime_core/runtime/coretypes/
Darray.cpp27 static Array *AllocateArray(panda::BaseClass *array_class, size_t elem_size, array_size_t length, in AllocateArray()
49 Array *Array::Create(panda::Class *array_class, const uint8_t *data, array_size_t length, panda::Sp… in Create()
70 Array *Array::Create(panda::Class *array_class, array_size_t length, panda::SpaceType space_type) in Create()
88 Array *Array::Create(DynClass *dynarrayclass, array_size_t length, panda::SpaceType space_type) in Create()
107 Array *Array::CreateTagged(const PandaVM *vm, panda::BaseClass *array_class, array_size_t length, in CreateTagged()
/arkcompiler/ets_runtime/test/moduletest/objectcloneproperties/
Dobjectcloneproperties.js27 length: 1, property
32 get length() {throw "should not even consider the length property"}, getter
38 length: 4, property
/arkcompiler/ets_runtime/ecmascript/
Decma_string-inl.h37 inline EcmaString *EcmaString::AllocStringObjectWithSpaceType(const EcmaVM *vm, size_t length, bool… in AllocStringObjectWithSpaceType()
116 int32_t length = static_cast<int32_t>(GetLength()); in At() local
131 inline EcmaString *EcmaString::AllocStringObject(const EcmaVM *vm, size_t length, bool compressed) in AllocStringObject()
142 uint32_t length) in FastSubUtf8String()
159 uint32_t length) in FastSubUtf16String()
Decma_string.h93 static size_t ComputeDataSizeUtf16(uint32_t length) in ComputeDataSizeUtf16()
152 size_t length = GetLength(); variable
210 …uint32_t CopyDataRegionUtf16(uint16_t *buf, uint32_t start, uint32_t length, uint32_t maxLength) c… in CopyDataRegionUtf16()
236 auto length = GetLength(); in ToOneByteDataForced() local
263 void WriteData(EcmaString *src, uint32_t start, uint32_t destSize, uint32_t length) in WriteData()
322 uint32_t length = GetLength(); in ObjectSize() local
470 static EcmaString *AllocStringObject(const EcmaVM *vm, size_t length, bool compressed) in AllocStringObject()
499 const JSHandle<EcmaString> &src, uint32_t start, uint32_t length) in FastSubString()
583 …oid ReadData(EcmaString * dst, EcmaString *src, uint32_t start, uint32_t destSize, uint32_t length) in ReadData()
614 static uint32_t ComputeHashcodeUtf16(const uint16_t *utf16Data, uint32_t length) in ComputeHashcodeUtf16()
Dtagged_array-inl.h42 uint32_t length = GetLength(); in GetIdx() local
84 uint32_t length = firstLength + secondLength; in Append() local
128 uint32_t length = GetLength(); in HasDuplicateEntry() local
139 void TaggedArray::InitializeWithSpecialValue(JSTaggedValue initValue, uint32_t length, uint32_t ext… in InitializeWithSpecialValue()
Djs_array.h54 inline void SetArrayLength(const JSThread *thread, uint32_t length) in SetArrayLength()
Dbyte_array.h31 static inline size_t ComputeSize(size_t elemSize, uint32_t length) in ComputeSize()
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dlib_ark_builtins.d.ts54 readonly length: number; property
59 readonly length: number; property
83 readonly length: number; property
146 length: number; property in Function
/arkcompiler/runtime_core/runtime/include/coretypes/
Dstring.h84 static size_t ComputeDataSizeUtf16(uint32_t length) in ComputeDataSizeUtf16()
145 size_t CopyDataRegionMUtf8(uint8_t *buf, size_t start, size_t length, size_t max_length) in CopyDataRegionMUtf8()
173 … uint32_t CopyDataRegionUtf16(uint16_t *buf, uint32_t start, uint32_t length, uint32_t max_length) in CopyDataRegionUtf16()
199 uint32_t length; in GetLength() local
216 uint32_t length = GetLength(); in ObjectSize() local
Dstring-inl.h29 auto length = GetLength(); in At() local
Darray.h71 static size_t ComputeSize(size_t elem_size, array_size_t length) in ComputeSize()
203 void SetLength(array_size_t length) in SetLength()
/arkcompiler/ets_runtime/ecmascript/tests/
Dconcurrent_marking_test.cpp57 …JSHandle<TaggedArray> CreateTaggedArray(uint32_t length, JSTaggedValue initVal, MemSpaceType space… in CreateTaggedArray()
70 uint32_t length = 1_KB; in HWTEST_F_L0() local
88 uint32_t length = 1_KB; in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/mem/
Ddyn_chunk.cpp71 int DynChunk::Emit(const uint8_t *data, size_t length) in Emit()
92 int DynChunk::EmitSelf(size_t offset, size_t length) in EmitSelf()
/arkcompiler/runtime_core/runtime/tests/
Dtest_utils.h46 coretypes::Array *AllocArray(size_t length, ClassRoot class_root, bool nonmovable) in AllocArray()
58 coretypes::String *AllocString(size_t length) in AllocString()
/arkcompiler/ets_runtime/ecmascript/ic/
Dinvoke_cache.cpp37 uint8_t length, JSTaggedValue newTargetArray, in SetPolyConstuctCacheSlot()
67 uint32_t length = array->GetLength(); in CheckPolyInvokeCache() local
80 … JSTaggedValue ctor, JSTaggedValue newTarget, uint16_t firstArgIdx, uint16_t length) in Construct()
136 uint8_t length, JSTaggedValue calleeArray) in SetPolyInlineCallCacheSlot()
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_lightweightset_test.cpp130 int length = mapHandle->GetLength(); in HWTEST_F_L0() local
154 int length = lightWeightSet->GetLength(); in HWTEST_F_L0() local
172 int length = lightWeightSet->GetLength(); in HWTEST_F_L0() local
195 int length = lightWeightSet->GetLength(); in HWTEST_F_L0() local
212 int length = lws->GetLength(); in HWTEST_F_L0() local
225 int length = lightWeightSet->GetLength(); in HWTEST_F_L0() local
248 int length = lightWeightSet->GetLength(); in HWTEST_F_L0() local
346 int length = lightWeightSet->GetLength(); in HWTEST_F_L0() local
366 int length = lws->GetLength(); in HWTEST_F_L0() local
400 int length = lightWeightSet->GetLength(); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/stackmap/
Dark_stackmap_builder.h35 BinaryBufferWriter(uint8_t *buffer, uint32_t length) : buffer_(buffer), length_(length) {} in BinaryBufferWriter()
Dark_stackmap_parser.cpp44 void ArkStackMapParser::GetArkDeopt(uint8_t *stackmapAddr, uint32_t length, in GetArkDeopt()
57 uint32_t length = head->totalSize; in GetArkDeopt() local
113 uint32_t length = head->totalSize; in IteratorStackMap() local

12345678