Home
last modified time | relevance | path

Searched refs:string_literal (Results 1 – 25 of 47) sorted by relevance

12

/external/pigweed/pw_tokenizer/public/pw_tokenizer/
Dtokenize.h60 #define PW_TOKENIZE_STRING(string_literal) \ argument
61 PW_TOKENIZE_STRING_DOMAIN(PW_TOKENIZER_DEFAULT_DOMAIN, string_literal)
71 #define PW_TOKENIZE_STRING_EXPR(string_literal) \ argument
73 constexpr uint32_t lambda_ret_token = PW_TOKENIZE_STRING(string_literal); \
79 #define PW_TOKENIZE_STRING_DOMAIN(domain, string_literal) \ argument
80 PW_TOKENIZE_STRING_MASK(domain, UINT32_MAX, string_literal)
84 #define PW_TOKENIZE_STRING_DOMAIN_EXPR(domain, string_literal) \ argument
87 PW_TOKENIZE_STRING_DOMAIN(domain, string_literal); \
94 #define PW_TOKENIZE_STRING_MASK(domain, mask, string_literal) \ argument
95 /* assign to a variable */ _PW_TOKENIZER_MASK_TOKEN(mask, string_literal); \
[all …]
/external/pigweed/pw_tokenizer/
Dhash_test.cc100 #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 …]
Dtokenize_test.cc550 string_literal = string
554 const char* string_literal = nullptr; in TEST_F() local
561 EXPECT_STREQ(string_literal, "The answer is: %s"); in TEST_F()
566 const char* string_literal = nullptr; in TEST_F() local
574 EXPECT_STREQ(string_literal, "The answer is: %s"); in TEST_F()
/external/cronet/buildtools/third_party/libc++/trunk/test/support/
Dstring_literal.h29 struct string_literal { struct
30 consteval /*implicit*/ string_literal(const char (&str)[N + 1]) { in string_literal() argument
54 string_literal(const char (&str)[N]) -> string_literal<N - 1>; argument
/external/pigweed/pw_tokenizer/public/pw_tokenizer/internal/
Dtokenize_string.h88 calculated_token, domain_literal, string_literal) \ argument
95 char string[sizeof(string_literal)]; \
102 sizeof(string_literal), \
104 string_literal, \
/external/python/pycparser/pycparser/
Dc_lexer.py248 string_literal = '"'+string_char+'*"' variable in CLexer
249 wstring_literal = 'L'+string_literal
287 @TOKEN(string_literal)
433 t_STRING_LITERAL = string_literal
/external/harfbuzz_ng/src/
Dgen-tag-table.py1085 string_literal = lt.language[1:] + '-' variable
1087 string_literal += script
1090 string_literal += '-' + region
1092 if string_literal[-1] == '-':
1093 print ('0 == strncmp (&lang_str[1], "%s", %i)' % (string_literal, len (string_literal)), end='')
1095 …print ('lang_matches (&lang_str[1], limit, "%s", %i)' % (string_literal, len (string_literal)), en…
/external/clang/lib/Format/
DFormatTokenLexer.cpp224 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()
DTokenAnnotator.cpp428 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/clang/lib/Lex/
DTokenConcatenation.cpp91 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()
DMacroArgs.cpp200 Tok.setKind(Charify ? tok::char_constant : tok::string_literal); in StringifyArgument()
307 if (StringifiedArgs[ArgNo].isNot(tok::string_literal)) in getStringifiedArgument()
DPPMacroExpansion.cpp1304 if (!Tok.is(tok::angle_string_literal) && !Tok.is(tok::string_literal) && in EvaluateHasIncludeCommon()
1332 case tok::string_literal: { in EvaluateHasIncludeCommon()
1607 Tok.setKind(tok::string_literal); in ExpandBuiltinMacro()
1612 Tok.setKind(tok::string_literal); in ExpandBuiltinMacro()
1622 Tok.setKind(tok::string_literal); in ExpandBuiltinMacro()
1666 Tok.setKind(tok::string_literal); in ExpandBuiltinMacro()
1769 HasLexedNextToken = Tok.is(tok::string_literal); in ExpandBuiltinMacro()
DPragma.cpp522 if (Tok.isNot(tok::string_literal)) { in ParsePragmaPushOrPopMacro()
644 if (SourceFilenameTok.is(tok::string_literal) || in HandlePragmaIncludeAlias()
675 if (ReplaceFilenameTok.is(tok::string_literal) || in HandlePragmaIncludeAlias()
1227 case tok::string_literal: in HandlePragma()
DPreprocessor.cpp821 if (Result.isNot(tok::string_literal)) { in FinishLexStringLiteral()
839 } while (Result.is(tok::string_literal)); in FinishLexStringLiteral()
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/parse/
Dlexer.py144 string_literal = '"'+string_char+'*"' variable in Lexer
196 t_STRING_LITERAL = string_literal
/external/google-smali/smali/src/main/antlr/
DsmaliTreeWalker.g222 ^(I_SOURCE string_literal {$source = $string_literal.value;})
321 | string_literal { $encodedValue = new ImmutableStringEncodedValue($string_literal.value); }
553 ^(I_CALL_SITE_REFERENCE call_site_name=SIMPLE_NAME method_name=string_literal method_prototype
647 : ^(I_PARAMETER REGISTER string_literal? annotations)
674 methodParameter.name = $string_literal.value;
696 …: ^(I_LOCAL REGISTER ((NULL_LITERAL | name=string_literal) nonvoid_type_descriptor? signature=stri…
732 : ^(I_SOURCE string_literal?)
734 …d::methodBuilder.addSetSourceFile(dexBuilder.internNullableStringReference($string_literal.value));
962 ^(I_STATEMENT_FORMAT21c_STRING INSTRUCTION_FORMAT21c_STRING REGISTER string_literal)
968 dexBuilder.internStringReference($string_literal.value)));
[all …]
/external/google-smali/third_party/smali/src/main/antlr/
DsmaliTreeWalker.g222 ^(I_SOURCE string_literal {$source = $string_literal.value;})
321 | string_literal { $encodedValue = new ImmutableStringEncodedValue($string_literal.value); }
553 ^(I_CALL_SITE_REFERENCE call_site_name=SIMPLE_NAME method_name=string_literal method_prototype
647 : ^(I_PARAMETER REGISTER string_literal? annotations)
674 methodParameter.name = $string_literal.value;
696 …: ^(I_LOCAL REGISTER ((NULL_LITERAL | name=string_literal) nonvoid_type_descriptor? signature=stri…
732 : ^(I_SOURCE string_literal?)
734 …d::methodBuilder.addSetSourceFile(dexBuilder.internNullableStringReference($string_literal.value));
962 ^(I_STATEMENT_FORMAT21c_STRING INSTRUCTION_FORMAT21c_STRING REGISTER string_literal)
968 dexBuilder.internStringReference($string_literal.value)));
[all …]
/external/smali/smali/src/main/antlr/
DsmaliTreeWalker.g223 ^(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/
Daarch64-special-register.c3 void string_literal(unsigned v) { in string_literal() function
Darm-special-register.c3 void string_literal(unsigned v) { in string_literal() function
/external/clang/include/clang/Basic/
DTokenKinds.h80 return K == tok::string_literal || K == tok::wide_string_literal || in isStringLiteral()
/external/smali/smalidea/src/main/antlr/
DsmalideaParser.g229 : 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;
/external/clang/include/clang/Lex/
DLiteralSupport.h242 bool isAscii() const { return Kind == tok::string_literal; } in isAscii()
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Dtokens.py360 token_str, date_str, string_literal = line
369 token, string_literal, DEFAULT_DOMAIN, date
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp410 case tok::string_literal: in SyntaxHighlight()

12