HomeSort by relevance Sort by last modified time
    Searched refs:StringLiteral (Results 1 - 25 of 67) sorted by null

1 2 3

  /sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
SdCardDetector.java 36 import lombok.ast.StringLiteral;
75 return Collections.<Class<? extends Node>>singletonList(StringLiteral.class);
91 public boolean visitStringLiteral(StringLiteral node) {
StringFormatDetector.java 72 import lombok.ast.StringLiteral;
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
ReplaceStringsVisitor.java 35 import org.eclipse.jdt.core.dom.StringLiteral;
84 public boolean visit(StringLiteral node) {
135 * Examines if the StringLiteral is part of an assignment corresponding to the
145 private boolean examineVariableDeclaration(StringLiteral node) {
168 * Examines if the StringLiteral is part of a assignment to a variable that
172 private boolean examineAssignment(StringLiteral node) {
195 private boolean examineMethodInvocation(StringLiteral node) {
299 * Examines if the StringLiteral is part of a method declaration (a.k.a. a function
304 private SimpleName methodHasContextArgument(StringLiteral node) {
323 private boolean isClassDerivedFromContext(StringLiteral node)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
AddSuppressAnnotation.java 49 import org.eclipse.jdt.core.dom.StringLiteral;
168 StringLiteral value = ast.newStringLiteral();
176 if (existingValue instanceof StringLiteral) {
179 StringLiteral old = ast.newStringLiteral();
180 StringLiteral stringLiteral = (StringLiteral) existingValue;
181 old.setLiteralValue(stringLiteral.getLiteralValue());
183 StringLiteral value = ast.newStringLiteral();
190 StringLiteral value = ast.newStringLiteral()
    [all...]
  /frameworks/compile/slang/
slang_rs_pragma_handler.cpp 256 clang::StringLiteralParser StringLiteral(&PragmaToken, 1, PP);
257 if (StringLiteral.hadError) {
261 this->handleItem(std::string(StringLiteral.GetString()));
  /external/clang/include/clang/AST/
Stmt.h 41 class StringLiteral;
808 // StringLiteral
    [all...]
ExprObjC.h 33 ObjCStringLiteral(StringLiteral *SL, QualType T, SourceLocation L)
40 StringLiteral *getString() { return cast<StringLiteral>(String); }
41 const StringLiteral *getString() const { return cast<StringLiteral>(String); }
42 void setString(StringLiteral *S) { String = S; }
338 /// and behavior as StringLiteral except that the string initializer is obtained
    [all...]
DeclCXX.h     [all...]
Decl.h 33 class StringLiteral;
    [all...]
  /external/clang/lib/AST/
StmtDumper.cpp 143 void VisitStringLiteral(StringLiteral *Str);
446 void StmtDumper::VisitStringLiteral(StringLiteral *Str) {
451 case StringLiteral::Ascii: break; // No prefix
452 case StringLiteral::Wide: OS << 'L'; break;
453 case StringLiteral::UTF8: OS << "u8"; break;
454 case StringLiteral::UTF16: OS << 'u'; break;
455 case StringLiteral::UTF32: OS << 'U'; break;
Stmt.cpp 328 StringLiteral **Constraints,
332 StringLiteral **Clobbers,
349 this->Constraints = new (C) StringLiteral*[NumExprs];
353 this->Clobbers = new (C) StringLiteral*[NumClobbers];
531 IdentifierInfo **names, StringLiteral **constraints,
532 Expr **exprs, StringLiteral *asmstr, unsigned numclobbers,
533 StringLiteral **clobbers, SourceLocation rparenloc)
546 Constraints = new (C) StringLiteral*[NumExprs];
549 Clobbers = new (C) StringLiteral*[NumClobbers];
Expr.cpp 581 int StringLiteral::mapCharByteWidth(TargetInfo const &target,StringKind k) {
605 StringLiteral *StringLiteral::Create(ASTContext &C, StringRef Str,
609 // Allocate enough space for the StringLiteral plus an array of locations for
611 void *Mem = C.Allocate(sizeof(StringLiteral)+
613 llvm::alignOf<StringLiteral>());
614 StringLiteral *SL = new (Mem) StringLiteral(Ty);
616 // OPTIMIZE: could allocate this appended to the StringLiteral.
627 StringLiteral *StringLiteral::CreateEmpty(ASTContext &C, unsigned NumStrs)
    [all...]
  /external/clang/lib/CodeGen/
CodeGenModule.h 59 class StringLiteral;
597 llvm::Constant *GetAddrOfConstantCFString(const StringLiteral *Literal);
602 llvm::Constant *GetAddrOfConstantString(const StringLiteral *Literal);
606 llvm::Constant *GetConstantArrayFromStringLiteral(const StringLiteral *E);
610 llvm::Constant *GetAddrOfConstantStringFromLiteral(const StringLiteral *S);
    [all...]
CGObjCRuntime.h 137 virtual llvm::Constant *GenerateConstantString(const StringLiteral *) = 0;
  /external/clang/lib/Lex/
ModuleMap.cpp 465 StringLiteral,
628 StringLiteralParser StringLiteral(&LToken, 1, SourceMgr, LangOpts, *Target);
629 if (StringLiteral.hadError)
633 unsigned Length = StringLiteral.GetStringLength();
635 memcpy(Saved, StringLiteral.GetString().data(), Length);
639 Tok.Kind = MMToken::StringLiteral;
1072 if (!Tok.is(MMToken::StringLiteral)) {
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
ChrootChecker.cpp 113 const StringLiteral* Str = StrRegion->getStringLiteral();
CStringChecker.cpp 134 const StringLiteral *getCStringLiteral(CheckerContext &C,
738 const StringLiteral *strLit = cast<StringRegion>(MR)->getStringLiteral();
789 const StringLiteral *CStringChecker::getCStringLiteral(CheckerContext &C,
    [all...]
CheckSecuritySyntaxOnly.cpp 445 const StringLiteral *strArg =
446 dyn_cast<StringLiteral>(CE->getArg((unsigned)ArgSuffix.first)
  /external/clang/lib/StaticAnalyzer/Core/
Environment.cpp 103 const StringLiteral *SL = cast<StringLiteral>(E);
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
MemRegion.h 668 /// StringRegion - Region associated with a StringLiteral.
671 const StringLiteral* Str;
674 StringRegion(const StringLiteral* str, const MemRegion* sreg)
678 const StringLiteral* Str,
683 const StringLiteral* getStringLiteral() const { return Str; }
    [all...]
  /external/clang/lib/Sema/
SemaDeclAttr.cpp     [all...]
SemaStmt.cpp     [all...]
SemaChecking.cpp 43 SourceLocation Sema::getLocationOfStringLiteralByte(const StringLiteral *SL,
73 StringLiteral *Literal = dyn_cast<StringLiteral>(Arg);
    [all...]
  /external/clang/lib/Rewrite/
RewriteModernObjC.cpp     [all...]
  /sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/
LintDriver.java 97 import lombok.ast.StringLiteral;
    [all...]

Completed in 2379 milliseconds

1 2 3