Searched refs:DynChunk (Results 1 – 9 of 9) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/regexp/ |
D | regexp_opcode.h | 74 static RegExpOpCode *GetRegExpOpCode(const DynChunk &buf, int pcOffset); 76 static void DumpRegExpOpCode(std::ostream &out, const DynChunk &buf); 85 inline int GetDynChunkfSize(const DynChunk &buf) const in GetDynChunkfSize() 89 virtual uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const = 0; 99 uint32_t EmitOpCode(DynChunk *buf, uint32_t para) const; 103 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override; 109 uint32_t EmitOpCode(DynChunk *buf, uint32_t para) const; 113 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override; 119 uint32_t EmitOpCode(DynChunk *buf, uint32_t para) const; 123 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override; [all …]
|
D | regexp_opcode.cpp | 96 RegExpOpCode *RegExpOpCode::GetRegExpOpCode(const DynChunk &buf, int pc) in GetRegExpOpCode() 111 void RegExpOpCode::DumpRegExpOpCode(std::ostream &out, const DynChunk &buf) in DumpRegExpOpCode() 121 uint32_t SaveStartOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode() 129 uint32_t SaveStartOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() 136 uint32_t SaveEndOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode() 144 uint32_t SaveEndOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() 151 uint32_t CharOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode() 159 uint32_t CharOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() 166 uint32_t Char32OpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode() 173 uint32_t Char32OpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() [all …]
|
D | regexp_executor.h | 64 bool ExecuteInternal(const DynChunk &byteCode, uint32_t pcEnd); 94 inline bool HandleOpChar(const DynChunk &byteCode, uint8_t opCode) in HandleOpChar() 168 inline void HandleOpSaveStart(const DynChunk &byteCode, uint8_t opCode) in HandleOpSaveStart() 178 inline void HandleOpSaveEnd(const DynChunk &byteCode, uint8_t opCode) in HandleOpSaveEnd() 188 inline void HandleOpSaveReset(const DynChunk &byteCode, uint8_t opCode) in HandleOpSaveReset() 201 inline void HandleOpMatch(const DynChunk &byteCode, uint8_t opCode) in HandleOpMatch() 211 inline void HandleOpSplitFirst(const DynChunk &byteCode, uint8_t opCode) in HandleOpSplitFirst() 232 inline void HandleOpLoop(const DynChunk &byteCode, uint8_t opCode) in HandleOpLoop() 259 inline bool HandleOpRange32(const DynChunk &byteCode) in HandleOpRange32() 305 inline bool HandleOpRange(const DynChunk &byteCode) in HandleOpRange() [all …]
|
D | regexp_parser.h | 101 void ParseNonemptyClassRangesNoDash(DynChunk *buffer); 265 DynChunk buffer_; 266 DynChunk groupNames_;
|
D | regexp_executor.cpp | 29 DynChunk buffer(buf, chunk_); in Execute() 101 bool RegExpExecutor::ExecuteInternal(const DynChunk &byteCode, uint32_t pcEnd) in ExecuteInternal()
|
/arkcompiler/ets_runtime/ecmascript/regexp/tests/ |
D | dyn_chunk_test.cpp | 56 DynChunk dynChunk = DynChunk(chunk_); in HWTEST_F_L0() 61 ASSERT_EQ(dynChunk.GetAllocatedSize(), DynChunk::ALLOCATE_MIN_SIZE); in HWTEST_F_L0() 74 DynChunk dynChunk = DynChunk(chunk_); in HWTEST_F_L0() 78 ASSERT_EQ(dynChunk.GetAllocatedSize(), DynChunk::ALLOCATE_MIN_SIZE); in HWTEST_F_L0() 88 DynChunk dynChunk = DynChunk(chunk_); in HWTEST_F_L0() 91 ASSERT_EQ(dynChunk.GetAllocatedSize(), DynChunk::ALLOCATE_MIN_SIZE); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | dyn_chunk.h | 25 class PUBLIC_API DynChunk { 30 explicit DynChunk(Chunk *chunk) : chunk_(chunk) in DynChunk() function 35 ~DynChunk() = default; 37 NO_COPY_SEMANTIC(DynChunk); 38 NO_MOVE_SEMANTIC(DynChunk); 125 return MEMBER_OFFSET(DynChunk, buf_); in GetBufferOffset() 142 DynChunk(uint8_t *buf, Chunk *chunk) : buf_(buf), chunk_(chunk) in DynChunk() function
|
D | dyn_chunk.cpp | 21 int DynChunk::Expand(size_t newSize) in Expand() 54 int DynChunk::Insert(uint32_t position, size_t len) in Insert() 71 int DynChunk::Emit(const uint8_t *data, size_t length) in Emit() 87 int DynChunk::EmitChar(uint8_t c) in EmitChar() 92 int DynChunk::EmitSelf(size_t offset, size_t length) in EmitSelf() 110 int DynChunk::EmitStr(const char *str) in EmitStr()
|
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/ |
D | assembler.h | 271 DynChunk buffer_;
|