/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | UtilTest.java | 59 @Test public void stringLiteral() { in stringLiteral() method in UtilTest 60 stringLiteral("abc"); in stringLiteral() 61 stringLiteral("♦♥♠♣"); in stringLiteral() 62 stringLiteral("€\\t@\\t$", "€\t@\t$", " "); in stringLiteral() 63 stringLiteral("abc();\\n\"\n + \"def();", "abc();\ndef();", " "); in stringLiteral() 64 stringLiteral("This is \\\"quoted\\\"!", "This is \"quoted\"!", " "); in stringLiteral() 65 stringLiteral("e^{i\\\\pi}+1=0", "e^{i\\pi}+1=0", " "); in stringLiteral() 68 void stringLiteral(String string) { in stringLiteral() method in UtilTest 69 stringLiteral(string, string, " "); in stringLiteral() 72 void stringLiteral(String expected, String value, String indent) { in stringLiteral() method in UtilTest
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | StringLiteralWithEmbeddedNulCheck.cpp | 31 Finder->addMatcher(stringLiteral(containsNul()).bind("strlit"), this); in registerMatchers() 38 ignoringParenImpCasts(stringLiteral(containsNul()).bind("truncated")); in registerMatchers()
|
D | SuspiciousMissingCommaCheck.cpp | 88 stringLiteral(isConcatenatedLiteral(MaxConcatenatedTokens)).bind("str"); in registerMatchers()
|
D | StringConstructorCheck.cpp | 68 const auto BoundStringLiteral = stringLiteral().bind("str"); in registerMatchers()
|
D | SizeofExpressionCheck.cpp | 130 hasInitializer(ignoringParenImpCasts(stringLiteral()))); in registerMatchers()
|
D | NotNullTerminatedResultCheck.cpp | 669 ignoringImpCasts(anyOf(stringLiteral().bind(SrcExprName), in registerMatchers() 670 hasDescendant(stringLiteral().bind(SrcExprName)), in registerMatchers()
|
/external/libxkbcommon/src/ |
D | darray.h | 125 #define darray_append_lit(arr, stringLiteral) do { \ argument 126 darray_append_items(arr, stringLiteral, sizeof(stringLiteral)); \
|
/external/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 112 stringLiteral( in TEST() 121 stringLiteral( in TEST() 130 stringLiteral( in TEST() 418 stringLiteral( in TEST()
|
/external/llvm-project/clang/unittests/AST/ |
D | DataCollectionTest.cpp | 151 ASSERT_TRUE(isStmtHashEqual(stringLiteral().bind("id"), R"(char x[] = "0";)", in TEST() 153 ASSERT_FALSE(isStmtHashEqual(stringLiteral().bind("id"), R"(char x[] = "0";)", in TEST()
|
D | StructuralEquivalenceTest.cpp | 1651 auto t = makeWrappedStmts("\"a\"", "\"a\"", Lang_CXX03, stringLiteral()); in TEST_F() 1656 auto t = makeWrappedStmts("\"a\"", "\"b\"", Lang_CXX03, stringLiteral()); in TEST_F() 1661 auto t = makeWrappedStmts("\"a\"", "\"aa\"", Lang_CXX03, stringLiteral()); in TEST_F()
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | StaticAssertCheck.cpp | 31 hasOperatorName("!"), hasUnaryOperand(ignoringImpCasts(stringLiteral()))); in registerMatchers() 42 hasEitherOperand(ignoringImpCasts(stringLiteral().bind("assertMSG"))), in registerMatchers()
|
/external/boringssl/src/util/fipstools/acvp/acvptool/ |
D | interactive.go | 336 type stringLiteral struct { struct 341 func (s stringLiteral) String() (string, error) { argument 345 func (stringLiteral) Index(_ string) (Object, error) { argument 349 func (stringLiteral) Search(_ acvp.Query) (Object, error) { argument 353 func (s stringLiteral) Action(action string, args []string) error { argument 430 return stringLiteral{e, e.parseStringLiteral(node)}, nil
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
D | AddAnnotation.java | 393 StringLiteral stringLiteral = rewrite.getAST().newStringLiteral(); in createAnnotationValue() local 394 stringLiteral.setLiteralValue((String) value); in createAnnotationValue() 395 return stringLiteral; in createAnnotationValue()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProBoundsArrayToPointerDecayCheck.cpp | 62 unless(hasSourceExpression(ignoringParens(stringLiteral())))) in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | FasterStrsplitDelimiterCheck.cpp | 62 expr(ignoringParenCasts(stringLiteral(lengthIsOne()).bind("Literal"))); in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | FasterStringFindCheck.cpp | 64 expr(ignoringParenCasts(stringLiteral(hasSize(1)).bind("literal"))); in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | RawStringLiteralCheck.cpp | 121 stringLiteral(unless(hasParent(predefinedExpr()))).bind("lit"), this); in registerMatchers()
|
D | UseDefaultMemberInitCheck.cpp | 200 anyOf(stringLiteral(), characterLiteral(), integerLiteral(), in registerMatchers()
|
/external/llvm-project/llvm/test/Transforms/ObjCARC/ |
D | inert-global.ll | 18 ; CHECK-LABEL: define %0* @stringLiteral() 22 define %0* @stringLiteral() {
|
/external/dagger2/java/dagger/internal/codegen/javapoet/ |
D | CodeBlocks.java | 123 public static CodeBlock stringLiteral(String toWrap) { in stringLiteral() method in CodeBlocks
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | RedundantStringInitCheck.cpp | 92 hasArgument(0, ignoringParenImpCasts(stringLiteral(hasSize(0))))); in registerMatchers()
|
D | ContainerSizeEmptyCheck.cpp | 72 ignoringImpCasts(stringLiteral(hasSize(0))), in registerMatchers()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 898 StatementMatcher Literal = stringLiteral(); in TEST_P() 910 EXPECT_TRUE(matches("const wchar_t *s = L\"string\";", stringLiteral())); in TEST_P() 1051 has(stringLiteral())))); in TEST_P() 1509 implicitCastExpr(hasSourceExpression(stringLiteral()))))); in TEST_P() 1513 ignoringParens(stringLiteral())))))); in TEST_P()
|
D | ASTMatchersTraversalTest.cpp | 1979 matches(Code, traverse(TK_AsIs, stringLiteral(hasParent(implicitCastExpr( in TEST() 1983 stringLiteral(hasParent(initListExpr()))))); in TEST() 2007 0, ignoringImplicit(stringLiteral())))))))))))))); in TEST() 2018 0, ignoringImplicit(stringLiteral()))))) in TEST() 2026 hasInitializer(stringLiteral()))))))); in TEST() 2033 hasArgument(1, stringLiteral()))))))); in TEST()
|
/external/javapoet/ |
D | CHANGELOG.md | 222 * New: `StringLiteral` type which encapsulates the behavior of `stringLiteral`. 281 * Fix: `stringLiteral` now correctly handles escapes and control characters.
|