Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 44) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_opcode.cpp96 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() argument
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() argument
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() argument
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() argument
[all …]
Dregexp_executor.cpp27 …r::Execute(const uint8_t *input, uint32_t lastIndex, uint32_t length, uint8_t *buf, bool isWideCha… in Execute()
/arkcompiler/runtime_core/platforms/windows/libpandabase/
Dfile.h44 Expected<size_t, Error> Read(void *buf, size_t n) const in Read()
53 bool ReadAll(void *buf, size_t n) const in ReadAll()
63 Expected<size_t, Error> Write(const void *buf, size_t n) const in Write()
72 bool WriteAll(const void *buf, size_t n) const in WriteAll()
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dfile.h51 Expected<size_t, Error> Read(void *buf, size_t n) const in Read()
60 bool ReadAll(void *buf, size_t n) const in ReadAll()
70 Expected<size_t, Error> Write(const void *buf, size_t n) const in Write()
79 bool WriteAll(const void *buf, size_t n) const in WriteAll()
Dproperty.cpp27 char buf[PROP_VALUE_MAX] = {}; in GetPropertyBuffer() local
Derror.cpp42 std::array<char, BUFSIZE> buf {}; in ToString() local
/arkcompiler/runtime_core/runtime/include/coretypes/
Dstring.h133 inline size_t CopyDataMUtf8(uint8_t *buf, size_t max_length, bool is_c_string) in CopyDataMUtf8()
145 size_t CopyDataRegionMUtf8(uint8_t *buf, size_t start, size_t length, size_t max_length) in CopyDataRegionMUtf8()
168 inline uint32_t CopyDataUtf16(uint16_t *buf, uint32_t max_length) in CopyDataUtf16()
173 … uint32_t CopyDataRegionUtf16(uint16_t *buf, uint32_t start, uint32_t length, uint32_t max_length) in CopyDataRegionUtf16()
/arkcompiler/toolchain/websocket/
Dwebsocket.cpp156 char buf[msgLen + 1]; in DecodeMessage() local
172 char buf[msgLen + 1]; in DecodeMessage() local
469 uint64_t WebSocket::NetToHostLongLong(char* buf, uint32_t len) in NetToHostLongLong()
481 bool WebSocket::Recv(int32_t client, char* buf, size_t totalLen, int32_t flags) const in Recv()
496 bool WebSocket::Send(int32_t client, const char* buf, size_t totalLen, int32_t flags) const in Send() argument
/arkcompiler/runtime_core/dprof/libdprof/dprof/ipc/
Dipc_unix_socket.cpp95 bool SendAll(int fd, const void *buf, int len) in SendAll()
139 int RecvTimeout(int fd, void *buf, int len, int timeoutMs) in RecvTimeout()
/arkcompiler/runtime_core/libziparchive/tests/
Dlibziparchive_tests.cpp45 static void GenerateZipfile(const char *data, const char *archivename, int N, char *buf, char *arch… in GenerateZipfile()
141 …FileCheckTxt(const char *archivename, char *filename, const char *data, int N, char *buf, int &ret, in UnzipFileCheckTxt()
373 …ipFileCheckInDirectory(const char *archivename, char *filename, const char *data, int N, char *buf, in UnzipFileCheckInDirectory()
525 char buf[MAX_BUFFER_SIZE]; variable
602 char buf[MAX_BUFFER_SIZE]; variable
657 char buf[MAX_BUFFER_SIZE]; variable
/arkcompiler/ets_runtime/ecmascript/
Decma_string.h163 inline size_t WriteUtf8(uint8_t *buf, size_t maxLength) const in WriteUtf8()
205 inline uint32_t CopyDataUtf16(uint16_t *buf, uint32_t maxLength) const in CopyDataUtf16()
210 …uint32_t CopyDataRegionUtf16(uint16_t *buf, uint32_t start, uint32_t length, uint32_t maxLength) c… in CopyDataRegionUtf16()
235 uint8_t *buf = nullptr; in ToOneByteDataForced() local
564 Span<const uint8_t> ToUtf8Span([[maybe_unused]] CVector<uint8_t> &buf) in ToUtf8Span()
573 uint32_t WriteToFlatUtf8(uint8_t *buf, uint32_t maxLength) in WriteToFlatUtf8()
578 uint32_t WriteToFlatUtf16(uint16_t *buf, uint32_t maxLength) const in WriteToFlatUtf16()
Ddate_parse.cpp298 char buf[3] = {0}; in Read() local
/arkcompiler/runtime_core/libpandafile/
Dfile_writer.cpp67 const auto &buf = GetBuffer(); in FinishWrite() local
Dbytecode_emitter.cpp63 static inline void EmitImpl([[maybe_unused]] Span<uint8_t> buf, [[maybe_unused]] Span<const uint8_t… in EmitImpl()
66 static void EmitImpl(Span<uint8_t> buf, Span<const uint8_t> offsets, Type arg, Types... args) in EmitImpl()
/arkcompiler/runtime_core/libpandabase/tests/
Dspan_test.cpp81 …uint8_t buf[] = {1, 1, 1, 1, 1, 0, 0, 0, 2, 0, 0, 0, 0x78, 0x56, 0x34, 0x12, 0xfe, 0xff, 0xff, 0xf… in TEST() local
99 uint32_t buf[] = {0x01020304, 0x05060708, 0x090a0b0c}; in TEST() local
/arkcompiler/ets_runtime/ecmascript/mem/
Dc_string.h76 char buf[BUFF_SIZE]; in ToCString() local
Ddyn_chunk.h142 DynChunk(uint8_t *buf, Chunk *chunk) : buf_(buf), chunk_(chunk) in DynChunk()
/arkcompiler/toolchain/inspector/
Dlog_wrapper.cpp59 char buf[MAX_BUFFER_SIZE]; in PrintLog() local
/arkcompiler/runtime_core/libpandabase/os/
Dstacktrace.cpp262 …Buf(uintptr_t *buf, size_t skip, size_t capacity) : buf_(buf), skip_(skip), size_(0), capacity_(ca… in Buf()
291 Buf *buf = reinterpret_cast<Buf *>(arg); in FrameHandler() local
304 std::vector<uintptr_t> buf; in GetStacktrace() local
/arkcompiler/runtime_core/runtime/mem/
Dpanda_string.cpp91 PandaVector<uint8_t> buf(len); in ConvertToString() local
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DobjectExpression.cpp213 void ObjectExpression::FillInLiteralBuffer(compiler::LiteralBuffer *buf, in FillInLiteralBuffer()
228 … ObjectExpression::EmitCreateObjectWithBuffer(compiler::PandaGen *pg, compiler::LiteralBuffer *buf, in EmitCreateObjectWithBuffer()
277 auto *buf = pg->NewLiteralBuffer(); in CompileStaticProperties() local
/arkcompiler/runtime_core/runtime/tests/
Dirtoc_test.cpp76 std::array<uint64_t, 8> buf; in TestLoop() local
/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.cpp702 [[maybe_unused]] CVector<uint8_t> buf; in StringToBigInt() local
776 void NumberHelper::GetBase(double d, int digits, int *decpt, char *buf, char *bufTmp, int size) in GetBase()
796 int NumberHelper::GetMinmumDigits(double d, int *decpt, char *buf) in GetMinmumDigits()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_number.cpp162 [[maybe_unused]] CVector<uint8_t> buf; in ParseFloat() local
193 [[maybe_unused]] CVector<uint8_t> buf; in ParseInt() local
/arkcompiler/runtime_core/libziparchive/
Dzip_archive.cpp145 int ExtractToMemory(ZipArchiveHandle &handle, void *buf, size_t buf_size) in ExtractToMemory()

12