Home
last modified time | relevance | path

Searched refs:StringLiteral (Results 1 – 25 of 105) sorted by relevance

12345

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DStringSwitch.h70 StringSwitch &Case(StringLiteral S, T Value) { in Case()
78 StringSwitch& EndsWith(StringLiteral S, T Value) { in EndsWith()
86 StringSwitch& StartsWith(StringLiteral S, T Value) { in StartsWith()
94 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) { in Cases()
99 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases()
105 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases()
106 StringLiteral S3, T Value) { in Cases()
111 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases()
112 StringLiteral S3, StringLiteral S4, T Value) { in Cases()
117 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases()
[all …]
DStringRef.h869 class StringLiteral : public StringRef {
871 constexpr StringLiteral(const char *Str, size_t N) : StringRef(Str, N) { in StringLiteral() function
876 constexpr StringLiteral(const char (&Str)[N]) in StringLiteral() function
889 static constexpr StringLiteral withInnerNUL(const char (&Str)[N]) { in withInnerNUL()
890 return StringLiteral(Str, N - 1); in withInnerNUL()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCSectionMachO.cpp20 StringLiteral AssemblerName, EnumName;
22 {StringLiteral("regular"), StringLiteral("S_REGULAR")}, // 0x00
23 {StringLiteral(""), StringLiteral("S_ZEROFILL")}, // 0x01
24 {StringLiteral("cstring_literals"),
25 StringLiteral("S_CSTRING_LITERALS")}, // 0x02
26 {StringLiteral("4byte_literals"),
27 StringLiteral("S_4BYTE_LITERALS")}, // 0x03
28 {StringLiteral("8byte_literals"),
29 StringLiteral("S_8BYTE_LITERALS")}, // 0x04
30 {StringLiteral("literal_pointers"),
[all …]
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DStringLiteral.java23 public final class StringLiteral { class
25 public static StringLiteral forValue(String value) { in forValue()
26 return new StringLiteral(value, stringLiteral(value)); in forValue()
72 private StringLiteral(String value, String literal) { in StringLiteral() method in StringLiteral
94 } else if (obj instanceof StringLiteral) { in equals()
95 return this.value.equals(((StringLiteral) obj).value); in equals()
DAnnotationWriter.java47 memberMap.put(name, toStringWritable(StringLiteral.forValue(value))); in setMember()
/external/v8/tools/clang/empty_string/
DEmptyStringConverter.cpp111 const clang::StringLiteral* literal = in run()
112 result.Nodes.getNodeAs<clang::StringLiteral>("literal"); in run()
125 const clang::StringLiteral* literal = in run()
126 result.Nodes.getNodeAs<clang::StringLiteral>("literal"); in run()
137 const clang::StringLiteral* literal = in run()
138 result.Nodes.getNodeAs<clang::StringLiteral>("literal"); in run()
/external/v8/tools/clang/traffic_annotation_extractor/
Dtraffic_annotation_extractor.cpp243 const clang::StringLiteral* unique_id = in AddAnnotation()
244 result.Nodes.getNodeAs<clang::StringLiteral>("unique_id"); in AddAnnotation()
245 const clang::StringLiteral* annotation_text = in AddAnnotation()
246 result.Nodes.getNodeAs<clang::StringLiteral>("annotation_text"); in AddAnnotation()
247 const clang::StringLiteral* group_id = in AddAnnotation()
248 result.Nodes.getNodeAs<clang::StringLiteral>("group_id"); in AddAnnotation()
249 const clang::StringLiteral* completing_id = in AddAnnotation()
250 result.Nodes.getNodeAs<clang::StringLiteral>("completing_id"); in AddAnnotation()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DDJBTest.cpp18 StringLiteral One; in TEST()
19 StringLiteral Two; in TEST()
61 StringLiteral Text; in TEST()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/
DModifyStringLiterals.java23 import org.eclipse.jdt.core.dom.StringLiteral;
46 public boolean visit(StringLiteral node) { in process()
51 StringLiteral newLiteral = node.getAST().newStringLiteral(); in process()
/external/clang/lib/Sema/
DSemaStmtAsm.cpp148 StringLiteral **Constraints = in ActOnGCCAsmStmt()
149 reinterpret_cast<StringLiteral**>(constraints.data()); in ActOnGCCAsmStmt()
150 StringLiteral *AsmString = cast<StringLiteral>(asmString); in ActOnGCCAsmStmt()
151 StringLiteral **Clobbers = reinterpret_cast<StringLiteral**>(clobbers.data()); in ActOnGCCAsmStmt()
168 StringLiteral *Literal = Constraints[i]; in ActOnGCCAsmStmt()
247 StringLiteral *Literal = Constraints[i]; in ActOnGCCAsmStmt()
337 StringLiteral *Literal = Clobbers[i]; in ActOnGCCAsmStmt()
386 StringLiteral *Literal = Constraints[ConstraintIdx]; in ActOnGCCAsmStmt()
DSemaAttr.cpp298 StringLiteral *SegmentName, in ActOnPragmaMSSeg()
300 PragmaStack<StringLiteral *> *Stack = in ActOnPragmaMSSeg()
301 llvm::StringSwitch<PragmaStack<StringLiteral *> *>(PragmaName) in ActOnPragmaMSSeg()
317 int SectionFlags, StringLiteral *SegmentName) { in ActOnPragmaMSSection()
322 StringLiteral *SegmentName) { in ActOnPragmaMSInitSeg()
/external/tensorflow/tensorflow/python/autograph/pyct/
Dqual_names.py40 class StringLiteral(collections.namedtuple('StringLiteral', ['value'])): class
90 if not isinstance(base, (str, StringLiteral, NumberLiteral)):
201 elif isinstance(base, StringLiteral):
239 subscript = QN(StringLiteral(s.value.s))
/external/clang/include/clang/AST/
DStmt.h48 class StringLiteral; variable
1567 StringLiteral *AsmStr;
1570 StringLiteral **Constraints;
1571 StringLiteral **Clobbers;
1579 IdentifierInfo **names, StringLiteral **constraints, Expr **exprs,
1580 StringLiteral *asmstr, unsigned numclobbers,
1581 StringLiteral **clobbers, SourceLocation rparenloc);
1592 const StringLiteral *getAsmString() const { return AsmStr; } in getAsmString()
1593 StringLiteral *getAsmString() { return AsmStr; } in getAsmString()
1594 void setAsmString(StringLiteral *E) { AsmStr = E; } in setAsmString()
[all …]
DMangle.h35 class StringLiteral; variable
95 virtual bool shouldMangleStringLiteral(const StringLiteral *SL) = 0;
115 virtual void mangleStringLiteral(const StringLiteral *SL, raw_ostream &) = 0;
DExprObjC.h33 ObjCStringLiteral(StringLiteral *SL, QualType T, SourceLocation L) in ObjCStringLiteral()
40 StringLiteral *getString() { return cast<StringLiteral>(String); } in getString()
41 const StringLiteral *getString() const { return cast<StringLiteral>(String); } in getString()
42 void setString(StringLiteral *S) { String = S; } in setString()
/external/clang/lib/AST/
DStmt.cpp423 StringLiteral **Constraints, in setOutputsAndInputsAndClobbers()
427 StringLiteral **Clobbers, in setOutputsAndInputsAndClobbers()
444 this->Constraints = new (C) StringLiteral*[NumExprs]; in setOutputsAndInputsAndClobbers()
448 this->Clobbers = new (C) StringLiteral*[NumClobbers]; in setOutputsAndInputsAndClobbers()
694 StringLiteral **constraints, Expr **exprs, in GCCAsmStmt()
695 StringLiteral *asmstr, unsigned numclobbers, in GCCAsmStmt()
696 StringLiteral **clobbers, SourceLocation rparenloc) in GCCAsmStmt()
708 Constraints = new (C) StringLiteral*[NumExprs]; in GCCAsmStmt()
711 Clobbers = new (C) StringLiteral*[NumClobbers]; in GCCAsmStmt()
DExpr.cpp439 StringLiteral *SL) in PredefinedExpr()
446 StringLiteral *PredefinedExpr::getFunctionName() { in getFunctionName()
447 return cast_or_null<StringLiteral>(FnName); in getFunctionName()
802 int StringLiteral::mapCharByteWidth(TargetInfo const &target,StringKind k) { in mapCharByteWidth()
826 StringLiteral *StringLiteral::Create(const ASTContext &C, StringRef Str, in Create()
835 void *Mem = C.Allocate(sizeof(StringLiteral)+ in Create()
837 llvm::alignOf<StringLiteral>()); in Create()
838 StringLiteral *SL = new (Mem) StringLiteral(Ty); in Create()
851 StringLiteral *StringLiteral::CreateEmpty(const ASTContext &C, in CreateEmpty()
853 void *Mem = C.Allocate(sizeof(StringLiteral)+ in CreateEmpty()
[all …]
/external/vixl/src/aarch32/
Dlocation-aarch32.h372 class StringLiteral : public RawLiteral {
374 explicit StringLiteral(const char* str,
383 explicit StringLiteral(const char* str, DeletionPolicy deletion_policy) in StringLiteral() function
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp478 const StringLiteral *StringLit1 = cast<StringLiteral>(Stmt1); in isIdenticalStmt()
479 const StringLiteral *StringLit2 = cast<StringLiteral>(Stmt2); in isIdenticalStmt()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DFactoryGenerator.java36 import dagger.internal.codegen.writer.StringLiteral;
253 StringLiteral failMsg = in write()
254 StringLiteral.forValue(CANNOT_RETURN_NULL_FROM_NON_NULLABLE_PROVIDES_METHOD); in write()
/external/clang/lib/Lex/
DModuleMap.cpp977 StringLiteral, enumerator
1179 StringLiteralParser StringLiteral(LToken, SourceMgr, LangOpts, *Target); in consumeToken() local
1180 if (StringLiteral.hadError) in consumeToken()
1184 unsigned Length = StringLiteral.GetStringLength(); in consumeToken()
1186 memcpy(Saved, StringLiteral.GetString().data(), Length); in consumeToken()
1190 Tok.Kind = MMToken::StringLiteral; in consumeToken()
1264 if (Tok.is(MMToken::Identifier) || Tok.is(MMToken::StringLiteral)) { in parseModuleId()
1587 if (!Tok.is(MMToken::StringLiteral)) { in parseExternModuleDecl()
1760 if (!Tok.is(MMToken::StringLiteral)) { in parseHeaderDecl()
1896 if (!Tok.is(MMToken::StringLiteral)) { in parseUmbrellaDirDecl()
[all …]
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DModuleFactoryGeneratorTest.java20 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);
DComponentProcessorTest.java22 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);
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DStringSwitchTest.cpp161 .Cases(StringLiteral::withInnerNUL("wind\0ws"), "win32", "winnt", in TEST()
188 .CasesLower(StringLiteral::withInnerNUL("wind\0ws"), "win32", "winnt", in TEST()
/external/clang/lib/CodeGen/
DCodeGenModule.h67 class StringLiteral; variable
775 ConstantAddress GetAddrOfConstantCFString(const StringLiteral *Literal);
780 ConstantAddress GetAddrOfConstantString(const StringLiteral *Literal);
783 llvm::Constant *GetConstantArrayFromStringLiteral(const StringLiteral *E);
787 GetAddrOfConstantStringFromLiteral(const StringLiteral *S,

12345