/external/pigweed/pw_tokenizer/ |
D | hash_test.cc | 100 #define TEST_SUPPORTED_HASHES(string_literal) \ argument 101 _CHECK_HASH_LENGTH(string_literal, 80); \ 102 _CHECK_HASH_LENGTH(string_literal, 96); \ 103 _CHECK_HASH_LENGTH(string_literal, 128); \ 104 _CHECK_HASH_LENGTH(string_literal, 256); \ 107 std::string_view(string_literal, sizeof(string_literal) - 1), \ 108 sizeof(string_literal) - 1) == Hash(string_literal), \ 111 std::string_view(string_literal, sizeof(string_literal) - 1), \ 112 sizeof(string_literal) - 1), \ 113 pw_tokenizer_65599FixedLengthHash(string_literal, \ [all …]
|
D | global_handlers_test.cc | 254 string_literal = string 258 const char* string_literal = nullptr; in TEST_F() local 263 EXPECT_STREQ(string_literal, "404"); in TEST_F() 268 const char* string_literal = nullptr; in TEST_F() local 273 EXPECT_STREQ(string_literal, "404"); in TEST_F() 278 const char* string_literal = nullptr; in TEST_F() local 284 EXPECT_STREQ(string_literal, "Wow%s"); in TEST_F() 289 const char* string_literal = nullptr; in TEST_F() local 295 EXPECT_STREQ(string_literal, "1234567890"); in TEST_F()
|
D | tokenize_test.cc | 549 string_literal = string 553 const char* string_literal = nullptr; in TEST_F() local 560 EXPECT_STREQ(string_literal, "The answer is: %s"); in TEST_F() 565 const char* string_literal = nullptr; in TEST_F() local 573 EXPECT_STREQ(string_literal, "The answer is: %s"); in TEST_F() 578 const char* string_literal = nullptr; in TEST_F() local 583 EXPECT_STREQ(string_literal, "The answer is: %s"); in TEST_F() 588 const char* string_literal = nullptr; in TEST_F() local 594 EXPECT_STREQ(string_literal, "The answer is: %s"); in TEST_F()
|
/external/pigweed/pw_tokenizer/public/pw_tokenizer/ |
D | tokenize.h | 64 #define PW_TOKENIZE_STRING(string_literal) \ argument 65 PW_TOKENIZE_STRING_DOMAIN(PW_TOKENIZER_DEFAULT_DOMAIN, string_literal) 68 #define PW_TOKENIZE_STRING_DOMAIN(domain, string_literal) \ argument 69 PW_TOKENIZE_STRING_MASK(domain, UINT32_MAX, string_literal) 72 #define PW_TOKENIZE_STRING_MASK(domain, mask, string_literal) \ argument 73 /* assign to a variable */ _PW_TOKENIZER_MASK_TOKEN(mask, string_literal); \ 79 _PW_TOKENIZER_MASK_TOKEN(mask, string_literal), domain, string_literal) 81 #define _PW_TOKENIZER_MASK_TOKEN(mask, string_literal) \ argument 82 ((pw_tokenizer_Token)(mask)&PW_TOKENIZER_STRING_TOKEN(string_literal))
|
/external/pigweed/pw_tokenizer/public/pw_tokenizer/internal/ |
D | tokenize_string.h | 74 calculated_token, domain_literal, string_literal) \ argument 81 char string[sizeof(string_literal)]; \ 88 sizeof(string_literal), \ 90 string_literal, \
|
/external/python/pycparser/pycparser/ |
D | c_lexer.py | 248 string_literal = '"'+string_char+'*"' variable in CLexer 249 wstring_literal = 'L'+string_literal 287 @TOKEN(string_literal) 433 t_STRING_LITERAL = string_literal
|
/external/llvm-project/clang/lib/Format/ |
D | FormatTokenLexer.cpp | 179 if (!At->is(tok::at) || !String->is(tok::string_literal)) in tryMergeNSStringLiteral() 181 At->Tok.setKind(tok::string_literal); in tryMergeNSStringLiteral() 269 if (!String->is(tok::string_literal)) in tryMergeCSharpStringLiteral() 280 Dollar->Tok.setKind(tok::string_literal); in tryMergeCSharpStringLiteral() 293 At->Tok.setKind(tok::string_literal); in tryMergeCSharpStringLiteral() 565 RegexToken->Tok.setKind(tok::string_literal); in tryParseJSRegexLiteral() 676 BacktickToken->Tok.setKind(tok::string_literal); in handleTemplateStrings() 730 if (!String->is(tok::string_literal) || String->IsMultiline) in tryMerge_TMacro() 1053 Tok.Tok.setKind(tok::string_literal); in readRawToken() 1057 Tok.Tok.setKind(tok::string_literal); in readRawToken() [all …]
|
/external/clang/lib/Lex/ |
D | TokenConcatenation.cpp | 91 TokenInfo[tok::string_literal ] |= aci_custom; in TokenConcatenation() 213 case tok::string_literal: in AvoidConcat() 249 if (Tok.isNot(tok::char_constant) && Tok.isNot(tok::string_literal)) in AvoidConcat()
|
D | MacroArgs.cpp | 200 Tok.setKind(Charify ? tok::char_constant : tok::string_literal); in StringifyArgument() 307 if (StringifiedArgs[ArgNo].isNot(tok::string_literal)) in getStringifiedArgument()
|
/external/clang/lib/Format/ |
D | FormatTokenLexer.cpp | 224 RegexToken->Tok.setKind(tok::string_literal); in tryParseJSRegexLiteral() 246 BacktickToken->Tok.setKind(tok::string_literal); in tryParseTemplateString() 276 if (!String->is(tok::string_literal) || String->IsMultiline) in tryMerge_TMacro() 561 Tok.Tok.setKind(tok::string_literal); in readRawToken() 565 Tok.Tok.setKind(tok::string_literal); in readRawToken() 571 Tok.Tok.setKind(tok::string_literal); in readRawToken()
|
D | TokenAnnotator.cpp | 428 Previous->is(tok::string_literal))) in parseBrace() 773 CurrentToken->Next->isOneOf(tok::string_literal, tok::identifier, in parseLine() 1188 if (Tok.Next->isNot(tok::string_literal) && in rParenEndsCast() 1658 if (Tok->isOneOf(tok::l_brace, tok::string_literal, TT_ObjCMethodExpr) || in isFunctionDeclarationName() 1788 Current->isOneOf(tok::comment, tok::string_literal)) { in calculateUnbreakableTailLengths() 1939 if (Left.is(tok::string_literal) && in splitPenalty() 1993 Right.isOneOf(tok::identifier, tok::string_literal, tok::char_constant, in spaceRequiredBetween() 2259 if (Right.is(tok::string_literal) && Left.is(tok::plus) && Left.Previous && in mustBreakBefore() 2260 Left.Previous->is(tok::string_literal)) in mustBreakBefore() 2287 if (Right.is(tok::plus) && Left.is(tok::string_literal) && Right.Next && in mustBreakBefore() [all …]
|
/external/harfbuzz_ng/src/ |
D | gen-tag-table.py | 1004 string_literal = lt.language[1:] + '-' variable 1006 string_literal += lt.script 1009 string_literal += '-' + lt.region 1011 if string_literal[-1] == '-': 1012 print ('0 == strncmp (&lang_str[1], "%s", %i)' % (string_literal, len (string_literal)), end='') 1014 print ('lang_matches (&lang_str[1], "%s")' % string_literal, end='')
|
/external/llvm-project/clang/lib/Lex/ |
D | TokenConcatenation.cpp | 90 TokenInfo[tok::string_literal ] |= aci_custom; in TokenConcatenation() 221 case tok::string_literal: in AvoidConcat() 257 if (Tok.isNot(tok::char_constant) && Tok.isNot(tok::string_literal)) in AvoidConcat()
|
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/parse/ |
D | lexer.py | 144 string_literal = '"'+string_char+'*"' variable in Lexer 196 t_STRING_LITERAL = string_literal
|
/external/smali/smali/src/main/antlr/ |
D | smaliTreeWalker.g | 223 ^(I_SOURCE string_literal {$source = $string_literal.value;}) 283 | string_literal { $encodedValue = new ImmutableStringEncodedValue($string_literal.value); } 512 ^(I_CALL_SITE_REFERENCE call_site_name=SIMPLE_NAME method_name=string_literal method_prototype 606 : ^(I_PARAMETER REGISTER string_literal? annotations) 633 methodParameter.name = $string_literal.value; 655 …: ^(I_LOCAL REGISTER ((NULL_LITERAL | name=string_literal) nonvoid_type_descriptor? signature=stri… 691 : ^(I_SOURCE string_literal?) 693 …d::methodBuilder.addSetSourceFile(dexBuilder.internNullableStringReference($string_literal.value)); 921 ^(I_STATEMENT_FORMAT21c_STRING INSTRUCTION_FORMAT21c_STRING REGISTER string_literal) 927 dexBuilder.internStringReference($string_literal.value))); [all …]
|
/external/clang/test/Sema/ |
D | aarch64-special-register.c | 3 void string_literal(unsigned v) { in string_literal() function
|
D | arm-special-register.c | 3 void string_literal(unsigned v) { in string_literal() function
|
/external/llvm-project/clang/test/Sema/ |
D | aarch64-special-register.c | 3 void string_literal(unsigned v) { in string_literal() function
|
D | arm-special-register.c | 3 void string_literal(unsigned v) { in string_literal() function
|
/external/llvm-project/llvm/test/CodeGen/ARM/ |
D | execute-only.ll | 80 define hidden i8* @string_literal() { 82 ; CHECK-LABEL: string_literal:
|
/external/clang/include/clang/Basic/ |
D | TokenKinds.h | 80 return K == tok::string_literal || K == tok::wide_string_literal || in isStringLiteral()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | TokenKinds.h | 79 return K == tok::string_literal || K == tok::wide_string_literal || in isStringLiteral()
|
/external/llvm-project/lldb/include/lldb/Core/ |
D | Highlighter.h | 57 ColorStyle string_literal; member
|
/external/llvm-project/lldb/unittests/Language/Highlighting/ |
D | HighlighterTest.cpp | 138 s.string_literal.Set("<str>", "</str>"); in TEST_F() 146 s.string_literal.Set("<str>", "</str>"); in TEST_F()
|
/external/smali/smalidea/src/main/antlr/ |
D | smalideaParser.g | 229 : SOURCE_DIRECTIVE string_literal 677 string_literal 747 | string_literal 761 : string_literal 1018 (comma string_literal)? )? 1063 : SOURCE_DIRECTIVE string_literal? 1177 INSTRUCTION_FORMAT21c_STRING register comma string_literal; 1241 INSTRUCTION_FORMAT31c register comma string_literal;
|