Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 40) 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()
Derror.cpp42 std::array<char, BUFSIZE> buf {}; in ToString() local
Dproperty.cpp27 char buf[PROP_VALUE_MAX] = {}; in GetPropertyBuffer() local
/arkcompiler/toolchain/websocket/
Dwebsocket.cpp157 char buf[msgLen + 1]; in DecodeMessage() local
173 char buf[msgLen + 1]; in DecodeMessage() local
485 uint64_t WebSocket::NetToHostLongLong(char* buf, uint32_t len) in NetToHostLongLong()
497 bool WebSocket::Recv(int32_t client, char* buf, size_t totalLen, int32_t flags) const in Recv()
513 bool WebSocket::Send(int32_t client, const char* buf, size_t totalLen, int32_t flags) const in Send() argument
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Dexecuted_memory_allocator.h31 MemMap buf = MachineCodePageMap(AlignUp(size, PageSize()), PAGE_PROT_EXEC_READWRITE); in AllocateBuf() local
/arkcompiler/ets_runtime/ecmascript/
Decma_string.cpp152 CVector<uint8_t> buf; in WriteData() local
161 CVector<uint8_t> buf; in WriteData() local
169 CVector<uint16_t> buf; in WriteData() local
404 CVector<uint16_t> buf; in ToU16String() local
408 CVector<uint8_t> buf; in ToU16String() local
574 CVector<uint8_t> buf; in StringsAreEqualUtf8() local
579 CVector<uint16_t> buf; in StringsAreEqualUtf8() local
593 CVector<uint8_t> buf; in StringsAreEqualUtf16() local
597 CVector<uint16_t> buf; in StringsAreEqualUtf16() local
621 CVector<uint8_t> buf; in ComputeHashcode() local
[all …]
Decma_string.h274 size_t CopyDataToUtf16(uint16_t *buf, uint32_t length, uint32_t bufLength) const in CopyDataToUtf16()
301 inline size_t WriteUtf16(uint16_t *buf, uint32_t targetLength, uint32_t bufLength) const in WriteUtf16()
310 size_t WriteOneByte(uint8_t *buf, size_t maxLength) const in WriteOneByte()
378 inline uint32_t CopyDataUtf16(uint16_t *buf, uint32_t maxLength) const in CopyDataUtf16()
383 …uint32_t CopyDataRegionUtf16(uint16_t *buf, uint32_t start, uint32_t length, uint32_t maxLength) c… in CopyDataRegionUtf16()
411 uint8_t *buf = nullptr; in ToOneByteDataForced() local
866 Span<const uint8_t> ToUtf8Span(CVector<uint8_t> &buf) in ToUtf8Span()
886 uint32_t WriteToUtf16(uint16_t *buf, uint32_t bufLength) in WriteToUtf16()
891 uint32_t WriteToOneByte(uint8_t *buf, uint32_t maxLength) in WriteToOneByte()
898 uint32_t WriteToFlatUtf16(uint16_t *buf, uint32_t maxLength) const in WriteToFlatUtf16()
[all …]
/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/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/ets_runtime/ecmascript/tests/
Dframe_test.cpp77 char buf[256]; // 256: buf size in HWTEST_F_L0() local
/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/platform/unix/ohos/
Dbacktrace.cpp76 char buf[LOG_BUF_LEN] = {0}; in Backtrace() local
/arkcompiler/ets_runtime/ecmascript/mem/
Dc_string.h77 char buf[BUFF_SIZE]; in ToCString() local
Ddyn_chunk.h142 DynChunk(uint8_t *buf, Chunk *chunk) : buf_(buf), chunk_(chunk) in DynChunk()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackinfo.cpp168 void CrashCallback(char *buf __attribute__((unused)), size_t len __attribute__((unused)), in CrashCallback()
323 [[maybe_unused]] char *buf, [[maybe_unused]] size_t bufSize) in StepArkManagedNativeFrame()
473 int pid, uintptr_t *pc, uintptr_t *fp, uintptr_t *sp, char *buf, size_t buf_sz) in step_ark_managed_native_frame()
482 int pid, uintptr_t *x20, uintptr_t *fp, int outJsInfo, char *buf, size_t buf_sz) in get_ark_js_heap_crash_info()
/arkcompiler/toolchain/inspector/
Dlog_wrapper.cpp61 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/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/libziparchive/
Dzip_archive.cpp145 int ExtractToMemory(ZipArchiveHandle &handle, void *buf, size_t buf_size) in ExtractToMemory()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_number.cpp168 CVector<uint8_t> buf; in ParseFloat() local
199 CVector<uint8_t> buf; in ParseInt() local
/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.cpp707 CVector<uint8_t> buf; in StringToBigInt() local
784 void NumberHelper::GetBase(double d, int digits, int *decpt, char *buf, char *bufTmp, int size) in GetBase()
804 int NumberHelper::GetMinmumDigits(double d, int *decpt, char *buf) in GetMinmumDigits()

12