/external/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 167 floatLiteral( in TEST() 176 floatLiteral( in TEST() 383 has(floatLiteral( in TEST() 390 has(floatLiteral( in TEST() 397 has(floatLiteral( in TEST() 447 has(floatLiteral(equals(1.0))), in TEST() 453 has(floatLiteral(equals(2.0))), in TEST() 454 has(floatLiteral(equals(1.0))))) in TEST()
|
/external/llvm-project/clang/unittests/AST/ |
D | DataCollectionTest.cpp | 140 ASSERT_TRUE(isStmtHashEqual(floatLiteral().bind("id"), "double x = .0;", in TEST() 142 ASSERT_TRUE(isStmtHashEqual(floatLiteral().bind("id"), "double x = .10;", in TEST() 144 ASSERT_TRUE(isStmtHashEqual(floatLiteral().bind("id"), "double x = .1;", in TEST() 146 ASSERT_FALSE(isStmtHashEqual(floatLiteral().bind("id"), "double x = .0;", in TEST()
|
D | ASTImporterTest.cpp | 296 floatLiteral(equals(1.0), hasType(asString("double")))))); in TEST_P() 300 floatLiteral(equals(1.0e-5f), hasType(asString("float")))))); in TEST_P() 449 hasDescendant(floatLiteral(equals(1.0))), in TEST_P() 452 hasDescendant(floatLiteral(equals(2.0))), in TEST_P() 455 hasDescendant(floatLiteral(equals(1.0))), in TEST_P() 480 hasType(asString("struct point")), has(floatLiteral(equals(1.0))), in TEST_P() 483 has(floatLiteral(equals(2.0))), in TEST_P() 484 has(floatLiteral(equals(1.0))))))))); in TEST_P()
|
/external/turbine/java/com/google/turbine/parse/ |
D | StreamLexer.java | 316 return floatLiteral(); in next() 369 return floatLiteral(); in next() 523 return floatLiteral(); in decimalLiteral() 526 return floatLiteral(); in decimalLiteral() 557 private Token floatLiteral() { in floatLiteral() method in StreamLexer
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 667 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST() 673 EXPECT_TRUE(matches("double i = 5.0;", floatLiteral(equals(5.0)))); in TEST() 674 EXPECT_TRUE(matches("double i = 5.0;", floatLiteral(equals(5.0f)))); in TEST() 676 matches("double i = 5.0;", floatLiteral(equals(llvm::APFloat(5.0))))); in TEST() 679 EXPECT_TRUE(notMatches("double i = 5.0;", floatLiteral(equals(6.0)))); in TEST() 680 EXPECT_TRUE(notMatches("double i = 5.0;", floatLiteral(equals(6.0f)))); in TEST() 682 notMatches("double i = 5.0;", floatLiteral(equals(llvm::APFloat(6.0))))); in TEST() 711 has(floatLiteral(equals(1.0))), in TEST() 717 has(floatLiteral(equals(2.0))), in TEST() 718 has(floatLiteral(equals(1.0))))) in TEST() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | DurationFactoryScaleCheck.cpp | 124 integerLiteral(equals(0)), floatLiteral(equals(0.0)), in registerMatchers() 127 anyOf(integerLiteral(), floatLiteral())))) in registerMatchers() 129 binaryOperator(hasOperatorName("/"), hasRHS(floatLiteral())) in registerMatchers()
|
D | DurationFactoryFloatCheck.cpp | 40 floatLiteral()))) in registerMatchers()
|
D | DurationRewriter.cpp | 162 anyOf(integerLiteral(equals(0)), floatLiteral(equals(0.0))); in IsLiteralZero()
|
/external/llvm-project/clang/test/Index/ |
D | comment-to-html-xml-conversion-with-original-literals.cpp | 24 , floatLiteral = value(0.25e3) //!< f enumerator
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 951 StatementMatcher HasFloatLiteral = floatLiteral(); in TEST_P() 957 EXPECT_TRUE(matches("double i = 5.0;", floatLiteral(equals(5.0)))); in TEST_P() 958 EXPECT_TRUE(matches("double i = 5.0;", floatLiteral(equals(5.0f)))); in TEST_P() 960 matches("double i = 5.0;", floatLiteral(equals(llvm::APFloat(5.0))))); in TEST_P() 963 EXPECT_TRUE(notMatches("double i = 5.0;", floatLiteral(equals(6.0)))); in TEST_P() 964 EXPECT_TRUE(notMatches("double i = 5.0;", floatLiteral(equals(6.0f)))); in TEST_P() 966 notMatches("double i = 5.0;", floatLiteral(equals(llvm::APFloat(6.0))))); in TEST_P() 1003 hasDescendant(floatLiteral(equals(1.0))), in TEST_P() 1006 hasDescendant(floatLiteral(equals(2.0))), in TEST_P() 1009 designatorCountIs(2), hasDescendant(floatLiteral(equals(1.0))), in TEST_P() [all …]
|
D | ASTMatchersTraversalTest.cpp | 1873 auto Matcher = varDecl(hasInitializer(floatLiteral())); in TEST() 1879 auto ParentMatcher = floatLiteral(hasParent(varDecl(hasName("i")))); in TEST() 1890 floatLiteral(traverse(TK_AsIs, hasParent(implicitCastExpr()))))); in TEST() 1893 matches(VarDeclCode, floatLiteral(traverse(TK_IgnoreUnlessSpelledInSource, in TEST() 1911 varDecl(has(traverse(TK_AsIs, floatLiteral())))))); in TEST() 1939 hasArgument(0, floatLiteral()))))); in TEST() 1943 hasAnyArgument(floatLiteral()))))); in TEST() 1952 traverse(TK_AsIs, hasDescendant(floatLiteral()))))); in TEST() 1955 Code, traverse(TK_AsIs, floatLiteral(hasParent(callExpr( in TEST() 1958 floatLiteral(hasParent(callExpr(callee( in TEST() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | IncorrectRoundingsCheck.cpp | 35 auto FloatHalf = floatLiteral(floatHalf()); in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseDefaultMemberInitCheck.cpp | 203 floatLiteral(), in registerMatchers() 205 hasUnaryOperand(floatLiteral())), in registerMatchers()
|
/external/turbine/javatests/com/google/turbine/parse/ |
D | LexerTest.java | 291 public void floatLiteral() { in floatLiteral() method in LexerTest
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | MagicNumbersCheck.cpp | 125 Finder->addMatcher(floatLiteral().bind("float"), this); in registerMatchers()
|
D | UppercaseLiteralSuffixCheck.cpp | 201 floatLiteral().bind(FloatingLiteralCheck::Name)), in registerMatchers()
|
/external/skqp/src/sksl/ |
D | SkSLParser.h | 276 bool floatLiteral(double* dest);
|
D | SkSLParser.cpp | 1937 if (this->floatLiteral(&f)) { in term() 1977 bool Parser::floatLiteral(double* dest) { in floatLiteral() function in SkSL::Parser
|
/external/skia/src/sksl/ |
D | SkSLParser.h | 266 bool floatLiteral(SKSL_FLOAT* dest);
|
D | SkSLParser.cpp | 2113 if (this->floatLiteral(&f)) { in term() 2162 bool Parser::floatLiteral(SKSL_FLOAT* dest) { in floatLiteral() function in SkSL::Parser
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 181 REGISTER_MATCHER(floatLiteral); in RegistryMaps()
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 228 REGISTER_MATCHER(floatLiteral); in RegistryMaps()
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 897 const internal::VariadicDynCastAllOfMatcher<Stmt, FloatingLiteral> floatLiteral; variable
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1693 FloatingLiteral> floatLiteral; variable
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2326 floatLiteral;
|