Home
last modified time | relevance | path

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

1234

/arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/
Dregexp_opcode.cpp92 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/
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 …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/
Darray_native_test_2.cpp31 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 …]
Darray_native_test.cpp83 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/
Dnetwork.cpp33 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/
Dfile.h40 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/
Dfile.h48 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()
Dpipe.cpp60 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()
Derror.cpp41 std::array<char, BUFSIZE> buf {}; in ToString() local
Dproperty.cpp27 char buf[PROP_VALUE_MAX] = {}; in GetPropertyBuffer() local
/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/ets_runtime/ecmascript/
Decma_string.cpp184 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 …]
Decma_string.h407 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/
Dstring.h134 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/
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/static_core/dprof/libdprof/dprof/ipc/
Dipc_unix_socket.cpp93 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/
Dlibziparchive_tests.cpp44 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/
Dmpl_logging.cpp45 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/
Dets_string.h213 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/
Dexecuted_memory_allocator.h33 MemMap buf = MachineCodePageMap(AlignUp(size, PageSize()), prot); in AllocateBuf() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core_Double.cpp40 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/
Dnumber_helper.cpp157 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 …]

1234