Home
last modified time | relevance | path

Searched refs:utf16Data (Results 1 - 2 of 2) sorted by relevance

/commonlibrary/ets_utils/js_util_module/util/
H A Djs_textdecoder.cpp58 bool TextDecoder::CanBeCompressed(const uint16_t *utf16Data, uint32_t utf16Len) in CanBeCompressed() argument
63 if (!IsASCIICharacter(utf16Data[index]) || in CanBeCompressed()
64 !IsASCIICharacter(utf16Data[index + 1]) || // 1: the second element of the block in CanBeCompressed()
65 !IsASCIICharacter(utf16Data[index + 2]) || // 2: the third element of the block in CanBeCompressed()
66 !IsASCIICharacter(utf16Data[index + 3])) { // 3: the fourth element of the block in CanBeCompressed()
72 if (!IsASCIICharacter(utf16Data[index])) { in CanBeCompressed()
H A Djs_textdecoder.h134 static bool CanBeCompressed(const uint16_t *utf16Data, uint32_t utf16Len);

Completed in 2 milliseconds