/external/clang/lib/Format/ |
D | BreakableToken.cpp | 138 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/ |
D | NestedNameSpecifier.cpp | 47 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(StoredDecl); in Create() [all …]
|
/external/llvm/lib/TableGen/ |
D | TableGenBackend.cpp | 23 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/ |
D | defmclass.td | 4 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/ |
D | HeaderMap.cpp | 40 uint32_t Prefix; // Offset (into strings) of value prefix. member 144 Result.Prefix = 0; in getBucket() 151 Result.Prefix = getEndianAdjustedWord(BucketPtr->Prefix); in getBucket() 190 const char *Prefix = getString(B.Prefix); in dump() local 192 fprintf(stderr, " %d. %s -> '%s' '%s'\n", i, Key, Prefix, Suffix); in dump() 230 StringRef Prefix = getString(B.Prefix); in lookupFilename() local 233 DestPath.append(Prefix.begin(), Prefix.end()); in lookupFilename()
|
/external/clang/include/clang/AST/ |
D | NestedNameSpecifier.h | 60 llvm::PointerIntPair<NestedNameSpecifier *, 2, StoredSpecifierKind> Prefix; variable 96 : Prefix(nullptr, StoredIdentifier), Specifier(nullptr) {} in NestedNameSpecifier() 101 : llvm::FoldingSetNode(Other), Prefix(Other.Prefix), in NestedNameSpecifier() 119 NestedNameSpecifier *Prefix, 124 NestedNameSpecifier *Prefix, 129 NestedNameSpecifier *Prefix, 134 NestedNameSpecifier *Prefix, 162 NestedNameSpecifier *getPrefix() const { return Prefix.getPointer(); } in getPrefix() 170 if (Prefix.getInt() == StoredIdentifier) in getAsIdentifier() 190 if (Prefix.getInt() == StoredTypeSpec || in getAsType() [all …]
|
/external/llvm/lib/IR/ |
D | Mangler.cpp | 25 const DataLayout &DL, char Prefix) { in getNameWithPrefixx() argument 42 if (Prefix != '\0') in getNameWithPrefixx() 43 OS << Prefix; in getNameWithPrefixx() 51 char Prefix = DL->getGlobalPrefix(); in getNameWithPrefix() local 52 return getNameWithPrefixx(OS, GVName, PrefixTy, *DL, Prefix); in getNameWithPrefix() 116 char Prefix = DL->getGlobalPrefix(); in getNameWithPrefix() local 130 Prefix = '@'; // fastcall functions have an @ prefix instead of _. in getNameWithPrefix() 132 Prefix = '\0'; // vectorcall functions have no prefix. in getNameWithPrefix() 135 getNameWithPrefixx(OS, Name, PrefixTy, *DL, Prefix); in getNameWithPrefix()
|
/external/clang/include/clang/Lex/ |
D | HeaderSearchOptions.h | 65 std::string Prefix; member 71 SystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) in SystemHeaderPrefix() 72 : Prefix(Prefix), IsSystemHeader(IsSystemHeader) {} in SystemHeaderPrefix() 189 void AddSystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) { in AddSystemHeaderPrefix() argument 190 SystemHeaderPrefixes.push_back(SystemHeaderPrefix(Prefix, IsSystemHeader)); in AddSystemHeaderPrefix()
|
/external/llvm/utils/FileCheck/ |
D | FileCheck.cpp | 127 StringRef Prefix, 174 StringRef Prefix, in ParsePattern() argument 189 Prefix + ":'"); in ParsePattern() 596 StringRef Prefix; member 615 : Pat(P), Prefix(S), Loc(L), CheckTy(Ty) {} in CheckString() 709 static Check::CheckType FindCheckType(StringRef Buffer, StringRef Prefix) { in FindCheckType() argument 710 char NextChar = Buffer[Prefix.size()]; in FindCheckType() 719 StringRef Rest = Buffer.drop_front(Prefix.size() + 1); in FindCheckType() 766 StringRef Prefix(*I); in FindFirstCandidateMatch() local 767 size_t PrefixLoc = Buffer.find(Prefix); in FindFirstCandidateMatch() [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfStringPool.h | 29 StringRef Prefix; variable 32 DwarfStringPool(BumpPtrAllocator &A, AsmPrinter &Asm, StringRef Prefix) in DwarfStringPool() argument 33 : Pool(A), Prefix(Prefix) {} in DwarfStringPool()
|
D | DwarfStringPool.cpp | 18 StringRef Prefix, StringRef Str) { in getEntry() argument 22 Entry.first = Asm.createTempSymbol(Prefix); in getEntry() 28 return getEntry(Asm, Pool, Prefix, Str).first; in getSymbol() 32 return getEntry(Asm, Pool, Prefix, Str).second; in getIndex()
|
/external/llvm/tools/bugpoint/ |
D | CrashDebugger.cpp | 62 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 …]
|
D | ListReducer.h | 44 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()
|
D | Miscompilation.cpp | 51 TestResult doTest(std::vector<std::string> &Prefix, 61 ReduceMiscompilingPasses::doTest(std::vector<std::string> &Prefix, in doTest() argument 95 if (Prefix.empty()) return NoFailure; in doTest() 99 outs() << "Checking to see if '" << getPassesString(Prefix) in doTest() 108 if (BD.runPasses(BD.getProgram(), Prefix, BitcodeResult, false/*delete*/, in doTest() 112 BD.setPassesToRun(Prefix); in doTest() 146 << getPassesString(Prefix) << "' passes: "; in doTest() 186 TestResult doTest(std::vector<Function*> &Prefix, in doTest() argument 196 if (!Prefix.empty()) { in doTest() 197 bool Ret = TestFuncs(Prefix, Error); in doTest() [all …]
|
/external/giflib/ |
D | dgif_lib.c | 39 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/Frontend/ |
D | InitPreprocessor.cpp | 128 static void DefineFloatMacros(MacroBuilder &Builder, StringRef Prefix, in DefineFloatMacros() argument 157 DefPrefix += Prefix; in DefineFloatMacros() 198 static void DefineFmt(const Twine &Prefix, TargetInfo::IntType Ty, in DefineFmt() argument 203 Builder.defineMacro(Prefix + "_FMT" + Twine(*Fmt) + "__", in DefineFmt() 235 const char *Prefix = IsSigned ? "__INT" : "__UINT"; in DefineExactWidthIntType() local 237 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder); in DefineExactWidthIntType() 238 DefineFmt(Prefix + Twine(TypeWidth), Ty, TI, Builder); in DefineExactWidthIntType() 241 Builder.defineMacro(Prefix + Twine(TypeWidth) + "_C_SUFFIX__", ConstSuffix); in DefineExactWidthIntType() 255 const char *Prefix = IsSigned ? "__INT" : "__UINT"; in DefineExactWidthIntTypeSize() local 256 DefineTypeSize(Prefix + Twine(TypeWidth) + "_MAX__", Ty, TI, Builder); in DefineExactWidthIntTypeSize() [all …]
|
/external/llvm/lib/Support/ |
D | SpecialCaseList.cpp | 98 StringRef Prefix = SplitLine.first; in parse() local 112 Entries[Prefix][Category].Strings.insert(Regexp); in parse() 132 if (!Regexps[Prefix][Category].empty()) in parse() 133 Regexps[Prefix][Category] += "|"; in parse() 134 Regexps[Prefix][Category] += "^" + Regexp + "$"; in parse()
|
/external/v8/src/compiler/ |
D | machine-operator.h | 170 #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/ |
D | ubsan_type_hash.cc | 203 VtablePrefix *Prefix = *VptrPtr - 1; in getVtablePrefix() local 204 if (Prefix->Offset > 0 || !Prefix->TypeInfo) in getVtablePrefix() 207 return Prefix; in getVtablePrefix()
|
/external/lzma/CPP/Common/ |
D | Wildcard.h | 61 UString Prefix; member 63 CPair(const UString &prefix): Prefix(prefix) { }; in CPair() 72 { return (Pairs.Size() == 1 && Pairs.Front().Prefix.IsEmpty()); } in AllAreRelative()
|
/external/clang/lib/Analysis/ |
D | CocoaConventions.cpp | 25 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/llvm/include/llvm/Option/ |
D | Option.h | 118 const char *Prefix = *Info->Prefixes; in getPrefix() local 119 return Prefix ? Prefix : StringRef(); in getPrefix()
|
/external/llvm/lib/Option/ |
D | OptTable.cpp | 144 StringRef Prefix = I->getKey(); in OptTable() local 145 for (StringRef::const_iterator C = Prefix.begin(), CE = Prefix.end(); in OptTable() 178 StringRef Prefix(*Pre); in matchOption() local 179 if (Str.startswith(Prefix)) { in matchOption() 180 StringRef Rest = Str.substr(Prefix.size()); in matchOption() 185 return Prefix.size() + StringRef(I->Name).size(); in matchOption()
|
/external/clang/include/clang/Frontend/ |
D | TextDiagnosticPrinter.h | 36 std::string Prefix; variable 48 void setPrefix(std::string Value) { Prefix = Value; } in setPrefix()
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
D | cmsnamed.c | 507 …ContextID, cmsUInt32Number n, cmsUInt32Number ColorantCount, const char* Prefix, const char* Suffi… in cmsAllocNamedColorList() argument 520 strncpy(v ->Prefix, Prefix, sizeof(v ->Prefix)-1); in cmsAllocNamedColorList() 522 v->Prefix[32] = v->Suffix[32] = 0; in cmsAllocNamedColorList() 543 …NewNC= cmsAllocNamedColorList(v ->ContextID, v -> nColors, v ->ColorantCount, v ->Prefix, v ->Suff… in cmsDupNamedColorList() 550 memmove(NewNC ->Prefix, v ->Prefix, sizeof(v ->Prefix)); in cmsDupNamedColorList() 602 char* Prefix, in cmsNamedColorInfo() argument 612 if (Prefix) strcpy(Prefix, NamedColorList->Prefix); in cmsNamedColorInfo()
|