Home
last modified time | relevance | path

Searched refs:Prefix (Results 1 – 25 of 242) sorted by relevance

12345678910

/external/clang/lib/Format/
DBreakableToken.cpp138 return StartColumn + Prefix.size() + Postfix.size() + in getLineLengthAfterSplit()
140 StartColumn + Prefix.size(), in getLineLengthAfterSplit()
146 StringRef Prefix, StringRef Postfix, bool InPPDirective, in BreakableSingleLineToken() argument
149 StartColumn(StartColumn), Prefix(Prefix), Postfix(Postfix) { in BreakableSingleLineToken()
152 Prefix.size(), Tok.TokenText.size() - Prefix.size() - Postfix.size()); in BreakableSingleLineToken()
157 StringRef Prefix, StringRef Postfix, bool InPPDirective, in BreakableStringLiteral() argument
159 : BreakableSingleLineToken(Tok, IndentLevel, StartColumn, Prefix, Postfix, in BreakableStringLiteral()
166 StartColumn + Prefix.size() + Postfix.size(), in getSplit()
178 if (Prefix.startswith("@")) in insertBreak()
181 Tok, Prefix.size() + TailOffset + Split.first, Split.second, Postfix, in insertBreak()
[all …]
/external/clang/lib/AST/
DNestedNameSpecifier.cpp47 NestedNameSpecifier *Prefix, IdentifierInfo *II) { in Create() argument
49 assert((!Prefix || Prefix->isDependent()) && "Prefix must be dependent"); in Create()
52 Mockup.Prefix.setPointer(Prefix); in Create()
53 Mockup.Prefix.setInt(StoredIdentifier); in Create()
60 NestedNameSpecifier *Prefix, in Create() argument
63 assert((!Prefix || in Create()
64 (Prefix->getAsType() == nullptr && in Create()
65 Prefix->getAsIdentifier() == nullptr)) && in Create()
68 Mockup.Prefix.setPointer(Prefix); in Create()
69 Mockup.Prefix.setInt(StoredNamespaceOrAlias); in Create()
[all …]
/external/llvm/lib/TableGen/
DTableGenBackend.cpp23 static void printLine(raw_ostream &OS, const Twine &Prefix, char Fill, in printLine() argument
26 assert((MAX_LINE_LEN - Prefix.str().size() - Suffix.size() > 0) && in printLine()
28 OS << Prefix; in printLine()
40 StringRef Prefix("|*"); in emitSourceFileHeader() local
43 size_t PSLen = Suffix.size() + Prefix.size(); in emitSourceFileHeader()
47 printLine(OS, Prefix + Desc.slice(Pos, PosE), ' ', Suffix); in emitSourceFileHeader()
50 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader()
51 printLine(OS, Prefix + " Automatically generated file, do not edit!", ' ', in emitSourceFileHeader()
53 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader()
/external/llvm/test/TableGen/
Ddefmclass.td4 class XD { bits<4> Prefix = 11; }
5 // CHECK: Prefix = { 1, 1, 0, 0 };
6 class XS { bits<4> Prefix = 12; }
12 bits<4> Prefix = 0;
18 int val = !if(!eq(Prefix, xd.Prefix), 7, 21);
32 // CHECK: Prefix = { 1, 1, 0, 0 };
33 // CHECK: Prefix = { 1, 1, 0, 0 };
/external/clang/lib/Lex/
DHeaderMap.cpp40 uint32_t Prefix; // Offset (into strings) of value prefix. member
148 Result.Prefix = 0; in getBucket()
155 Result.Prefix = getEndianAdjustedWord(BucketPtr->Prefix); in getBucket()
194 const char *Prefix = getString(B.Prefix); in dump() local
196 fprintf(stderr, " %d. %s -> '%s' '%s'\n", i, Key, Prefix, Suffix); in dump()
234 StringRef Prefix = getString(B.Prefix); in lookupFilename() local
237 DestPath.append(Prefix.begin(), Prefix.end()); in lookupFilename()
/external/clang/include/clang/AST/
DNestedNameSpecifier.h59 llvm::PointerIntPair<NestedNameSpecifier *, 2, StoredSpecifierKind> Prefix; variable
92 : Prefix(nullptr, StoredIdentifier), Specifier(nullptr) {} in NestedNameSpecifier()
97 : llvm::FoldingSetNode(Other), Prefix(Other.Prefix), in NestedNameSpecifier()
115 NestedNameSpecifier *Prefix,
120 NestedNameSpecifier *Prefix,
125 NestedNameSpecifier *Prefix,
130 NestedNameSpecifier *Prefix,
153 NestedNameSpecifier *getPrefix() const { return Prefix.getPointer(); } in getPrefix()
161 if (Prefix.getInt() == StoredIdentifier) in getAsIdentifier()
177 if (Prefix.getInt() == StoredTypeSpec || in getAsType()
[all …]
/external/llvm/lib/Support/
DSpecialCaseList.cpp94 StringRef Prefix = SplitLine.first; in parse() local
107 if (Prefix == "global-init") { in parse()
108 Prefix = "global"; in parse()
110 } else if (Prefix == "global-init-type") { in parse()
111 Prefix = "type"; in parse()
113 } else if (Prefix == "global-init-src") { in parse()
114 Prefix = "src"; in parse()
120 Entries[Prefix][Category].Strings.insert(Regexp); in parse()
140 if (!Regexps[Prefix][Category].empty()) in parse()
141 Regexps[Prefix][Category] += "|"; in parse()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfStringPool.h30 StringRef Prefix; variable
34 DwarfStringPool(BumpPtrAllocator &A, AsmPrinter &Asm, StringRef Prefix) in DwarfStringPool() argument
35 : Pool(A), Prefix(Prefix), SectionSymbol(Asm.GetTempSymbol(Prefix)) {} in DwarfStringPool()
DDwarfStringPool.cpp20 StringRef Prefix, StringRef Str) { in getEntry() argument
25 Entry.first = Asm.GetTempSymbol(Prefix, Entry.second); in getEntry()
31 return getEntry(Asm, Pool, Prefix, Str).first; in getSymbol()
35 return getEntry(Asm, Pool, Prefix, Str).second; in getIndex()
/external/clang/include/clang/Lex/
DHeaderSearchOptions.h65 std::string Prefix; member
71 SystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) in SystemHeaderPrefix()
72 : Prefix(Prefix), IsSystemHeader(IsSystemHeader) {} in SystemHeaderPrefix()
182 void AddSystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) { in AddSystemHeaderPrefix() argument
183 SystemHeaderPrefixes.push_back(SystemHeaderPrefix(Prefix, IsSystemHeader)); in AddSystemHeaderPrefix()
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLEntitySearch.cpp53 return Prefix; in compare()
64 if (result == Prefix) in findFirst()
74 ASSERT(result == After || result == Prefix); in findFirst()
89 if (result == Prefix) in findLast()
99 ASSERT(result == Before || result == Prefix); in findLast()
118 if (m_first == m_last && compare(m_first, nextCharacter) != Prefix) in advance()
/external/llvm/tools/bugpoint/
DCrashDebugger.cpp62 ReducePassList::doTest(std::vector<std::string> &Prefix, in doTest() argument
67 if (!Prefix.empty()) { in doTest()
69 << getPassesString(Prefix) << ": "; in doTest()
70 if (BD.runPasses(BD.getProgram(), Prefix, PrefixOutput)) in doTest()
113 TestResult doTest(std::vector<GlobalVariable*> &Prefix, in doTest() argument
118 if (!Prefix.empty() && TestGlobalVariables(Prefix)) in doTest()
183 TestResult doTest(std::vector<Function*> &Prefix, in doTest() argument
188 if (!Prefix.empty() && TestFuncs(Prefix)) in doTest()
193 bool TestFuncs(std::vector<Function*> &Prefix);
256 TestResult doTest(std::vector<const BasicBlock*> &Prefix, in doTest() argument
[all …]
DListReducer.h44 virtual TestResult doTest(std::vector<ElTy> &Prefix,
116 std::vector<ElTy> Prefix(TheList.begin(), TheList.begin()+Mid); in reduceList()
119 switch (doTest(Prefix, Suffix, Error)) { in reduceList()
131 TheList.swap(Prefix); in reduceList()
/external/llvm/utils/FileCheck/
DFileCheck.cpp114 StringRef Prefix,
161 StringRef Prefix, in ParsePattern() argument
176 Prefix + ":'"); in ParsePattern()
583 StringRef Prefix; member
602 : Pat(P), Prefix(S), Loc(L), CheckTy(Ty) {} in CheckString()
693 static Check::CheckType FindCheckType(StringRef Buffer, StringRef Prefix) { in FindCheckType() argument
694 char NextChar = Buffer[Prefix.size()]; in FindCheckType()
703 StringRef Rest = Buffer.drop_front(Prefix.size() + 1); in FindCheckType()
747 StringRef Prefix(*I); in FindFirstCandidateMatch() local
748 size_t PrefixLoc = Buffer.find(Prefix); in FindFirstCandidateMatch()
[all …]
/external/giflib/
Ddgif_lib.c39 static int DGifGetPrefixChar(GifPrefixType *Prefix, int Code, int ClearCode);
748 GifPrefixType *Prefix; in DGifSetupDecompress() local
766 Prefix = Private->Prefix; in DGifSetupDecompress()
768 Prefix[i] = NO_SUCH_CODE; in DGifSetupDecompress()
785 GifPrefixType *Prefix; in DGifDecompressLine() local
789 Prefix = Private->Prefix; in DGifDecompressLine()
819 Prefix[j] = NO_SUCH_CODE; in DGifDecompressLine()
836 if (Prefix[CrntCode] == NO_SUCH_CODE) { in DGifDecompressLine()
844 Stack[StackPtr++] = DGifGetPrefixChar(Prefix, in DGifDecompressLine()
861 CrntPrefix = Prefix[CrntPrefix]; in DGifDecompressLine()
[all …]
/external/clang/lib/Basic/
DWarnings.cpp34 StringRef Prefix, StringRef Opt, in EmitUnknownDiagWarning() argument
40 << (Prefix.str() += Opt) << (Prefix.str() += Suggestion); in EmitUnknownDiagWarning()
44 << (Prefix.str() += Opt); in EmitUnknownDiagWarning()
/external/clang/lib/Analysis/
DCocoaConventions.cpp25 bool cocoa::isRefType(QualType RetTy, StringRef Prefix, in isRefType() argument
30 if (TDName.startswith(Prefix) && TDName.endswith("Ref")) in isRefType()
47 return Name.startswith(Prefix); in isRefType()
/external/lzma/CPP/Common/
DWildcard.h61 UString Prefix; member
63 CPair(const UString &prefix): Prefix(prefix) { }; in CPair()
72 { return (Pairs.Size() == 1 && Pairs.Front().Prefix.IsEmpty()); } in AllAreRelative()
/external/chromium_org/v8/src/compiler/
Dmachine-operator.h170 #define PSEUDO_OP(Prefix, Suffix) \ argument
171 const Operator* Prefix##Suffix() { \
172 return Is32() ? Prefix##32##Suffix() : Prefix##64##Suffix(); \
/external/compiler-rt/lib/ubsan/
Dubsan_type_hash.cc201 VtablePrefix *Prefix = *VptrPtr - 1; in getVtablePrefix() local
202 if (Prefix->Offset > 0 || !Prefix->TypeInfo) in getVtablePrefix()
205 return Prefix; in getVtablePrefix()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp131 static void DefineFloatMacros(MacroBuilder &Builder, StringRef Prefix, in DefineFloatMacros() argument
159 DefPrefix += Prefix; in DefineFloatMacros()
226 const char *Prefix = IsSigned ? "__INT" : "__UINT"; in DefineExactWidthIntType() local
228 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder); in DefineExactWidthIntType()
232 Builder.defineMacro(Prefix + Twine(TypeWidth) + "_C_SUFFIX__", ConstSuffix); in DefineExactWidthIntType()
247 const char *Prefix = IsSigned ? "__INT" : "__UINT"; in DefineExactWidthIntTypeSize() local
248 DefineTypeSize(Prefix + Twine(TypeWidth) + "_MAX__", Ty, TI, Builder); in DefineExactWidthIntTypeSize()
258 const char *Prefix = IsSigned ? "__INT_LEAST" : "__UINT_LEAST"; in DefineLeastWidthIntType() local
259 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder); in DefineLeastWidthIntType()
260 DefineTypeSize(Prefix + Twine(TypeWidth) + "_MAX__", Ty, TI, Builder); in DefineLeastWidthIntType()
[all …]
/external/llvm/include/llvm/Option/
DOption.h119 const char *Prefix = *Info->Prefixes; in getPrefix() local
120 return Prefix ? Prefix : StringRef(); in getPrefix()
/external/llvm/lib/Option/
DOptTable.cpp148 StringRef Prefix = I->getKey(); in OptTable() local
149 for (StringRef::const_iterator C = Prefix.begin(), CE = Prefix.end(); in OptTable()
182 StringRef Prefix(*Pre); in matchOption() local
183 if (Str.startswith(Prefix)) { in matchOption()
184 StringRef Rest = Str.substr(Prefix.size()); in matchOption()
189 return Prefix.size() + StringRef(I->Name).size(); in matchOption()
/external/clang/include/clang/Frontend/
DTextDiagnosticPrinter.h36 std::string Prefix; variable
48 void setPrefix(std::string Value) { Prefix = Value; } in setPrefix()
/external/llvm/lib/IR/
DMangler.cpp38 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefixx() local
39 if (Prefix != '\0') in getNameWithPrefixx()
40 OS << Prefix; in getNameWithPrefixx()

12345678910