/external/llvm-project/llvm/unittests/Support/ |
D | VersionTupleTest.cpp | 14 TEST(VersionTuple, getAsString) { in TEST() argument 15 EXPECT_EQ("0", VersionTuple().getAsString()); in TEST() 16 EXPECT_EQ("1", VersionTuple(1).getAsString()); in TEST() 17 EXPECT_EQ("1.2", VersionTuple(1, 2).getAsString()); in TEST() 18 EXPECT_EQ("1.2.3", VersionTuple(1, 2, 3).getAsString()); in TEST() 19 EXPECT_EQ("1.2.3.4", VersionTuple(1, 2, 3, 4).getAsString()); in TEST() 26 EXPECT_EQ("1", VT.getAsString()); in TEST() 29 EXPECT_EQ("1.2", VT.getAsString()); in TEST() 32 EXPECT_EQ("1.2.3", VT.getAsString()); in TEST() 35 EXPECT_EQ("1.2.3.4", VT.getAsString()); in TEST()
|
/external/opencensus-java/exporters/trace/jaeger/src/test/java/io/opencensus/exporter/trace/jaeger/ |
D | JaegerExporterHandlerIntegrationTest.java | 149 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/llvm/lib/TableGen/ |
D | SetTheory.cpp | 42 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 …]
|
D | Record.cpp | 121 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/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
D | SetTheory.cpp | 52 Expr->getAsString()); in apply() 68 Expr->getAsString()); in apply() 87 Expr->getAsString()); in apply() 93 Expr->getAsString()); in apply() 104 Expr->getAsString()); in apply2() 116 Expr->getAsString()); in apply2() 151 Expr->getAsString()); in apply2() 183 Expr->getAsString()); in apply() 189 Expr->getAsString()); in apply() 196 PrintFatalError(Loc, "Format must be a string: " + Expr->getAsString()); in apply() [all …]
|
D | Record.cpp | 94 std::string BitsRecTy::getAsString() const { in getAsString() function in BitsRecTy 121 std::string StringRecTy::getAsString() const { in getAsString() function in StringRecTy 130 std::string ListRecTy::getAsString() const { in getAsString() function in ListRecTy 131 return "list<" + Ty->getAsString() + ">"; in getAsString() 146 std::string DagRecTy::getAsString() const { in getAsString() function in DagRecTy 202 std::string RecordRecTy::getAsString() const { in getAsString() function in RecordRecTy 411 std::string BitsInit::getAsString() const { in getAsString() function in BitsInit 416 Result += Bit->getAsString(); in getAsString() 468 std::string IntInit::getAsString() const { in getAsString() function in IntInit 669 std::string ListInit::getAsString() const { in getAsString() function in ListInit [all …]
|
D | TGParser.cpp | 106 RV.getValue()->getAsString()); in checkConcrete() 148 RV.getType()->getAsString() + "' is incompatible with " + in AddValue() 150 ERV->getType()->getAsString() + "'"); in AddValue() 217 InitType = (Twine("' of type '") + TI->getType()->getAsString()).str(); in SetValue() 219 "' of type '" + RV->getType()->getAsString() + in SetValue() 221 V->getAsString() + InitType + "'"); in SetValue() 388 List->getAsString() + "', expected a list"); in resolve() 455 Rec->getNameInit()->getAsString() + in addDefOne() 467 I->getType()->getAsString() + in addDefOne() 1165 ItemType->getAsString() + "', got '" + in ParseOperation() [all …]
|
/external/llvm-project/llvm/lib/TableGen/ |
D | SetTheory.cpp | 52 Expr->getAsString()); in apply() 68 Expr->getAsString()); in apply() 87 Expr->getAsString()); in apply() 93 Expr->getAsString()); in apply() 104 Expr->getAsString()); in apply2() 116 Expr->getAsString()); in apply2() 151 Expr->getAsString()); in apply2() 183 Expr->getAsString()); in apply() 189 Expr->getAsString()); in apply() 196 PrintFatalError(Loc, "Format must be a string: " + Expr->getAsString()); in apply() [all …]
|
D | Record.cpp | 90 std::string BitsRecTy::getAsString() const { in getAsString() function in BitsRecTy 112 std::string StringRecTy::getAsString() const { in getAsString() function in StringRecTy 121 std::string ListRecTy::getAsString() const { in getAsString() function in ListRecTy 122 return "list<" + ElementTy->getAsString() + ">"; in getAsString() 137 std::string DagRecTy::getAsString() const { in getAsString() function in DagRecTy 193 std::string RecordRecTy::getAsString() const { in getAsString() function in RecordRecTy 402 std::string BitsInit::getAsString() const { in getAsString() function in BitsInit 407 Result += Bit->getAsString(); in getAsString() 459 std::string IntInit::getAsString() const { in getAsString() function in IntInit 641 std::string ListInit::getAsString() const { in getAsString() function in ListInit [all …]
|
D | TGParser.cpp | 107 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() 456 Rec->getNameInit()->getAsString() + in addDefOne() 468 I->getType()->getAsString() + in addDefOne() 1176 ItemType->getAsString() + "', got '" + in ParseOperation() [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | InheritViz.cpp | 44 Out << "digraph \"" << llvm::DOT::EscapeString(Type.getAsString()) in WriteGraph() 79 std::string TypeName = Type.getAsString(); in WriteNode() 85 if (TypeName != CanonType.getAsString()) { in WriteNode() 86 Out << "\\n(" << CanonType.getAsString() << ")"; in WriteNode() 142 Self.getAsString(), "dot", FD, Filename)) { in viewInheritance()
|
/external/clang/lib/AST/ |
D | InheritViz.cpp | 45 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()
|
D | DeclPrinter.cpp | 396 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/llvm/include/llvm/TableGen/ |
D | Record.h | 65 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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/ |
D | Record.h | 78 virtual std::string getAsString() const = 0; 79 void print(raw_ostream &OS) const { OS << getAsString(); } in print() 112 std::string getAsString() const override { return "bit"; } in getAsString() function 132 std::string getAsString() const override; 152 std::string getAsString() const override { return "code"; } in getAsString() function 170 std::string getAsString() const override { return "int"; } in getAsString() function 188 std::string getAsString() const override; 210 std::string getAsString() const override; 230 std::string getAsString() const override; 271 std::string getAsString() const override; [all …]
|
/external/llvm-project/llvm/include/llvm/TableGen/ |
D | Record.h | 79 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 "int"; } in getAsString() function 171 std::string getAsString() const override; 193 std::string getAsString() const override; 213 std::string getAsString() const override; 254 std::string getAsString() const override; 341 void print(raw_ostream &OS) const { OS << getAsString(); } in print() [all …]
|
/external/llvm-project/clang/lib/Driver/ToolChains/Arch/ |
D | ARM.cpp | 62 D.Diag(clang::diag::err_drv_clang_unsupported) << A->getAsString(Args); in getARMHWDivFeatures() 71 D.Diag(clang::diag::err_drv_clang_unsupported) << A->getAsString(Args); in getARMFPUFeatures() 114 D.Diag(clang::diag::err_drv_clang_unsupported) << A->getAsString(Args); in checkARMArchName() 130 D.Diag(clang::diag::err_drv_clang_unsupported) << A->getAsString(Args); in checkARMCPUName() 152 D.Diag(diag::err_drv_missing_arg_mtp) << A->getAsString(Args); in getReadTPMode() 154 D.Diag(diag::err_drv_invalid_mtp) << A->getAsString(Args); in getReadTPMode() 246 D.Diag(diag::err_drv_invalid_mfloat_abi) << A->getAsString(Args); in getARMFloatABI() 349 << CPUArg->getAsString(Args); in getARMTargetFeatures() 359 << ArchArg->getAsString(Args); in getARMTargetFeatures() 364 D.Diag(clang::diag::warn_drv_unused_argument) << WaArch->getAsString(Args); in getARMTargetFeatures() [all …]
|
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | JsonFormat.java | 1448 String typeUrl = typeUrlElement.getAsString(); in mergeAny() 1470 FieldMask value = FieldMaskUtil.fromJsonString(json.getAsString()); in mergeFieldMask() 1477 Timestamp value = Timestamps.parse(json.getAsString()); in mergeTimestamp() 1487 Duration value = Durations.parse(json.getAsString()); in mergeDuration() 1524 builder.setField(type.findFieldByName("string_value"), primitive.getAsString()); in mergeValue() 1657 return Integer.parseInt(json.getAsString()); in parseInt32() 1665 BigDecimal value = new BigDecimal(json.getAsString()); in parseInt32() 1674 return Long.parseLong(json.getAsString()); in parseInt64() 1682 BigDecimal value = new BigDecimal(json.getAsString()); in parseInt64() 1691 long result = Long.parseLong(json.getAsString()); in parseUint32() [all …]
|
/external/clang/lib/Frontend/ |
D | CompilerInvocation.cpp | 168 << 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/llvm-project/llvm/utils/TableGen/ |
D | SubtargetFeatureInfo.cpp | 123 std::string CombineType = D->getOperator()->getAsString(); in emitComputeAssemblerAvailableFeatures() 142 if (NotArg->getOperator()->getAsString() != "not" || in emitComputeAssemblerAvailableFeatures() 151 OS << "FB[" << TargetName << "::" << Arg->getAsString() << "]"; in emitComputeAssemblerAvailableFeatures()
|
/external/llvm-project/clang/lib/Frontend/ |
D | CompilerInvocation.cpp | 239 << Arg->getAsString(Args) << ArgValue; in normalizeSimpleEnum() 419 << A->getAsString(Args) << Name; in ParseAnalyzerArgs() 435 << A->getAsString(Args) << Name; in ParseAnalyzerArgs() 451 << A->getAsString(Args) << Name; in ParseAnalyzerArgs() 467 << A->getAsString(Args) << Name; in ParseAnalyzerArgs() 483 << A->getAsString(Args) << Name; in ParseAnalyzerArgs() 709 << RegexError << RpassArg->getAsString(Args); in GenerateOptimizationRemarkRegex() 783 Diags.Report(diag::err_drv_invalid_pgo_instrumentor) << A->getAsString(Args) in setPGOInstrumentor() 826 << Args.getLastArg(OPT_O)->getAsString(Args) << "-O" << MaxOptLevel; in ParseCodeGenArgs() 869 Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Name; in ParseCodeGenArgs() [all …]
|
/external/clang/lib/Sema/ |
D | CodeCompleteConsumer.cpp | 225 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/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | MisplacedConstCheck.cpp | 70 << Var << AliasType << CanQT.getAsString(Ctx.getPrintingPolicy()) in check() 72 .getAsString(Ctx.getPrintingPolicy()); in check()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ClangUtil.cpp | 82 return clang::QualType(t, 0).getAsString(); in ToString() 86 return ClangUtil::GetQualType(c).getAsString(); in ToString()
|
/external/llvm-project/clang/lib/Sema/ |
D | CodeCompleteConsumer.cpp | 311 std::string CodeCompletionString::getAsString() const { in getAsString() function in CodeCompletionString 318 OS << "{#" << C.Optional->getAsString() << "#}"; in getAsString() 541 OS << "PREFERRED-TYPE: " << Context.getPreferredType().getAsString() in ProcessCodeCompleteResults() 568 OS << " : " << CCS->getAsString(); in ProcessCodeCompleteResults() 583 OS << " : " << CCS->getAsString(); in ProcessCodeCompleteResults() 588 OS << "Pattern : " << Results[I].Pattern->getAsString(); in ProcessCodeCompleteResults() 749 Saved = Name.getAsString(); in getOrderedName()
|