Home
last modified time | relevance | path

Searched refs:MakeUnique (Results 1 – 25 of 36) sorted by relevance

12

/developtools/profiler/hiebpf/test/unittest/
Dbpf_log_reader_test.cpp52 HWTEST_F(BPFLogReaderTest, MakeUnique, TestSize.Level1)
54 auto logger = BPFLogReader::MakeUnique("");
57 logger = BPFLogReader::MakeUnique("stdout");
60 logger = BPFLogReader::MakeUnique(FILE_NAME);
Dlibbpf_logger_test.cpp42 HWTEST_F(LIBBPFLoggerTest, MakeUnique, TestSize.Level1)
44 auto logger = LIBBPFLogger::MakeUnique("", -1);
47 logger = LIBBPFLogger::MakeUnique("stdout", 0);
Dbpf_controller_test.cpp69 std::unique_ptr<BPFController> pCtx = BPFController::MakeUnique(cfg);
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/include/
Delf_parser_test.h37 static std::unique_ptr<EhdrFromReadelf> MakeUnique(FILE *fp);
69 static std::unique_ptr<PhdrFromReadelf> MakeUnique(const std::string &line);
91 static std::unique_ptr<ShdrFromReadelf> MakeUnique(const std::string &line);
124 static std::unique_ptr<ElfSymbolFromReadelf> MakeUnique(const std::string &line);
147 static std::unique_ptr<ElfFileFromReadelf> MakeUnique(ElfFileType fileType);
/developtools/hiperf/test/unittest/common/native/include/
Delf_parser_test.h37 static std::unique_ptr<EhdrFromReadelf> MakeUnique(FILE *fp);
69 static std::unique_ptr<PhdrFromReadelf> MakeUnique(const std::string &line);
91 static std::unique_ptr<ShdrFromReadelf> MakeUnique(const std::string &line);
124 static std::unique_ptr<ElfSymbolFromReadelf> MakeUnique(const std::string &line);
147 static std::unique_ptr<ElfFileFromReadelf> MakeUnique(ElfFileType fileType);
/developtools/profiler/device/plugins/native_daemon/src/
Delf_symbol.cpp24 std::unique_ptr<ElfSymbol> ElfSymbol::MakeUnique(char * const symBuf, const std::size_t bufSize) in MakeUnique() function in OHOS::Developtools::NativeDaemon::ElfSymbol
71 std::unique_ptr<SymbolTable> SymbolTable::MakeUnique(const std::string &symNamesStr, in MakeUnique() function in OHOS::Developtools::NativeDaemon::SymbolTable
109 std::unique_ptr<ElfSymbol> sym = ElfSymbol::MakeUnique(symBuf, entrySize); in MakeUnique()
Delf_file.cpp62 std::unique_ptr<ElfFile> ElfFile::MakeUnique(const std::string &filename) in MakeUnique() function in OHOS::Developtools::NativeDaemon::ElfFile
91 ehdr_ = ElfHeader::MakeUnique(ehdrBuf, ret); in ParseElfHeader()
115 std::unique_ptr<ProgramHeader> phdr = ProgramHeader::MakeUnique(phdrBuf, phdrSize); in ParsePrgHeaders()
146 shdrs_[secName] = SectionHeader::MakeUnique(shdrBuf, shdrSize, shdrIndex); in ParseSecNamesStr()
203 std::unique_ptr<SectionHeader> shdr = SectionHeader::MakeUnique(shdrBuf, shdrSize, count); in ParseSecHeaders()
243 symTable_ = SymbolTable::MakeUnique(symNamesStr_, secBuf, secSize, entrySize); in ParseSymTable()
297 dynSymTable_ = SymbolTable::MakeUnique(symNamesStr_, secBuf, secSize, entrySize); in ParseDynSymTable()
Dprogram_header.cpp24 std::unique_ptr<ProgramHeader> ProgramHeader::MakeUnique(char * const phdrBuf, const size_t bufSize) in MakeUnique() function in OHOS::Developtools::NativeDaemon::ProgramHeader
Dsection_header.cpp38 std::unique_ptr<SectionHeader> SectionHeader::MakeUnique(char * const shdrBuf, const size_t bufSize, in MakeUnique() function in OHOS::Developtools::NativeDaemon::SectionHeader
/developtools/hiperf/src/
Delf_symbol.cpp22 std::unique_ptr<ElfSymbol> ElfSymbol::MakeUnique(char * const symBuf, const std::size_t bufSize) in MakeUnique() function in OHOS::Developtools::HiPerf::ElfSymbol
76 std::unique_ptr<SymbolTable> SymbolTable::MakeUnique(const std::string &symNamesStr, in MakeUnique() function in OHOS::Developtools::HiPerf::SymbolTable
117 std::unique_ptr<ElfSymbol> sym = ElfSymbol::MakeUnique(symBuf, entrySize); in MakeUnique()
Delf_file.cpp62 std::unique_ptr<ElfFile> ElfFile::MakeUnique(const std::string &filename) in MakeUnique() function in OHOS::Developtools::HiPerf::ElfFile
116 ehdr_ = ElfHeader::MakeUnique(ehdrBuf, readsize); in ParseElfHeader()
141 std::unique_ptr<ProgramHeader> phdr = ProgramHeader::MakeUnique(phdrBuf, phdrSize); in ParsePrgHeaders()
173 shdrs_[secName] = SectionHeader::MakeUnique(shdrBuf, shdrSize, shdrIndex); in ParseSecNamesStr()
230 std::unique_ptr<SectionHeader> shdr = SectionHeader::MakeUnique(shdrBuf, shdrSize, count); in ParseSecHeaders()
278 symTable_ = SymbolTable::MakeUnique(symNamesStr_, secBuf, secSize, entrySize); in ParseSymTable()
349 dynSymTable_ = SymbolTable::MakeUnique(symNamesStr_, secBuf, secSize, entrySize); in ParseDynSymTable()
Dprogram_header.cpp22 std::unique_ptr<ProgramHeader> ProgramHeader::MakeUnique(char * const phdrBuf, const size_t bufSize) in MakeUnique() function in OHOS::Developtools::HiPerf::ProgramHeader
Dhiperf_libreport.cpp228 std::unique_ptr<ElfFile> elfFile = ElfFile::MakeUnique(elfPath); in ReportGetBuildId()
251 std::unique_ptr<ElfFile> elfFile = ElfFile::MakeUnique(elfPath); in ReportGetElfArch()
Dsection_header.cpp38 std::unique_ptr<SectionHeader> SectionHeader::MakeUnique(char * const shdrBuf, const size_t bufSize, in MakeUnique() function in OHOS::Developtools::HiPerf::SectionHeader
/developtools/hiperf/include/
Delf_parser.h57 static std::unique_ptr<ElfHeader> MakeUnique(unsigned char * const ehdrBuf,
92 static std::unique_ptr<ProgramHeader> MakeUnique(char * const phdrBuf, const size_t bufSize);
130 static std::unique_ptr<SectionHeader> MakeUnique(char * const shdrBuf, const size_t bufSize,
175 static std::unique_ptr<ElfSymbol> MakeUnique(char * const symBuf, const std::size_t bufSize);
211 static std::unique_ptr<SymbolTable> MakeUnique(const std::string &symNamesStr,
227 static std::unique_ptr<ElfFile> MakeUnique(const std::string &filename);
/developtools/profiler/hiebpf/include/
Delf_file.h57 static std::unique_ptr<ElfHeader> MakeUnique(unsigned char * const ehdrBuf,
84 static std::unique_ptr<ProgramHeader> MakeUnique(char * const phdrBuf, const size_t bufSize);
114 static std::unique_ptr<SectionHeader> MakeUnique(char * const shdrBuf, const size_t bufSize,
152 static std::unique_ptr<ElfFile> MakeUnique(const std::string &filename);
Dlibbpf_logger.h36 static std::unique_ptr<LIBBPFLogger> MakeUnique(const std::string& logFile, int logLevel);
Dbpf_log_reader.h28 …static std::unique_ptr<BPFLogReader> MakeUnique(const std::string& logFile = "/data/local/tmp/bpf_…
Dbpf_controller.h74 static std::unique_ptr<BPFController> MakeUnique(const struct BPFConfig& config);
/developtools/profiler/device/plugins/native_daemon/include/
Delf_parser.h67 static std::unique_ptr<ElfHeader> MakeUnique(unsigned char * const ehdrBuf,
102 static std::unique_ptr<ProgramHeader> MakeUnique(char * const phdrBuf, const size_t bufSize);
140 static std::unique_ptr<SectionHeader> MakeUnique(char * const shdrBuf, const size_t bufSize,
185 static std::unique_ptr<ElfSymbol> MakeUnique(char * const symBuf, const std::size_t bufSize);
221 static std::unique_ptr<SymbolTable> MakeUnique(const std::string &symNamesStr,
237 static std::unique_ptr<ElfFile> MakeUnique(const std::string &filename);
/developtools/hiperf/test/fuzztest/elfparser_fuzzer/
DElfParser_fuzzer.cpp25 static std::unique_ptr<ElfFileFuzzer> MakeUnique(const std::string &filename, in MakeUnique() function in OHOS::ElfFileFuzzer
60 ElfFileFuzzer::MakeUnique(testData, data, size); in FuzzElfFile()
/developtools/profiler/hiebpf/src/
Delf_file.cpp55 std::unique_ptr<ElfFile> ElfFile::MakeUnique(const std::string &filename) in MakeUnique() function in OHOS::Developtools::Hiebpf::ElfFile
82 ehdr_ = ElfHeader::MakeUnique(ehdrBuf, readsize); in ParseElfHeader()
106 std::unique_ptr<ProgramHeader> phdr = ProgramHeader::MakeUnique(phdrBuf, phdrSize); in ParsePrgHeaders()
142 shdrs_[secName] = SectionHeader::MakeUnique(shdrBuf, shdrSize, shdrIndex); in ParseSecNamesStr()
198 std::unique_ptr<SectionHeader> shdr = SectionHeader::MakeUnique(shdrBuf, shdrSize, count); in ParseSecHeaders()
230 std::unique_ptr<ElfHeader> ElfHeader::MakeUnique(unsigned char * const ehdrBuf, in MakeUnique() function in OHOS::Developtools::Hiebpf::ElfHeader
392 std::unique_ptr<SectionHeader> SectionHeader::MakeUnique(char * const shdrBuf, const size_t bufSize, in MakeUnique() function in OHOS::Developtools::Hiebpf::SectionHeader
456 std::unique_ptr<ProgramHeader> ProgramHeader::MakeUnique(char * const phdrBuf, const size_t bufSize) in MakeUnique() function in OHOS::Developtools::Hiebpf::ProgramHeader
Dlibbpf_logger.cpp28 std::unique_ptr<LIBBPFLogger> LIBBPFLogger::MakeUnique(const std::string& logFile, int logLevel) in MakeUnique() function in LIBBPFLogger
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/
Delf_parser_test.cpp140 std::unique_ptr<ElfFileFromReadelf> ElfFileFromReadelf::MakeUnique(ElfFileType fileType) in MakeUnique() function in OHOS::Developtools::NativeDaemon::UnitTest::ElfFileFromReadelf
225 ehdr_ = EhdrFromReadelf::MakeUnique(ehdrFP_); in ParseElfHeader()
244 auto phdr = PhdrFromReadelf::MakeUnique(line1 + line2); in ParsePrgHeaders64()
265 auto phdr = PhdrFromReadelf::MakeUnique(line); in ParsePrgHeaders32()
288 auto shdr = ShdrFromReadelf::MakeUnique(line1 + line2); in ParseSecHeaders64()
309 auto shdr = ShdrFromReadelf::MakeUnique(line); in ParseSecHeaders32()
357 auto dynSym = ElfSymbolFromReadelf::MakeUnique(line); in ParseSymsInDynSym()
379 auto sym = ElfSymbolFromReadelf::MakeUnique(line); in ParseSymsInSymTab()
460 std::unique_ptr<ElfSymbolFromReadelf> ElfSymbolFromReadelf::MakeUnique(const std::string &line) in MakeUnique() function in OHOS::Developtools::NativeDaemon::UnitTest::ElfSymbolFromReadelf
561 std::unique_ptr<ShdrFromReadelf> ShdrFromReadelf::MakeUnique(const std::string &line) in MakeUnique() function in OHOS::Developtools::NativeDaemon::UnitTest::ShdrFromReadelf
[all …]
/developtools/hiperf/test/unittest/common/native/
Delf_parser_test.cpp141 std::unique_ptr<ElfFileFromReadelf> ElfFileFromReadelf::MakeUnique(ElfFileType fileType) in MakeUnique() function in OHOS::Developtools::HiPerf::UnitTest::ElfFileFromReadelf
226 ehdr_ = EhdrFromReadelf::MakeUnique(ehdrFP_); in ParseElfHeader()
245 auto phdr = PhdrFromReadelf::MakeUnique(line1 + line2); in ParsePrgHeaders64()
266 auto phdr = PhdrFromReadelf::MakeUnique(line); in ParsePrgHeaders32()
289 auto shdr = ShdrFromReadelf::MakeUnique(line1 + line2); in ParseSecHeaders64()
310 auto shdr = ShdrFromReadelf::MakeUnique(line); in ParseSecHeaders32()
358 auto dynSym = ElfSymbolFromReadelf::MakeUnique(line); in ParseSymsInDynSym()
380 auto sym = ElfSymbolFromReadelf::MakeUnique(line); in ParseSymsInSymTab()
461 std::unique_ptr<ElfSymbolFromReadelf> ElfSymbolFromReadelf::MakeUnique(const std::string &line) in MakeUnique() function in OHOS::Developtools::HiPerf::UnitTest::ElfSymbolFromReadelf
562 std::unique_ptr<ShdrFromReadelf> ShdrFromReadelf::MakeUnique(const std::string &line) in MakeUnique() function in OHOS::Developtools::HiPerf::UnitTest::ShdrFromReadelf
[all …]

12