| /minix3/external/bsd/llvm/dist/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersTest.h | 63 const std::string &Code, const T &AMatcher, bool ExpectMatch, 77 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args, "input.cc", 79 return testing::AssertionFailure() << "Parsing error in \"" << Code << "\""; 89 << "Could not find match in \"" << Code << "\""; 92 << "Found unexpected match in \"" << Code << "\""; 98 testing::AssertionResult matches(const std::string &Code, const T &AMatcher) { in matches() argument 99 return matchesConditionally(Code, AMatcher, true, "-std=c++11"); in matches() 103 testing::AssertionResult notMatches(const std::string &Code, in notMatches() argument 105 return matchesConditionally(Code, AMatcher, false, "-std=c++11"); in notMatches() 112 const std::string &Code, const T &AMatcher, bool ExpectMatch, in matchesConditionallyWithCuda() argument [all …]
|
| /minix3/external/bsd/llvm/dist/clang/unittests/Tooling/ |
| H A D | RefactoringCallbacksTest.cpp | 22 void expectRewritten(const std::string &Code, in expectRewritten() argument 30 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), Code)) in expectRewritten() 31 << "Parsing error in \"" << Code << "\""; in expectRewritten() 33 FileID ID = Context.createInMemoryFile("input.cc", Code); in expectRewritten() 40 std::string Code = "void f() { int i = 1; }"; in TEST() local 43 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST() 47 std::string Code = "#define A void f() { int i = 1; }\nA"; in TEST() local 50 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST() 54 std::string Code = "#define A void f() { int i = 1; }"; in TEST() local 57 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Parser.cpp | 61 : Code(MatcherCode), StartOfLine(MatcherCode), Line(1), Error(Error), in CodeTokenizer() 68 : Code(MatcherCode), StartOfLine(MatcherCode), Line(1), Error(Error), in CodeTokenizer() 91 if (CodeCompletionLocation && CodeCompletionLocation <= Code.data()) { in getNextToken() 98 if (Code.empty()) { in getNextToken() 104 switch (Code[0]) { in getNextToken() 107 Result.Text = Code.substr(0, 1); in getNextToken() 108 Code = Code.drop_front(); in getNextToken() 112 Result.Text = Code.substr(0, 1); in getNextToken() 113 Code = Code.drop_front(); in getNextToken() 117 Result.Text = Code.substr(0, 1); in getNextToken() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/unittests/Format/ |
| H A D | FormatTestProto.cpp | 22 static std::string format(llvm::StringRef Code, unsigned Offset, in format() argument 25 DEBUG(llvm::errs() << Code << "\n\n"); in format() 27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format() 28 std::string Result = applyAllReplacements(Code, Replaces); in format() 34 static std::string format(llvm::StringRef Code) { in format() argument 37 return format(Code, 0, Code.size(), Style); in format() 40 static void verifyFormat(llvm::StringRef Code) { in verifyFormat() argument 41 EXPECT_EQ(Code.str(), format(test::messUp(Code))); in verifyFormat()
|
| H A D | FormatTestJava.cpp | 22 static std::string format(llvm::StringRef Code, unsigned Offset, in format() argument 25 DEBUG(llvm::errs() << Code << "\n\n"); in format() 27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format() 28 std::string Result = applyAllReplacements(Code, Replaces); in format() 35 llvm::StringRef Code, in format() argument 37 return format(Code, 0, Code.size(), Style); in format() 47 llvm::StringRef Code, in verifyFormat() argument 49 EXPECT_EQ(Code.str(), format(test::messUp(Code), Style)); in verifyFormat()
|
| H A D | FormatTestJS.cpp | 22 static std::string format(llvm::StringRef Code, unsigned Offset, in format() argument 25 DEBUG(llvm::errs() << Code << "\n\n"); in format() 27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format() 28 std::string Result = applyAllReplacements(Code, Replaces); in format() 35 llvm::StringRef Code, in format() argument 37 return format(Code, 0, Code.size(), Style); in format() 47 llvm::StringRef Code, in verifyFormat() argument 49 EXPECT_EQ(Code.str(), format(test::messUp(Code), Style)); in verifyFormat()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 37 serialization::StmtCode Code; member in clang::ASTStmtWriter 68 Code = serialization::STMT_NULL; in VisitNullStmt() 78 Code = serialization::STMT_COMPOUND; in VisitCompoundStmt() 94 Code = serialization::STMT_CASE; in VisitCaseStmt() 100 Code = serialization::STMT_DEFAULT; in VisitDefaultStmt() 108 Code = serialization::STMT_LABEL; in VisitLabelStmt() 117 Code = serialization::STMT_ATTRIBUTED; in VisitAttributedStmt() 128 Code = serialization::STMT_IF; in VisitIfStmt() 141 Code = serialization::STMT_SWITCH; in VisitSwitchStmt() 150 Code = serialization::STMT_WHILE; in VisitWhileStmt() [all …]
|
| H A D | ASTWriterDecl.cpp | 42 serialization::DeclCode Code; member in clang::ASTDeclWriter 237 Code = serialization::DECL_TYPEDEF; in VisitTypedefDecl() 243 Code = serialization::DECL_TYPEALIAS; in VisitTypeAliasDecl() 311 Code = serialization::DECL_ENUM; in VisitEnumDecl() 338 Code = serialization::DECL_RECORD; in VisitRecordDecl() 353 Code = serialization::DECL_ENUM_CONSTANT; in VisitEnumConstantDecl() 459 Code = serialization::DECL_FUNCTION; in VisitFunctionDecl() 507 Code = serialization::DECL_OBJC_METHOD; in VisitObjCMethodDecl() 558 Code = serialization::DECL_OBJC_INTERFACE; in VisitObjCInterfaceDecl() 578 Code = serialization::DECL_OBJC_IVAR; in VisitObjCIvarDecl() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/unittests/AST/ |
| H A D | StmtPrinterTest.cpp | 70 PrintedStmtMatches(StringRef Code, const std::vector<std::string> &Args, in PrintedStmtMatches() argument 79 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args)) in PrintedStmtMatches() 81 << "Parsing error in \"" << Code.str() << "\""; in PrintedStmtMatches() 101 PrintedStmtCXX98Matches(StringRef Code, const StatementMatcher &NodeMatch, in PrintedStmtCXX98Matches() argument 106 return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted); in PrintedStmtCXX98Matches() 110 StringRef Code, in PrintedStmtCXX98Matches() argument 116 return PrintedStmtMatches(Code, in PrintedStmtCXX98Matches() 124 PrintedStmtCXX11Matches(StringRef Code, const StatementMatcher &NodeMatch, in PrintedStmtCXX11Matches() argument 129 return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted); in PrintedStmtCXX11Matches() 133 StringRef Code, in PrintedStmtMSMatches() argument [all …]
|
| H A D | NamedDeclPrinterTest.cpp | 64 PrintedNamedDeclMatches(StringRef Code, const std::vector<std::string> &Args, in PrintedNamedDeclMatches() argument 74 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args, FileName)) in PrintedNamedDeclMatches() 76 << "Parsing error in \"" << Code.str() << "\""; in PrintedNamedDeclMatches() 96 PrintedNamedDeclCXX98Matches(StringRef Code, StringRef DeclName, in PrintedNamedDeclCXX98Matches() argument 99 return PrintedNamedDeclMatches(Code, in PrintedNamedDeclCXX98Matches() 108 PrintedWrittenNamedDeclCXX11Matches(StringRef Code, StringRef DeclName, in PrintedWrittenNamedDeclCXX11Matches() argument 111 return PrintedNamedDeclMatches(Code, in PrintedWrittenNamedDeclCXX11Matches()
|
| H A D | DeclPrinterTest.cpp | 69 StringRef Code, in PrintedDeclMatches() argument 80 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args, FileName)) in PrintedDeclMatches() 82 << "Parsing error in \"" << Code.str() << "\""; in PrintedDeclMatches() 101 ::testing::AssertionResult PrintedDeclCXX98Matches(StringRef Code, in PrintedDeclCXX98Matches() argument 105 return PrintedDeclMatches(Code, in PrintedDeclCXX98Matches() 113 StringRef Code, in PrintedDeclCXX98Matches() argument 117 return PrintedDeclMatches(Code, in PrintedDeclCXX98Matches() 124 ::testing::AssertionResult PrintedDeclCXX11Matches(StringRef Code, in PrintedDeclCXX11Matches() argument 128 return PrintedDeclMatches(Code, in PrintedDeclCXX11Matches() 136 StringRef Code, in PrintedDeclCXX11Matches() argument [all …]
|
| H A D | MatchVerifier.h | 45 testing::AssertionResult match(const std::string &Code, in match() argument 48 return match(Code, AMatcher, Args, Lang_CXX); in match() 52 testing::AssertionResult match(const std::string &Code, in match() argument 56 return match(Code, AMatcher, Args, L); in match() 60 testing::AssertionResult match(const std::string &Code, 88 const std::string &Code, const MatcherType &AMatcher, in match() argument 123 if (!tooling::runToolOnCodeWithArgs(Factory->create(), Code, Args, FileName)) in match()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | Parser.h | 187 static bool parseExpression(StringRef Code, Sema *S, 190 static bool parseExpression(StringRef Code, Sema *S, in parseExpression() argument 192 return parseExpression(Code, S, nullptr, Value, Error); in parseExpression() 194 static bool parseExpression(StringRef Code, VariantValue *Value, in parseExpression() argument 196 return parseExpression(Code, nullptr, Value, Error); in parseExpression() 211 completeExpression(StringRef Code, unsigned CompletionOffset, Sema *S, 214 completeExpression(StringRef Code, unsigned CompletionOffset, Sema *S) { in completeExpression() argument 215 return completeExpression(Code, CompletionOffset, S, nullptr); in completeExpression() 218 completeExpression(StringRef Code, unsigned CompletionOffset) { in completeExpression() argument 219 return completeExpression(Code, CompletionOffset, nullptr); in completeExpression()
|
| /minix3/common/dist/zlib/contrib/dotzlib/DotZLib/ |
| H A D | DotZLib.csproj | 94 SubType = "Code" 99 SubType = "Code" 104 SubType = "Code" 109 SubType = "Code" 114 SubType = "Code" 119 SubType = "Code" 124 SubType = "Code" 129 SubType = "Code" 134 SubType = "Code"
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | ISDOpcodes.h | 805 inline bool isSignedIntSetCC(CondCode Code) { in isSignedIntSetCC() argument 806 return Code == SETGT || Code == SETGE || Code == SETLT || Code == SETLE; in isSignedIntSetCC() 811 inline bool isUnsignedIntSetCC(CondCode Code) { in isUnsignedIntSetCC() argument 812 return Code == SETUGT || Code == SETUGE || Code == SETULT || Code == SETULE; in isUnsignedIntSetCC()
|
| /minix3/external/bsd/llvm/dist/clang/unittests/ASTMatchers/Dynamic/ |
| H A D | ParserTest.cpp | 37 void parse(StringRef Code) { in parse() argument 40 Parser::parseExpression(Code, this, &Value, &Error); in parse() 215 std::string ParseWithError(StringRef Code) { in ParseWithError() argument 218 Parser::parseExpression(Code, &Value, &Error); in ParseWithError() 222 std::string ParseMatcherWithError(StringRef Code) { in ParseMatcherWithError() argument 224 Parser::parseMatcherExpression(Code, &Error); in ParseMatcherWithError() 295 StringRef Code = "functionDecl(hasName("; in TEST() local 297 Parser::completeExpression(Code, Code.size(), nullptr, &NamedValues); in TEST() 303 Code = "methodDecl(hasName(nameX), "; in TEST() 304 Comps = Parser::completeExpression(Code, Code.size(), nullptr, &NamedValues); in TEST() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 142 static void WriteStringRecord(unsigned Code, StringRef Str, in WriteStringRecord() argument 154 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord() 385 unsigned Code = 0; in WriteTypeTable() local 388 case Type::VoidTyID: Code = bitc::TYPE_CODE_VOID; break; in WriteTypeTable() 389 case Type::HalfTyID: Code = bitc::TYPE_CODE_HALF; break; in WriteTypeTable() 390 case Type::FloatTyID: Code = bitc::TYPE_CODE_FLOAT; break; in WriteTypeTable() 391 case Type::DoubleTyID: Code = bitc::TYPE_CODE_DOUBLE; break; in WriteTypeTable() 392 case Type::X86_FP80TyID: Code = bitc::TYPE_CODE_X86_FP80; break; in WriteTypeTable() 393 case Type::FP128TyID: Code = bitc::TYPE_CODE_FP128; break; in WriteTypeTable() 394 case Type::PPC_FP128TyID: Code = bitc::TYPE_CODE_PPC_FP128; break; in WriteTypeTable() [all …]
|
| /minix3/external/bsd/tcpdump/dist/tests/ |
| H A D | udld-v.out | 1 UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x03), length 60 10 UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 19 UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 28 UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 37 UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 46 UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 55 UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 64 UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 73 UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 82 UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 [all …]
|
| /minix3/external/bsd/byacc/dist/test/ |
| H A D | btyacc_demo.y | 18 typedef int Code; typedef 45 Code *code; 211 extern void finish_fn_def(Decl *fn_decl, Code *block); 226 extern Code * build_expr_code(Expr *expr); 227 extern Code * build_if(Expr *cond_expr, Code *then_stmt, Code *else_stmt); 228 extern Code * code_append(Code *stmt_list, Code *stmt);
|
| /minix3/external/bsd/llvm/dist/llvm/lib/TableGen/ |
| H A D | StringMatcher.cpp | 55 StringRef Code = Matches[0]->second; in EmitStringMatcherForChar() local 57 std::pair<StringRef, StringRef> Split = Code.split('\n'); in EmitStringMatcherForChar() 60 Code = Split.second; in EmitStringMatcherForChar() 61 while (!Code.empty()) { in EmitStringMatcherForChar() 62 Split = Code.split('\n'); in EmitStringMatcherForChar() 64 Code = Split.second; in EmitStringMatcherForChar()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/ |
| H A D | BitstreamReader.cpp | 99 unsigned Code = ReadVBR(6); in skipRecord() local 100 (void)Code; in skipRecord() 158 unsigned Code = ReadVBR(6); in readRecord() local 162 return Code; in readRecord() 170 unsigned Code; in readRecord() local 172 Code = CodeOp.getLiteralValue(); in readRecord() 174 Code = readAbbreviatedField(*this, CodeOp); in readRecord() 236 return Code; in readRecord()
|
| /minix3/external/bsd/llvm/dist/llvm/test/DebugInfo/SystemZ/ |
| H A D | variable-loc.s | 179 .byte 1 # Abbreviation Code 196 .byte 2 # Abbreviation Code 211 .byte 3 # Abbreviation Code 228 .byte 4 # Abbreviation Code 239 .byte 5 # Abbreviation Code 258 .byte 6 # Abbreviation Code 269 .byte 7 # Abbreviation Code 276 .byte 8 # Abbreviation Code 291 .byte 9 # Abbreviation Code 300 .byte 10 # Abbreviation Code
|
| /minix3/common/dist/zlib/contrib/ada/ |
| H A D | zlib.adb | 91 procedure Check_Error (Stream : in Z_Stream; Code : in Thin.Int); 121 procedure Check_Error (Stream : in Z_Stream; Code : in Thin.Int) is 124 if Code /= Thin.Z_OK then 126 (Return_Code_Enum'Image (Return_Code (Code)) 139 Code : Thin.Int; variable 145 Code := Flate (Filter.Compression).Done (To_Thin_Access (Filter.Strm)); 147 if Ignore_Error or else Code = Thin.Z_OK then 157 Return_Code_Enum'Image (Return_Code (Code)) 517 Code : Thin.Int; variable 531 Code := Flate (Filter.Compression).Step [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/tools/llvm-bcanalyzer/ |
| H A D | llvm-bcanalyzer.cpp | 424 unsigned Code = Stream.readRecord(Entry.ID, Record, &Blob); in ParseBlock() local 427 if (BlockStats.CodeFreq.size() <= Code) in ParseBlock() 428 BlockStats.CodeFreq.resize(Code+1); in ParseBlock() 429 BlockStats.CodeFreq[Code].NumInstances++; in ParseBlock() 430 BlockStats.CodeFreq[Code].TotalBits += in ParseBlock() 433 BlockStats.CodeFreq[Code].NumAbbrev++; in ParseBlock() 440 GetCodeName(Code, BlockID, *Stream.getBitStreamReader(), in ParseBlock() 444 outs() << "UnknownCode" << Code; in ParseBlock() 446 GetCodeName(Code, BlockID, *Stream.getBitStreamReader(), in ParseBlock() 448 outs() << " codeid=" << Code; in ParseBlock() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/DebugInfo/ |
| H A D | DWARFAbbreviationDeclaration.cpp | 18 Code = 0; in clear() 31 Code = Data.getULEB128(OffsetPtr); in extract() 32 if (Code == 0) { in extract()
|