• Home
  • Raw
  • Download

Lines Matching full:uint32_t

45     static constexpr uint32_t STRING_COMPRESSED_BIT = 0x1;
46 static constexpr uint32_t STRING_INTERN_BIT = 0x2;
50 ACCESSORS_PRIMITIVE_FIELD(MixLength, uint32_t, MIX_LENGTH_OFFSET, HASHCODE_OFFSET)
51 ACCESSORS_PRIMITIVE_FIELD(RawHashcode, uint32_t, HASHCODE_OFFSET, SIZE)
69 …static EcmaString *CreateFromUtf8(const EcmaVM *vm, const uint8_t *utf8Data, uint32_t utf8Len, boo…
71 … static EcmaString *CreateFromUtf16(const EcmaVM *vm, const uint16_t *utf16Data, uint32_t utf16Len,
76 const JSHandle<EcmaString> &src, uint32_t start, uint32_t length);
93 static size_t ComputeDataSizeUtf16(uint32_t length) in ComputeDataSizeUtf16()
101 static size_t ComputeSizeUtf16(uint32_t utf16Len) in ComputeSizeUtf16()
120 static size_t ComputeSizeUtf8(uint32_t utf8Len) in ComputeSizeUtf8()
175 uint32_t len = GetLength();
205 inline uint32_t CopyDataUtf16(uint16_t *buf, uint32_t maxLength) const in CopyDataUtf16()
210uint32_t CopyDataRegionUtf16(uint16_t *buf, uint32_t start, uint32_t length, uint32_t maxLength) c… in CopyDataRegionUtf16()
215 uint32_t len = GetLength(); in CopyDataRegionUtf16()
231 std::u16string ToU16String(uint32_t len = 0);
251 uint32_t strLen = GetLength();
263 void WriteData(EcmaString *src, uint32_t start, uint32_t destSize, uint32_t length) in WriteData()
276 for (uint32_t i = 0; i < length; i++) { in WriteData()
289 inline void WriteData(uint16_t src, uint32_t start) in WriteData()
300 uint32_t GetLength() const in GetLength()
322 uint32_t length = GetLength(); in ObjectSize()
326 uint32_t PUBLIC_API GetHashcode() in GetHashcode()
328 uint32_t hashcode = GetRawHashcode(); in GetHashcode()
337 uint32_t PUBLIC_API ComputeHashcode(uint32_t hashSeed) const;
343 static constexpr uint32_t GetStringCompressionMask() in GetStringCompressionMask()
363 … static bool StringsAreEqualUtf8(const EcmaString *str1, const uint8_t *utf8Data, uint32_t utf8Len,
368 …static bool StringsAreEqualUtf16(const EcmaString *str1, const uint16_t *utf16Data, uint32_t utf16…
369 … static uint32_t ComputeHashcodeUtf8(const uint8_t *utf8Data, size_t utf8Len, bool canBeCompress);
370 static uint32_t ComputeHashcodeUtf16(const uint16_t *utf16Data, uint32_t length);
376 static bool CanBeCompressed(const uint8_t *utf8Data, uint32_t utf8Len);
377 static bool CanBeCompressed(const uint16_t *utf16Data, uint32_t utf16Len);
380 …ne EcmaString *FastSubUtf8String(const EcmaVM *vm, const JSHandle<EcmaString> &src, uint32_t start,
381 uint32_t length);
382 …e EcmaString *FastSubUtf16String(const EcmaVM *vm, const JSHandle<EcmaString> &src, uint32_t start,
383 uint32_t length);
385 bool ToElementIndex(uint32_t *index);
387 bool ToTypedArrayIndex(uint32_t *index);
402 void SetLength(uint32_t length, bool compressed = false)
421 static void CopyUtf16AsUtf8(const uint16_t *utf16From, uint8_t *utf8To, uint32_t utf16Len);
434 uint32_t utf16Len);
480 …static EcmaString *CreateFromUtf8(const EcmaVM *vm, const uint8_t *utf8Data, uint32_t utf8Len, boo…
486 … static EcmaString *CreateFromUtf16(const EcmaVM *vm, const uint16_t *utf16Data, uint32_t utf16Len,
499 const JSHandle<EcmaString> &src, uint32_t start, uint32_t length) in FastSubString()
514 uint32_t GetLength() const in GetLength()
554 std::u16string ToU16String(uint32_t len = 0)
573 uint32_t WriteToFlatUtf8(uint8_t *buf, uint32_t maxLength) in WriteToFlatUtf8()
578 uint32_t WriteToFlatUtf16(uint16_t *buf, uint32_t maxLength) const in WriteToFlatUtf16()
583 …tatic void ReadData(EcmaString * dst, EcmaString *src, uint32_t start, uint32_t destSize, uint32_t in ReadData()
589 uint16_t Get(uint32_t index) const in Get()
594 void Set(uint32_t index, uint16_t src) in Set()
599 uint32_t GetHashcode() in GetHashcode()
604 uint32_t ComputeHashcode(uint32_t hashSeed) in ComputeHashcode()
609 static uint32_t ComputeHashcodeUtf8(const uint8_t *utf8Data, size_t utf8Len, bool canBeCompress) in ComputeHashcodeUtf8()
614 static uint32_t ComputeHashcodeUtf16(const uint16_t *utf16Data, uint32_t length) in ComputeHashcodeUtf16()
644 … static bool StringsAreEqualUtf8(const EcmaString *str1, const uint8_t *utf8Data, uint32_t utf8Len, in StringsAreEqualUtf8()
650 …static bool StringsAreEqualUtf16(const EcmaString *str1, const uint16_t *utf16Data, uint32_t utf16… in StringsAreEqualUtf16()
660 static bool CanBeCompressed(const uint8_t *utf8Data, uint32_t utf8Len) in CanBeCompressed()
665 static bool CanBeCompressed(const uint16_t *utf16Data, uint32_t utf16Len) in CanBeCompressed()
675 bool ToElementIndex(uint32_t *index) in ToElementIndex()
680 bool ToTypedArrayIndex(uint32_t *index) in ToTypedArrayIndex()