Home
last modified time | relevance | path

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

12

/external/smali/smali/src/main/antlr/
DsmaliTreeWalker.g219 ^(I_SOURCE string_literal {$source = $string_literal.value;})
279 | string_literal { $encodedValue = new ImmutableStringEncodedValue($string_literal.value); }
565 : ^(I_PARAMETER REGISTER string_literal? annotations)
592 methodParameter.name = $string_literal.value;
614 …: ^(I_LOCAL REGISTER ((NULL_LITERAL | name=string_literal) nonvoid_type_descriptor? signature=stri…
650 : ^(I_SOURCE string_literal?)
652 …d::methodBuilder.addSetSourceFile(dexBuilder.internNullableStringReference($string_literal.value));
864 ^(I_STATEMENT_FORMAT21c_STRING INSTRUCTION_FORMAT21c_STRING REGISTER string_literal)
870 dexBuilder.internStringReference($string_literal.value)));
886 ^(I_STATEMENT_FORMAT21c_LAMBDA INSTRUCTION_FORMAT21c_LAMBDA REGISTER string_literal)
[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.cpp1295 if (!Tok.is(tok::angle_string_literal) && !Tok.is(tok::string_literal) && in EvaluateHasIncludeCommon()
1323 case tok::string_literal: { in EvaluateHasIncludeCommon()
1525 Tok.setKind(tok::string_literal); in ExpandBuiltinMacro()
1530 Tok.setKind(tok::string_literal); in ExpandBuiltinMacro()
1540 Tok.setKind(tok::string_literal); in ExpandBuiltinMacro()
1584 Tok.setKind(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()
1201 case tok::string_literal: in HandlePragma()
DPreprocessor.cpp818 if (Result.isNot(tok::string_literal)) { in FinishLexStringLiteral()
836 } while (Result.is(tok::string_literal)); in FinishLexStringLiteral()
DPPDirectives.cpp1029 else if (StrTok.isNot(tok::string_literal)) { in HandleLineDirective()
1165 else if (StrTok.isNot(tok::string_literal)) { in HandleDigitDirective()
1251 if (StrTok.isNot(tok::string_literal) && in HandleIdentSCCSDirective()
1525 case tok::string_literal: in HandleIncludeDirective()
DLiteralSupport.cpp30 case tok::string_literal: in getCharWidth()
1296 if (StringToks[i].isNot(Kind) && StringToks[i].isNot(tok::string_literal)) { in init()
DTokenLexer.cpp576 ResultTokTmp.setKind(tok::string_literal); in PasteTokens()
DLexer.cpp3135 tok::string_literal); in LexTokenInternal()
3201 return LexStringLiteral(Result, CurPtr, tok::string_literal); in LexTokenInternal()
/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()
DTokenKinds.def150 TOK(string_literal) // "foo"
/external/smali/smalidea/src/main/antlr/
DsmalideaParser.g229 : SOURCE_DIRECTIVE string_literal
676 string_literal
746 | string_literal
760 : string_literal
1017 (comma string_literal)? )?
1062 : SOURCE_DIRECTIVE string_literal?
1176 INSTRUCTION_FORMAT21c_STRING register comma string_literal;
1240 INSTRUCTION_FORMAT31c register comma string_literal;
/external/clang/lib/Format/
DTokenAnnotator.cpp702 CurrentToken->Next->isOneOf(tok::string_literal, tok::identifier, in parseLine()
1103 if (Tok.Next->isNot(tok::string_literal) && in rParenEndsCast()
1558 if (Tok->isOneOf(tok::l_brace, tok::string_literal, TT_ObjCMethodExpr) || in isFunctionDeclarationName()
1688 Current->isOneOf(tok::comment, tok::string_literal)) { in calculateUnbreakableTailLengths()
1827 if (Left.is(tok::string_literal) && in splitPenalty()
1881 Right.isOneOf(tok::identifier, tok::string_literal, tok::char_constant, in spaceRequiredBetween()
2157 if (Right.is(tok::plus) && Left.is(tok::string_literal) && Right.Next && in mustBreakBefore()
2158 Right.Next->is(tok::string_literal)) in mustBreakBefore()
2189 Right.Previous->is(tok::string_literal) && in mustBreakBefore()
2190 Right.Next->is(tok::string_literal)) in mustBreakBefore()
[all …]
DFormat.cpp962 RegexToken->Tok.setKind(tok::string_literal); in tryParseJSRegexLiteral()
977 if (!EndBacktick->isOneOf(tok::comment, tok::string_literal, in tryMergeTemplateString()
1065 if (!String->is(tok::string_literal) || String->IsMultiline) in tryMerge_TMacro()
1370 Tok.Tok.setKind(tok::string_literal); in readRawToken()
DUnwrappedLineParser.cpp759 if (FormatTok->Tok.is(tok::string_literal)) { in parseStructuralElement()
/external/clang/include/clang/Lex/
DLiteralSupport.h231 bool isAscii() const { return Kind == tok::string_literal; } in isAscii()
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliTreeWalker.java767 string_literal14=string_literal(); in source_spec()
1317 string_literal31=string_literal(); in literal()
2943 string_literal88=string_literal(); in parameter()
3216 name=string_literal(); in local()
3254 signature=string_literal(); in local()
3432 string_literal95=string_literal(); in source()
4984 string_literal124=string_literal(); in insn_format21c_string()
5070 string_literal130=string_literal(); in insn_format21c_lambda()
5484 string_literal152=string_literal(); in insn_format22c_string()
5791 string_literal166=string_literal(); in insn_format31c()
[all …]
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp410 case tok::string_literal: in SyntaxHighlight()
/external/clang/lib/Parse/
DParsePragma.cpp537 if (Tok.isNot(tok::string_literal)) { in HandlePragmaMSSection()
656 if (Tok.isNot(tok::string_literal)) { in HandlePragmaMSSegment()
719 Toks[0].setKind(tok::string_literal); in HandlePragmaMSInitSeg()
727 } else if (Tok.is(tok::string_literal)) { in HandlePragmaMSInitSeg()
DParseCXXInlineMethods.cpp732 case tok::string_literal: in ConsumeAndStoreUntil()
1195 case tok::string_literal: in ConsumeAndStoreInitializer()
DParseTentative.cpp893 case tok::string_literal: in isExpressionOrTypeSpecifierSimple()
/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp370 if (Tok.isNot(tok::string_literal)) in HandleHasInclude()

12