/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
StringLiteral.java | 23 public final class StringLiteral { 24 /** Returns a new {@link StringLiteral} instance for the intended value of the literal. */ 25 public static StringLiteral forValue(String value) { 26 return new StringLiteral(value, stringLiteral(value)); 30 private static String stringLiteral(String value) { 72 private StringLiteral(String value, String literal) { 94 } else if (obj instanceof StringLiteral) { 95 return this.value.equals(((StringLiteral) obj).value);
|
AnnotationWriter.java | 47 memberMap.put(name, toStringWritable(StringLiteral.forValue(value)));
|
Snippet.java | 157 StringLiteral.forValue(message));
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
ModifyStringLiterals.java | 23 import org.eclipse.jdt.core.dom.StringLiteral; 46 public boolean visit(StringLiteral node) { 51 StringLiteral newLiteral = node.getAST().newStringLiteral();
|
/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 | 52 import org.eclipse.jdt.core.dom.StringLiteral; 177 StringLiteral value = ast.newStringLiteral(); 185 if (existingValue instanceof StringLiteral) { 186 StringLiteral stringLiteral = (StringLiteral) existingValue; 187 if (mId.equals(stringLiteral.getLiteralValue())) { 193 StringLiteral old = ast.newStringLiteral(); 194 old.setLiteralValue(stringLiteral.getLiteralValue()); 196 StringLiteral value = ast.newStringLiteral() [all...] |
/external/clang/include/clang/AST/ |
Mangle.h | 34 class StringLiteral; 94 virtual bool shouldMangleStringLiteral(const StringLiteral *SL) = 0; 114 virtual void mangleStringLiteral(const StringLiteral *SL, raw_ostream &) = 0;
|
Stmt.h | 48 class 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; } 358 /// type and behavior as StringLiteral except that the string initializer is [all...] |
/external/clang/lib/Sema/ |
SemaStmtAsm.cpp | 148 StringLiteral **Constraints = 149 reinterpret_cast<StringLiteral**>(constraints.data()); 150 StringLiteral *AsmString = cast<StringLiteral>(asmString); 151 StringLiteral **Clobbers = reinterpret_cast<StringLiteral**>(clobbers.data()); 168 StringLiteral *Literal = Constraints[i]; 247 StringLiteral *Literal = Constraints[i]; 337 StringLiteral *Literal = Clobbers[i]; 386 StringLiteral *Literal = Constraints[ConstraintIdx] [all...] |
SemaAttr.cpp | 414 StringLiteral *SegmentName, 416 PragmaStack<StringLiteral *> *Stack = 417 llvm::StringSwitch<PragmaStack<StringLiteral *> *>(PragmaName) 433 int SectionFlags, StringLiteral *SegmentName) { 438 StringLiteral *SegmentName) {
|
/external/clang/lib/AST/ |
Stmt.cpp | 423 StringLiteral **Constraints, 427 StringLiteral **Clobbers, 444 this->Constraints = new (C) StringLiteral*[NumExprs]; 448 this->Clobbers = new (C) StringLiteral*[NumClobbers]; 687 StringLiteral **constraints, Expr **exprs, 688 StringLiteral *asmstr, unsigned numclobbers, 689 StringLiteral **clobbers, SourceLocation rparenloc) 701 Constraints = new (C) StringLiteral*[NumExprs]; 704 Clobbers = new (C) StringLiteral*[NumClobbers]; [all...] |
Expr.cpp | 450 StringLiteral *SL) 457 StringLiteral *PredefinedExpr::getFunctionName() { 458 return cast_or_null<StringLiteral>(FnName); 813 int StringLiteral::mapCharByteWidth(TargetInfo const &target,StringKind k) { 837 StringLiteral *StringLiteral::Create(const ASTContext &C, StringRef Str, 842 "StringLiteral must be of constant array type!"); 844 // Allocate enough space for the StringLiteral plus an array of locations for 846 void *Mem = C.Allocate(sizeof(StringLiteral)+ 848 llvm::alignOf<StringLiteral>()); [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
IdenticalExprChecker.cpp | 480 const StringLiteral *StringLit1 = cast<StringLiteral>(Stmt1); 481 const StringLiteral *StringLit2 = cast<StringLiteral>(Stmt2);
|
ChrootChecker.cpp | 113 const StringLiteral* Str = StrRegion->getStringLiteral();
|
CheckSecuritySyntaxOnly.cpp | 444 const StringLiteral *strArg = 445 dyn_cast<StringLiteral>(CE->getArg((unsigned)ArgSuffix.first)
|
/prebuilts/tools/common/m2/repository/com/squareup/javawriter/2.5.1/ |
javawriter-2.5.1.jar | |
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
FactoryGenerator.java | 36 import dagger.internal.codegen.writer.StringLiteral; 253 StringLiteral failMsg = 254 StringLiteral.forValue(CANNOT_RETURN_NULL_FROM_NON_NULLABLE_PROVIDES_METHOD);
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
ModuleFactoryGeneratorTest.java | 20 import dagger.internal.codegen.writer.StringLiteral; 48 private static final StringLiteral NPE_LITERAL = 49 StringLiteral.forValue(ErrorMessages.CANNOT_RETURN_NULL_FROM_NON_NULLABLE_PROVIDES_METHOD); [all...] |
ComponentProcessorTest.java | 22 import dagger.internal.codegen.writer.StringLiteral; 44 private static final StringLiteral NPE_LITERAL = 45 StringLiteral.forValue(ErrorMessages.CANNOT_RETURN_NULL_FROM_NON_NULLABLE_COMPONENT_METHOD); [all...] |
/external/clang/lib/Lex/ |
ModuleMap.cpp | [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
MemRegion.h | 740 /// StringRegion - Region associated with a StringLiteral. 743 const StringLiteral* Str; 746 StringRegion(const StringLiteral* str, const MemRegion* sreg) 750 const StringLiteral* Str, 755 const StringLiteral* getStringLiteral() const { return Str; } [all...] |
/external/clang/lib/CodeGen/ |
CodeGenModule.h | 66 class StringLiteral; 766 ConstantAddress GetAddrOfConstantCFString(const StringLiteral *Literal); 771 ConstantAddress GetAddrOfConstantString(const StringLiteral *Literal); 774 llvm::Constant *GetConstantArrayFromStringLiteral(const StringLiteral *E); 778 GetAddrOfConstantStringFromLiteral(const StringLiteral *S, [all...] |
CGObjCRuntime.h | 145 virtual ConstantAddress GenerateConstantString(const StringLiteral *) = 0;
|
/frameworks/compile/slang/ |
slang_rs_pragma_handler.cpp | 494 clang::StringLiteralParser StringLiteral(PragmaToken, PP); 495 if (StringLiteral.hadError) { 499 this->handleItem(std::string(StringLiteral.GetString()));
|