Home
last modified time | relevance | path

Searched refs:unordered_set (Results 1 – 25 of 118) sorted by relevance

12345

/system/core/libutils/
DLruCache_test.cpp356 std::unordered_set<int> returnedValues; in TEST_F()
363 EXPECT_EQ(std::unordered_set<int>({4, 5, 6}), returnedValues); in TEST_F()
371 std::unordered_set<int> returnedValues; in TEST_F()
375 EXPECT_EQ(std::unordered_set<int>(), returnedValues); in TEST_F()
384 std::unordered_set<int> returnedValues; in TEST_F()
388 EXPECT_EQ(std::unordered_set<int>({ 2 }), returnedValues); in TEST_F()
398 std::unordered_set<int> returnedValues; in TEST_F()
402 EXPECT_EQ(std::unordered_set<int>({ }), returnedValues); in TEST_F()
414 std::unordered_set<int> returnedValues; in TEST_F()
418 EXPECT_EQ(std::unordered_set<int>({ 4, 6 }), returnedValues); in TEST_F()
[all …]
/system/tools/hidl/
DType.h98 std::unordered_set<const Type*>* visited);
100 std::unordered_set<const Type*>* visited) const;
127 std::unordered_set<const Type*>* stack) const;
141 bool canCheckEquality(std::unordered_set<const Type*>* visited) const;
142 virtual bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const;
304 bool isJavaCompatible(std::unordered_set<const Type*>* visited) const;
305 virtual bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const;
309 bool containsPointer(std::unordered_set<const Type*>* visited) const;
310 virtual bool deepContainsPointer(std::unordered_set<const Type*>* visited) const;
DAST.cpp159 std::unordered_set<const Type*> visitedTypes; in constantExpressionRecursivePass()
160 std::unordered_set<const ConstantExpression*> visitedCE; in constantExpressionRecursivePass()
176 std::unordered_set<const Type*> visitedTypes; in constantExpressionRecursivePass()
177 std::unordered_set<const ConstantExpression*> visitedCE; in constantExpressionRecursivePass()
191 std::unordered_set<const Type*> visited; in setParseStage()
202 std::unordered_set<const Type*> visited; in lookupTypes()
230 std::unordered_set<const Type*> visited; in gatherReferencedTypes()
248 std::unordered_set<const Type*> visitedTypes; in lookupConstantExpressions()
249 std::unordered_set<const ConstantExpression*> visitedCE; in lookupConstantExpressions()
290 std::unordered_set<const Type*> visited; in validateDefinedTypesUniqueNames()
[all …]
DType.cpp164 std::unordered_set<const Type*>* visited) { in recursivePass()
188 std::unordered_set<const Type*>* visited) const { in recursivePass()
226 std::unordered_set<const Type*>* stack) const { in topologicalOrder()
344 std::unordered_set<const Type*> visited; in canCheckEquality()
348 bool Type::canCheckEquality(std::unordered_set<const Type*>* visited) const { in canCheckEquality()
357 bool Type::deepCanCheckEquality(std::unordered_set<const Type*>* /* visited */) const { in deepCanCheckEquality()
678 std::unordered_set<const Type*> visited; in isJavaCompatible()
683 std::unordered_set<const Type*> visited; in containsPointer()
687 bool Type::isJavaCompatible(std::unordered_set<const Type*>* visited) const { in isJavaCompatible()
702 bool Type::containsPointer(std::unordered_set<const Type*>* visited) const { in containsPointer()
[all …]
DPointerType.h64 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
65 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
DPointerType.cpp89 bool PointerType::deepIsJavaCompatible(std::unordered_set<const Type*>* /* visited */) const { in deepIsJavaCompatible()
93 bool PointerType::deepContainsPointer(std::unordered_set<const Type*>* /* visited */) const { in deepContainsPointer()
DArrayType.h34 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
113 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
114 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
DVectorType.h39 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
106 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
107 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
DConstantExpression.h60 std::unordered_set<const ConstantExpression*>* visited,
63 std::unordered_set<const ConstantExpression*>* visited,
100 CheckAcyclicStatus checkAcyclic(std::unordered_set<const ConstantExpression*>* visited,
101 std::unordered_set<const ConstantExpression*>* stack) const;
DgenerateDependencies.cpp30 std::unordered_set<const Type*> visited; in generateDependencies()
DCompoundType.h46 bool deepCanCheckEquality(std::unordered_set<const Type*>* visited) const override;
122 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override;
123 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
/system/extras/simpleperf/
Dcmd_report.cpp128 void SetFilters(const std::unordered_set<int>& cpu_filter, in SetFilters()
129 const std::unordered_set<int>& pid_filter, in SetFilters()
130 const std::unordered_set<int>& tid_filter, in SetFilters()
131 const std::unordered_set<std::string>& comm_filter, in SetFilters()
132 const std::unordered_set<std::string>& dso_filter, in SetFilters()
133 const std::unordered_set<std::string>& symbol_filter) { in SetFilters()
255 std::unordered_set<int> cpu_filter_;
256 std::unordered_set<int> pid_filter_;
257 std::unordered_set<int> tid_filter_;
258 std::unordered_set<std::string> comm_filter_;
[all …]
Dcmd_debug_unwind.cpp219 const std::unordered_set<uint64_t>& sample_times) in SampleUnwinder()
335 const std::unordered_set<uint64_t> sample_times_;
345 const std::unordered_set<uint64_t>& sample_times, in TestFileGenerator()
346 const std::unordered_set<std::string>& kept_binaries) in TestFileGenerator()
413 std::unordered_set<int> feature_types_to_copy = { in WriteFeatureSections()
480 const std::unordered_set<uint64_t> sample_times_;
481 const std::unordered_set<std::string> kept_binaries_;
627 std::unordered_set<std::string> kept_binaries_in_test_file_;
628 std::unordered_set<uint64_t> sample_times_;
/system/bt/gd/l2cap/internal/
Ddynamic_channel_allocator.h80 std::unordered_set<Cid> used_cid_;
82 std::unordered_set<Cid> used_remote_cid_;
/system/bt/gd/storage/
Dconfig_cache.h54 …ConfigCache(size_t temp_device_capacity, std::unordered_set<std::string_view> persistent_property_…
79 const std::string& section, const std::unordered_set<std::string_view>& property_names) const;
129 std::unordered_set<std::string_view> persistent_property_names_;
Dle_device.cc33 const std::unordered_set<std::string_view> LeDevice::kLinkKeyProperties = {
Dclassic_device.cc26 const std::unordered_set<std::string_view> ClassicDevice::kLinkKeyProperties = {"LinkKey"};
/system/tools/sysprop/
DCommon.cpp86 const std::unordered_set<char>& allowed_chars) { in IsCorrectName()
96 std::unordered_set<char> allowed{'_', '-', '.'}; in IsCorrectPropertyName()
104 static std::unordered_set<char> allowed{'_', '-'}; in IsCorrectApiName()
128 std::unordered_set<std::string> name_set; in ValidateProp()
223 std::unordered_set<std::string> prop_names; in ValidateProps()
330 std::unordered_set<std::string> modules; in ParseApiFile()
/system/linkerconfig/contents/tests/configuration/include/
Dconfigurationtest.h25 inline void TraverseLink(const Namespace& ns, std::unordered_set<std::string>& visible_ns) { in TraverseLink()
38 std::unordered_set<std::string> visible_ns; in ValidateAllNamespacesAreVisible()
/system/tools/hidl/lint/lints/
Dsafeunion.cpp34 static void lintUnionRecursively(const Scope* scope, std::unordered_set<const Type*>* visited, in lintUnionRecursively()
113 std::unordered_set<const Type*> visited; in safeunionLint()
DemptyStructs.cpp30 std::unordered_set<const Type*> visited; in checkSmallStructs()
/system/bt/gd/l2cap/le/internal/
Dlink_manager.h117 std::unordered_set<hci::AddressWithType> disconnected_links_;
118 std::unordered_set<hci::AddressWithType> links_with_pending_packets_;
/system/core/llkd/
Dlibllkd.cpp98 std::unordered_set<std::string> llkCheckStackSymbols;
108 std::unordered_set<std::string> llkIgnorelistProcess;
111 std::unordered_set<std::string> llkIgnorelistParent;
114 std::unordered_map<std::string, std::unordered_set<std::string>> llkIgnorelistParentAndChild;
116 std::unordered_set<std::string> llkIgnorelistUid;
120 std::unordered_set<std::string> llkIgnorelistStack;
629 std::string llkFormat(const std::unordered_set<std::string>& ignorelist) { in llkFormat()
639 const std::unordered_map<std::string, std::unordered_set<std::string>>& ignorelist, in llkFormat()
658 std::unordered_set<std::string> llkSplit(const std::string& prop, const std::string& def) { in llkSplit()
663 std::unordered_set<std::string> result; in llkSplit()
[all …]
/system/extras/partition_tools/
Dlpunpack.cc42 std::unordered_set<std::string>&& partitions, const std::string& output_dir);
53 std::unordered_set<std::string> partitions_;
102 std::unordered_set<std::string> partitions; in main()
176 std::unordered_set<std::string>&& partitions, in ImageExtractor()
/system/core/libappfuse/include/libappfuse/
DFuseBridgeLoop.h58 bool ProcessEventLocked(const std::unordered_set<FuseBridgeEntry*>& entries,

12345