Home
last modified time | relevance | path

Searched refs:compressed (Results 1 – 19 of 19) sorted by relevance

/arkcompiler/runtime_core/static_core/irtoc/scripts/
Dstrings.irt19 GenerateStringEquals(lang='', dynamic=false, compressed=true)
20 GenerateStringEquals(lang='', dynamic=false, compressed=false)
/arkcompiler/ets_runtime/ecmascript/
Decma_string-inl.h124 inline EcmaString *EcmaString::CreateLineString(const EcmaVM *vm, size_t length, bool compressed) in CreateLineString() argument
126 …size_t size = compressed ? LineEcmaString::ComputeSizeUtf8(length) : LineEcmaString::ComputeSizeUt… in CreateLineString()
128 string->SetLength(length, compressed); in CreateLineString()
134 …line EcmaString *EcmaString::CreateLineStringNoGC(const EcmaVM *vm, size_t length, bool compressed) in CreateLineStringNoGC() argument
136 …size_t size = compressed ? LineEcmaString::ComputeSizeUtf8(length) : LineEcmaString::ComputeSizeUt… in CreateLineStringNoGC()
142 string->SetLength(length, compressed); in CreateLineStringNoGC()
148 …String *EcmaString::CreateLineStringWithSpaceType(const EcmaVM *vm, size_t length, bool compressed, in CreateLineStringWithSpaceType() argument
151 …size_t size = compressed ? LineEcmaString::ComputeSizeUtf8(length) : LineEcmaString::ComputeSizeUt… in CreateLineStringWithSpaceType()
167 string->SetLength(length, compressed); in CreateLineStringWithSpaceType()
180 size_t length, bool compressed, MemSpaceType type, uint32_t idOffset) in CreateConstantString() argument
[all …]
Decma_string.h120 static EcmaString *CreateLineString(const EcmaVM *vm, size_t length, bool compressed);
121 static EcmaString *CreateLineStringNoGC(const EcmaVM *vm, size_t length, bool compressed);
123 size_t length, bool compressed, MemSpaceType type);
125 …t JSHandle<EcmaString> &left, const JSHandle<EcmaString> &right, uint32_t length, bool compressed);
127 …size_t length, bool compressed, MemSpaceType type = MemSpaceType::SEMI_SPACE, uint32_t idOffset = …
131 uint32_t length, bool compressed);
176 inline void SetLength(uint32_t length, bool compressed = false)
180 …SetMixLength((length << STRING_LENGTH_SHIFT_COUNT) | (compressed ? STRING_COMPRESSED : STRING_UNCO…
1059 static EcmaString *CreateLineString(const EcmaVM *vm, size_t length, bool compressed) in CreateLineString() argument
1061 return EcmaString::CreateLineString(vm, length, compressed); in CreateLineString()
[all …]
Decma_string.cpp55 bool compressed = (strLeft->IsUtf8() && strRight->IsUtf8()); in Concat() local
59 auto newString = CreateLineStringWithSpaceType(vm, newLength, compressed, type); in Concat()
63 if (compressed) { in Concat()
90 …ASSERT_PRINT(compressed == CanBeCompressed(newString), "compressed does not match the real value!"… in Concat()
93 return CreateTreeString(vm, left, right, newLength, compressed); in Concat()
98 uint32_t length, bool compressed) in CopyStringToOldSpace() argument
104 CreateLineStringWithSpaceType(vm, length, compressed, MemSpaceType::OLD_SPACE)); in CopyStringToOldSpace()
106 if (compressed) { in CopyStringToOldSpace()
121 …ASSERT_PRINT(compressed == CanBeCompressed(*newString), "compressed does not match the real value!… in CopyStringToOldSpace()
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/
Dstring.h316 void SetLength(uint32_t length, bool compressed = false)
321 length_ = (length << 1U) | (compressed ? STRING_COMPRESSED : STRING_UNCOMPRESSED);
335 …static String *AllocStringObject(size_t length, bool compressed, const LanguageContext &ctx, Panda…
/arkcompiler/ets_runtime/ecmascript/compiler/
Dnew_object_stub_builder.h63 void AllocLineStringObject(Variable *result, Label *exit, GateRef length, bool compressed);
67 GateRef length, bool compressed);
Dnew_object_stub_builder.cpp930 …tStubBuilder::AllocLineStringObject(Variable *result, Label *exit, GateRef length, bool compressed) in AllocLineStringObject() argument
933 if (compressed) { in AllocLineStringObject()
947 SetLength(glue_, result->ReadVariable(), length, compressed); in AllocLineStringObject()
978 GateRef length, bool compressed) in AllocTreeStringObject() argument
990 SetLength(glue_, result->ReadVariable(), length, compressed); in AllocTreeStringObject()
Dstub_builder-inl.h2884 inline void StubBuilder::SetLength(GateRef glue, GateRef str, GateRef length, bool compressed) in SetLength() argument
2888 if (compressed) { in SetLength()
Dstub_builder.h786 inline void SetLength(GateRef glue, GateRef str, GateRef length, bool compressed);
/arkcompiler/runtime_core/static_core/runtime/coretypes/
Dstring.cpp976 bool compressed = compressedStringsEnabled_ && (!string1->IsUtf16() && !string2->IsUtf16()); in Concat() local
977 auto newString = AllocStringObject(newLength, compressed, ctx, vm); in Concat()
990 if (compressed) { in Concat()
1023 String *String::AllocStringObject(size_t length, bool compressed, const LanguageContext &ctx, Panda… in AllocStringObject() argument
1028 size_t size = compressed ? String::ComputeSizeMUtf8(length) : String::ComputeSizeUtf16(length); in AllocStringObject()
1038 string->SetLength(length, compressed); in AllocStringObject()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_string.h328 static EtsString *AllocateNonInitializedString(uint32_t length, bool compressed) in AllocateNonInitializedString() argument
334 …coretypes::String::AllocStringObject(length, compressed, ctx, Runtime::GetCurrent()->GetPandaVM())… in AllocateNonInitializedString()
/arkcompiler/runtime_core/compiler/docs/
Dinterface_inline_cache.md100 because Method* is 8bit align, so Method* can be compressed. So the actual range we can store is:
/arkcompiler/runtime_core/static_core/compiler/docs/
Dinterface_inline_cache.md100 because Method* is 8bit align, so Method* can be compressed. So the actual range we can store is:
/arkcompiler/runtime_core/docs/
Dmemory-management.md198 If the compressed bit is 1, the string has a compressed payload - 8 bits for each element.
200 If the compressed bit is 0, the string has not been compressed - its payload consists of 16 bits el…
Ddoxygen.config1285 # compressed HTML files.
/arkcompiler/runtime_core/static_core/docs/
Dmemory-management.md198 If the compressed bit is 1, the string has a compressed payload - 8 bits for each element.
200 If the compressed bit is 0, the string has not been compressed - its payload consists of 16 bits el…
Ddoxygen.config1285 # compressed HTML files.
/arkcompiler/ets_frontend/arkguard/
DREADME.md163 …necessary blank spaces and all line feeds. If you use this option, all code will be compressed into
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DString.ets1823 * Check if a string is compressed
1827 * @returns true - if s is compressed, false - otherwise