/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
D | stub_file_info.h | 64 void FillAsmStubTempHolder(uint8_t *buffer, size_t bufferSize) in FillAsmStubTempHolder() argument 66 asmStubTempHolder_.resize(bufferSize); in FillAsmStubTempHolder() 67 if (memcpy_s(asmStubTempHolder_.data(), bufferSize, buffer, bufferSize) != EOK) { in FillAsmStubTempHolder() 72 SetAsmStubSize(bufferSize); in FillAsmStubTempHolder()
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | atomic_helper_test.cpp | 57 uint32_t bufferSize = 10; in HWTEST_F_L0() local 61 JSHandle<JSArrayBuffer> buffer = factory->NewJSArrayBuffer(bufferSize); in HWTEST_F_L0() 75 uint32_t bufferSize = 256; in HWTEST_F_L0() local 81 JSHandle<JSArrayBuffer> buffer = factory->NewJSArrayBuffer(bufferSize); in HWTEST_F_L0() 105 uint32_t bufferSize = 256; in HWTEST_F_L0() local 111 JSHandle<JSArrayBuffer> buffer = factory->NewJSArrayBuffer(bufferSize); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/regexp/ |
D | regexp_parser_cache.cpp | 58 const JSTaggedValue codeBuffer, const size_t bufferSize, in SetCache() argument 66 info.bufferSize_ = bufferSize; in SetCache()
|
D | regexp_parser_cache.h | 36 const size_t bufferSize, CVector<CString> groupName);
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
D | pgo_profiler_info.h | 142 bool Verify(void *buffer, size_t bufferSize) const in Verify() argument 147 if (!VerifyConsistency(buffer, bufferSize)) { in Verify() 150 if (!VerifyFileSize(bufferSize)) { in Verify() 156 bool VerifyFileSize(size_t bufferSize) const; 158 bool VerifyConsistency(void *buffer, size_t bufferSize) const; 175 static bool ParseFromBinary(void *buffer, size_t bufferSize, PGOProfilerHeader **header); 241 static bool BuildFromElastic(void *buffer, size_t bufferSize, PGOProfilerHeader **header);
|
D | pgo_profiler_info.cpp | 67 bool PGOProfilerHeader::BuildFromElastic(void *buffer, size_t bufferSize, PGOProfilerHeader **heade… in BuildFromElastic() argument 70 if (!inHeader->Verify(buffer, bufferSize)) { in BuildFromElastic() 85 bool PGOProfilerHeader::ParseFromBinary(void *buffer, size_t bufferSize, PGOProfilerHeader **header) in ParseFromBinary() argument 92 return BuildFromElastic(buffer, bufferSize, header); in ParseFromBinary() 97 bool PGOProfilerHeader::VerifyFileSize(size_t bufferSize) const in VerifyFileSize() 102 if (GetFileSize() != bufferSize) { in VerifyFileSize() 103 … LOG_ECMA(ERROR) << "Verify ap file's file size failed. size: " << std::hex << bufferSize << " vs " in VerifyFileSize() 110 bool PGOProfilerHeader::VerifyConsistency(void *buffer, size_t bufferSize) const in VerifyConsistency() 117 bufferSize - CHECKSUM_END_OFFSET); in VerifyConsistency()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | file_generators.cpp | 355 auto bufferSize = asmModule_.GetBufferSize(); in RunAsmAssembler() local 356 if (bufferSize == 0U) { in RunAsmAssembler() 359 stubInfo_.FillAsmStubTempHolder(buffer, bufferSize); in RunAsmAssembler() 360 stubInfo_.accumulateTotalSize(bufferSize); in RunAsmAssembler()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_serializer.cpp | 688 uint32_t bufferSize = regExp->GetLength(); in WriteJSRegExp() local 689 if (!WriteInt(static_cast<int32_t>(bufferSize))) { in WriteJSRegExp() 696 if (!WriteRawData(dynBuffer, bufferSize)) { in WriteJSRegExp() 1601 int32_t bufferSize; in ReadJSRegExp() local 1602 if (!JudgeType(SerializationUID::INT32) || !ReadInt(&bufferSize)) { in ReadJSRegExp() 1605 void *buffer = GetBuffer(bufferSize); in ReadJSRegExp() 1609 factory_->NewJSRegExpByteCodeData(regExp, buffer, bufferSize); in ReadJSRegExp() 1842 void *JSDeserializer::GetBuffer(uint32_t bufferSize) in GetBuffer() argument 1845 if (bufferSize > static_cast<size_t>(end_ - position_)) { in GetBuffer() 1849 position_ += bufferSize; in GetBuffer()
|
D | js_serializer.h | 208 void *GetBuffer(uint32_t bufferSize);
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_regexp.cpp | 1784 auto bufferSize = parser.GetOriginBufferSize(); in RegExpInitialize() local 1786 factory->NewJSRegExpByteCodeData(regexp, buffer, bufferSize); in RegExpInitialize() 1787 …rCache->SetCache(*patternStrHandle, flagsBits, regexp->GetByteCodeBuffer(), bufferSize, groupName); in RegExpInitialize()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_serializer_test.cpp | 582 uint32_t bufferSize = 7; in JSRegexpTest() local 591 EXPECT_TRUE(resBufferSize == bufferSize) << "Not Same Length"; in JSRegexpTest() 1645 uint32_t bufferSize = 7; in HWTEST_F_L0() local 1646 factory->NewJSRegExpByteCodeData(jsRegexp, static_cast<void *>(buffer), bufferSize); in HWTEST_F_L0()
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
D | cocos_worker_test.js | 18042 this.bufferSize = t; 18046 this.bufferSize = t.bufferSize; 76720 W6.instance.memoryStatus.bufferSize += this._size; 76753 W6.instance.memoryStatus.bufferSize -= this._size; 76801 W6.instance.memoryStatus.bufferSize -= e; 76802 W6.instance.memoryStatus.bufferSize += t; 81072 J7.instance.memoryStatus.bufferSize += this._size; 81111 J7.instance.memoryStatus.bufferSize -= this._size; 81162 J7.instance.memoryStatus.bufferSize -= e; 81163 J7.instance.memoryStatus.bufferSize += t; [all …]
|