| /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() 224 PerfFileSectionSymbolsFiles::PerfFileSectionSymbolsFiles(FEATURE id, const char *buf, size_t size) in PerfFileSectionSymbolsFiles() 271 bool PerfFileSectionSymbolsFiles::GetBinary(char *buf, size_t size) in GetBinary() 304 PerfFileSectionNrCpus::PerfFileSectionNrCpus(FEATURE id, const char *buf, size_t size) in PerfFileSectionNrCpus() 319 bool PerfFileSectionNrCpus::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 202 bool PerfFileWriter::Read(void *buf, size_t len) in Read() 236 bool PerfFileWriter::Write(const void *buf, size_t len) in Write() 385 std::vector<char> buf(featureSection->header.size); in WriteFeatureData() local
|
| /developtools/smartperf_host/trace_streamer/test/unittest/ |
| 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
|
| D | event_parser_test.cpp | 193 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 218 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 246 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 273 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 297 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 321 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 344 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 369 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 393 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable 418 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable [all …]
|
| 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/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 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 226 char buf[CMSG_SPACE(1 * sizeof(int))] = {0}; in SendFileDescriptor() local 252 char buf[CMSG_SPACE(1 * sizeof(int))] = {0}; in ReceiveFileDiscriptor() 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/hdc/src/daemon/ |
| D | shell.cpp | 173 char buf[bufSize] = { 0 }; in ThreadFork() local 194 char buf[bufSize] = { 0 }; in ShellFork() local 223 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local 230 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local 238 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local 257 bool HdcShell::ChildReadCallback(const void *context, uint8_t *buf, const int size) in ChildReadCallback()
|
| /developtools/profiler/device/plugins/native_hook/test/unittest/ |
| D | check_hook_data_test.cpp | 144 char buf[bufSize] = { 0 }; in ReadFile() local 153 char buf[bufSize] = { 0 }; in ReadFile() local 162 char buf[bufSize] = { 0 }; in ReadFile() local 210 char buf[bufSize] = { 0 }; in ApplyForMalloc() local 292 char buf[bufSize] = { 0 }; in ApplyForCalloc() local 332 char buf[bufSize] = { 0 }; in ApplyForRealloc() local 341 char buf[bufSize] = { 0 }; in ApplyForRealloc() local 619 std::string buf; variable 677 std::string buf; variable 726 std::string buf; variable [all …]
|
| /developtools/profiler/device/plugins/memory_plugin/src/ |
| D | memory_data_plugin.cpp | 97 char buf[bufSize] = { 0 }; in InitMemVmemFd() local 105 char buf[bufSize] = { 0 }; in InitMemVmemFd() local 119 char buf[bufSize] = { 0 }; in InitMemVmemFd() local 127 char buf[bufSize] = { 0 }; in InitMemVmemFd() local 445 char buf[bufSize] = { 0 }; in ReadFile() local 462 char buf[maxSize] = { 0 }; in ReadFile() local 499 char buf[bufSize] = { 0 }; in OpenProcPidFiles() local 506 char buf[bufSize] = { 0 }; in OpenProcPidFiles() local 522 char buf[bufSize] = { 0 }; in OpenDestDir() local 556 char buf[bufSize] = { 0 }; in ReadProcPidFile() local [all …]
|
| /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 | 62 uint8_t *buf = ctxIO->bufIO; in FileIOOnThread() local 147 auto buf = new(std::nothrow) uint8_t[readMax](); in LoopReadOnThread() local 183 auto buf = new(std::nothrow) uint8_t[size]; in Write() local 259 uint8_t *buf = cfio->bufIO; in CtxFileIOWrite() local
|
| D | base.cpp | 159 char buf[bufSize] = { 0 }; in RollLogFile() local 172 char buf[bufSize] = { 0 }; in RollLogFile() local 179 char buf[bufSize] = { 0 }; in RollLogFile() local 205 char buf[BUF_SIZE_DEFAULT4] = { 0 }; // only 4k to avoid stack overflow in 32bit or L0 in PrintLogEx() local 323 void AllocBufferCallback(uv_handle_t *handle, size_t sizeSuggested, uv_buf_t *buf) in AllocBufferCallback() 338 char buf[bufSize] = { 0 }; in SendCallback() local 409 int SendToStream(uv_stream_t *handleStream, const uint8_t *buf, const int bufLen) in SendToStream() 431 …int SendToStreamEx(uv_stream_t *handleStream, const uint8_t *buf, const int bufLen, uv_stream_t *h… in SendToStreamEx() 474 int SendToPollFd(int fd, const uint8_t *buf, const int bufLen) in SendToPollFd() 690 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() 102 int HdcTCPBase::WriteUvTcpFd(uv_tcp_t *tcp, uint8_t *buf, int size) in WriteUvTcpFd()
|
| /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 __anon1df3955b0102() 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 | 72 char buf[bufSize] = {0}; in Start() local 117 char buf[BUF_MAX_LEN] = { 0 }; in Loop() local 143 bool HidumpPlugin::ParseHidumpInfo(HidumpInfo& dataProto, char *buf) in ParseHidumpInfo() 226 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/host/smartperf/ide/src/hdc/message/ |
| D | SessionHandShake.ts | 74 get buf(): string { method in SessionHandShake 78 set buf(value: string) { method in SessionHandShake
|
| /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
|
| /developtools/profiler/host/smartperf/trace_streamer/src/protos/types/plugins/ftrace_data/default/ |
| D | i2c.proto | 37 uint32 buf = 6; field 54 uint32 buf = 6; field
|