| /developtools/hiperf/src/ |
| D | perf_file_format.cpp | 76 bool PerfFileSection::Write(const char *buf, size_t size) in Write() 81 bool PerfFileSection::Write(const char *buf, size_t size, size_t max) in Write() 124 char buf[size]; in Read() local 140 bool PerfFileSection::Read(char *buf, size_t size) in Read() 166 PerfFileSectionString::PerfFileSectionString(FEATURE id, const char *buf, size_t size) in PerfFileSectionString() 181 bool PerfFileSectionString::GetBinary(char *buf, size_t size) in GetBinary() 272 PerfFileSectionSymbolsFiles::PerfFileSectionSymbolsFiles(FEATURE id, const char *buf, size_t size) in PerfFileSectionSymbolsFiles() 280 bool PerfFileSectionSymbolsFiles::GetBinary(char *buf, size_t size) in GetBinary() 313 PerfFileSectionUniStackTable::PerfFileSectionUniStackTable(FEATURE id, const char *buf, size_t size) in PerfFileSectionUniStackTable() 340 bool PerfFileSectionUniStackTable::GetBinary(char *buf, size_t size) in GetBinary() [all …]
|
| D | perf_file_reader.cpp | 156 std::vector<char> buf(header_.attrSize); in ReadAttrSection() local 260 HIPERF_BUF_ALIGN uint8_t buf[RECORD_SIZE_LIMIT]; in ReadRecord() local 317 bool PerfFileReader::Read(void *buf, size_t len) in Read() 337 bool PerfFileReader::Read(char *buf, uint64_t offset, size_t len) in Read() 419 std::vector<char> buf(sectionHeader.size); in ReadFeatureSection() local
|
| D | perf_file_writer.cpp | 133 static std::vector<u8> buf(RECORD_SIZE_LIMIT); in WriteRecord() local 165 HIPERF_BUF_ALIGN uint8_t buf[RECORD_SIZE_LIMIT]; in ReadRecords() local 203 bool PerfFileWriter::Read(void *buf, size_t len) in Read() 237 bool PerfFileWriter::Write(const void *buf, size_t len) in Write() 386 std::vector<char> buf(featureSection->header.size); in WriteFeatureData() local
|
| /developtools/smartperf_host/trace_streamer/test/unittest/systrace/ |
| D | bytrace_parser_test.cpp | 55 auto buf = std::make_unique<uint8_t[]>(1); variable 73 auto buf = std::make_unique<uint8_t[]>(bufSize); variable 98 auto buf = std::make_unique<uint8_t[]>(bufSize); variable 123 auto buf = std::make_unique<uint8_t[]>(bufSize); variable 148 auto buf = std::make_unique<uint8_t[]>(bufSize); variable 253 auto buf = std::make_unique<uint8_t[]>(bufSize); variable 284 auto buf = std::make_unique<uint8_t[]>(bufSize); variable
|
| D | event_parser_test.cpp | 193 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 217 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 243 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 268 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 288 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 312 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 336 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 361 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 384 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 409 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable [all …]
|
| /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/profiler/device/services/ipc/src/ |
| D | socket_context.cpp | 49 char buf[bufSize] = { 0 }; in ~SocketContext() local 56 char buf[bufSize] = { 0 }; in ~SocketContext() local 68 int SocketContext::RawProtocolProc(uint32_t pnum, const int8_t* buf, const uint32_t size) in RawProtocolProc() 102 std::vector<unsigned char> buf(bufferSize); in UnixSocketRecv() local 224 char buf[1]; in IsConnected() local 241 char buf[CMSG_SPACE(1 * sizeof(int))] = {0}; in SendFileDescriptor() local 267 char buf[CMSG_SPACE(1 * sizeof(int))] = {0}; in ReceiveFileDiscriptor() local
|
| /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() 242 extern "C" uint8_t ParseUsbHead(RustStruct::USBHead &value, SerializedBuffer buf) in ParseUsbHead() 248 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/hiebpf/src/ |
| D | ipc_unix_socket.cpp | 82 bool IpcUnixSocketServer::SendMessage(const void *buf, size_t size) in SendMessage() 113 uint8_t buf[UNIX_SOCKET_BUFFER_SIZE] = {0}; in handleThreadLoop() local 165 bool IpcUnixSocketClient::SendMessage(const void *buf, size_t size) in SendMessage() 176 bool IpcUnixSocketClient::RecvMessage(void *buf, size_t &size, uint32_t timeout) in RecvMessage()
|
| /developtools/profiler/device/plugins/native_hook/test/unittest/ |
| D | check_hook_data_test.cpp | 160 char buf[bufSize] = { 0 }; in ReadFile() local 169 char buf[bufSize] = { 0 }; in ReadFile() local 178 char buf[bufSize] = { 0 }; in ReadFile() local 226 char buf[bufSize] = { 0 }; in ApplyForMalloc() local 314 char buf[bufSize] = { 0 }; in ApplyForCalloc() local 360 char buf[bufSize] = { 0 }; in ApplyForRealloc() local 369 char buf[bufSize] = { 0 }; in ApplyForRealloc() local 663 std::string buf; variable 720 std::string buf; variable 769 std::string buf; variable [all …]
|
| /developtools/hdc/src/daemon/ |
| D | shell.cpp | 195 char buf[bufSize] = { 0 }; in ThreadFork() local 220 char buf[bufSize] = { 0 }; in ShellFork() local 249 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local 256 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local 264 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local 283 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 | file_descriptor.cpp | 71 uint8_t *buf = ctxIO->bufIO; in FileIOOnThread() local 196 auto buf = new(std::nothrow) uint8_t[readMax](); in LoopReadOnThread() local 232 auto buf = new(std::nothrow) uint8_t[size]; in Write() local 315 uint8_t *buf = cfio->bufIO; in CtxFileIOWrite() local
|
| D | base.cpp | 156 char buf[bufSize] = { 0 }; in RollLogFile() local 169 char buf[bufSize] = { 0 }; in RollLogFile() local 176 char buf[bufSize] = { 0 }; in RollLogFile() local 202 char buf[BUF_SIZE_DEFAULT4] = { 0 }; // only 4k to avoid stack overflow in 32bit or L0 in PrintLogEx() local 320 void AllocBufferCallback(uv_handle_t *handle, size_t sizeSuggested, uv_buf_t *buf) in AllocBufferCallback() 335 char buf[bufSize] = { 0 }; in SendCallback() local 458 int SendToStream(uv_stream_t *handleStream, const uint8_t *buf, const int bufLen) in SendToStream() 480 …int SendToStreamEx(uv_stream_t *handleStream, const uint8_t *buf, const int bufLen, uv_stream_t *h… in SendToStreamEx() 519 int SendToPollFd(int fd, const uint8_t *buf, const int bufLen) in SendToPollFd() 735 int ReadBinFile(const char *pathName, void **buf, const size_t bufLen) in ReadBinFile() [all …]
|
| D | tcp.cpp | 54 void HdcTCPBase::AllocStreamUDP(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf) in AllocStreamUDP() 70 void HdcTCPBase::ReadStream(uv_stream_t *tcp, ssize_t nread, const uv_buf_t *buf) in ReadStream() 103 int HdcTCPBase::WriteUvTcpFd(uv_tcp_t *tcp, uint8_t *buf, int size) in WriteUvTcpFd()
|
| /developtools/smartperf_host/trace_streamer/test/unittest/pbreader/ |
| D | parser_pbreader_test.cpp | 56 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(readSize); variable 99 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(readSize); variable 141 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(readSize); variable 184 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(readSize); variable
|
| /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 __anonc96ee73d0102() 100 std::string buf; 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/device/plugins/hidump_plugin/src/ |
| D | hidump_plugin.cpp | 76 char buf[bufSize] = {0}; in Start() local 121 char buf[BUF_MAX_LEN] = { 0 }; in Loop() local 153 bool HidumpPlugin::ParseHidumpInfo(T& hidumpInfoProto, char *buf) in ParseHidumpInfo() 242 char buf[bufSize] = { 0 }; in CustomPclose() 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/smartperf_host/ide/src/hdc/message/ |
| D | SessionHandShake.ts | 74 get buf(): string { method in SessionHandShake 78 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/trace_streamer/src/protos/types/plugins/ftrace_data/ |
| D | i2c.proto | 37 uint32 buf = 6; field 54 uint32 buf = 6; field
|
| /developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/ |
| D | i2c.proto | 37 uint32 buf = 6; field 54 uint32 buf = 6; field
|