Home
last modified time | relevance | path

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

12345678

/developtools/smartperf_host/trace_streamer/test/unittest/ptreader_parser/
Dptreader_parser_test.cpp55 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
Devent_parser_test.cpp188 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/
Dperf_file_format.cpp98 bool PerfFileSection::Write(const char *buf, size_t size) in Write()
103 bool PerfFileSection::Write(const char *buf, size_t size, size_t max) in Write()
139 char *buf = new char[size]; in Read() local
163 bool PerfFileSection::Read(char *buf, size_t size) in Read()
189 PerfFileSectionString::PerfFileSectionString(FEATURE id, const char *buf, size_t size) in PerfFileSectionString()
202 bool PerfFileSectionString::GetBinary(char *buf, size_t size) in GetBinary()
291 PerfFileSectionSymbolsFiles::PerfFileSectionSymbolsFiles(FEATURE id, const char *buf, size_t size) in PerfFileSectionSymbolsFiles()
299 bool PerfFileSectionSymbolsFiles::GetBinary(char *buf, size_t size) in GetBinary()
330 PerfFileSectionUniStackTable::PerfFileSectionUniStackTable(FEATURE id, const char *buf, size_t size) in PerfFileSectionUniStackTable()
357 bool PerfFileSectionUniStackTable::GetBinary(char *buf, size_t size) in GetBinary()
[all …]
Dspe_decoder.cpp57 static int SpeGetPayload(const unsigned char *buf, size_t len, in SpeGetPayload()
85 static int SpeGetAlignment(const unsigned char *buf, size_t len, in SpeGetAlignment()
105 static int SpeGetTimestamp(const unsigned char *buf, size_t len, in SpeGetTimestamp()
113 static int SpeGetEvents(const unsigned char *buf, size_t len, in SpeGetEvents()
122 static int SpeGetDataSource(const unsigned char *buf, size_t len, in SpeGetDataSource()
130 static int SpeGetContext(const unsigned char *buf, size_t len, in SpeGetContext()
139 static int SpeGetOpType(const unsigned char *buf, size_t len, in SpeGetOpType()
148 static int SpeGetCounter(const unsigned char *buf, size_t len, in SpeGetCounter()
162 static int SpeGetAddr(const unsigned char *buf, size_t len, in SpeGetAddr()
176 static int SpeDoGetPacket(const unsigned char *buf, size_t len, in SpeDoGetPacket()
[all …]
Dperf_file_reader.cpp152 std::vector<char> buf(header_.attrSize); in ReadAttrSection() local
249 HIPERF_BUF_ALIGN static uint8_t buf[RECORD_SIZE_LIMIT_SPE]; in ReadRecord() local
320 bool PerfFileReader::Read(void *buf, size_t len) in Read()
340 bool PerfFileReader::Read(char *buf, uint64_t offset, size_t len) in Read()
415 std::vector<char> buf(sectionHeader.size); in ReadFeatureSection() local
Dperf_file_writer.cpp133 static std::vector<u8> buf(RECORD_SIZE_LIMIT_SPE); in WriteRecord() local
161 HIPERF_BUF_ALIGN static uint8_t buf[RECORD_SIZE_LIMIT_SPE]; in ReadRecords() local
207 bool PerfFileWriter::Read(void *buf, size_t len) in Read()
238 bool PerfFileWriter::Write(const void *buf, size_t len) in Write()
368 std::vector<char> buf(featureSection->header.size); in WriteFeatureData() local
/developtools/hdc/hdc_rust/src/serializer/
Dserialize.rs96 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/
Dserial_struct.cpp149 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/profiler/device/services/ipc/src/
Dsocket_context.cpp49 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()
106 std::vector<unsigned char> buf(bufferSize); in UnixSocketRecv() local
235 char buf[1]; in IsConnected() local
252 char buf[CMSG_SPACE(1 * sizeof(int))] = {0}; in SendFileDescriptor() local
278 char buf[CMSG_SPACE(1 * sizeof(int))] = {0}; in ReceiveFileDiscriptor() local
/developtools/hdc/src/test/jdwp/
DHdcJdwpSimulator.cpp32 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/plugins/native_hook/test/unittest/
Dcheck_hook_data_test.cpp173 char buf[bufSize] = { 0 }; in ReadFile() local
182 char buf[bufSize] = { 0 }; in ReadFile() local
191 char buf[bufSize] = { 0 }; in ReadFile() local
239 char buf[bufSize] = { 0 }; in ApplyForMalloc() local
330 char buf[bufSize] = { 0 }; in ApplyForCalloc() local
376 char buf[bufSize] = { 0 }; in ApplyForRealloc() local
385 char buf[bufSize] = { 0 }; in ApplyForRealloc() local
683 std::string buf; variable
741 std::string buf; variable
791 std::string buf; variable
[all …]
/developtools/profiler/hiebpf/src/
Dipc_unix_socket.cpp81 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/
Dshell.cpp198 char buf[bufSize] = { 0 }; in ThreadFork() local
225 char buf[bufSize] = { 0 }; in ShellFork() local
254 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local
261 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local
269 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local
288 bool HdcShell::ChildReadCallback(const void *context, uint8_t *buf, const int size) in ChildReadCallback()
/developtools/hdc/src/common/
Ddebug.cpp20 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()
Dfile_descriptor.cpp79 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
Dauth.cpp128 int GetUserInfo(char *buf, size_t len) in GetUserInfo()
254 char buf[BUF_SIZE_DEFAULT]; in GetUserKeyPath() local
380 char buf[BUF_SIZE_DEFAULT2] = { 0 }; in ReadDaemonKeys() local
447 struct stat buf; in LoadDaemonKey() local
624 char buf[RSA_KEY_BITS] = {0}; in LoadPublicKey() local
677 char buf[BUF_SIZE_DEFAULT] = {0}; in GetHostName() local
772 static bool RsaSign(string &buf, EVP_PKEY *signKey) in RsaSign()
807 static bool RsaEncrypt(string &buf, RSA *rsa) in RsaEncrypt()
842 bool RsaSignAndBase64(string &buf, AuthVerifyType type) in RsaSignAndBase64()
Dtcp.cpp54 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/profiler/hiebpf/test/unittest/
Dipc_unix_socket_test.cpp66 std::string buf; variable
74 server.SetHandleCallback([&](const void *buf, size_t size) { in __anon6632225e0102()
100 std::string buf; variable
/developtools/smartperf_host/trace_streamer/test/unittest/pbreader/
Dparser_pbreader_test.cpp56 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/device/plugins/api/test/unittest/
Dbuffer_write_test.cpp45 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/
Dvarint_encode.h78 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/profiler/device/plugins/hidump_plugin/src/
Dhidump_plugin.cpp76 char buf[bufSize] = {0}; in Start() local
120 char buf[BUF_MAX_LEN] = { 0 }; in Loop() local
162 bool HidumpPlugin::ParseHidumpInfo(T& hidumpInfoProto, char *buf) in ParseHidumpInfo()
251 char buf[bufSize] = { 0 }; in CustomPclose() local
/developtools/smartperf_host/ide/src/hdc/message/
DSessionHandShake.ts75 get buf(): string { method in SessionHandShake
79 set buf(value: string) { method in SessionHandShake
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/
Di2c.proto37 uint32 buf = 6; field
54 uint32 buf = 6; field
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Di2c.proto37 uint32 buf = 6; field
54 uint32 buf = 6; field

12345678