| /llvm-project-15.0.7/third-party/benchmark/test/ |
| H A D | benchmark_random_interleaving_gtest.cc | 30 std::string Get() { in Get() function in benchmark::internal::__anon40b2d9fb0111::EventQueue 81 ASSERT_EQ("BM_Match1/1", queue->Get()); in TEST_F() 82 ASSERT_EQ("BM_Match1/2", queue->Get()); in TEST_F() 83 ASSERT_EQ("BM_Match1/3", queue->Get()); in TEST_F() 84 ASSERT_EQ("BM_Match1/10", queue->Get()); in TEST_F() 85 ASSERT_EQ("BM_Match1/64", queue->Get()); in TEST_F() 89 ASSERT_EQ("DONE", queue->Get()); in TEST_F() 100 ASSERT_EQ("DONE", queue->Get()); in TEST_F() 112 interleaving.push_back(queue->Get()); in TEST_F() 113 interleaving.push_back(queue->Get()); in TEST_F() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | RegisterValueTest.cpp | 27 const auto &Get = [](const RV &V) -> llvm::Optional<Scalar> { in TEST() local 33 EXPECT_EQ(Get(RV(uint8_t(47))), Scalar(47)); in TEST() 34 EXPECT_EQ(Get(RV(uint16_t(4747))), Scalar(4747)); in TEST() 35 EXPECT_EQ(Get(RV(uint32_t(47474242))), Scalar(47474242)); in TEST() 36 EXPECT_EQ(Get(RV(uint64_t(4747424247474242))), Scalar(4747424247474242)); in TEST() 37 EXPECT_EQ(Get(RV(APInt::getMaxValue(128))), Scalar(APInt::getMaxValue(128))); in TEST() 38 EXPECT_EQ(Get(RV(47.5f)), Scalar(47.5f)); in TEST() 39 EXPECT_EQ(Get(RV(47.5)), Scalar(47.5)); in TEST() 40 EXPECT_EQ(Get(RV(47.5L)), Scalar(47.5L)); in TEST() 41 EXPECT_EQ(Get(RV({0xff, 0xee, 0xdd, 0xcc}, lldb::eByteOrderLittle)), in TEST() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/tests/unit/ |
| H A D | tsan_vector_clock_test.cpp | 23 ASSERT_EQ(vc->Get(static_cast<Sid>(i)), kEpochZero); in TEST() 30 ASSERT_EQ(vc->Get(static_cast<Sid>(i)), kEpochZero); in TEST() 41 ASSERT_EQ(vc1->Get(static_cast<Sid>(i)), kEpochZero); in TEST() 46 ASSERT_EQ(vc1->Get(static_cast<Sid>(i)), kEpochZero); in TEST() 54 ASSERT_EQ(vc1->Get(static_cast<Sid>(i)), in TEST() 57 ASSERT_EQ(vc2->Get(static_cast<Sid>(i)), in TEST() 62 ASSERT_EQ(vc3->Get(static_cast<Sid>(i)), in TEST() 64 ASSERT_EQ(vc2->Get(static_cast<Sid>(i)), in TEST() 78 ASSERT_EQ(vc1->Get(static_cast<Sid>(i)), expect); in TEST() 79 ASSERT_EQ(vc2->Get(static_cast<Sid>(i)), expect); in TEST() [all …]
|
| H A D | tsan_trace_test.cpp | 106 CHECK_EQ(mset.Get(0).addr, 0x5001); in TRACE_TEST() 108 CHECK_EQ(mset.Get(0).write, true); in TRACE_TEST() 109 CHECK_EQ(mset.Get(1).addr, 0x5002); in TRACE_TEST() 111 CHECK_EQ(mset.Get(1).write, false); in TRACE_TEST() 192 CHECK_EQ(mset.Get(0).addr, 0x5000); in TRACE_TEST() 194 CHECK_EQ(mset.Get(0).write, true); in TRACE_TEST() 195 CHECK_EQ(mset.Get(1).addr, 0x5001); in TRACE_TEST() 197 CHECK_EQ(mset.Get(1).write, false); in TRACE_TEST() 239 CHECK_EQ(mset.Get(0).write, true); in TRACE_TEST() 240 CHECK_EQ(mset.Get(0).count, 2); in TRACE_TEST() [all …]
|
| /llvm-project-15.0.7/lldb/test/API/python_api/sbenvironment/ |
| H A D | TestSBEnvironment.py | 35 self.assertNotEqual(env.Get("PATH"), None) 71 self.assertEqual(env.Get("PATH"), None) 75 path = env.Get("PATH") 81 self.assertEqual(target.GetEnvironment().Get("PATH"), path) 86 self.assertEqual(env.Get("FOO"), None) 87 self.assertEqual(env.Get("BAR"), None) 93 self.assertEqual(env.Get("FOO"), "") 94 self.assertEqual(env.Get("BAR"), "foo") 102 self.assertEqual(env.Get("FOO"), "") 105 self.assertEqual(env.Get("FOO"), "bar") [all …]
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | decomposed-condition.cpp | 8 struct Get { struct 14 template<> struct tuple_size<Get> { static constexpr int value = 1; }; argument 15 template<> struct tuple_element<0, Get> { using type = int; }; 40 …if (auto [value] = Get()) // expected-warning {{ISO C++17 does not permit structured binding decla… in h() 51 …while (auto [value] = Get()) // expected-warning{{ISO C++17 does not permit structured binding dec… in h() 62 …for (; auto [value] = Get();) // expected-warning {{ISO C++17 does not permit structured binding d… in h() 81 …switch (auto [value] = Get()) {// expected-warning {{ISO C++17 does not permit structured binding … in h()
|
| /llvm-project-15.0.7/lldb/source/DataFormatters/ |
| H A D | TypeCategory.cpp | 85 bool TypeCategoryImpl::Get(lldb::LanguageType lang, in Get() function in TypeCategoryImpl 90 if (GetTypeFormatsContainer()->Get(candidates, entry)) in Get() 96 bool TypeCategoryImpl::Get(lldb::LanguageType lang, in Get() function in TypeCategoryImpl 101 if (GetTypeSummariesContainer()->Get(candidates, entry)) in Get() 107 bool TypeCategoryImpl::Get(lldb::LanguageType lang, in Get() function in TypeCategoryImpl 115 if (!GetTypeFiltersContainer()->Get(candidates, filter_sp)) in Get() 116 GetRegexTypeFiltersContainer()->Get(candidates, filter_sp); in Get() 120 if (!GetTypeSyntheticsContainer()->Get(candidates, synth)) in Get() 121 GetRegexTypeSyntheticsContainer()->Get(candidates, synth); in Get() 237 if (GetTypeFormatsContainer()->Get(type_name, format_sp)) { in AnyMatches() [all …]
|
| H A D | FormatCache.cpp | 27 void FormatCache::Entry::Get(lldb::TypeFormatImplSP &retval) { in Get() function in FormatCache::Entry 31 void FormatCache::Entry::Get(lldb::TypeSummaryImplSP &retval) { in Get() function in FormatCache::Entry 35 void FormatCache::Entry::Get(lldb::SyntheticChildrenSP &retval) { in Get() function in FormatCache::Entry 77 bool FormatCache::Get(ConstString type, ImplSP &format_impl_sp) { in Get() function in FormatCache 82 entry.Get(format_impl_sp); in Get() 93 FormatCache::Get<lldb::TypeFormatImplSP>(ConstString, lldb::TypeFormatImplSP &); 95 FormatCache::Get<lldb::TypeSummaryImplSP>(ConstString, 98 FormatCache::Get<lldb::SyntheticChildrenSP>(ConstString,
|
| H A D | LanguageCategory.cpp | 34 bool LanguageCategory::Get(FormattersMatchData &match_data, in Get() function in LanguageCategory 43 if (m_format_cache.Get(match_data.GetTypeForCache(), retval_sp)) in Get() 48 bool result = m_category_sp->Get(valobj.GetObjectRuntimeLanguage(), in Get() 62 LanguageCategory::Get<lldb::TypeFormatImplSP>(FormattersMatchData &, 65 LanguageCategory::Get<lldb::TypeSummaryImplSP>(FormattersMatchData &, 68 LanguageCategory::Get<lldb::SyntheticChildrenSP>(FormattersMatchData &,
|
| H A D | TypeCategoryMap.cpp | 49 if (!Get(category_name, category)) in Enable() 57 if (!Get(category_name, category)) in Disable() 133 bool TypeCategoryMap::Get(KeyType name, ValueSP &entry) { in Get() function in TypeCategoryMap 142 bool TypeCategoryMap::Get(uint32_t pos, ValueSP &entry) { in Get() function in TypeCategoryMap 172 void TypeCategoryMap::Get(FormattersMatchData &match_data, ImplSP &retval) { in Get() function in TypeCategoryMap 197 if (!category_sp->Get( in Get() 211 TypeCategoryMap::Get<lldb::TypeFormatImplSP>(FormattersMatchData &match_data, 214 TypeCategoryMap::Get<lldb::TypeSummaryImplSP>(FormattersMatchData &match_data, 216 template void TypeCategoryMap::Get<lldb::SyntheticChildrenSP>(
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_chained_origin_depot_test.cpp | 28 EXPECT_EQ(chainedOriginDepot.Get(new_id, &prev_id), 1U); in TEST() 34 EXPECT_EQ(0U, chainedOriginDepot.Get(99, &prev_id)); in TEST() 40 EXPECT_EQ(0U, chainedOriginDepot.Get(0, &prev_id)); in TEST() 52 EXPECT_EQ(chainedOriginDepot.Get(new_id1, &prev_id), 11U); in TEST() 64 EXPECT_EQ(chainedOriginDepot.Get(new_id1, &prev_id), 21U); in TEST() 66 EXPECT_EQ(chainedOriginDepot.Get(new_id2, &prev_id), 21U); in TEST()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | CppModuleConfiguration.cpp | 116 MakePath(m_c_inc.Get(), "stdio.h"), in hasValidConfig() 119 MakePath(m_std_inc.Get(), "module.modulemap"), in hasValidConfig() 122 MakePath(m_std_inc.Get(), "vector"), in hasValidConfig() 149 m_include_dirs = {m_std_inc.Get().str(), m_resource_inc, in CppModuleConfiguration() 150 m_c_inc.Get().str()}; in CppModuleConfiguration() 152 m_include_dirs.push_back(m_c_target_inc.Get().str()); in CppModuleConfiguration() 154 m_include_dirs.push_back(m_std_target_inc.Get().str()); in CppModuleConfiguration()
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/ |
| H A D | p11.cpp | 37 template <class Get> 38 int &f(char const* name, Get fget, char const* docstr = 0); 40 template <class Get, class Set> 41 float &f(char const* name, Get fget, Set fset, char const* docstr = 0);
|
| /llvm-project-15.0.7/lldb/include/lldb/DataFormatters/ |
| H A D | FormatCache.h | 40 void Get(lldb::TypeFormatImplSP &); 41 void Get(lldb::TypeSummaryImplSP &); 42 void Get(lldb::SyntheticChildrenSP &); 60 template <typename ImplSP> bool Get(ConstString type, ImplSP &format_impl_sp);
|
| /llvm-project-15.0.7/flang/include/flang/Semantics/ |
| H A D | tools.h | 266 const SomeExpr *Get(const parser::Expr &); 267 const SomeExpr *Get(const parser::Variable &); 269 const SomeExpr *Get(const parser::AllocateObject &); 270 const SomeExpr *Get(const parser::PointerObject &); 273 return Get(x.value()); in Get() 276 return x ? Get(*x) : nullptr; in Get() 282 return Get(x.thing); in Get() 284 return Get(x.v); in Get() 302 return GetExprHelper{context}.Get(x); in GetExpr() 306 return GetExprHelper{&context}.Get(x); in GetExpr() [all …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | ms-interface.cpp | 85 __declspec(property(get = Get, put = Put)) int data; 86 int Get(void); 93 __declspec(property(get = Get, put = Put), deprecated) int data; 94 int Get(void);
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_flat_map.h | 79 T *p = Get(i); in TestOnlyUnmap() 91 T *p = Get(i); in MemoryUsage() 105 return Get(idx / kSize2); in contains() 125 T *Get(uptr idx) const { in Get() function 149 T *res = Get(idx); in Create()
|
| H A D | sanitizer_allocator_stats.h | 47 uptr Get(AllocatorStat i) const { in Get() function 83 Add(AllocatorStat(i), s->Get(AllocatorStat(i))); in Unregister() 86 void Get(AllocatorStatCounters s) const { in Get() function 92 s[i] += stats->Get(AllocatorStat(i)); in Get()
|
| H A D | sanitizer_stack_store.cpp | 124 uptr *StackStore::BlockInfo::Get() const { in Get() function in __sanitizer::StackStore::BlockInfo 133 uptr *ptr = Get(); in Create() 142 uptr *ptr = Get(); in GetOrCreate() 260 return Get(); in GetOrUnpack() 265 u8 *ptr = reinterpret_cast<u8 *>(Get()); in GetOrUnpack() 298 return Get(); in GetOrUnpack() 314 uptr *ptr = Get(); in Pack() 365 if (uptr *ptr = Get()) in TestOnlyUnmap()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | UserIDResolver.h | 29 return Get(uid, m_uid_cache, &UserIDResolver::DoGetUserName); in GetUserName() 32 return Get(gid, m_gid_cache, &UserIDResolver::DoGetGroupName); in GetGroupName() 47 Get(id_t id, Map &cache,
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/PDB/Inputs/ |
| H A D | ClassLayoutTest.cpp | 65 int Get() { return 0; } in Get() function in MemberTest::Base 85 int Get() { return 1; } in Get() function in MemberTest::Class 108 B1.Get(); in main()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/ |
| H A D | uniqueptr-reset-release.cpp | 26 std::unique_ptr<Foo> *Get(); 52 Get()->reset(Get()->release()); in f()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | BuiltinsBPF.def | 20 // Get record field information. 23 // Get BTF type id. 26 // Get type information.
|
| /llvm-project-15.0.7/llvm/bindings/ocaml/debuginfo/ |
| H A D | llvm_debuginfo.mli | 253 (** [di_location_get_line l] Get the line number of debug location [l]. *) 259 (** [di_location_get_scope l] Get the local scope associated with 272 (** [di_file_get_directory f] Get the directory of file [f]. *) 275 (** [di_file_get_filename f] Get the name of file [f]. *) 278 (** [di_file_get_source f] Get the source of file [f]. *) 590 (** [di_type_get_name m] Get the name of DIType [m]. *) 593 (** [di_type_get_size_in_bits m] Get size in bits of DIType [m]. *) 596 (** [di_type_get_offset_in_bits m] Get offset in bits of DIType [m]. *) 599 (** [di_type_get_align_in_bits m] Get alignment in bits of DIType [m]. *) 605 (** [di_type_get_flags m] Get the flags associated with DIType [m]. *) [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SymbolRewriter.cpp | 112 ValueType *(Module::*Get)(StringRef) const> 133 ValueType *(Module::*Get)(StringRef) const> 134 bool ExplicitRewriteDescriptor<DT, ValueType, Get>::performOnModule(Module &M) { in performOnModule() 136 if (ValueType *S = (M.*Get)(Source)) { in performOnModule() 140 if (Value *T = (M.*Get)(Target)) in performOnModule() 153 ValueType *(Module::*Get)(StringRef) const, 175 ValueType *(Module::*Get)(StringRef) const, 178 bool PatternRewriteDescriptor<DT, ValueType, Get, Iterator>:: 195 if (Value *V = (M.*Get)(Name)) in performOnModule()
|