| /src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| ClangDataCollectorsEmitter.cpp | 12 auto Code = R.getValue("Code")->getValue(); 13 OS << Code->getAsUnquotedString() << "}\n)";
|
| /src/sys/external/bsd/gnu-efi/dist/lib/ |
| error.c | 24 EFI_STATUS Code; 78 if (ErrorCodeTable[Index].Code == Status) {
|
| /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/Extract/ |
| Extract.h | 18 /// An "Extract Function" refactoring moves code into a new function that's 19 /// then called from the place where the original code was. 24 /// \param Code The selected set of statements. 28 CodeRangeASTSelection Code, 34 ExtractFunction(CodeRangeASTSelection Code, Optional<std::string> DeclName) 35 : Code(std::move(Code)), 41 CodeRangeASTSelection Code;
|
| /src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/ |
| CodeExpander.h | 24 /// Emit the given code with all '${foo}' placeholders expanded to their 30 /// The emitted code can be given a custom indent to enable both indentation by 31 /// an arbitrary amount of whitespace and emission of the code as a comment. 33 StringRef Code; 40 CodeExpander(StringRef Code, const CodeExpansions &Expansions, 43 : Code(Code), Expansions(Expansions), Loc(Loc),
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/MCA/ |
| CodeEmitter.h | 31 /// A utility class used to compute instruction encodings for a code region. 40 SmallString<256> Code; 45 // is an index to the `Code`. Length (i.e. second) is the encoding size. 56 : STI(ST), MAB(AB), MCE(CE), VecOS(Code), Sequence(S), 61 return StringRef(&Code[EI.first], EI.second);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| BinaryStreamError.h | 39 stream_error_code getErrorCode() const { return Code; } 43 stream_error_code Code;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Testing/Support/ |
| Annotations.h | 1 //===--- Annotations.h - Annotated source code for tests ---------*- C++-*-===// 19 /// Annotations lets you mark points and ranges inside source code, for tests: 28 /// StringRef Code = Example.code(); // annotations stripped. 33 /// Points/ranges are coordinated into `code()` which is stripped of 65 llvm::StringRef code() const { return Code; } function in class:llvm::Annotations 82 std::string Code;
|
| /src/external/apache2/llvm/dist/llvm/lib/MC/ |
| MCXCOFFStreamer.cpp | 102 SmallString<256> Code; 103 raw_svector_ostream VecOS(Code); 116 DF->getContents().append(Code.begin(), Code.end());
|
| MCWasmStreamer.cpp | 165 SmallString<256> Code; 166 raw_svector_ostream VecOS(Code); 179 DF->getContents().append(Code.begin(), Code.end());
|
| MCELFStreamer.cpp | 69 SmallString<256> Code; 70 raw_svector_ostream VecOS(Code); 74 DF->getContents().append(Code.begin(), Code.end()); 531 SmallString<256> Code; 532 raw_svector_ostream VecOS(Code); 580 CEIF->getContents().append(Code.begin(), Code.end()); 609 DF->getContents().append(Code.begin(), Code.end()) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/TableGen/ |
| StringMatcher.cpp | 45 /// code to verify that CharNo and later are the same. 47 /// \return - True if control can leave the emitted code fragment. 55 // matching code. 60 // If the to-execute code has \n's in it, indent each subsequent line. 61 StringRef Code = Matches[0]->second; 63 std::pair<StringRef, StringRef> Split = Code.split('\n'); 66 Code = Split.second; 67 while (!Code.empty()) { 68 Split = Code.split('\n'); 70 Code = Split.second [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Testing/Support/ |
| Annotations.cpp | 1 //===--- Annotations.cpp - Annotated source code for unit tests --*- C++-*-===// 19 static void require(bool Assertion, const char *Msg, llvm::StringRef Code) { 21 llvm::errs() << "Annotated testcase: " << Msg << "\n" << Code << "\n"; 33 Code.reserve(Text.size()); 36 Points[Name.getValueOr("")].push_back(Code.size()); 41 OpenRanges.emplace_back(Name.getValueOr(""), Code.size()); 50 R.End = Code.size(); 61 Code.push_back(Text.front()); 71 "expected exactly one point", Code); 85 "expected exactly one range", Code); [all...] |
| /src/sys/external/bsd/acpica/dist/include/ |
| acpiosxf.h | 16 * 1. Redistributions of source code must retain the above copyright 79 UINT32 Code;
|
| /src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| OpenCLOptions.h | 40 llvm_unreachable("Unknown OpenCL version code"); 59 OpenCLVersionID Code = encodeOpenCLVersion(CLVer); 60 return Mask & Code;
|
| /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Inclusions/ |
| HeaderIncludes.h | 1 //===--- HeaderIncludes.h - Insert/Delete #includes for C++ code--*- C++-*-===// 50 HeaderIncludes(llvm::StringRef FileName, llvm::StringRef Code, 53 /// Inserts an #include directive of \p Header into the code. If \p IsAngled 59 /// headers into code sections where new #include's should not be added by 60 /// default. These code sections include: 69 /// same category in the code that should be sorted after \p IncludeName. If 95 std::string Code; 115 // Max insertion offset in the original code. For example, we want to avoid 116 // inserting new #includes into the actual code section (e.g. after a
|
| /src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
| ByteCodeEmitter.h | 91 /// Program code. 92 std::vector<char> Code;
|
| Function.h | 68 /// Returns a pointer to the start of the code. 70 /// Returns a pointer to the end of the code. 117 /// Sets the code of a function. 121 Code = std::move(NewCode); 133 /// Location of the executed code. 141 /// Program code. 142 std::vector<char> Code;
|
| /src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| SerializedDiagnosticReader.cpp | 121 unsigned Code; 123 Code = Res.get(); 127 if (Code >= static_cast<unsigned>(llvm::bitc::FIRST_APPLICATION_ABBREV)) { 129 BlockOrRecordID = Code; 132 switch (static_cast<llvm::bitc::FixedAbbrevIDs>(Code)) {
|
| /src/external/apache2/llvm/dist/clang/lib/Tooling/ |
| Refactoring.cpp | 86 StringRef Code = SM.getBufferData(ID); 95 format::formatReplacements(Code, CurReplaces, *CurStyle);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/ |
| SectionMemoryManager.h | 44 Code, 113 /// executable code. 122 /// executable code. 136 /// permissions when this method is called. Code sections cannot be executed 143 /// Invalidate instruction cache for code sections. 146 /// explicit cache flush, otherwise JIT code manipulations (like resolved
|
| /src/external/apache2/llvm/dist/clang/tools/clang-diff/ |
| ClangDiff.cpp | 126 div.code { 164 if (source.parentElement && source.parentElement.classList.contains('code')) 190 var down = e.code === "KeyJ" 191 var up = e.code === "KeyK" 287 auto Code = SrcMgr.getBufferOrFake(SrcMgr.getMainFileID()).getBuffer(); 289 printHtml(OS, Code[Offset]); 309 printHtml(OS, Code[Offset]); 311 End = Code.size(); 313 printHtml(OS, Code[Offset]); 505 llvm::outs() << "<div id='L' class='code'>"; [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Bitstream/Reader/ |
| BitstreamReader.cpp | 57 "can't enter sub-block: current code size is 0"); 97 unsigned Code = MaybeCode.get(); 107 return Code; 112 unsigned Code; 114 Code = CodeOp.getLiteralValue(); 124 Code = MaybeCode.get(); 202 return Code; 212 uint32_t Code = MaybeCode.get(); 224 return Code; 229 // Read the record code first [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/CrossTU/ |
| CrossTranslationUnit.h | 63 IndexError(index_error_code C) : Code(C), LineNo(0) {} 65 : Code(C), FileName(std::move(FileName)), LineNo(LineNo) {} 68 : Code(C), FileName(std::move(FileName)), 73 index_error_code getCode() const { return Code; } 80 index_error_code Code;
|
| /src/external/apache2/llvm/dist/clang/tools/clang-format/ |
| ClangFormat.cpp | 11 /// (fragments of) C++ code. 200 static bool fillRanges(MemoryBuffer *Code, 209 FileID ID = createInMemoryFile("<irrelevant>", *Code, Sources, Files, 246 if (Offsets[i] >= Code->getBufferSize()) { 254 if (Offsets[i] + Lengths[i] > Code->getBufferSize()) { 311 const std::unique_ptr<llvm::MemoryBuffer> &Code) { 318 const char *StartBuf = Code->getBufferStart(); 327 "code should be clang-formatted [-Wclang-format-violations]"); 371 std::unique_ptr<llvm::MemoryBuffer> Code = std::move(CodeOrErr.get()); 372 if (Code->getBufferSize() == 0 [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/ |
| BitcodeAnalyzer.cpp | 86 /// Return a symbolic code name if known, otherwise return null. 118 #define STRINGIFY_CODE(PREFIX, CODE) \ 119 case bitc::PREFIX##_##CODE: \ 120 return #CODE; 506 static bool canDecodeBlob(unsigned Code, unsigned BlockID) { 507 return BlockID == bitc::METADATA_BLOCK_ID && Code == bitc::METADATA_STRINGS; 694 std::vector<std::pair<unsigned, unsigned>> FreqPairs; // <freq,code> 853 unsigned Code = MaybeCode.get(); 855 // Increment the # occurrences of this code. 856 if (BlockStats.CodeFreq.size() <= Code) [all...] |