Home
last modified time | relevance | path

Searched refs:std (Results 1 – 25 of 38) sorted by relevance

12

/development/vndk/tools/header-checker/header-abi-util/include/
Dheader_abi_util.h22 std::set<std::string> CollectAllExportedHeaders(
23 const std::vector<std::string> &exported_header_dirs);
33 VersionScriptParser(const std::string &version_script,
34 const std::string &arch,
35 const std::string &api);
38 const std::set<std::string> &GetFunctions();
40 const std::set<std::string> &GetGlobVars();
42 const std::set<std::string> &GetFunctionRegexs();
44 const std::set<std::string> &GetGlobVarRegexs();
48 bool ParseInnerBlock(std::ifstream &symbol_ifstream);
[all …]
/development/vndk/tools/header-checker/header-abi-util/src/
Dversion_script_parser.cpp34 std::unordered_set<std::string> AllArches({"arm", "arm64", "x86", "x86_64",
37 static bool StringContains(const std::string &line, in StringContains()
38 const std::string &substring) { in StringContains()
39 return (line.find(substring) != std::string::npos); in StringContains()
42 static bool LineSatisfiesArch(const std::string &line, in LineSatisfiesArch()
43 const std::string arch) { in LineSatisfiesArch()
54 VersionScriptParser::VersionScriptParser(const std::string &version_script, in VersionScriptParser()
55 const std::string &arch, in VersionScriptParser()
56 const std::string &api) : in VersionScriptParser()
59 int VersionScriptParser::ApiStrToInt(const std::string &api) { in ApiStrToInt()
[all …]
Dcollect_exported_headers.cpp40 bool CollectExportedHeaderSet(const std::string &dir_name, in CollectExportedHeaderSet()
41 std::set<std::string> *exported_headers) { in CollectExportedHeaderSet()
42 std::error_code ec; in CollectExportedHeaderSet()
53 const std::string &file_path = walker->path(); in CollectExportedHeaderSet()
84 std::set<std::string> CollectAllExportedHeaders( in CollectAllExportedHeaders()
85 const std::vector<std::string> &exported_header_dirs) { in CollectAllExportedHeaders()
86 std::set<std::string> exported_headers; in CollectAllExportedHeaders()
/development/vndk/tools/header-checker/header-abi-diff/src/
Dabi_diff.h35 HeaderAbiDiff(const std::string &lib_name, const std::string &arch, in HeaderAbiDiff()
36 const std::string &old_dump, const std::string &new_dump, in HeaderAbiDiff()
37 const std::string &compatibility_report, in HeaderAbiDiff()
38 const std::set<std::string> &ignored_symbols) in HeaderAbiDiff()
56 const std::set<std::string> &ignored_symbols);
59 static inline void AddToMap(std::map<std::string, const T *> *dst,
65 const std::map<std::string, const T *> &old_elements_map,
66 const std::map<std::string, const T *> &new_elements_map,
67 const std::set<std::string> &ignored_symbols);
72 const std::map<std::string, const T *> &old_elements_map,
[all …]
Dabi_diff.cpp33 std::ifstream old_input(old_dump_); in GenerateCompatibilityReport()
34 std::ifstream new_input(new_dump_); in GenerateCompatibilityReport()
49 std::unique_ptr<abi_diff::TranslationUnitDiff> diff_tu( in CompareTUs()
85 std::ofstream text_output(cr_); in CompareTUs()
102 const std::set<std::string> &ignored_symbols) { in Collect()
107 std::map<std::string, const T*> old_elements_map; in Collect()
108 std::map<std::string, const T*> new_elements_map; in Collect()
133 const std::map<std::string, const T*> &old_elements_map, in PopulateRemovedElements()
134 const std::map<std::string, const T*> &new_elements_map, in PopulateRemovedElements()
135 const std::set<std::string> &ignored_symbols) { in PopulateRemovedElements()
[all …]
Dheader_abi_diff.cpp24 static llvm::cl::opt<std::string> compatibility_report(
28 static llvm::cl::opt<std::string> lib_name(
32 static llvm::cl::opt<std::string> arch(
36 static llvm::cl::opt<std::string> new_dump(
40 static llvm::cl::opt<std::string> old_dump(
44 static llvm::cl::opt<std::string> ignore_symbol_list(
61 static std::set<std::string> LoadIgnoredSymbols(std::string &symbol_list_path) { in LoadIgnoredSymbols()
62 std::ifstream symbol_ifstream(symbol_list_path); in LoadIgnoredSymbols()
63 std::set<std::string> ignored_symbols; in LoadIgnoredSymbols()
68 std::string line = ""; in LoadIgnoredSymbols()
[all …]
Dabi_diff_wrappers.h29 const std::set<std::string> &ignored_symbols) { in IgnoreSymbol()
37 virtual std::unique_ptr<TDiff> Get() = 0 ;
63 std::unique_ptr<TDiff> Get() override;
Dabi_diff_wrappers.cpp72 static std::string CpptoCAdjustment(const std::string &type) { in CpptoCAdjustment()
73 std::string adjusted_type_name = in CpptoCAdjustment()
82 std::string old_type = old_abi.name(); in CompareTypeNames()
83 std::string new_type = new_abi.name(); in CompareTypeNames()
241 std::unique_ptr<RecordDeclDiff>
243 std::unique_ptr<RecordDeclDiff> record_diff(new RecordDeclDiff()); in Get()
271 std::unique_ptr<EnumDeclDiff>
273 std::unique_ptr<EnumDeclDiff> enum_diff(new EnumDeclDiff()); in Get()
291 std::unique_ptr<FunctionDeclDiff>
293 std::unique_ptr<FunctionDeclDiff> func_diff(new FunctionDeclDiff()); in Get()
[all …]
/development/vndk/tools/header-checker/header-abi-linker/src/
Dheader_abi_linker.cpp40 static llvm::cl::list<std::string> dump_files(
44 static llvm::cl::opt<std::string> linked_dump(
48 static llvm::cl::list<std::string> exported_header_dirs(
52 static llvm::cl::opt<std::string> version_script(
56 static llvm::cl::opt<std::string> api(
60 static llvm::cl::opt<std::string> arch(
71 const std::vector<std::string> &dump_files, in HeaderAbiLinker()
72 const std::vector<std::string> &exported_header_dirs, in HeaderAbiLinker()
73 const std::string &version_script, in HeaderAbiLinker()
74 const std::string &linked_dump, in HeaderAbiLinker()
[all …]
/development/vndk/tools/vtable-dumper/
Delf_handling.h44 static std::unique_ptr<SharedObject> create(const ObjectFile *);
54 const std::string &,
55 const std::string &,
60 const std::string &getMangledName() const;
61 const std::string &getDemangledName() const;
63 std::string mMangledName;
64 std::string mDemangledName;
70 using func_iterator = std::vector<VFunction>::const_iterator;
72 const std::string &,
73 const std::string &,
[all …]
Delf_handling.cpp49 static std::string demangle(const std::string &MangledName) { in demangle()
56 std::string DemangledString(Str); in demangle()
66 static std::unique_ptr<SharedObject> createELFSharedObject( in createELFSharedObject()
71 static std::unique_ptr<SharedObject>createELFObjFile(const ObjectFile *Obj) { in createELFObjFile()
84 std::unique_ptr<SharedObject> SharedObject::create(const ObjectFile *Obj) { in create()
85 std::unique_ptr<SharedObject> res(createELFObjFile(Obj)); in create()
175 std::vector<std::pair<SymbolRef, uint64_t>> SymsAndSizes = in initVTableRanges()
177 for (std::pair<SymbolRef, uint64_t> &Pair : SymsAndSizes) { in initVTableRanges()
189 std::map<uint64_t, std::vector<SymbolRef>>::iterator It = in initVTableRanges()
192 mAddrToSymbolRef.insert(std::make_pair( in initVTableRanges()
[all …]
/development/vndk/tools/header-checker/header-abi-dumper/src/
Dast_processing.h40 const std::string &current_file_name,
41 const std::set<std::string> &exported_headers,
64 const std::string current_file_name_;
65 const std::set<std::string> &exported_headers_;
72 HeaderASTConsumer(const std::string &file_name,
74 const std::string &out_dump_name,
75 const std::set<std::string> &exported_headers);
80 std::string file_name_;
82 std::string out_dump_name_;
83 std::set<std::string> exported_headers_;
Dfrontend_action.h33 std::string dump_name_;
34 const std::vector<std::string> &exported_header_dirs_;
38 const std::string &dump_name,
39 const std::vector<std::string> &export_header_dirs);
42 std::unique_ptr<clang::ASTConsumer> CreateASTConsumer(
Dfrontend_action_factory.h25 std::string dump_name_;
26 const std::vector<std::string> &export_header_dirs_;
30 const std::string &dump_name,
31 const std::vector<std::string> &exported_header_dirs);
Dfrontend_action.cpp28 const std::string &dump_name, const std::vector<std::string> &exports) in HeaderCheckerFrontendAction()
31 std::unique_ptr<clang::ASTConsumer>
34 std::set<std::string> exported_headers; in CreateASTConsumer()
Dast_processing.cpp39 const std::string &current_file_name, in HeaderASTVisitor()
40 const std::set<std::string> &exported_headers, in HeaderASTVisitor()
57 std::unique_ptr<abi_dump::RecordDecl> wrapped_record_decl = in VisitRecordDecl()
77 std::unique_ptr<abi_dump::EnumDecl> wrapped_enum_decl = in VisitEnumDecl()
94 std::unique_ptr<abi_dump::FunctionDecl> wrapped_function_decl = in VisitFunctionDecl()
115 std::unique_ptr<abi_dump::GlobalVarDecl> wrapped_global_var_decl = in VisitVarDecl()
129 static bool AreHeadersExported(const std::set<std::string> &exported_headers) { in AreHeadersExported()
138 std::string source_file = ABIWrapper::GetDeclSourceFile(decl, cip_); in TraverseDecl()
148 const std::string &file_name, in HeaderASTConsumer()
150 const std::string &out_dump_name, in HeaderASTConsumer()
[all …]
Dabi_wrappers.h37 static std::string GetDeclSourceFile(const clang::Decl *decl,
44 std::string GetMangledNameDecl(const clang::NamedDecl *decl) const;
52 std::string QualTypeToString(const clang::QualType &sweet_qt) const;
54 std::string GetTagDeclQualifiedName(const clang::TagDecl *decl) const;
61 const clang::QualType type, const std::string &name,
62 const clang::AccessSpecifier &access, std::string key) const;
77 std::unique_ptr<abi_dump::RecordDecl> GetRecordDecl() const;
84 const std::string &source_file) const;
110 std::unique_ptr<abi_dump::FunctionDecl> GetFunctionDecl() const;
117 const std::string &source_file) const;
[all …]
Dheader_checker.cpp34 static llvm::cl::opt<std::string> header_file(
38 static llvm::cl::opt<std::string> out_dump(
43 static llvm::cl::list<std::string> exported_header_dirs(
71 std::vector<const char *> fixedArgv(argv, argv + argc); in main()
76 std::unique_ptr<clang::tooling::CompilationDatabase> compilations( in main()
100 static_cast<std::vector<std::string> &>(exported_header_dirs).clear(); in main()
104 std::vector<std::string> header_files{ header_file }; in main()
107 std::unique_ptr<clang::tooling::FrontendActionFactory> factory( in main()
Dabi_wrappers.cpp35 std::string ABIWrapper::GetDeclSourceFile(const clang::Decl *decl, in GetDeclSourceFile()
47 std::string file_name_adjusted = ""; in GetDeclSourceFile()
87 std::pair<clang::CharUnits, clang::CharUnits> size_and_alignment = in SetupBasicTypeAbi()
99 const clang::QualType type, const std::string &name, in SetupBasicNamedAndTypedDecl()
100 const clang::AccessSpecifier &access, std::string key) const { in SetupBasicNamedAndTypedDecl()
114 std::string ABIWrapper::GetMangledNameDecl(const clang::NamedDecl *decl) const { in GetMangledNameDecl()
120 std::string mangled_name; in GetMangledNameDecl()
146 std::string name = (*template_it)->getName(); in SetupTemplateParamNames()
155 std::string ABIWrapper::GetTagDeclQualifiedName( in GetTagDeclQualifiedName()
189 std::string ABIWrapper::QualTypeToString( in QualTypeToString()
[all …]
Dfrontend_action_factory.cpp22 const std::string &dump_name, in HeaderCheckerFrontendActionFactory()
23 const std::vector<std::string> &export_header_dirs) in HeaderCheckerFrontendActionFactory()
/development/ndk/platforms/android-21/include/
Dstdatomic.h62 #define _Atomic(t) std::atomic<t>
64 using std::atomic_is_lock_free;
65 using std::atomic_init;
66 using std::atomic_store;
67 using std::atomic_store_explicit;
68 using std::atomic_load;
69 using std::atomic_load_explicit;
70 using std::atomic_exchange;
71 using std::atomic_exchange_explicit;
72 using std::atomic_compare_exchange_strong;
[all …]
/development/host/windows/usb/api/
Dadb_api_instance.h71 const std::wstring& interface_name() const { in interface_name()
101 std::wstring interface_name_;
111 typedef std::map< ADBAPIINSTANCEHANDLE, AdbApiInstance* > AdbApiInstanceMap;
Dadb_api_private_defines.h86 const std::wstring& device_name() const { in device_name()
105 std::wstring device_name_;
112 typedef std::vector< AdbInstanceEnumEntry > AdbEnumInterfaceArray;
/development/vndk/tools/header-checker/merge-abi-diff/src/
Dmerge_abi_diff.cpp41 static llvm::cl::list<std::string> diff_report_list(
45 static llvm::cl::opt<std::string> merged_diff_report(
81 const std::vector<std::string> &diff_reports, in MergeDiffReports()
82 const std::string &merged_diff_report) { in MergeDiffReports()
85 std::ofstream text_output(merged_diff_report); in MergeDiffReports()
91 std::ifstream input(i); in MergeDiffReports()
126 std::string status_str = ""; in main()
/development/vndk/tools/header-checker/tests/input/
Dexample2.h16 static constexpr bool __matches[] = {std::is_same<_T1, _T2>::value};
21 std::vector<HelloAgain *> foo_again;
77 std::vector<int *> Dummy(int t);

12