/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 | error.cpp | 42 std::array<char, BUFSIZE> buf {}; in ToString() local
|
D | property.cpp | 27 char buf[PROP_VALUE_MAX] = {}; in GetPropertyBuffer() local
|
/arkcompiler/toolchain/websocket/ |
D | websocket.cpp | 157 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/ |
D | executed_memory_allocator.h | 31 MemMap buf = MachineCodePageMap(AlignUp(size, PageSize()), PAGE_PROT_EXEC_READWRITE); in AllocateBuf() local
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_string.cpp | 152 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 …]
|
D | ecma_string.h | 274 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/ |
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/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/ets_runtime/ecmascript/tests/ |
D | frame_test.cpp | 77 char buf[256]; // 256: buf size in HWTEST_F_L0() local
|
/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/platform/unix/ohos/ |
D | backtrace.cpp | 76 char buf[LOG_BUF_LEN] = {0}; in Backtrace() local
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | c_string.h | 77 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/ets_runtime/ecmascript/dfx/stackinfo/ |
D | js_stackinfo.cpp | 168 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/ |
D | log_wrapper.cpp | 61 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/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/libziparchive/ |
D | zip_archive.cpp | 145 int ExtractToMemory(ZipArchiveHandle &handle, void *buf, size_t buf_size) in ExtractToMemory()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_number.cpp | 168 CVector<uint8_t> buf; in ParseFloat() local 199 CVector<uint8_t> buf; in ParseInt() local
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | number_helper.cpp | 707 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()
|