Home
last modified time | relevance | path

Searched refs:headerSize (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/mem/
Dnative_area_allocator.cpp24 size_t headerSize = sizeof(Area); in AllocateArea() local
25 if (capacity < headerSize) { in AllocateArea()
49 uintptr_t begin = reinterpret_cast<uintptr_t>(mem) + headerSize; in AllocateArea()
50 capacity -= headerSize; in AllocateArea()
Dnative_area_allocator.h123 size_t headerSize = sizeof(Area); in AllocateSpace() local
124 if (capacity < headerSize) { in AllocateSpace()
135 uintptr_t begin = reinterpret_cast<uintptr_t>(mem) + headerSize; in AllocateSpace()
136 capacity -= headerSize; in AllocateSpace()
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/
Dassembler.h253 …static void GetFrameCompletionPos(uint64_t &headerSize, uint64_t &tailSize, uint64_t &entryDuratio… in GetFrameCompletionPos() argument
256 headerSize = FrameCompletionPos::X64CppToAsmInterp; in GetFrameCompletionPos()
260 headerSize = FrameCompletionPos::ARM64CppToAsmInterp; in GetFrameCompletionPos()
264 headerSize = 0; in GetFrameCompletionPos()
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
Dcpu_profiler.cpp470 …iler::InHeaderOrTail(uint64_t pc, uint64_t entryBegin, uint64_t entryDuration, uint64_t headerSize, in InHeaderOrTail() argument
474 if (pc >= entryBegin && pc <= (entryBegin + headerSize)) { in InHeaderOrTail()
485 uint64_t headerSize = 0; in IsEntryFrameHeaderOrTail() local
488 Assembler::GetFrameCompletionPos(headerSize, tailSize, entryDuration); in IsEntryFrameHeaderOrTail()
490 … bool inAsmInterpreterEntry = InHeaderOrTail(pc, entryBegin, entryDuration, headerSize, tailSize); in IsEntryFrameHeaderOrTail()
492 …bool inGeneratorReEnterAsmInterp = InHeaderOrTail(pc, entryBegin, entryDuration, headerSize, tailS… in IsEntryFrameHeaderOrTail()
Dcpu_profiler.h80 … bool InHeaderOrTail(uint64_t pc, uint64_t entryBegin, uint64_t entryDuration, uint64_t headerSize,
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot.cpp234 uint8_t headerSize = JSTaggedValue::TaggedTypeSize(); in WriteToFile() local
236 writer.write(reinterpret_cast<char *>(&indexHeader), headerSize); in WriteToFile()
237 writer.write(reinterpret_cast<char *>(str) + headerSize, strSize - headerSize); in WriteToFile()
/arkcompiler/toolchain/websocket/
Dwebsocket.cpp37 const uint32_t headerSize = 11; // 11: the maximum expandable length in SendReply() local
38 std::unique_ptr<char []> msgBuf = std::make_unique<char []>(msgLen + headerSize); in SendReply()