Home
last modified time | relevance | path

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

123456789

/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/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/js_api/
Djs_api_vector.cpp32 uint32_t length = vector->GetSize(); in Add() local
46 uint32_t length = vector->GetSize(); in Insert() local
106 uint32_t length = vector->GetSize(); in GetIndexFrom() local
130 uint32_t length = GetSize(); in GetLastElement() local
152 uint32_t length = vector->GetSize(); in GetLastIndexFrom() local
173 uint32_t length = vector->GetSize(); in Remove() local
187 uint32_t length = vector->GetSize(); in RemoveByIndex() local
209 int32_t length = static_cast<int32_t>(vector->GetSize()); in RemoveByRange() local
236 int32_t length = static_cast<int32_t>(vector->GetSize()); in SubVector() local
264 uint32_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 uint32_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
202 uint32_t 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
177 uint32_t length = obj->GetLength().GetArrayLength(); in OwnEnumKeys() local
208 uint32_t length = obj->GetLength().GetArrayLength(); in GetOwnProperty() local
225 int length = static_cast<int>(obj->GetLength().GetArrayLength()); in GetProperty() local
244 int length = static_cast<int>(obj->GetLength().GetArrayLength()); in SetProperty() local
263 uint32_t length = (end - begin + elementsSize) % elementsSize; in GetArrayLength() local
/arkcompiler/ets_runtime/ecmascript/
Decma_string-inl.h95 inline EcmaString *EcmaString::CreateLineString(const EcmaVM *vm, size_t length, bool compressed) in CreateLineString()
105 inline EcmaString *EcmaString::CreateLineStringNoGC(const EcmaVM *vm, size_t length, bool compresse… in CreateLineStringNoGC()
118 inline EcmaString *EcmaString::CreateLineStringWithSpaceType(const EcmaVM *vm, size_t length, bool … in CreateLineStringWithSpaceType()
143 size_t length, bool compressed, MemSpaceType type, uint32_t idOffset) in CreateConstantString()
155 …const JSHandle<EcmaString> &left, const JSHandle<EcmaString> &right, uint32_t length, bool compres… in CreateTreeString()
169 uint32_t length) in FastSubUtf8String()
184 uint32_t length) in FastSubUtf16String()
251 int32_t length = static_cast<int32_t>(GetLength()); in At() local
285 uint32_t length = src->GetLength(); in WriteToFlat() local
363 uint32_t start, uint32_t destSize, uint32_t length) in ReadData()
Decma_string.h47 #define ECMA_STRING_CHECK_LENGTH_AND_TRHOW(vm, length) \ argument
253 size_t length = GetLength(); variable
274 size_t CopyDataToUtf16(uint16_t *buf, uint32_t length, uint32_t bufLength) const in CopyDataToUtf16()
317 uint32_t length = GetLength(); in WriteOneByte() local
383 …uint32_t CopyDataRegionUtf16(uint16_t *buf, uint32_t start, uint32_t length, uint32_t maxLength) c… in CopyDataRegionUtf16()
412 auto length = GetLength(); in ToOneByteDataForced() local
588 uint32_t length = str->GetLength(); in ObjectSize() local
600 int32_t length = static_cast<int32_t>(GetLength()); in Get() local
656 int32_t length = static_cast<int32_t>(GetLength()); in Get() local
700 int32_t length = static_cast<int32_t>(GetLength()); in Get() local
[all …]
Dbyte_array.h31 static inline size_t ComputeSize(size_t elemSize, uint32_t length) in ComputeSize()
/arkcompiler/ets_frontend/arkguard/test/grammar/array_validation/
Darray_unshift.ts20 let length = arr.unshift(3, 2, 1); variable
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dtype_literal_extractor.h71 uint32_t length = std::get<uint32_t>(array_[numIndex]); in EnumerateElements() local
84 uint32_t length = std::get<uint32_t>(array_[numIndex]); in EnumerateTypesWithIntKey() local
100 uint32_t length = std::get<uint32_t>(array_[numIndex]); in EnumerateProperties() local
178 uint32_t length = bcOffsets_.size(); in EnumerateInstsAndTypes() local
230 uint32_t length = exportVars_.size(); in EnumerateModuleTypes() 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/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
Dincremental_marking_test.cpp55 …JSHandle<TaggedArray> CreateTaggedArray(uint32_t length, JSTaggedValue initVal, MemSpaceType space… in CreateTaggedArray()
68 uint32_t length = 1_KB; in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Dbinary_buffer_parser.h23 BinaryBufferParser(uint8_t *buffer, uint32_t length) : buffer_(buffer), length_(length) {} in BinaryBufferParser()
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DcontrolFlowBinaryOrExpression.ts62 length: number; property
DdoesNotNarrowUnionOfConstructorsWithInstanceof.ts33 length: 2 property in B
DtypeGuardsNestedAssignments.ts127 const length = match[1].length + match[2].length constant
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/enums/
Dtest-ts-enum-31.ts19 length = "str", enumerator
Dtest-ts-enum-24.ts19 length = "str" enumerator
/arkcompiler/ets_runtime/ecmascript/compiler/
Dntype_mcr_lowering.cpp69 GateRef length = builder_.Int32(0); in LowerCreateEmptyArray() local
79 GateRef length = builder_.IntPtr(elementsLength); in LowerCreateArrayWithOwn() local
113 GateRef length = builder_.IntPtr(arrayLength); in LowerCreateArrayWithBuffer() local
125 GateRef NTypeMCRLowering::NewJSArrayLiteral(GateRef elements, GateRef length) in NewJSArrayLiteral()
156 GateRef NTypeMCRLowering::NewTaggedArray(size_t length) in NewTaggedArray()
/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/compiler/base/
Ddepend_chain_helper.cpp67 uint32_t length = rangeGuard->CheckIndexCheckLengthInput(node->gate, input); in FoundIndexCheckedForLength() local
78 uint32_t length = rangeGuard->CheckIndexCheckIndexInput(node->gate, input); in FoundIndexCheckedForIndex() local
/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

123456789