| /arkcompiler/ets_runtime/ecmascript/regexp/ |
| 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() 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 …]
|
| D | regexp_executor.cpp | 27 …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/ |
| D | file.h | 44 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/ |
| D | file.h | 51 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()
|
| D | property.cpp | 27 char buf[PROP_VALUE_MAX] = {}; in GetPropertyBuffer() local
|
| D | error.cpp | 42 std::array<char, BUFSIZE> buf {}; in ToString() local
|
| /arkcompiler/runtime_core/runtime/include/coretypes/ |
| D | string.h | 133 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/ |
| D | websocket.cpp | 156 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/ |
| D | ipc_unix_socket.cpp | 95 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/ |
| D | libziparchive_tests.cpp | 45 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/ |
| D | ecma_string.h | 163 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()
|
| D | date_parse.cpp | 298 char buf[3] = {0}; in Read() local
|
| /arkcompiler/runtime_core/libpandafile/ |
| D | file_writer.cpp | 67 const auto &buf = GetBuffer(); in FinishWrite() local
|
| D | bytecode_emitter.cpp | 63 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/ |
| D | span_test.cpp | 81 …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/ |
| D | c_string.h | 76 char buf[BUFF_SIZE]; in ToCString() local
|
| D | dyn_chunk.h | 142 DynChunk(uint8_t *buf, Chunk *chunk) : buf_(buf), chunk_(chunk) in DynChunk()
|
| /arkcompiler/toolchain/inspector/ |
| D | log_wrapper.cpp | 59 char buf[MAX_BUFFER_SIZE]; in PrintLog() local
|
| /arkcompiler/runtime_core/libpandabase/os/ |
| D | stacktrace.cpp | 262 …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/ |
| D | panda_string.cpp | 91 PandaVector<uint8_t> buf(len); in ConvertToString() local
|
| /arkcompiler/ets_frontend/es2panda/ir/expressions/ |
| D | objectExpression.cpp | 213 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/ |
| D | irtoc_test.cpp | 76 std::array<uint64_t, 8> buf; in TestLoop() local
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | number_helper.cpp | 702 [[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/ |
| D | builtins_number.cpp | 162 [[maybe_unused]] CVector<uint8_t> buf; in ParseFloat() local 193 [[maybe_unused]] CVector<uint8_t> buf; in ParseInt() local
|
| /arkcompiler/runtime_core/libziparchive/ |
| D | zip_archive.cpp | 145 int ExtractToMemory(ZipArchiveHandle &handle, void *buf, size_t buf_size) in ExtractToMemory()
|