/arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/ |
D | regexp_opcode.cpp | 92 RegExpOpCode *RegExpOpCode::GetRegExpOpCode(const DynChunk &buf, int pc) in GetRegExpOpCode() 107 void RegExpOpCode::DumpRegExpOpCode(std::ostream &out, const DynChunk &buf) in DumpRegExpOpCode() 117 uint32_t SaveStartOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode() 125 uint32_t SaveStartOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument 132 uint32_t SaveEndOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode() 140 uint32_t SaveEndOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument 147 uint32_t CharOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode() 155 uint32_t CharOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument 162 uint32_t Char32OpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode() 169 uint32_t Char32OpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument [all …]
|
/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 …]
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/ |
D | array_native_test_2.cpp | 31 ets_boolean buf[10U] = {0}; in TEST_F() local 66 ets_byte buf[10U] = {0}; in TEST_F() local 101 ets_char buf[10U] = {0}; in TEST_F() local 136 ets_short buf[10U] = {0}; in TEST_F() local 171 ets_int buf[10U] = {0}; in TEST_F() local 206 ets_long buf[10U] = {0}; in TEST_F() local 241 ets_float buf[10U] = {0}; in TEST_F() local 276 ets_double buf[10U] = {0}; in TEST_F() local 311 ets_boolean buf[10U] = {0}; in TEST_F() local 329 ets_byte buf[10U] = {0}; in TEST_F() local [all …]
|
D | array_native_test.cpp | 83 ets_boolean *buf = env_->PinBooleanArray(array); in TEST_F() local 122 ets_byte *buf = env_->PinByteArray(array); in TEST_F() local 161 ets_char *buf = env_->PinCharArray(array); in TEST_F() local 200 ets_short *buf = env_->PinShortArray(array); in TEST_F() local 239 ets_int *buf = env_->PinIntArray(array); in TEST_F() local 278 ets_long *buf = env_->PinLongArray(array); in TEST_F() local 317 ets_float *buf = env_->PinFloatArray(array); in TEST_F() local 356 ets_double *buf = env_->PinDoubleArray(array); in TEST_F() local
|
/arkcompiler/toolchain/websocket/ |
D | network.cpp | 33 bool Recv(int32_t client, char* buf, size_t totalLen, int32_t flags) in Recv() 50 bool Recv(int32_t client, uint8_t* buf, size_t totalLen, int32_t flags) in Recv() 60 bool Send(int32_t client, const char* buf, size_t totalLen, int32_t flags) in Send() 74 uint64_t NetToHostLongLong(uint8_t* buf, uint32_t len) in NetToHostLongLong()
|
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/ |
D | file.h | 40 Expected<size_t, Error> Read(void *buf, size_t n) const in Read() 49 bool ReadAll(void *buf, size_t n) const in ReadAll() 59 Expected<size_t, Error> Write(const void *buf, size_t n) const in Write() 68 bool WriteAll(const void *buf, size_t n) const in WriteAll()
|
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/ |
D | file.h | 48 Expected<size_t, Error> Read(void *buf, size_t n) const in Read() 57 bool ReadAll(void *buf, size_t n) const in ReadAll() 67 Expected<size_t, Error> Write(const void *buf, size_t n) const in Write() 76 bool WriteAll(const void *buf, size_t n) const in WriteAll()
|
D | pipe.cpp | 60 Expected<size_t, Error> ReadFromPipe(const UniqueFd &pipeFd, void *buf, size_t size) in ReadFromPipe() 69 Expected<size_t, Error> WriteToPipe(const UniqueFd &pipeFd, const void *buf, size_t size) in WriteToPipe()
|
D | error.cpp | 41 std::array<char, BUFSIZE> buf {}; in ToString() local
|
D | property.cpp | 27 char buf[PROP_VALUE_MAX] = {}; in GetPropertyBuffer() local
|
/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/ets_runtime/ecmascript/ |
D | ecma_string.cpp | 184 CVector<uint8_t> buf; in WriteData() local 193 CVector<uint8_t> buf; in WriteData() local 201 CVector<uint16_t> buf; in WriteData() local 435 CVector<uint16_t> buf; in ToU16String() local 439 CVector<uint8_t> buf; in ToU16String() local 495 CVector<uint16_t> buf; in EqualToSplicedString() local 501 CVector<uint8_t> buf; in EqualToSplicedString() local 636 CVector<uint8_t> buf; in StringIsEqualUint8Data() local 641 CVector<uint16_t> buf; in StringIsEqualUint8Data() local 655 CVector<uint8_t> buf; in StringsAreEqualUtf16() local [all …]
|
D | ecma_string.h | 407 size_t CopyDataToUtf16(uint16_t *buf, uint32_t length, uint32_t bufLength) const in CopyDataToUtf16() 434 inline size_t WriteUtf16(uint16_t *buf, uint32_t targetLength, uint32_t bufLength) const in WriteUtf16() 443 size_t WriteOneByte(uint8_t *buf, size_t maxLength) const in WriteOneByte() 511 inline uint32_t CopyDataUtf16(uint16_t *buf, uint32_t maxLength) const in CopyDataUtf16() 516 …uint32_t CopyDataRegionUtf16(uint16_t *buf, uint32_t start, uint32_t length, uint32_t maxLength) c… in CopyDataRegionUtf16() 544 uint8_t *buf = nullptr; in ToOneByteDataForced() local 1196 Span<const uint8_t> ToUtf8Span(CVector<uint8_t> &buf) in ToUtf8Span() 1231 uint32_t WriteToUtf16(uint16_t *buf, uint32_t bufLength) in WriteToUtf16() 1236 uint32_t WriteToOneByte(uint8_t *buf, uint32_t maxLength) in WriteToOneByte() 1243 uint32_t WriteToFlatUtf16(uint16_t *buf, uint32_t maxLength) const in WriteToFlatUtf16() [all …]
|
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/ |
D | string.h | 134 inline size_t CopyDataMUtf8(uint8_t *buf, size_t maxLength, bool isCString) in CopyDataMUtf8() 146 size_t CopyDataRegionMUtf8(uint8_t *buf, size_t start, size_t length, size_t maxLength) in CopyDataRegionMUtf8() 169 inline uint32_t CopyDataUtf16(uint16_t *buf, uint32_t maxLength) in CopyDataUtf16() 174 uint32_t CopyDataRegionUtf16(uint16_t *buf, uint32_t start, uint32_t length, uint32_t maxLength) in CopyDataRegionUtf16()
|
/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/static_core/dprof/libdprof/dprof/ipc/ |
D | ipc_unix_socket.cpp | 93 bool SendAll(int fd, const void *buf, int len) in SendAll() 136 int RecvTimeout(int fd, void *buf, int len, int timeoutMs) in RecvTimeout()
|
/arkcompiler/runtime_core/static_core/libziparchive/tests/ |
D | libziparchive_tests.cpp | 44 static void GenerateZipfile(const char *data, const char *archivename, int n, char *buf, char *arch… in GenerateZipfile() 155 …FileCheckTxt(const char *archivename, char *filename, const char *data, int n, char *buf, int &ret, in UnzipFileCheckTxt() 393 …ipFileCheckInDirectory(const char *archivename, char *filename, const char *data, int n, char *buf, in UnzipFileCheckInDirectory() 553 char buf[MAX_BUFFER_SIZE]; in TEST() local 633 char buf[MAX_BUFFER_SIZE]; in TEST() local 697 char buf[MAX_BUFFER_SIZE]; in TEST() local
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/ |
D | mpl_logging.cpp | 45 char buf[kMaxLogLen]; in EmitLogForDevelop() local 108 char buf[kMaxLogLen]; in EmitLogForUser() local 138 char buf[kMaxLogLen]; in EmitErrorMessage() local
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
D | ets_string.h | 213 size_t CopyDataMUtf8(void *buf, size_t maxLength, bool isCString) in CopyDataMUtf8() 218 size_t CopyDataRegionMUtf8(void *buf, size_t start, size_t length, size_t maxLength) in CopyDataRegionMUtf8() 223 uint32_t CopyDataUtf16(void *buf, uint32_t maxLength) in CopyDataUtf16() 228 uint32_t CopyDataRegionUtf16(void *buf, uint32_t start, uint32_t length, uint32_t maxLength) in CopyDataRegionUtf16() 233 std::string_view ConvertToStringView(PandaVector<uint8_t> *buf) in ConvertToStringView()
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
D | executed_memory_allocator.h | 33 MemMap buf = MachineCodePageMap(AlignUp(size, PageSize()), prot); in AllocateBuf() local
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
D | std_core_Double.cpp | 40 PandaVector<uint8_t> buf; in StdCoreDoubleToLocaleString() local 70 PandaVector<uint8_t> buf(len); in StdCoreDoubleParseFloat() local 85 PandaVector<uint8_t> buf(len); in StdCoreDoubleParseInt() local
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | number_helper.cpp | 157 std::string buf; in Int32ToString() local 276 …r::GetBaseForRoundingMode(double valueNumber, int digitNumber, int *decimalPoint, std::string& buf, in GetBaseForRoundingMode() 302 …CustomEcvtIsFixed(double &valueNumber, int &digits, int *decimalPoint, std::string& buf, int *sign) in CustomEcvtIsFixed() 324 std::string& buf, bool isFixed, int *sign) in CustomEcvt() 356 int NumberHelper::CustomFcvtHelper(std::string& buf, int bufSize, double valueNumber, int digits, i… in CustomFcvtHelper() 373 void NumberHelper::CustomFcvt(std::string& buf, int bufSize, double valueNumber, int digits) in CustomFcvt() 429 void NumberHelper::DoubleToASCIIWithFlag(std::string& buf, double valueNumber, int digits, int flag… in DoubleToASCIIWithFlag() 465 …:ToASCIIWithGreatThanZero(std::string& tmpbuf, int digitNumber, int number, const std::string& buf) in ToASCIIWithGreatThanZero() 479 …berHelper::ToASCIIWithNegative(std::string& tmpbuf, int digitNumber, int n, const std::string& buf) in ToASCIIWithNegative() 1079 CVector<uint8_t> buf; in StringToBigInt() local [all …]
|