Home
last modified time | relevance | path

Searched refs:getAsString (Results 1 – 25 of 200) sorted by relevance

12345678

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DVersionTupleTest.cpp15 TEST(VersionTuple, getAsString) { in TEST() argument
16 EXPECT_EQ("0", VersionTuple().getAsString()); in TEST()
17 EXPECT_EQ("1", VersionTuple(1).getAsString()); in TEST()
18 EXPECT_EQ("1.2", VersionTuple(1, 2).getAsString()); in TEST()
19 EXPECT_EQ("1.2.3", VersionTuple(1, 2, 3).getAsString()); in TEST()
20 EXPECT_EQ("1.2.3.4", VersionTuple(1, 2, 3, 4).getAsString()); in TEST()
27 EXPECT_EQ("1", VT.getAsString()); in TEST()
30 EXPECT_EQ("1.2", VT.getAsString()); in TEST()
33 EXPECT_EQ("1.2.3", VT.getAsString()); in TEST()
36 EXPECT_EQ("1.2.3.4", VT.getAsString()); in TEST()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DSetTheory.cpp40 Expr->getAsString(); in apply()
54 throw "Set intersection requires two arguments: " + Expr->getAsString(); in apply()
72 throw "Operator requires (Op Set, Int) arguments: " + Expr->getAsString(); in apply()
77 throw "Second argument must be an integer: " + Expr->getAsString(); in apply()
88 throw "Positive shift required: " + Expr->getAsString(); in apply2()
100 throw "Positive length required: " + Expr->getAsString(); in apply2()
136 throw "Positive stride required: " + Expr->getAsString(); in apply2()
147 Expr->getAsString(); in apply()
152 throw "Format must be a string: " + Expr->getAsString(); in apply()
158 throw "From must be an integer: " + Expr->getAsString(); in apply()
[all …]
/external/opencensus-java/exporters/trace/jaeger/src/test/java/io/opencensus/exporter/trace/jaeger/
DJaegerExporterHandlerIntegrationTest.java149 assertThat(trace.get("traceID").getAsString()).matches("[a-z0-9]{1,32}"); in exportToJaeger()
157 assertThat(span.get("traceID").getAsString()).matches("[a-z0-9]{1,32}"); in exportToJaeger()
158 assertThat(span.get("spanID").getAsString()).matches("[a-z0-9]{1,16}"); in exportToJaeger()
160 assertThat(span.get("operationName").getAsString()).isEqualTo(SPAN_NAME); in exportToJaeger()
174 assertThat(tag.get("key").getAsString()).isEqualTo("foo"); in exportToJaeger()
175 assertThat(tag.get("type").getAsString()).isEqualTo("string"); in exportToJaeger()
176 assertThat(tag.get("value").getAsString()).isEqualTo("bar"); in exportToJaeger()
188 assertThat(field1.get("key").getAsString()).isEqualTo("description"); in exportToJaeger()
189 assertThat(field1.get("type").getAsString()).isEqualTo("string"); in exportToJaeger()
190 assertThat(field1.get("value").getAsString()).isEqualTo(START_PROCESSING_VIDEO); in exportToJaeger()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DSetTheory.cpp53 Expr->getAsString()); in apply()
69 Expr->getAsString()); in apply()
88 Expr->getAsString()); in apply()
94 Expr->getAsString()); in apply()
105 Expr->getAsString()); in apply2()
117 Expr->getAsString()); in apply2()
152 Expr->getAsString()); in apply2()
184 Expr->getAsString()); in apply()
190 Expr->getAsString()); in apply()
197 PrintFatalError(Loc, "Format must be a string: " + Expr->getAsString()); in apply()
[all …]
DRecord.cpp87 std::string BitsRecTy::getAsString() const { in getAsString() function in BitsRecTy
114 std::string StringRecTy::getAsString() const { in getAsString() function in StringRecTy
123 std::string ListRecTy::getAsString() const { in getAsString() function in ListRecTy
124 return "list<" + Ty->getAsString() + ">"; in getAsString()
139 std::string DagRecTy::getAsString() const { in getAsString() function in DagRecTy
196 std::string RecordRecTy::getAsString() const { in getAsString() function in RecordRecTy
405 std::string BitsInit::getAsString() const { in getAsString() function in BitsInit
410 Result += Bit->getAsString(); in getAsString()
462 std::string IntInit::getAsString() const { in getAsString() function in IntInit
656 std::string ListInit::getAsString() const { in getAsString() function in ListInit
[all …]
DTGParser.cpp107 RV.getValue()->getAsString()); in checkConcrete()
149 RV.getType()->getAsString() + "' is incompatible with " + in AddValue()
151 ERV->getType()->getAsString() + "'"); in AddValue()
218 InitType = (Twine("' of type '") + TI->getType()->getAsString()).str(); in SetValue()
220 "' of type '" + RV->getType()->getAsString() + in SetValue()
222 V->getAsString() + InitType + "'"); in SetValue()
389 List->getAsString() + "', expected a list"); in resolve()
454 Rec->getNameInit()->getAsString() + in addDefOne()
466 I->getType()->getAsString() + in addDefOne()
1106 ItemType->getAsString() + "', got '" + in ParseOperation()
[all …]
/external/llvm/lib/TableGen/
DSetTheory.cpp42 Expr->getAsString()); in apply()
58 Expr->getAsString()); in apply()
77 Expr->getAsString()); in apply()
83 Expr->getAsString()); in apply()
94 Expr->getAsString()); in apply2()
106 Expr->getAsString()); in apply2()
141 Expr->getAsString()); in apply2()
173 Expr->getAsString()); in apply()
179 Expr->getAsString()); in apply()
186 PrintFatalError(Loc, "Format must be a string: " + Expr->getAsString()); in apply()
[all …]
DRecord.cpp121 std::string BitsRecTy::getAsString() const { in getAsString() function in BitsRecTy
137 std::string StringRecTy::getAsString() const { in getAsString() function in StringRecTy
141 std::string ListRecTy::getAsString() const { in getAsString() function in ListRecTy
142 return "list<" + Ty->getAsString() + ">"; in getAsString()
151 std::string DagRecTy::getAsString() const { in getAsString() function in DagRecTy
159 std::string RecordRecTy::getAsString() const { in getAsString() function in RecordRecTy
326 std::string BitsInit::getAsString() const { in getAsString() function in BitsInit
331 Result += Bit->getAsString(); in getAsString()
403 std::string IntInit::getAsString() const { in getAsString() function in IntInit
590 std::string ListInit::getAsString() const { in getAsString() function in ListInit
[all …]
/external/syzkaller/tools/syz-declextract/
Dsyz-declextract.cpp29 auto name = T.getAsString(); in convertType()
74 auto fn = D->getNameInfo().getAsString(); in VisitFunctionDecl()
210 llvm::outs() << D->getNameInfo().getAsString() << ": UNKNOWN TYPE: " << in VisitFunctionDecl()
211 QualType(P->getType()).getAsString() << "\n"; in VisitFunctionDecl()
215 if (Generated[D->getNameInfo().getAsString()]) in VisitFunctionDecl()
217 Generated[D->getNameInfo().getAsString()] = true; in VisitFunctionDecl()
219 llvm::outs() << D->getNameInfo().getAsString() << "("; in VisitFunctionDecl()
/external/clang/lib/AST/
DInheritViz.cpp45 Out << "digraph \"" << llvm::DOT::EscapeString(Type.getAsString()) in WriteGraph()
80 std::string TypeName = Type.getAsString(); in WriteNode()
86 if (TypeName != CanonType.getAsString()) { in WriteNode()
87 Out << "\\n(" << CanonType.getAsString() << ")"; in WriteNode()
143 Self.getAsString(), "dot", FD, Filename)) { in viewInheritance()
DDeclPrinter.cpp396 Out << " = " << D->getTypeSourceInfo()->getType().getAsString(Policy); in VisitTypeAliasDecl()
475 std::string Proto = D->getNameInfo().getAsString(); in VisitFunctionDecl()
540 Proto += FT->getExceptionType(I).getAsString(SubPolicy); in VisitFunctionDecl()
574 Out << QualType(BMInitializer->getBaseClass(), 0).getAsString(Policy); in VisitFunctionDecl()
667 Out << " " << TSI->getType().getAsString(Policy); in VisitFriendDecl()
862 Out << Base->getType().getAsString(Policy); in VisitCXXRecordDecl()
926 Out << TTP->getDefaultArgument().getAsString(Policy); in PrintTemplateParameters()
1019 Out << Ctx.getUnqualifiedObjCPointerType(T).getAsString(Policy); in PrintObjCMethodType()
1046 Out << Param->getDeclName().getAsString(); in PrintObjCTypeParams()
1049 Out << " : " << Param->getUnderlyingType().getAsString(Policy); in PrintObjCTypeParams()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/
DRecord.h79 virtual std::string getAsString() const = 0;
80 void print(raw_ostream &OS) const { OS << getAsString(); } in print()
113 std::string getAsString() const override { return "bit"; } in getAsString() function
133 std::string getAsString() const override;
153 std::string getAsString() const override { return "code"; } in getAsString() function
171 std::string getAsString() const override { return "int"; } in getAsString() function
189 std::string getAsString() const override;
211 std::string getAsString() const override;
231 std::string getAsString() const override;
272 std::string getAsString() const override;
[all …]
/external/llvm/include/llvm/TableGen/
DRecord.h65 virtual std::string getAsString() const = 0;
66 void print(raw_ostream &OS) const { OS << getAsString(); } in print()
95 std::string getAsString() const override { return "bit"; } in getAsString() function
115 std::string getAsString() const override;
133 std::string getAsString() const override { return "code"; } in getAsString() function
149 std::string getAsString() const override { return "int"; } in getAsString() function
168 std::string getAsString() const override;
187 std::string getAsString() const override;
205 std::string getAsString() const override;
225 std::string getAsString() const override;
[all …]
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1166 String typeUrl = typeUrlElement.getAsString(); in mergeAny()
1190 FieldMask value = FieldMaskUtil.fromString(json.getAsString()); in mergeFieldMask()
1197 Timestamp value = TimeUtil.parseTimestamp(json.getAsString()); in mergeTimestamp()
1208 Duration value = TimeUtil.parseDuration(json.getAsString()); in mergeDuration()
1249 primitive.getAsString()); in mergeValue()
1405 return Integer.parseInt(json.getAsString()); in parseInt32()
1413 BigDecimal value = new BigDecimal(json.getAsString()); in parseInt32()
1423 return Long.parseLong(json.getAsString()); in parseInt64()
1431 BigDecimal value = new BigDecimal(json.getAsString()); in parseInt64()
1441 long result = Long.parseLong(json.getAsString()); in parseUint32()
[all …]
/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp124 std::string BitsRecTy::getAsString() const { in getAsString() function in BitsRecTy
287 std::string ListRecTy::getAsString() const { in getAsString() function in ListRecTy
288 return "list<" + Ty->getAsString() + ">"; in getAsString()
357 std::string RecordRecTy::getAsString() const { in getAsString() function in RecordRecTy
505 std::string BitsInit::getAsString() const { in getAsString() function in BitsInit
510 Result += Bit->getAsString(); in getAsString()
551 std::string IntInit::getAsString() const { in getAsString() function in IntInit
678 std::string ListInit::getAsString() const { in getAsString() function in ListInit
682 Result += Values[i]->getAsString(); in getAsString()
740 if (getType()->getAsString() == "string") { in Fold()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DRecord.h75 virtual std::string getAsString() const = 0;
76 void print(raw_ostream &OS) const { OS << getAsString(); } in print()
158 std::string getAsString() const { return "bit"; } in getAsString() function
203 std::string getAsString() const;
247 std::string getAsString() const { return "int"; } in getAsString() function
290 std::string getAsString() const { return "string"; } in getAsString() function
336 std::string getAsString() const;
379 std::string getAsString() const { return "code"; } in getAsString() function
419 std::string getAsString() const { return "dag"; } in getAsString() function
465 std::string getAsString() const;
[all …]
/external/v8/tools/clang/blink_gc_plugin/
DCheckTraceVisitor.cpp58 if (expr->getMemberName().getAsString() == kRegisterWeakMembersName) in VisitCallExpr()
66 CheckTraceFieldCall(expr->getMemberName().getAsString(), decl, arg); in VisitCallExpr()
142 std::string fn_name = expr->getMember().getAsString(); in CheckCXXDependentScopeMemberExpr()
239 if (!arg || arg->getNameInfo().getAsString() != kVisitorVarName) in CheckTraceBaseCall()
243 func_name = callee->getMemberName().getAsString(); in CheckTraceBaseCall()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp168 << A->getAsString(Args) << Name; in ParseAnalyzerArgs()
184 << A->getAsString(Args) << Name; in ParseAnalyzerArgs()
200 << A->getAsString(Args) << Name; in ParseAnalyzerArgs()
216 << A->getAsString(Args) << Name; in ParseAnalyzerArgs()
232 << A->getAsString(Args) << Name; in ParseAnalyzerArgs()
324 Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Value; in getCodeModel()
339 << RegexError << RpassArg->getAsString(Args); in GenerateOptimizationRemarkRegex()
393 Diags.Report(diag::err_drv_invalid_pgo_instrumentor) << A->getAsString(Args) in setPGOInstrumentor()
434 << Args.getLastArg(OPT_O)->getAsString(Args) << "-O" << MaxOptLevel; in ParseCodeGenArgs()
464 Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Name; in ParseCodeGenArgs()
[all …]
/external/clang/lib/Sema/
DCodeCompleteConsumer.cpp225 std::string CodeCompletionString::getAsString() const { in getAsString() function in CodeCompletionString
231 case CK_Optional: OS << "{#" << C->Optional->getAsString() << "#}"; break; in getAsString()
451 OS << " : " << CCS->getAsString(); in ProcessCodeCompleteResults()
470 OS << " : " << CCS->getAsString(); in ProcessCodeCompleteResults()
478 << Results[I].Pattern->getAsString() << '\n'; in ProcessCodeCompleteResults()
619 Saved = Name.getAsString(); in getOrderedName()
/external/clang/lib/Driver/
DSanitizerArgs.cpp248 << "-fsanitize=vptr" << NoRTTIArg->getAsString(Args); in SanitizerArgs()
370 D.Diag(diag::warn_drv_deprecated_arg) << Arg->getAsString(Args) in SanitizerArgs()
427 D.Diag(clang::diag::err_drv_invalid_value) << A->getAsString(Args) << S; in SanitizerArgs()
463 D.Diag(diag::warn_drv_deprecated_arg) << Arg->getAsString(Args) in SanitizerArgs()
468 D.Diag(diag::warn_drv_deprecated_arg) << Arg->getAsString(Args) in SanitizerArgs()
473 D.Diag(diag::warn_drv_deprecated_arg) << Arg->getAsString(Args) in SanitizerArgs()
479 << Arg->getAsString(Args) in SanitizerArgs()
541 D.Diag(clang::diag::err_drv_invalid_value) << A->getAsString(Args) << S; in SanitizerArgs()
554 << WindowsDebugRTArg->getAsString(Args) in SanitizerArgs()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContentProviderOperationTest.java30 assertThat(shadow.getContentValues().getAsString("insertKey")).isEqualTo("insertValue"); in reflectionShouldWork()
42 assertThat(shadow.getContentValues().getAsString("updateKey")).isEqualTo("updateValue"); in reflectionShouldWork()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DLogcatViewer.java121 private String getAsString() { in getAsString() method in LogcatViewer
138 intent.putExtra(Intent.EXTRA_TEXT, getAsString().toString()); in onOptionsItemSelected()
144 clipboard.setText(getAsString()); in onOptionsItemSelected()
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckObjCInstMethSignature.cpp60 << ResDerived.getAsString() in CompareReturnTypes()
65 << ResAncestor.getAsString() in CompareReturnTypes()
/external/clang/include/clang/StaticAnalyzer/Checkers/
DSValExplainer.h101 return "symbol of type '" + S->getType().getAsString() + in VisitSymbolConjured()
115 return "metadata of type '" + S->getType().getAsString() + "' tied to " + in VisitSymbolMetadata()
163 OS << "element of type '" << R->getElementType().getAsString() in VisitElementRegion()
/external/vogar/src/vogar/monitor/
DHostMonitor.java125 currentOutcome = jsonObject.get("outcome").getAsString(); in followProcess()
129 Result currentResult = Result.valueOf(jsonObject.get("result").getAsString()); in followProcess()

12345678