Home
last modified time | relevance | path

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

12345

/developtools/profiler/host/smartperf/trace_streamer/test/unittest/
Dbytrace_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
Devent_parser_test.cpp193 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 …]
Dparser_test.cpp59 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(readSize); variable
129 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(readSize); variable
200 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(readSize); variable
271 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(readSize); variable
/developtools/hiperf/src/
Dperf_file_format.cpp76 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 …]
Dperf_file_reader.cpp156 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()
420 std::vector<char> buf(sectionHeader.size); in ReadFeatureSection() local
Dperf_file_writer.cpp133 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/profiler/host/smartperf/trace_streamer/src/parser/hiperf_parser/hiperf/
Dperf_file_format.cpp76 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 …]
Dperf_file_reader.cpp182 std::vector<char> buf(header_.attrSize); in ReadAttrSection() local
284 HIPERF_BUF_ALIGN uint8_t buf[RECORD_SIZE_LIMIT]; in ReadRecord() local
341 bool PerfFileReader::Read(void *buf, size_t len) in Read()
367 bool PerfFileReader::Read(char *buf, uint64_t offset, size_t len) in Read()
461 std::vector<char> buf(sectionHeader.size); in ReadFeatureSection() 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/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()
102 std::vector<unsigned char> buf(bufferSize); in UnixSocketRecv() local
223 char buf[CMSG_SPACE(1 * sizeof(int))] = {0}; in SendFileDescriptor() local
249 char buf[CMSG_SPACE(1 * sizeof(int))] = {0}; in ReceiveFileDiscriptor() local
Dclient_connection.cpp37 int ClientConnection::RawProtocolProc(uint32_t pnum, const int8_t* buf, const uint32_t size) in RawProtocolProc()
/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.cpp66 uint8_t *buf = ctxIO->bufIO; in OnFileIO() local
109 auto buf = new uint8_t[readMax](); in LoopRead() local
148 auto buf = new uint8_t[size]; in Write() local
/developtools/hdc/src/daemon/
Dshell.cpp153 char buf[bufSize] = { 0 }; in ShellFork() local
180 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local
187 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local
195 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local
214 bool HdcShell::ChildReadCallback(const void *context, uint8_t *buf, const int size) in ChildReadCallback()
/developtools/profiler/device/plugins/memory_plugin/src/
Dmemory_data_plugin.cpp99 char buf[bufSize] = { 0 }; in InitMemVmemFd() local
107 char buf[bufSize] = { 0 }; in InitMemVmemFd() local
123 char buf[bufSize] = { 0 }; in InitMemVmemFd() local
131 char buf[bufSize] = { 0 }; in InitMemVmemFd() local
459 char buf[bufSize] = { 0 }; in ReadFile() local
478 char buf[maxSize] = { 0 }; in ReadFile() local
515 char buf[bufSize] = { 0 }; in OpenProcPidFiles() local
522 char buf[bufSize] = { 0 }; in OpenProcPidFiles() local
538 char buf[bufSize] = { 0 }; in OpenDestDir() local
575 char buf[bufSize] = { 0 }; in ReadProcPidFile() local
[all …]
Dbuffer_splitter.cpp18 BufferSplitter::BufferSplitter(const char* buf, int size) in BufferSplitter()
/developtools/profiler/device/plugins/hidump_plugin/src/
Dhidump_plugin.cpp75 char buf[bufSize] = {0}; in Start() local
120 char buf[BUF_MAX_LEN] = { 0 }; in Loop() local
146 bool HidumpPlugin::ParseHidumpInfo(HidumpInfo& dataProto, char *buf) in ParseHidumpInfo()
235 char buf[bufSize] = { 0 }; in CustomPclose() local
/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/host/smartperf/ide/src/hdc/message/
DSessionHandShake.ts74 get buf(): string { method in SessionHandShake
78 set buf(value: string) { method in SessionHandShake
/developtools/profiler/host/smartperf/trace_streamer/src/protos/types/plugins/ftrace_data/
Di2c.proto37 uint32 buf = 6; field
54 uint32 buf = 6; field
/developtools/profiler/protos/types/plugins/ftrace_data/default/
Di2c.proto37 uint32 buf = 6; field
54 uint32 buf = 6; field
/developtools/profiler/device/plugins/native_hook/test/unittest/
Dcheck_hook_data_test.cpp102 char buf[bufSize] = { 0 }; in ReadFile() local
111 char buf[bufSize] = { 0 }; in ReadFile() local
120 char buf[bufSize] = { 0 }; in ReadFile() local
168 char buf[bufSize] = { 0 }; in ApplyForMalloc() local
205 char buf[bufSize] = { 0 }; in ApplyForCalloc() local
245 char buf[bufSize] = { 0 }; in ApplyForRealloc() local
254 char buf[bufSize] = { 0 }; in ApplyForRealloc() local
/developtools/hiperf/test/unittest/common/native/
Dring_buffer_test.cpp56 void RingBufferTest::ReadBufferAndCheck(RingBuffer &buf) in ReadBufferAndCheck()
80 void RingBufferTest::WriteBuffer(RingBuffer &buf) in WriteBuffer()
/developtools/profiler/device/cmds/test/unittest/
Dhiprofiler_cmd_test.cpp171 char buf[bufSize] = { 0 }; in CreateConfigFile() local
180 char buf[bufSize] = { 0 }; in CreateConfigFile() local
192 char buf[bufSize] = { 0 }; in CreateConfigFile() local
205 char buf[bufSize] = { 0 }; in CreateConfigFile() local
/developtools/hdc/src/host/
Dhost_unity.cpp89 char buf[bufSize] = { 0 }; in OnFileIO() local
104 auto buf = new uint8_t[sizeLog]; in AppendLocalLog() local

12345