Lines Matching defs:compressed
81 ASSERT_PRINT(CanBeCompressed(subString), "String cannot be compressed!");
138 inline EcmaString *EcmaString::CreateLineString(const EcmaVM *vm, size_t length, bool compressed)
140 size_t size = compressed ? LineEcmaString::ComputeSizeUtf8(length) : LineEcmaString::ComputeSizeUtf16(length);
142 string->SetLength(length, compressed);
148 inline EcmaString *EcmaString::CreateLineStringNoGC(const EcmaVM *vm, size_t length, bool compressed)
150 size_t size = compressed ? LineEcmaString::ComputeSizeUtf8(length) : LineEcmaString::ComputeSizeUtf16(length);
153 string->SetLength(length, compressed);
159 inline EcmaString *EcmaString::CreateLineStringWithSpaceType(const EcmaVM *vm, size_t length, bool compressed,
163 size_t size = compressed ? LineEcmaString::ComputeSizeUtf8(length) : LineEcmaString::ComputeSizeUtf16(length);
179 string->SetLength(length, compressed);
193 size_t length, bool compressed, MemSpaceType type, uint32_t idOffset)
198 string->SetLength(length, compressed);
228 const JSHandle<EcmaString> &left, const JSHandle<EcmaString> &right, uint32_t length, bool compressed)
234 string->SetLength(length, compressed);