| /arkcompiler/ets_runtime/test/moduletest/container/ |
| D | container_buffer.js | 70 let buf = new FastBuffer([1, 2, 3, 4, 5, 6, 7]); variable 83 let buf = new FastBuffer(10); variable 95 let buf = new FastBuffer(10); variable 137 let buf = new FastBuffer('this buffer is a buffer'); variable 193 let buf = new FastBuffer('this buffer is a buffer'); variable 198 let buf = new FastBuffer(8); variable 271 let buf = new FastBuffer(20); variable 275 let buf = new FastBuffer(20); variable 287 let buf = new FastBuffer(20); variable 298 let buf = new FastBuffer(20); variable [all …]
|
| /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 | 98 RegExpOpCode *RegExpOpCode::GetRegExpOpCode(const DynChunk &buf, int pc) in GetRegExpOpCode() 113 void RegExpOpCode::DumpRegExpOpCode(std::ostream &out, const DynChunk &buf, uint32_t size) in DumpRegExpOpCode() 123 uint32_t SaveStartOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode() 131 uint32_t SaveStartOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument 138 uint32_t SaveEndOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode() 146 uint32_t SaveEndOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument 153 uint32_t CharOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode() 161 uint32_t CharOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument 168 uint32_t Char32OpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode() 175 uint32_t Char32OpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode() argument [all …]
|
| /arkcompiler/runtime_core/common_interfaces/objects/string/ |
| D | base_string_impl.h | 50 std::vector<uint8_t> buf; in ComputeRawHashcode() local 60 std::vector<uint16_t> buf; in ComputeRawHashcode() local 136 std::vector<uint16_t> buf; in EqualToSplicedString() local 143 std::vector<uint8_t> buf; in EqualToSplicedString() local 161 std::vector<uint16_t> buf; in ToU16String() local 165 std::vector<uint8_t> buf; in ToU16String() local 180 std::vector<uint8_t> buf; in WriteData() local 188 std::vector<uint8_t> buf; in WriteData() local 196 std::vector<uint16_t> buf; in WriteData() local 325 std::vector<uint8_t> buf; in StringIsEqualUint8Data() local [all …]
|
| D | base_string-inl2.h | 146 … uint16_t *BaseString::GetUtf16DataFlat(ReadBarrier &&readBarrier, const BaseString *src, Vec &buf) in GetUtf16DataFlat() 252 void BaseString::WriteToFlat(ReadBarrier &&readBarrier, BaseString *src, Char *buf, uint32_t maxLen… in WriteToFlat() 334 void BaseString::WriteToFlatWithPos(ReadBarrier &&readBarrier, BaseString *src, Char *buf, uint32_t… in WriteToFlatWithPos() 381 size_t BaseString::WriteUtf8(ReadBarrier &&readBarrier, uint8_t *buf, size_t maxLength, bool isWrit… in WriteUtf8() 394 size_t BaseString::WriteUtf16(ReadBarrier &&readBarrier, uint16_t *buf, uint32_t targetLength, in WriteUtf16() 406 size_t BaseString::WriteOneByte(ReadBarrier &&readBarrier, uint8_t *buf, size_t maxLength) const in WriteOneByte() 436 uint32_t BaseString::CopyDataUtf16(ReadBarrier &&readBarrier, uint16_t *buf, uint32_t maxLength) co… in CopyDataUtf16() 459 Span<const uint8_t> BaseString::ToUtf8Span(ReadBarrier &&readBarrier, Vec &buf, bool modify, bool c… in ToUtf8Span() 482 Span<const uint8_t> BaseString::DebuggerToUtf8Span(ReadBarrier &&readBarrier, Vec &buf, bool modify) in DebuggerToUtf8Span() 514 …st uint8_t *BaseString::GetUtf8DataFlat(ReadBarrier &&readBarrier, const BaseString *src, Vec &buf) in GetUtf8DataFlat() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/ |
| D | array_native_test_2.cpp | 28 ets_boolean buf[10U] = {0}; in TEST_F() local 63 ets_byte buf[10U] = {0}; in TEST_F() local 98 ets_char buf[10U] = {0}; in TEST_F() local 133 ets_short buf[10U] = {0}; in TEST_F() local 168 ets_int buf[10U] = {0}; in TEST_F() local 203 ets_long buf[10U] = {0}; in TEST_F() local 238 ets_float buf[10U] = {0}; in TEST_F() local 273 ets_double buf[10U] = {0}; in TEST_F() local 308 ets_boolean buf[10U] = {0}; in TEST_F() local 326 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() 51 bool Recv(int32_t client, uint8_t* buf, size_t totalLen, int32_t flags) in Recv() 61 bool Send(int32_t client, const char* buf, size_t totalLen, int32_t flags) in Send() 75 uint64_t NetToHostLongLong(uint8_t* buf, uint32_t len) in NetToHostLongLong()
|
| /arkcompiler/ets_runtime/ecmascript/containers/tests/ |
| D | containers_buffer_test.cpp | 137 JSHandle<JSAPIFastBuffer> buf = CreateJSAPIBuffer(10); in HWTEST_F_L0() local 164 JSHandle<JSAPIFastBuffer> buf = CreateJSAPIBuffer(10); in HWTEST_F_L0() local 191 JSHandle<JSAPIFastBuffer> buf = CreateJSAPIBuffer(10); in HWTEST_F_L0() local 218 JSHandle<JSAPIFastBuffer> buf = CreateJSAPIBuffer(10); in HWTEST_F_L0() local 245 JSHandle<JSAPIFastBuffer> buf = CreateJSAPIBuffer(10); in HWTEST_F_L0() local 283 JSHandle<JSAPIFastBuffer> buf = CreateJSAPIBuffer(10); in HWTEST_F_L0() local 321 JSHandle<JSAPIFastBuffer> buf = CreateJSAPIBuffer(10); in HWTEST_F_L0() local 362 JSHandle<JSAPIFastBuffer> buf = CreateJSAPIBuffer(10); in HWTEST_F_L0() local 403 JSHandle<JSAPIFastBuffer> buf = CreateJSAPIBuffer(10); in HWTEST_F_L0() local 444 JSHandle<JSAPIFastBuffer> buf = CreateJSAPIBuffer(10); in HWTEST_F_L0() local [all …]
|
| /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()
|
| D | pipe.cpp | 32 Expected<size_t, Error> ReadFromPipe(const UniqueFd &pipeFd, void *buf, size_t size) in ReadFromPipe() 38 Expected<size_t, Error> WriteToPipe(const UniqueFd &pipeFd, const void *buf, size_t size) in WriteToPipe()
|
| /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/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 | 59 Expected<size_t, Error> ReadFromPipe(const UniqueFd &pipeFd, void *buf, size_t size) in ReadFromPipe() 68 Expected<size_t, Error> WriteToPipe(const UniqueFd &pipeFd, const void *buf, size_t size) in WriteToPipe()
|
| D | property.cpp | 27 char buf[PROP_VALUE_MAX] = {}; in GetPropertyBuffer() local
|
| D | error.cpp | 41 std::array<char, BUFSIZE> buf {}; in ToString() local
|
| /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 | 39 std::array<char, BUFSIZE> buf {}; in ToString() local
|
| D | property.cpp | 27 char buf[PROP_VALUE_MAX] = {}; in GetPropertyBuffer() local
|
| /arkcompiler/runtime_core/static_core/runtime/include/coretypes/ |
| D | string.h | 157 size_t CopyDataRegionUtf8(uint8_t *buf, size_t start, size_t length, size_t maxLength) in CopyDataRegionUtf8() 181 inline size_t CopyDataMUtf8(uint8_t *buf, size_t maxLength, bool isCString) in CopyDataMUtf8() 193 size_t CopyDataRegionMUtf8(uint8_t *buf, size_t start, size_t length, size_t maxLength) in CopyDataRegionMUtf8() 216 inline uint32_t CopyDataUtf16(uint16_t *buf, uint32_t maxLength) in CopyDataUtf16() 221 uint32_t CopyDataRegionUtf16(uint16_t *buf, uint32_t start, uint32_t length, uint32_t maxLength) in CopyDataRegionUtf16()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_string-inl.h | 346 void EcmaString::WriteToFlat(const JSThread *thread, EcmaString *src, Char *buf, uint32_t maxLength) in WriteToFlat() 355 void EcmaString::WriteToFlatWithPos(const JSThread *thread, EcmaString *src, Char *buf, uint32_t le… in WriteToFlatWithPos() 364 inline size_t EcmaString::WriteUtf8(const JSThread *thread, uint8_t *buf, size_t maxLength, bool is… in WriteUtf8() 373 inline size_t EcmaString::WriteUtf16(const JSThread *thread, uint16_t *buf, uint32_t targetLength, in WriteUtf16() 382 inline size_t EcmaString::WriteOneByte(const JSThread *thread, uint8_t *buf, size_t maxLength) const in WriteOneByte() 390 inline uint32_t EcmaString::CopyDataUtf16(const JSThread *thread, uint16_t *buf, uint32_t maxLength… in CopyDataUtf16() 398 inline Span<const uint8_t> EcmaString::ToUtf8Span(const JSThread *thread, CVector<uint8_t> &buf, bo… in ToUtf8Span() 407 …t uint8_t> EcmaString::DebuggerToUtf8Span(const JSThread *thread, CVector<uint8_t> &buf, bool modi… in DebuggerToUtf8Span()
|
| /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/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/taihe/runtime/src/ |
| D | string.cpp | 47 char *buf = tstr_initialize(&tstr, len + 1); in tstr_new() local 91 char *buf = tstr_initialize(&tstr, len + 1); in tstr_concat() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/ |
| D | mpl_logging.cpp | 42 char buf[kMaxLogLen]; in EmitLogForUser() local 72 char buf[kMaxLogLen]; in EmitErrorMessage() local
|