Home
last modified time | relevance | path

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

12

/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 …]
DUnwrappedLineParser.cpp750 if (FormatTok->is(tok::string_literal)) in parseStructuralElement()
860 if (FormatTok->Tok.is(tok::string_literal)) { in parseStructuralElement()
894 if (!FormatTok->is(tok::string_literal)) in parseStructuralElement()
/external/harfbuzz_ng/src/
Dgen-tag-table.py1008 string_literal = lt.language[1:] + '-' variable
1010 string_literal += lt.script
1013 string_literal += '-' + lt.region
1015 if string_literal[-1] == '-':
1016 print ('0 == strncmp (&lang_str[1], "%s", %i)' % (string_literal, len (string_literal)), end='')
1018 print ('lang_matches (&lang_str[1], "%s")' % string_literal, end='')
/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()
DPPDirectives.cpp1172 else if (StrTok.isNot(tok::string_literal)) { in HandleLineDirective()
1308 else if (StrTok.isNot(tok::string_literal)) { in HandleDigitDirective()
1393 if (StrTok.isNot(tok::string_literal) && in HandleIdentSCCSDirective()
1699 case tok::string_literal: in HandleIncludeDirective()
DLiteralSupport.cpp30 case tok::string_literal: in getCharWidth()
1310 if (StringToks[i].isNot(Kind) && StringToks[i].isNot(tok::string_literal)) { in init()
DTokenLexer.cpp576 ResultTokTmp.setKind(tok::string_literal); in PasteTokens()
/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/smali/smali/src/main/antlr/
DsmaliTreeWalker.g220 ^(I_SOURCE string_literal {$source = $string_literal.value;})
280 | string_literal { $encodedValue = new ImmutableStringEncodedValue($string_literal.value); }
566 : ^(I_PARAMETER REGISTER string_literal? annotations)
593 methodParameter.name = $string_literal.value;
615 …: ^(I_LOCAL REGISTER ((NULL_LITERAL | name=string_literal) nonvoid_type_descriptor? signature=stri…
651 : ^(I_SOURCE string_literal?)
653 …d::methodBuilder.addSetSourceFile(dexBuilder.internNullableStringReference($string_literal.value));
847 ^(I_STATEMENT_FORMAT21c_STRING INSTRUCTION_FORMAT21c_STRING REGISTER string_literal)
853 dexBuilder.internStringReference($string_literal.value)));
1011 ^(I_STATEMENT_FORMAT31c INSTRUCTION_FORMAT31c REGISTER string_literal)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Dexecute-only.ll76 define hidden i8* @string_literal() {
78 ; CHECK-LABEL: string_literal:
/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
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/include/clang/Lex/
DLiteralSupport.h242 bool isAscii() const { return Kind == tok::string_literal; } in isAscii()
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp410 case tok::string_literal: in SyntaxHighlight()
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp741 case tok::string_literal: in ConsumeAndStoreUntil()
1204 case tok::string_literal: in ConsumeAndStoreInitializer()
DParsePragma.cpp554 if (Tok.isNot(tok::string_literal)) { in HandlePragmaMSSection()
673 if (Tok.isNot(tok::string_literal)) { in HandlePragmaMSSegment()
736 Toks[0].setKind(tok::string_literal); in HandlePragmaMSInitSeg()
744 } else if (Tok.is(tok::string_literal)) { in HandlePragmaMSInitSeg()
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliTreeWalker.java759 string_literal14=string_literal(); in source_spec()
1309 string_literal31=string_literal(); in literal()
2935 string_literal88=string_literal(); in parameter()
3208 name=string_literal(); in local()
3246 signature=string_literal(); in local()
3424 string_literal95=string_literal(); in source()
4933 string_literal122=string_literal(); in insn_format21c_string()
5557 string_literal153=string_literal(); in insn_format31c()
6911 public final String string_literal() throws RecognitionException { in string_literal() method in smaliTreeWalker
/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp370 if (Tok.isNot(tok::string_literal)) in HandleHasInclude()

12