Home
last modified time | relevance | path

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

12345

/developtools/profiler/trace_analyzer/test/unittest/
Dbytrace_parser_test.cpp54 auto buf = std::make_unique<uint8_t[]>(1); variable
75 auto buf = std::make_unique<uint8_t[]>(bufSize); variable
99 auto buf = std::make_unique<uint8_t[]>(bufSize); variable
123 auto buf = std::make_unique<uint8_t[]>(bufSize); variable
147 auto buf = std::make_unique<uint8_t[]>(bufSize); variable
Devent_parser_test.cpp205 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
230 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
258 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
285 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
309 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
333 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
357 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
382 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
406 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
431 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
[all …]
Dparser_test.cpp57 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(std::move(readSize)); variable
64 char buf[bufSize] = { 0 }; variable
127 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(std::move(readSize)); variable
135 char buf[bufSize] = { 0 }; variable
/developtools/profiler/host/smartperf/trace_streamer/test/unittest/
Dbytrace_parser_test.cpp54 auto buf = std::make_unique<uint8_t[]>(1); variable
75 auto buf = std::make_unique<uint8_t[]>(bufSize); variable
99 auto buf = std::make_unique<uint8_t[]>(bufSize); variable
123 auto buf = std::make_unique<uint8_t[]>(bufSize); variable
147 auto buf = std::make_unique<uint8_t[]>(bufSize); variable
Devent_parser_test.cpp205 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
230 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
258 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
285 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
309 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
333 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
357 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
382 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
406 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
431 auto buf = std::make_unique<uint8_t[]>(G_BUF_SIZE); variable
[all …]
/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/hdc_standard/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.cpp50 char buf[bufSize] = { 0 }; in ~SocketContext() local
57 char buf[bufSize] = { 0 }; in ~SocketContext() local
69 int SocketContext::RawProtocolProc(uint32_t pnum, const int8_t* buf, const uint32_t size) in RawProtocolProc()
103 std::vector<unsigned char> buf(bufferSize); in UnixSocketRecv() local
207 char buf[CMSG_SPACE(1 * sizeof(int))], data; in SendFileDescriptor() local
232 char buf[CMSG_SPACE(1 * sizeof(int))], data; in ReceiveFileDiscriptor() local
Dclient_connection.cpp37 int ClientConnection::RawProtocolProc(uint32_t pnum, const int8_t* buf, const uint32_t size) in RawProtocolProc()
/developtools/hdc_standard/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.cpp65 uint8_t *buf = ctxIO->bufIO; in OnFileIO() local
83 char buf[bufSize] = { 0 }; in OnFileIO() local
108 auto buf = new uint8_t[readMax](); in LoopRead() local
147 auto buf = new uint8_t[size]; in Write() local
/developtools/hdc_standard/src/daemon/
Dshell.cpp144 char buf[bufSize] = { 0 }; in ShellFork() local
170 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local
177 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local
185 char buf[bufSize] = { 0 }; in CreateSubProcessPTY() local
204 bool HdcShell::ChildReadCallback(const void *context, uint8_t *buf, const int size) in ChildReadCallback()
/developtools/profiler/device/plugins/api/test/unittest/
Dbuffer_write_test.cpp44 char buf[bufSize] = { 0 }; in InitShareMemory1() local
54 char buf[bufSize] = { 0 }; in InitShareMemory1() local
81 char buf[bufSize] = { 0 }; in InitShareMemory2() local
91 char buf[bufSize] = { 0 }; in InitShareMemory2() local
/developtools/profiler/device/plugins/memory_plugin/src/
Dmemory_data_plugin.cpp96 char buf[bufSize] = { 0 }; in InitMemVmemFd() local
104 char buf[bufSize] = { 0 }; in InitMemVmemFd() local
120 char buf[bufSize] = { 0 }; in InitMemVmemFd() local
128 char buf[bufSize] = { 0 }; in InitMemVmemFd() local
429 char buf[bufSize] = { 0 }; in ReadFile() local
452 char buf[bufSize] = { 0 }; in OpenProcPidFiles() local
459 char buf[bufSize] = { 0 }; in OpenProcPidFiles() local
475 char buf[bufSize] = { 0 }; in OpenDestDir() local
512 char buf[bufSize] = { 0 }; in ReadProcPidFile() local
520 char buf[bufSize] = { 0 }; in ReadProcPidFile() local
[all …]
Dbuffer_splitter.cpp18 BufferSplitter::BufferSplitter(const char* buf, int size) in BufferSplitter()
/developtools/bytrace_standard/interfaces/kits/js/napi/
Ddeclare_napi.cpp44 char buf[NAME_MAX_SIZE] = {0}; in JSTraceStart() local
76 char buf[NAME_MAX_SIZE] = {0}; in JSTraceFinish() local
100 char buf[NAME_MAX_SIZE] = {0}; in JSTraceCount() local
/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/
Di2c.proto37 uint32 buf = 6; field
54 uint32 buf = 6; field
/developtools/profiler/device/plugins/native_hook/test/unittest/
Dcheck_hook_data_test.cpp99 char buf[bufSize] = { 0 }; in ReadFile() local
108 char buf[bufSize] = { 0 }; in ReadFile() local
117 char buf[bufSize] = { 0 }; in ReadFile() local
165 char buf[bufSize] = { 0 }; in ApplyForMalloc() local
202 char buf[bufSize] = { 0 }; in ApplyForCalloc() local
239 char buf[bufSize] = { 0 }; in ApplyForRealloc() local
248 char buf[bufSize] = { 0 }; in ApplyForRealloc() local
/developtools/profiler/device/cmds/test/unittest/
Dhiprofiler_cmd_test.cpp158 char buf[bufSize] = { 0 }; in CreateConfigFile() local
167 char buf[bufSize] = { 0 }; in CreateConfigFile() local
176 char buf[bufSize] = { 0 }; in CreateConfigFile() local
186 char buf[bufSize] = { 0 }; in CreateConfigFile() 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/hdc_standard/src/host/
Dhost_unity.cpp87 char buf[bufSize] = { 0 }; in OnFileIO() local
102 auto buf = new uint8_t[sizeLog]; in AppendLocalLog() local
Dclient.cpp222 void HdcClient::AllocStdbuf(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf) in AllocStdbuf()
233 void HdcClient::ReadStd(uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf) in ReadStd()
310 int HdcClient::PreHandshake(HChannel hChannel, const uint8_t *buf) in PreHandshake()
342 int HdcClient::ReadChannel(HChannel hChannel, uint8_t *buf, const int bytesIO) in ReadChannel()

12345