| /arkcompiler/runtime_core/static_core/libpandabase/utils/ |
| D | bit_memory_stream.h | 33 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 payloadLength, size_t length) in Write() 90 T Read(size_t length) in Read() 98 BitMemoryRegion ReadRegion(size_t length) in ReadRegion()
|
| D | bit_memory_region.h | 155 Read(size_t offset, size_t length) const in Read() 196 T Pop(size_t length) in Pop() 204 void Write(uint32_t value, size_t offset, size_t length) in Write() 229 BitMemoryRegion Subregion(size_t offset, size_t length) in Subregion() 236 BitMemoryRegion Subregion(size_t offset, size_t length) const in Subregion() 248 size_t Popcount(size_t first, size_t length) const in Popcount()
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | bit_memory_stream.h | 33 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()
|
| D | bit_memory_region.h | 152 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()
|
| /arkcompiler/runtime_core/static_core/runtime/coretypes/ |
| D | array.cpp | 27 static Array *AllocateArray(ark::BaseClass *arrayClass, size_t elemSize, ArraySizeT length, ark::Sp… in AllocateArray() 49 Array *Array::Create(ark::Class *arrayClass, const uint8_t *data, ArraySizeT length, ark::SpaceType… in Create() 71 Array *Array::Create(ark::Class *arrayClass, ArraySizeT length, ark::SpaceType spaceType, bool pinn… in Create() 89 Array *Array::Create(DynClass *dynarrayclass, ArraySizeT length, ark::SpaceType spaceType, bool pin… in Create() 108 Array *Array::CreateTagged(const PandaVM *vm, ark::BaseClass *arrayClass, ArraySizeT length, ark::S… in CreateTagged()
|
| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_vector.cpp | 33 uint32_t length = vector->GetSize(); in Add() local 47 uint32_t length = vector->GetSize(); in Insert() local 107 uint32_t length = vector->GetSize(); in GetIndexFrom() local 131 uint32_t length = GetSize(); in GetLastElement() local 153 uint32_t length = vector->GetSize(); in GetLastIndexFrom() local 174 uint32_t length = vector->GetSize(); in Remove() local 188 uint32_t length = vector->GetSize(); in RemoveByIndex() local 210 int32_t length = static_cast<int32_t>(vector->GetSize()); in RemoveByRange() local 237 int32_t length = static_cast<int32_t>(vector->GetSize()); in SubVector() local 265 uint32_t length = vector->GetSize(); in ToString() local [all …]
|
| D | js_api_arraylist.cpp | 29 uint32_t length = arrayList->GetLength().GetArrayLength(); in Add() local 41 int length = arrayList->GetLength().GetInt(); in Insert() local 61 int length = arrayList->GetLength().GetInt(); in Clear() local 76 uint32_t length = obj->GetSize(); in Clone() local 99 int length = arrayList->GetLength().GetInt(); in IncreaseCapacityTo() local 111 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 206 uint32_t length = arrayList->GetSize(); in Remove() local [all …]
|
| D | js_api_queue.cpp | 24 uint32_t length = queue->GetLength().GetArrayLength(); in Add() local 81 uint32_t length = queue->GetLength().GetArrayLength(); in Pop() local 101 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 226 int32_t length = static_cast<int32_t>(obj->GetSize()); in GetProperty() local 258 uint32_t length = obj->GetSize(); in SetProperty() local 277 uint32_t length = (end - begin + elementsSize) % elementsSize; in GetArrayLength() local
|
| /arkcompiler/ets_runtime/test/moduletest/objectcloneproperties/ |
| D | objectcloneproperties.js | 27 length: 1, property 32 get length() {throw "should not even consider the length property"}, getter 38 length: 4, property
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_sendable_arraybuffer_test.cpp | 39 size_t length = 5; in HWTEST_F_L0() local 73 size_t length = 5; in HWTEST_F_L0() local 100 size_t length = 5; in HWTEST_F_L0() local 119 size_t length = 5; in HWTEST_F_L0() local 138 size_t length = 5; in HWTEST_F_L0() local 162 size_t length = 5; in HWTEST_F_L0() local 186 size_t length = 5; in HWTEST_F_L0() local
|
| D | concurrent_marking_test.cpp | 43 …JSHandle<TaggedArray> CreateTaggedArray(uint32_t length, JSTaggedValue initVal, MemSpaceType space… in CreateTaggedArray() 52 uint32_t length = 1_KB; in HWTEST_F_L0() local 70 uint32_t length = 1_KB; in HWTEST_F_L0() local 92 uint32_t length = 1_KB; in HWTEST_F_L0() local 112 uint32_t length = 1_KB; in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | dtoa_helper.cpp | 181 void DtoaHelper::Grisu(double value, char *buffer, int *length, int *K) in Grisu() 197 void DtoaHelper::Dtoa(double value, char *buffer, int *point, int *length) in Dtoa() 208 BufferVector<char> buffer, int* length) in FillDigits32FixedLength() 217 void DtoaHelper::FillDigits32(uint32_t number, BufferVector<char> buffer, int* length) in FillDigits32() 241 BufferVector<char> buffer, int* length) in FillDigits64FixedLength() 253 void DtoaHelper::FillDigits64(uint64_t number, BufferVector<char> buffer, int* length) in FillDigits64() 272 void DtoaHelper::RoundUp(BufferVector<char> buffer, int* length, int* decimal_point) in RoundUp() 296 BufferVector<char> buffer, int* length, int* decimal_point) in FillFractionals() 343 void DtoaHelper::TrimZeros(BufferVector<char> buffer, int* length, int* decimal_point) in TrimZeros() 362 int* length, int* decimal_point) in FixedDtoa()
|
| /arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/java_test_framework/java_cases/ |
| D | ClassTest.java | 31 private double length; field in Rectangle 40 public Rectangle(double length, double width) { in Rectangle()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
| D | ets_string.h | 61 static EtsString *CreateFromUtf8(const char *utf8, uint32_t length) in CreateFromUtf8() 78 static EtsString *CreateFromAscii(const char *str, uint32_t length) in CreateFromAscii() 87 static EtsString *CreateFromUtf16(const ets_char *utf16, ets_int length) in CreateFromUtf16() 104 … static EtsString *CreateNewStringFromChars(uint32_t offset, uint32_t length, EtsArray *chararray) in CreateNewStringFromChars() 112 …String *CreateNewStringFromBytes(EtsArray *bytearray, ets_int high, ets_int offset, ets_int length) in CreateNewStringFromBytes() 155 static EtsString *Resolve(const uint8_t *mutf8, uint32_t length) in Resolve() 249 static EtsString *FastSubString(EtsString *src, uint32_t start, uint32_t length) in FastSubString() 283 size_t CopyDataRegionMUtf8(void *buf, size_t start, size_t length, size_t maxLength) in CopyDataRegionMUtf8() 293 uint32_t CopyDataRegionUtf16(void *buf, uint32_t start, uint32_t length, uint32_t maxLength) in CopyDataRegionUtf16() 393 static EtsString *AllocateNonInitializedString(uint32_t length, bool compressed) in AllocateNonInitializedString()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | byte_array.h | 31 static inline size_t ComputeSize(size_t elemSize, uint32_t length) in ComputeSize() 38 static inline size_t ComputeDataSize(size_t elemSize, uint32_t length) in ComputeDataSize()
|
| D | ecma_string-inl.h | 138 inline EcmaString *EcmaString::CreateLineString(const EcmaVM *vm, size_t length, bool compressed) in CreateLineString() 148 inline EcmaString *EcmaString::CreateLineStringNoGC(const EcmaVM *vm, size_t length, bool compresse… in CreateLineStringNoGC() 159 inline EcmaString *EcmaString::CreateLineStringWithSpaceType(const EcmaVM *vm, size_t length, bool … in CreateLineStringWithSpaceType() 193 size_t length, bool compressed, MemSpaceType type, uint32_t idOffset) in CreateConstantString() 228 …const JSHandle<EcmaString> &left, const JSHandle<EcmaString> &right, uint32_t length, bool compres… in CreateTreeString() 243 uint32_t length) in FastSubUtf8String() 258 uint32_t length) in FastSubUtf16String() 328 int32_t length = static_cast<int32_t>(GetLength()); in At() local 376 uint32_t length = src->GetLength(); in WriteToFlat() local 448 void EcmaString::WriteToFlatWithPos(EcmaString *src, Char *buf, uint32_t length, uint32_t pos) in WriteToFlatWithPos() [all …]
|
| D | property_accessor.cpp | 127 …uint32_t length = JSObject::GetAllEnumKeys(thread_, receiverObj, EnumCache::ENUM_CACHE_HEADER_SIZE… in InitSimplePropertiesEnumCache() local 139 inline void PropertyAccessor::AccumulateKeyLength(uint32_t length) in AccumulateKeyLength() 144 inline void PropertyAccessor::AccumulateShadowKeyLength(uint32_t length) in AccumulateShadowKeyLength() 159 inline void PropertyAccessor::SetActualKeyLength(uint32_t length) in SetActualKeyLength() 243 uint32_t length = proxyArr->GetLength(); in PushRemainingKeys() local 259 uint32_t length = array->GetLength(); in PushRemainingKeys() local
|
| /arkcompiler/ets_runtime/test/fuzztest/typedarrayref_fuzzer/ |
| D | typedarrayref_fuzzer.cpp | 35 constexpr int length = 6; in TypedArrayrefArrayLengthFuzzerTest() local 52 constexpr int length = 6; in TypedArrayrefByteOffSetFuzzerTest() local 69 constexpr int length = 6; in TypedArrayrefGetArrayBufferFuzzerTest() local
|
| /arkcompiler/ets_runtime/test/fuzztest/dataviewref_fuzzer/ |
| D | dataviewref_fuzzer.cpp | 30 const int32_t length = 15; in DataViewRefByteOffSetFuzzTest() local 48 const int32_t length = 15; in DataViewRefByteLengthFuzzTest() local 66 const int32_t length = 15; in DataViewRefGetArrayBufferFuzzTest() local
|
| /arkcompiler/runtime_core/static_core/runtime/include/coretypes/ |
| D | string.h | 97 static size_t ComputeDataSizeUtf16(uint32_t length) in ComputeDataSizeUtf16() 152 size_t CopyDataRegionMUtf8(uint8_t *buf, size_t start, size_t length, size_t maxLength) in CopyDataRegionMUtf8() 180 uint32_t CopyDataRegionUtf16(uint16_t *buf, uint32_t start, uint32_t length, uint32_t maxLength) in CopyDataRegionUtf16() 206 uint32_t length; in GetLength() local 223 uint32_t length = GetLength(); in ObjectSize() local
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | std_core_gc.cpp | 290 [[nodiscard]] static ResArrayType *StdGCAllocatePinnedPrimitiveTypeArray(EtsLong length) in StdGCAllocatePinnedPrimitiveTypeArray() 318 extern "C" EtsBooleanArray *StdGCAllocatePinnedBooleanArray(EtsLong length) in StdGCAllocatePinnedBooleanArray() 323 extern "C" EtsByteArray *StdGCAllocatePinnedByteArray(EtsLong length) in StdGCAllocatePinnedByteArray() 328 extern "C" EtsCharArray *StdGCAllocatePinnedCharArray(EtsLong length) in StdGCAllocatePinnedCharArray() 333 extern "C" EtsShortArray *StdGCAllocatePinnedShortArray(EtsLong length) in StdGCAllocatePinnedShortArray() 338 extern "C" EtsIntArray *StdGCAllocatePinnedIntArray(EtsLong length) in StdGCAllocatePinnedIntArray() 343 extern "C" EtsLongArray *StdGCAllocatePinnedLongArray(EtsLong length) in StdGCAllocatePinnedLongArray() 348 extern "C" EtsFloatArray *StdGCAllocatePinnedFloatArray(EtsLong length) in StdGCAllocatePinnedFloatArray() 353 extern "C" EtsDoubleArray *StdGCAllocatePinnedDoubleArray(EtsLong length) in StdGCAllocatePinnedDoubleArray()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_shared_map.h | 91 #define BUILTIN_MAP_FUNCTION_ENTRY(name, func, length, id) \ argument 100 #define MAP_PROPERTIES_PAIR(name, func, length, id) \ argument
|
| D | builtins_shared_set.h | 85 #define BUILTIN_SET_FUNCTION_ENTRY(name, func, length, id) \ argument 94 #define SET_PROPERTIES_PAIR(name, func, length, id) \ argument
|
| /arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/mem/ |
| D | dyn_chunk.cpp | 70 int DynChunk::Emit(const uint8_t *data, size_t length) in Emit() 91 int DynChunk::EmitSelf(size_t offset, size_t length) in EmitSelf()
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/array_validation/ |
| D | array_unshift.ts | 20 let length = arr.unshift(3, 2, 1); variable
|