Lines Matching refs:modify
211 inline size_t GetUtf8Length(bool modify = true, bool isGetBufferSize = false) const;
390 inline size_t CopyDataUtf8(uint8_t *buf, size_t maxLength, bool modify = true) const
402 return CopyDataRegionUtf8(buf, 0, length, maxLength, modify) + 1; // add place for zero in the end
482 bool modify = true, bool isWriteBuffer = false) const
504 modify, isWriteBuffer);
507 modify, isWriteBuffer);
548 Span<const uint8_t> ToUtf8Span(CVector<uint8_t> &buf, bool modify = true, bool cesu8 = false)
555 ASSERT(base::utf_helper::Utf16ToUtf8Size(data, strLen, modify, false, cesu8) > 0);
556 size_t len = base::utf_helper::Utf16ToUtf8Size(data, strLen, modify, false, cesu8) - 1;
558 len = base::utf_helper::ConvertRegionUtf16ToUtf8(data, buf.data(), strLen, len, 0, modify, false, cesu8);
567 Span<const uint8_t> DebuggerToUtf8Span(CVector<uint8_t> &buf, bool modify = true)
574 size_t len = base::utf_helper::Utf16ToUtf8Size(data, strLen, modify) - 1;
576 len = base::utf_helper::DebuggerConvertRegionUtf16ToUtf8(data, buf.data(), strLen, len, 0, modify);
648 // To change the hash algorithm of EcmaString, please modify EcmaString::CalculateConcatHashCode
669 // \0 is not considered ASCII in Ecma-Modified-UTF8 [only modify '\u0000']
1498 // \0 is not considered ASCII in Ecma-Modified-UTF8 [only modify '\u0000']