| /developtools/smartperf_host/smartperf_host/trace_streamer/test/unittest/ptreader_parser/ |
| D | ptreader_parser_test.cpp | 56 auto buf = std::make_unique<uint8_t[]>(1); variable 74 auto buf = std::make_unique<uint8_t[]>(bufSize); variable 99 auto buf = std::make_unique<uint8_t[]>(bufSize); variable 124 auto buf = std::make_unique<uint8_t[]>(bufSize); variable 149 auto buf = std::make_unique<uint8_t[]>(bufSize); variable 254 auto buf = std::make_unique<uint8_t[]>(bufSize); variable 285 auto buf = std::make_unique<uint8_t[]>(bufSize); variable
|
| D | event_parser_test.cpp | 188 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 212 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 238 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 263 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 283 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 307 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 331 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 356 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 379 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 404 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable [all …]
|
| /developtools/hiperf/src/ |
| D | perf_file_format.cpp | 98 bool PerfFileSection::Write(const char *buf, const size_t size) in Write() 103 bool PerfFileSection::Write(const char *buf, const size_t size, const size_t max) in Write() 139 char *buf = new(std::nothrow) char[size]; in Read() local 164 bool PerfFileSection::Read(char *buf, const size_t size) in Read() 190 PerfFileSectionString::PerfFileSectionString(const FEATURE id, const char *buf, size_t size) in PerfFileSectionString() 203 bool PerfFileSectionString::GetBinary(char *buf, const size_t size) in GetBinary() 292 PerfFileSectionSymbolsFiles::PerfFileSectionSymbolsFiles(const FEATURE id, const char *buf, const s… in PerfFileSectionSymbolsFiles() 300 bool PerfFileSectionSymbolsFiles::GetBinary(char *buf, const size_t size) in GetBinary() 331 PerfFileSectionUniStackTable::PerfFileSectionUniStackTable(const FEATURE id, const char *buf, const… in PerfFileSectionUniStackTable() 357 bool PerfFileSectionUniStackTable::GetBinary(char *buf, const size_t size) in GetBinary() [all …]
|
| D | spe_decoder.cpp | 57 static int SpeGetPayload(const unsigned char *buf, const size_t len, in SpeGetPayload() 85 static int SpeGetAlignment(const unsigned char *buf, const size_t len, in SpeGetAlignment() 105 static int SpeGetTimestamp(const unsigned char *buf, const size_t len, in SpeGetTimestamp() 113 static int SpeGetEvents(const unsigned char *buf, const size_t len, in SpeGetEvents() 122 static int SpeGetDataSource(const unsigned char *buf, const size_t len, in SpeGetDataSource() 130 static int SpeGetContext(const unsigned char *buf, const size_t len, in SpeGetContext() 139 static int SpeGetOpType(const unsigned char *buf, const size_t len, in SpeGetOpType() 148 static int SpeGetCounter(const unsigned char *buf, const size_t len, in SpeGetCounter() 162 static int SpeGetAddr(const unsigned char *buf, const size_t len, in SpeGetAddr() 176 static int SpeDoGetPacket(const unsigned char *buf, const size_t len, in SpeDoGetPacket() [all …]
|
| D | perf_file_reader.cpp | 155 std::vector<char> buf(header_.attrSize); in ReadAttrSection() local 252 HIPERF_BUF_ALIGN static uint8_t buf[RECORD_SIZE_LIMIT_SPE]; in ReadRecord() local 316 bool PerfFileReader::Read(void *buf, const size_t len) in Read() 336 bool PerfFileReader::Read(char *buf, const uint64_t offset, const size_t len) in Read() 411 std::vector<char> buf(sectionHeader.size); in ReadFeatureSection() local
|
| /developtools/hdc/hdc_rust/src/serializer/ |
| D | serialize.rs | 96 let buf = CString::new(self.buf.as_str()).unwrap(); in serialize() localVariable 106 let buf = unsafe { SerializeSessionHandShake(&pack) }; in serialize() localVariable 120 let buf = SerializedBuffer { in parse() localVariable 150 let buf = unsafe { SerializePayloadProtect(&pack) }; in serialize() localVariable 157 let buf = SerializedBuffer { in parse() localVariable 202 let buf = unsafe { SerializeTransferConfig(&pack) }; in serialize() localVariable 222 let buf = SerializedBuffer { in parse() localVariable 260 let buf = unsafe { SerializeFileMode(&pack) }; in serialize() localVariable 273 let buf = SerializedBuffer { in parse() localVariable 299 let buf = unsafe { SerializeTransferPayload(&pack) }; in serialize() localVariable [all …]
|
| /developtools/hdc/hdc_rust/src/cffi/ |
| D | serial_struct.cpp | 149 extern "C" uint8_t ParseSessionHandShake(RustStruct::SessionHandShake &value, SerializedBuffer buf) in ParseSessionHandShake() 166 extern "C" uint8_t ParsePayloadProtect(RustStruct::PayloadProtect &value, SerializedBuffer buf) in ParsePayloadProtect() 181 extern "C" uint8_t ParseTransferConfig(RustStruct::TransferConfig &value, SerializedBuffer buf) in ParseTransferConfig() 205 extern "C" uint8_t ParseFileMode(RustStruct::FileMode &value, SerializedBuffer buf) in ParseFileMode() 221 extern "C" uint8_t ParseTransferPayload(RustStruct::TransferPayload &value, SerializedBuffer buf) in ParseTransferPayload() 236 extern "C" uint8_t ParsePayloadHead(RustStruct::PayloadHead &value, SerializedBuffer buf) in ParsePayloadHead() 244 extern "C" uint8_t ParseUsbHead(RustStruct::USBHead &value, SerializedBuffer buf) in ParseUsbHead() 252 extern "C" uint8_t ParseUartHead(RustStruct::UartHead &value, SerializedBuffer buf) in ParseUartHead()
|
| /developtools/hdc/src/test/jdwp/ |
| D | HdcJdwpSimulator.cpp | 32 char buf[bufSize] = { 0 }; in FinishWriteCallback() local 39 RetErrCode HdcJdwpSimulator::SendToStream(uv_stream_t *handleStream, const uint8_t *buf, in SendToStream() 84 void HdcJdwpSimulator::alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) in alloc_buffer() 96 void HdcJdwpSimulator::ProcessIncoming(uv_stream_t *client, ssize_t nread, const uv_buf_t *buf) in ProcessIncoming() 120 uint8_t *buf = reply.data(); in ProcessIncoming() local 141 void HdcJdwpSimulator::ReceiveNewFd(uv_stream_t *q, ssize_t nread, const uv_buf_t *buf) in ReceiveNewFd() 186 char buf[bufSize] = { 0 }; in ConnectJdwp() local
|
| /developtools/profiler/device/services/ipc/src/ |
| D | socket_context.cpp | 49 char buf[bufSize] = { 0 }; in ~SocketContext() local 65 char buf[bufSize] = { 0 }; in ~SocketContext() local 73 int SocketContext::RawProtocolProc(uint32_t pnum, const int8_t* buf, const uint32_t size) in RawProtocolProc() 111 std::vector<unsigned char> buf(bufferSize); in UnixSocketRecv() local 240 char buf[1]; in IsConnected() local 257 char buf[CMSG_SPACE(1 * sizeof(int))] = {0}; in SendFileDescriptor() local 283 char buf[CMSG_SPACE(1 * sizeof(int))] = {0}; in ReceiveFileDiscriptor() local
|
| /developtools/profiler/device/plugins/native_hook/test/unittest/ |
| D | check_hook_data_test.cpp | 208 char buf[bufSize] = { 0 }; in ReadFile() local 217 char buf[bufSize] = { 0 }; in ReadFile() local 226 char buf[bufSize] = { 0 }; in ReadFile() local 274 char buf[bufSize] = { 0 }; in ApplyForMalloc() local 366 char buf[bufSize] = { 0 }; in ApplyForCalloc() local 412 char buf[bufSize] = { 0 }; in ApplyForRealloc() local 421 char buf[bufSize] = { 0 }; in ApplyForRealloc() local 746 std::string buf; variable 801 std::string buf; variable 863 std::string buf; variable [all …]
|
| /developtools/profiler/hiebpf/src/ |
| D | ipc_unix_socket.cpp | 81 bool IpcUnixSocketServer::SendMessage(const void *buf, size_t size) in SendMessage() 112 uint8_t buf[UNIX_SOCKET_BUFFER_SIZE] = {0}; in HandleThreadLoop() local 164 bool IpcUnixSocketClient::SendMessage(const void *buf, size_t size) in SendMessage() 175 bool IpcUnixSocketClient::RecvMessage(void *buf, size_t &size, uint32_t timeout) in RecvMessage()
|
| /developtools/hdc/src/daemon/ |
| D | shell.cpp | 202 char buf[bufSize] = { 0 }; in ThreadFork() local 229 char buf[bufSize] = { 0 }; in ShellFork() local 258 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local 265 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local 273 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local 292 bool HdcShell::ChildReadCallback(const void *context, uint8_t *buf, const int size) in ChildReadCallback()
|
| /developtools/hdc/src/common/ |
| D | debug.cpp | 20 int WriteHexToDebugFile(const char *fileName, const uint8_t *buf, const int bufLen) in WriteHexToDebugFile() 48 int ReadHexFromDebugFile(const char *fileName, uint8_t *buf, const int bufLen) in ReadHexFromDebugFile() 92 int PrintfHexBuf(const uint8_t *buf, int bufLen) in PrintfHexBuf()
|
| D | tcp.cpp | 56 void HdcTCPBase::AllocStreamUDP(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf) in AllocStreamUDP() 72 void HdcTCPBase::ReadStream(uv_stream_t *tcp, ssize_t nread, const uv_buf_t *buf) in ReadStream() 113 bool HdcTCPBase::WriteUvSslFd(uv_tcp_t *tcp, uint8_t *buf, int size, int &cnt) in WriteUvSslFd() 145 int HdcTCPBase::WriteUvTcpFd(uv_tcp_t *tcp, uint8_t *buf, int size) in WriteUvTcpFd()
|
| D | file_descriptor.cpp | 79 uint8_t *buf = ctxIO->bufIO; in FileIOOnThread() local 211 auto buf = new(std::nothrow) uint8_t[readMax](); in LoopReadOnThread() local 249 auto buf = new(std::nothrow) uint8_t[size]; in Write() local 333 uint8_t *buf = cfio->bufIO; in CtxFileIOWrite() local
|
| /developtools/profiler/hiebpf/test/unittest/ |
| D | ipc_unix_socket_test.cpp | 66 std::string buf; variable 74 server.SetHandleCallback([&](const void *buf, size_t size) { in __anon46ae413e0102() 100 std::string buf; variable
|
| /developtools/smartperf_host/smartperf_host/trace_streamer/test/unittest/pbreader/ |
| D | parser_pbreader_test.cpp | 57 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(readSize); variable 100 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(readSize); variable 142 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(readSize); variable 185 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(readSize); variable
|
| /developtools/profiler/device/plugins/api/test/unittest/ |
| D | buffer_write_test.cpp | 45 char buf[bufSize] = { 0 }; in InitShareMemory1() local 55 char buf[bufSize] = { 0 }; in InitShareMemory1() local 82 char buf[bufSize] = { 0 }; in InitShareMemory2() local 92 char buf[bufSize] = { 0 }; in InitShareMemory2() local
|
| /developtools/profiler/proto_encoder/include/ |
| D | varint_encode.h | 78 inline uint32_t EncodeVarint(uint8_t* buf, T v) in EncodeVarint() 96 inline uint32_t EncodeZigZagVarint(uint8_t* buf, T v) in EncodeZigZagVarint() 102 inline void EncodeVarintPadding(uint8_t* buf, T v, uint32_t paddingSize) in EncodeVarintPadding()
|
| /developtools/hdc/test/unittest/common/ |
| D | forward_ut.cpp | 123 uv_buf_t buf; variable 140 uv_buf_t buf; variable 157 uv_buf_t buf; variable 174 uv_buf_t buf; variable
|
| /developtools/smartperf_host/smartperf_host/ide/src/hdc/message/ |
| D | SessionHandShake.ts | 75 get buf(): string { method in SessionHandShake 79 set buf(value: string) { method in SessionHandShake
|
| /developtools/profiler/protos/types/plugins/ftrace_data/default/ |
| D | i2c.proto | 37 uint32 buf = 6; field 54 uint32 buf = 6; field
|
| /developtools/smartperf_host/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/ |
| D | i2c.proto | 37 uint32 buf = 6; field 54 uint32 buf = 6; field
|
| /developtools/profiler/protos/types/plugins/ftrace_data/6.6.30/ |
| D | i2c.proto | 37 uint32 buf = 6; field 54 uint32 buf = 6; field
|
| /developtools/smartperf_host/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/ |
| D | i2c.proto | 37 uint32 buf = 6; field 54 uint32 buf = 6; field
|