/llvm-project/libc/test/src/__support/ |
H A D | str_to_integer_test.cpp | 20 auto result = LIBC_NAMESPACE::internal::strtointeger<int>("12345", 10, 10); in TEST() local 21 EXPECT_FALSE(result.has_error()); in TEST() 22 EXPECT_EQ(result.parsed_len, ptrdiff_t(5)); in TEST() 23 ASSERT_EQ(result.value, 12345); in TEST() 25 result = LIBC_NAMESPACE::internal::strtointeger<int>("12345", 10, 2); in TEST() 26 EXPECT_FALSE(result.has_error()); in TEST() 27 EXPECT_EQ(result.parsed_len, ptrdiff_t(2)); in TEST() 28 ASSERT_EQ(result.value, 12); in TEST() 30 result = LIBC_NAMESPACE::internal::strtointeger<int>("12345", 10, 0); in TEST() 31 EXPECT_FALSE(result.has_error()); in TEST() [all …]
|
H A D | block_test.cpp | 27 auto result = Block::init(bytes); 28 ASSERT_TRUE(result.has_value()); 29 Block *block = *result; 58 auto result = Block::init(aligned.subspan(1)); in TEST_FOR_EACH_BLOCK_TYPE() 59 EXPECT_TRUE(result.has_value()); 61 Block *block = *result; in TEST_FOR_EACH_BLOCK_TYPE() 72 auto result = Block::init(bytes); in TEST_FOR_EACH_BLOCK_TYPE() 73 EXPECT_FALSE(result.has_value()); in TEST_FOR_EACH_BLOCK_TYPE() local 85 auto result = Block::init(bytes); in TEST() 86 ASSERT_TRUE(result in TEST() local 48 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 67 auto result = BlockType::init(aligned.subspan(1)); TEST_FOR_EACH_BLOCK_TYPE() local 95 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 120 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 160 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 183 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 196 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 206 auto result = BlockType::split(block, 1); TEST_FOR_EACH_BLOCK_TYPE() local 215 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 228 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 242 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 256 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 272 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 291 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 308 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 332 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 354 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 370 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 386 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 414 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 441 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 467 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 492 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 516 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 551 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 564 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 579 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 593 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 610 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 642 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 685 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local 725 auto result = BlockType::init(bytes); TEST_FOR_EACH_BLOCK_TYPE() local [all...] |
/llvm-project/libc/AOR_v20.02/math/test/testcases/directed/ |
H A D | powf.tst | 7 func=powf op1=7f800001 op2=7f800001 result=7fc00001 errno=0 status=i 8 func=powf op1=7f800001 op2=ff800001 result=7fc00001 errno=0 status=i 9 func=powf op1=7f800001 op2=7fc00001 result=7fc00001 errno=0 status=i 10 func=powf op1=7f800001 op2=ffc00001 result=7fc00001 errno=0 status=i 11 func=powf op1=7f800001 op2=7f800000 result=7fc00001 errno=0 status=i 12 func=powf op1=7f800001 op2=40800000 result=7fc00001 errno=0 status=i 13 func=powf op1=7f800001 op2=40400000 result=7fc00001 errno=0 status=i 14 func=powf op1=7f800001 op2=3f000000 result=7fc00001 errno=0 status=i 15 func=powf op1=7f800001 op2=00000000 result=7fc00001 errno=0 status=i 16 func=powf op1=7f800001 op2=80000000 result=7fc00001 errno=0 status=i [all …]
|
H A D | pow.tst | 7 func=pow op1=00000000.00000000 op2=00000000.00000000 result=3ff00000.00000000 errno=0 8 func=pow op1=00000000.00000000 op2=00000000.00000001 result=00000000.00000000 errno=0 9 func=pow op1=00000000.00000000 op2=00100000.00000000 result=00000000.00000000 errno=0 10 func=pow op1=00000000.00000000 op2=1fffffff.ffffffff result=00000000.00000000 errno=0 11 func=pow op1=00000000.00000000 op2=3bdfffff.ffffffff result=00000000.00000000 errno=0 12 func=pow op1=00000000.00000000 op2=3be00000.00000000 result=00000000.00000000 errno=0 13 func=pow op1=00000000.00000000 op2=3fe00000.00000000 result=00000000.00000000 errno=0 14 func=pow op1=00000000.00000000 op2=3ff00000.00000000 result=00000000.00000000 errno=0 15 func=pow op1=00000000.00000000 op2=40000000.00000000 result=00000000.00000000 errno=0 16 func=pow op1=00000000.00000000 op2=40080000.00000000 result=00000000.00000000 errno=0 [all …]
|
H A D | logf.tst | 7 func=logf op1=7fc00001 result=7fc00001 errno=0 8 func=logf op1=ffc00001 result=7fc00001 errno=0 9 func=logf op1=7f800001 result=7fc00001 errno=0 status=i 10 func=logf op1=ff800001 result=7fc00001 errno=0 status=i 11 func=logf op1=ff810000 result=7fc00001 errno=0 status=i 12 func=logf op1=7f800000 result=7f800000 errno=0 13 func=logf op1=ff800000 result=7fc00001 errno=EDOM status=i 14 func=logf op1=3f800000 result=00000000 errno=0 15 func=logf op1=00000000 result=ff800000 errno=ERANGE status=z 16 func=logf op1=80000000 result=ff800000 errno=ERANGE status=z [all …]
|
/llvm-project/libc/test/src/stdio/ |
H A D | sscanf_test.cpp | 38 int result = 0; in TEST() 39 ret_val = LIBC_NAMESPACE::sscanf("123", "%d", &result); in TEST() 41 EXPECT_EQ(result, 123); in TEST() 43 ret_val = LIBC_NAMESPACE::sscanf("456", "%i", &result); in TEST() 45 EXPECT_EQ(result, 456); in TEST() 47 ret_val = LIBC_NAMESPACE::sscanf("789", "%x", &result); in TEST() 49 EXPECT_EQ(result, 0x789); in TEST() 51 ret_val = LIBC_NAMESPACE::sscanf("012", "%o", &result); in TEST() 53 EXPECT_EQ(result, 012); in TEST() 55 ret_val = LIBC_NAMESPACE::sscanf("345", "%u", &result); in TEST() 40 int result = 0; TEST() local 140 int result = 0; TEST() local 160 int result = 0; TEST() local 207 int result = 0; TEST() local 231 float result = 0; TEST() local 334 float result = 0; TEST() local 392 float result = 0; TEST() local 464 float result = 0; TEST() local 530 float result = 0; TEST() local 586 int result = -1; TEST() local 634 void *result; TEST() local 673 int result = 0; TEST() local [all...] |
/llvm-project/flang/unittests/Runtime/ |
H A D | Matmul.cpp | 41 Descriptor &result{statDesc.descriptor()}; in TEST() local 43 RTNAME(MatmulInteger4Integer2)(result, *x, *y, __FILE__, __LINE__); in TEST() 44 ASSERT_EQ(result.rank(), 2); in TEST() 45 EXPECT_EQ(result.GetDimension(0).LowerBound(), 1); in TEST() 46 EXPECT_EQ(result.GetDimension(0).Extent(), 2); in TEST() 47 EXPECT_EQ(result.GetDimension(1).LowerBound(), 1); in TEST() 48 EXPECT_EQ(result.GetDimension(1).Extent(), 2); in TEST() 49 ASSERT_EQ(result.type(), (TypeCode{TypeCategory::Integer, 4})); in TEST() 50 EXPECT_EQ(*result.ZeroBasedIndexedElement<std::int32_t>(0), 46); in TEST() 51 EXPECT_EQ(*result.ZeroBasedIndexedElement<std::int32_t>(1), 67); in TEST() [all …]
|
H A D | MatmulTranspose.cpp | 47 Descriptor &result{statDesc.descriptor()}; in TEST() local 49 RTNAME(MatmulTransposeInteger4Integer2)(result, *x, *y, __FILE__, __LINE__); in TEST() 50 ASSERT_EQ(result.rank(), 2); in TEST() 51 EXPECT_EQ(result.GetDimension(0).LowerBound(), 1); in TEST() 52 EXPECT_EQ(result.GetDimension(0).Extent(), 2); in TEST() 53 EXPECT_EQ(result.GetDimension(1).LowerBound(), 1); in TEST() 54 EXPECT_EQ(result.GetDimension(1).Extent(), 2); in TEST() 55 ASSERT_EQ(result.type(), (TypeCode{TypeCategory::Integer, 4})); in TEST() 56 EXPECT_EQ(*result.ZeroBasedIndexedElement<std::int32_t>(0), 46); in TEST() 57 EXPECT_EQ(*result.ZeroBasedIndexedElement<std::int32_t>(1), 67); in TEST() [all …]
|
H A D | Transformational.cpp | 37 Descriptor &result{desc.descriptor()}; in testBesselJn() local 43 rtFunc(result, n1, n2, x, anc0, anc1, __FILE__, __LINE__); in testBesselJn() 45 EXPECT_EQ(result.type(), (TypeCode{TypeCategory::Real, KIND})); in testBesselJn() 46 EXPECT_EQ(result.rank(), 1); in testBesselJn() 48 result.ElementBytes(), sizeof(CppTypeFor<TypeCategory::Real, KIND>)); in testBesselJn() 49 EXPECT_EQ(result.GetDimension(0).LowerBound(), 1); in testBesselJn() 50 EXPECT_EQ(result.GetDimension(0).Extent(), len); in testBesselJn() 54 (*result.ZeroBasedIndexedElement<CppTypeFor<TypeCategory::Real, KIND>>( in testBesselJn() 64 Descriptor &result{desc.descriptor()}; in testBesselJnX0() local 66 rtFunc(result, n in testBesselJnX0() 135 Descriptor &result{desc.descriptor()}; testBesselYn() local 162 Descriptor &result{desc.descriptor()}; testBesselYnX0() local 231 Descriptor &result{statDesc.descriptor()}; TEST() local 387 Descriptor &result{statDesc.descriptor()}; TEST() local 421 Descriptor &result{statDesc.descriptor()}; TEST() local 468 Descriptor &result{statDesc.descriptor()}; TEST() local 495 Descriptor &result{statDesc.descriptor()}; TEST() local 537 Descriptor &result{statDesc.descriptor()}; TEST() local [all...] |
/llvm-project/lldb/test/API/commands/expression/macros/ |
H A D | TestMacros.py | 38 result = frame.EvaluateExpression("MACRO_1") 40 result.IsValid() and result.GetValue() == "100", "MACRO_1 = 100" 43 result = frame.EvaluateExpression("MACRO_2") 45 result.IsValid() and result.GetValue() == "200", "MACRO_2 = 200" 48 result = frame.EvaluateExpression("ONE") 49 self.assertTrue(result.IsValid() and result.GetValue() == "1", "ONE = 1") 51 result = frame.EvaluateExpression("TWO") 52 self.assertTrue(result.IsValid() and result.GetValue() == "2", "TWO = 2") 54 result = frame.EvaluateExpression("THREE") 55 self.assertTrue(result.IsValid() and result.GetValue() == "3", "THREE = 3") [all …]
|
/llvm-project/llvm/test/tools/llvm-reduce/mir/ |
H A D | preserve-machine-function-info-amdgpu.mir | 3 # RUN: FileCheck --check-prefix=RESULT %s < %t 7 # RESULT: name: func 16 # RESULT: machineFunctionInfo: 17 # RESULT-NEXT: explicitKernArgSize: 108 18 # RESULT-NEXT: maxKernArgAlign: 32 19 # RESULT-NEXT: ldsSize: 256 20 # RESULT-NEXT: gdsSize: 128 21 # RESULT-NEXT: dynLDSAlign: 16 22 # RESULT-NEXT: isEntryFunction: true 23 # RESULT-NEXT: noSignedZerosFPMath: true [all …]
|
/llvm-project/llvm/test/Transforms/InstSimplify/ |
H A D | constant-fold-fp-denormal.ll | 9 ; Denormal operand added to normal operand produces denormal result. 10 ; If denormal outputs should be flushed to zero, the result should be zero. 11 ; If denormal inputs should be treated as zero, the result should be the 19 ; default ieee mode leaves result as a denormal 20 %result = fadd float 0xB810000000000000, 0x3800000000000000 21 ret float %result 28 ; denormal result is flushed to positive zero 29 %result = fadd float 0xB810000000000000, 0x3800000000000000 30 ret float %result 37 ; denormal result is flushed to sign preserved zero [all …]
|
/llvm-project/libc/test/src/string/ |
H A D | strncmp_test.cpp | 18 int result = LIBC_NAMESPACE::strncmp(s1, s2, 1); in TEST() local 19 ASSERT_EQ(result, 0); in TEST() 22 result = LIBC_NAMESPACE::strncmp(s2, s1, 1); in TEST() 23 ASSERT_EQ(result, 0); in TEST() 30 int result = LIBC_NAMESPACE::strncmp(empty, s2, 3); in TEST() local 32 ASSERT_EQ(result, -97); in TEST() 36 result = LIBC_NAMESPACE::strncmp(s3, empty, 3); in TEST() 38 ASSERT_EQ(result, 49); in TEST() 44 int result = LIBC_NAMESPACE::strncmp(s1, s2, 3); in TEST() local 45 ASSERT_EQ(result, 0); in TEST() [all …]
|
/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/ |
H A D | Marshalling.cpp | 45 llvm::DenseSet<SymbolID> Result; in getIDs() local 50 Result.insert(*SID); in getIDs() 52 return Result; in getIDs() 91 clangd::FuzzyFindRequest Result; in fromProtobuf() local 92 Result.Query = Message->query(); in fromProtobuf() 94 Result.Scopes.push_back(Scope); in fromProtobuf() 95 Result.AnyScope = Message->any_scope(); in fromProtobuf() 97 Result.Limit = Message->limit(); in fromProtobuf() 98 Result.RestrictForCodeCompletion = Message->restricted_for_code_completion(); in fromProtobuf() 105 Result in fromProtobuf() 147 clangd::Symbol Result; fromProtobuf() local 186 clangd::Ref Result; fromProtobuf() local 258 Symbol Result; toProtobuf() local 293 Ref Result; toProtobuf() local 304 Relation Result; toProtobuf() local 323 auto Result = URI::createFile(FullPath); relativePathToURI() local 334 llvm::SmallString<256> Result = ParsedURI->body(); uriToRelativePath() local 348 clangd::SymbolLocation::Position Result; fromProtobuf() local 356 remote::Position Result; toProtobuf() local 363 clang::index::SymbolInfo Result; fromProtobuf() local 373 SymbolInfo Result; toProtobuf() local 395 remote::SymbolLocation Result; toProtobuf() local 407 HeaderWithReferences Result; toProtobuf() local [all...] |
/llvm-project/lldb/unittests/API/ |
H A D | SBCommandInterpreterTest.cpp | 35 SBCommandReturnObject &result) override { in DoExecute() argument 36 result.PutCString(m_message.c_str()); in DoExecute() 37 result.SetStatus(eReturnStatusSuccessFinishResult); in DoExecute() 38 return result.Succeeded(); in DoExecute() 51 SBCommandReturnObject result; in TEST_F() local 52 interp.HandleCommand("dummy", result, /*add_to_history=*/true); in TEST_F() 53 EXPECT_TRUE(result.Succeeded()); in TEST_F() 54 EXPECT_STREQ(result.GetOutput(), "It worked\n"); in TEST_F() 57 SBCommandReturnObject result; in TEST_F() local 58 interp.HandleCommand("", result); in TEST_F() [all …]
|
/llvm-project/clang/lib/Index/ |
H A D | CommentToXML.cpp | 199 llvm::raw_svector_ostream &Result) { in printHTMLStartTagComment() argument 200 Result << "<" << C->getTagName(); in printHTMLStartTagComment() 204 Result << " "; in printHTMLStartTagComment() 206 Result << Attr.Name; in printHTMLStartTagComment() 208 Result << "=\"" << Attr.Value << "\""; in printHTMLStartTagComment() 213 Result << ">"; in printHTMLStartTagComment() 215 Result << "/>"; in printHTMLStartTagComment() 225 FC(FC), Result(Str), Traits(Traits) in CommentASTToHTMLConverter() 256 llvm::raw_svector_ostream Result; member in __anon305b0c5b0111::CommentASTToHTMLConverter 281 Result << " "; in visitInlineCommandComment() [all …]
|
/llvm-project/flang/include/flang/Evaluate/ |
H A D | traverse.h | 22 // The client (Visitor) of Traverse<Visitor,Result> must define: 23 // - a member function "Result Default();" 24 // - a member function "Result Combine(Result &&, Result &&)" 25 // - overrides for "Result operator()" 48 template <typename Visitor, typename Result, 56 Result operator()(const common::Indirection<A, C> &x) const { in operator() 60 Result operator()(const common::ForwardOwningPointer<A> &p) const { in operator() 63 template <typename _> Result operato in operator() [all...] |
H A D | expression.h | 49 // - Expr<Type<CATEGORY, KIND>> represents an expression whose result is of a 51 // - Expr<SomeDerived> wraps data and procedure references that result in an 60 // represented with an instance of some class containing a Result typedef that 63 template <typename A> using ResultType = typename std::decay_t<A>::Result; 66 template <typename RESULT> class ExpressionBase { 68 using Result = RESULT; 71 using Derived = Expr<Result>; 104 // Operations always have specific Fortran result types (i.e., with known 113 template <typename DERIVED, typename RESULT, typenam 121 using Result = RESULT; global() variable 217 using Result = TO; global() member 226 using Result = A; global() member [all...] |
/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/ |
H A D | combine-amdgpu-cvt-f32-ubyte.mir | 15 ; CHECK-NEXT: %result:_(s32) = G_AMDGPU_CVT_F32_UBYTE0 %arg 16 ; CHECK-NEXT: $vgpr0 = COPY %result(s32) 20 %result:_(s32) = G_AMDGPU_CVT_F32_UBYTE0 %shift 21 $vgpr0 = COPY %result 35 ; CHECK-NEXT: %result:_(s32) = G_AMDGPU_CVT_F32_UBYTE1 %arg 36 ; CHECK-NEXT: $vgpr0 = COPY %result(s32) 40 %result:_(s32) = G_AMDGPU_CVT_F32_UBYTE0 %shift 41 $vgpr0 = COPY %result 55 ; CHECK-NEXT: %result:_(s32) = G_AMDGPU_CVT_F32_UBYTE2 %arg 56 ; CHECK-NEXT: $vgpr0 = COPY %result(s32) [all …]
|
/llvm-project/libcxx/test/libcxx/time/time.zone/time.zone.db/ |
H A D | zones.pass.cpp | 44 static std::string result = dir.string(); in __libcpp_tzdb_directory() local 45 return result; in __libcpp_tzdb_directory() 99 const std::chrono::tzdb& result = parse( in test_name() local 103 assert(result.zones.size() == 1); in test_name() 104 assert(result.zones[0].name() == "n"); in test_name() 108 const std::chrono::tzdb& result = parse( in test_stdoff() local 124 assert(result.zones.size() == 10); in test_stdoff() 125 for (std::size_t i = 0; i < result.zones.size(); ++i) in test_stdoff() 126 assert(continuations(result.zones[0]).size() == 1); in test_stdoff() 128 assert(continuations(result.zones[0])[0].__stdoff == std::chrono::hours(2)); in test_stdoff() [all …]
|
/llvm-project/llvm/unittests/tools/llvm-cfi-verify/ |
H A D | GraphBuilder.cpp | 81 void PrintTo(const GraphResult &Result, ::std::ostream *os) { in PrintTo() argument 82 *os << "Result BaseAddress: 0x" << std::hex << Result.BaseAddress << "\n"; in PrintTo() 84 if (Result.ConditionalBranchNodes.empty()) in PrintTo() 87 for (const auto &Node : Result.ConditionalBranchNodes) { in PrintTo() 91 << HexStringifyContainer(Result.flattenAddress(Node.Fallthrough)) in PrintTo() 94 << HexStringifyContainer(Result.flattenAddress(Node.Target)) << "\n"; in PrintTo() 97 if (Result.OrphanedNodes.empty()) in PrintTo() 100 for (const auto &Orphan : Result.OrphanedNodes) { in PrintTo() 102 << ") Path: " << HexStringifyContainer(Result.flattenAddress(Orphan)) in PrintTo() 143 MATCHER_P2(HasPath, Result, Matcher, "has path " + PrintToString(Matcher)) { [all …]
|
/llvm-project/libc/utils/MPFRWrapper/ |
H A D | MPFRUtils.cpp | 199 msg << "Match value not within tolerance value of MPFR result:\n" 204 msg << '\n' << " MPFR result: " << mpfr_result.str() << '\n'; in asinh() 281 tlog << "MPFR integral result: " << mpfrIntResult << '\n' in erf() 282 << "Libc integral result: " << libc_result.i << '\n'; in erf() local 284 tlog << "Integral result from libc matches integral result from MPFR.\n"; in erf() 289 << "Libc floating point result is not within tolerance value of the MPFR " in exp() 290 << "result.\n\n"; in exp() 299 tlog << " MPFR result: " << mpfr_result.str() << '\n'; in exp2m1() 329 << "MPFR integral result 171 MPFRNumber result(*this); abs() local 177 MPFRNumber result(*this); acos() local 183 MPFRNumber result(*this); acosh() local 189 MPFRNumber result(*this); add() local 195 MPFRNumber result(*this); asin() local 201 MPFRNumber result(*this); asinh() local 207 MPFRNumber result(*this); atan() local 213 MPFRNumber result(*this); atan2() local 219 MPFRNumber result(*this); atanh() local 225 MPFRNumber result(*this); cbrt() local 231 MPFRNumber result(*this); ceil() local 237 MPFRNumber result(*this); cos() local 243 MPFRNumber result(*this); cosh() local 249 MPFRNumber result(*this); cospi() local 288 MPFRNumber result(*this); exp() local 294 MPFRNumber result(*this); exp2() local 303 MPFRNumber result(*this); exp2m1() local 330 MPFRNumber result(*this); exp10() local 336 MPFRNumber result(*this); expm1() local 342 MPFRNumber result(*this); div() local 348 MPFRNumber result(*this); floor() local 354 MPFRNumber result(*this); fmod() local 360 MPFRNumber result(*this); frexp() local 368 MPFRNumber result(*this); hypot() local 374 MPFRNumber result(*this); log() local 380 MPFRNumber result(*this); log2() local 386 MPFRNumber result(*this); log10() local 392 MPFRNumber result(*this); log1p() local 398 MPFRNumber result(*this); pow() local 412 MPFRNumber result(*this); round() local 418 MPFRNumber result(*this); roundeven() local 444 MPFRNumber result(*this); rint() local 450 MPFRNumber result(0.0, 1280); mod_2pi() local 459 MPFRNumber result(0.0, 1280); mod_pi_over_2() local 468 MPFRNumber result(0.0, 1280); mod_pi_over_4() local 477 MPFRNumber result(*this); sin() local 483 MPFRNumber result(*this); sinpi() local 500 MPFRNumber result(*this); sinh() local 506 MPFRNumber result(*this); sqrt() local 512 MPFRNumber result(*this); sub() local 518 MPFRNumber result(*this); tan() local 524 MPFRNumber result(*this); tanh() local 530 MPFRNumber result(*this); trunc() local 536 MPFRNumber result(*this); fma() local 542 MPFRNumber result(*this); fmul() local 1263 round_to_long(T x,long & result) round_to_long() argument 1275 round_to_long(T x,RoundingMode mode,long & result) round_to_long() argument 1289 MPFRNumber result = mpfr.rint(get_mpfr_rounding_mode(mode)); round() local [all...] |
/llvm-project/libcxx/test/std/ranges/range.adaptors/range.transform/ |
H A D | adaptor.pass.cpp | 36 using Result = std::ranges::transform_view<MoveOnlyView, PlusOne>; in test() typedef 37 std::same_as<Result> auto result = std::views::transform(PlusOne{})(MoveOnlyView{buff}); in test() local 38 assert(result.begin().base() == buff); in test() 39 assert(result[0] == 1); in test() 40 assert(result[1] == 2); in test() 41 assert(result[2] == 3); in test() 45 using Result = std::ranges::transform_view<MoveOnlyView, PlusOne>; in test() typedef 46 std::same_as<Result> auto result = partial(MoveOnlyView{buff}); in test() local 47 assert(result.begin().base() == buff); in test() 48 assert(result[0] == 1); in test() [all …]
|
/llvm-project/libcxx/test/std/ranges/range.utility/range.utility.conv/ |
H A D | to.pass.cpp | 193 auto result = std::ranges::to<CtrDirectOrFallback>(InputRange()); in test_constraints() local 194 assert(result.ctr_choice == CtrChoice::DirectCtr); in test_constraints() 198 auto result = std::ranges::to<CtrDirectOrFallback>(InputRange(), 1); in test_constraints() local 199 assert(result.ctr_choice == CtrChoice::DirectCtr); in test_constraints() 203 auto result = std::ranges::to<CtrDirectOrFallback>(InputRange(), 1.0); in test_constraints() local 204 assert(result.ctr_choice == CtrChoice::DirectCtr); in test_constraints() 208 auto result = std::ranges::to<CtrDirectOrFallback>(InputRange(), Empty()); in test_constraints() local 209 assert(result.ctr_choice == CtrChoice::DefaultCtrAndInsert); in test_constraints() 215 auto result = std::ranges::to<CtrFromRangeTOrFallback>(InputRange()); in test_constraints() local 216 assert(result in test_constraints() 220 auto result = std::ranges::to<CtrFromRangeTOrFallback>(InputRange(), 1); test_constraints() local 225 auto result = std::ranges::to<CtrFromRangeTOrFallback>(InputRange(), 1.0); test_constraints() local 230 auto result = std::ranges::to<CtrFromRangeTOrFallback>(InputRange(), Empty()); test_constraints() local 237 auto result = std::ranges::to<CtrBeginEndPairOrFallback>(CommonRange()); test_constraints() local 242 auto result = std::ranges::to<CtrBeginEndPairOrFallback>(CommonRange(), 1); test_constraints() local 247 auto result = std::ranges::to<CtrBeginEndPairOrFallback>(CommonRange(), 1.0); test_constraints() local 252 auto result = std::ranges::to<CtrBeginEndPairOrFallback>(NonCommonRange()); test_constraints() local 257 auto result = std::ranges::to<CtrBeginEndPairOrFallback>(CommonInputRange()); test_constraints() local 262 auto result = std::ranges::to<CtrBeginEndPairOrFallback>(CommonRange(), Empty()); test_constraints() local 274 auto result = std::ranges::to<C>(MaybeSizedRange<true>()); test_constraints() local 280 auto result = std::ranges::to<C>(MaybeSizedRange<false>()); test_constraints() local 286 auto result = std::ranges::to<C>(MaybeSizedRange<true>()); test_constraints() local 292 auto result = std::ranges::to<C>(MaybeSizedRange<true>()); test_constraints() local 298 auto result = std::ranges::to<C>(MaybeSizedRange<true>()); test_constraints() local 305 auto result = std::ranges::to<C>(MaybeSizedRange<true>()); test_constraints() local [all...] |
/llvm-project/lldb/test/API/functionalities/abbreviation/ |
H A D | TestAbbreviations.py | 16 result = lldb.SBCommandReturnObject() 19 command_interpreter.ResolveCommand("ap script", result) 20 self.assertTrue(result.Succeeded()) 21 self.assertEqual("apropos script", result.GetOutput()) 23 command_interpreter.ResolveCommand("e", result) 24 self.assertTrue(result.Succeeded()) 25 self.assertEqual("expression", result.GetOutput()) 27 command_interpreter.ResolveCommand("h", result) 28 self.assertTrue(result.Succeeded()) 29 self.assertEqual("help", result [all...] |