/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/ |
D | FormatUtil.cpp | 22 std::string llvm::pdb::truncateStringBack(StringRef S, uint32_t MaxLen) { in truncateStringBack() argument 23 if (MaxLen == 0 || S.size() <= MaxLen || S.size() <= 3) in truncateStringBack() 26 assert(MaxLen >= 3); in truncateStringBack() 27 uint32_t FinalLen = std::min<size_t>(S.size(), MaxLen - 3); in truncateStringBack() 32 std::string llvm::pdb::truncateStringMiddle(StringRef S, uint32_t MaxLen) { in truncateStringMiddle() argument 33 if (MaxLen == 0 || S.size() <= MaxLen || S.size() <= 3) in truncateStringMiddle() 36 assert(MaxLen >= 3); in truncateStringMiddle() 37 uint32_t FinalLen = std::min<size_t>(S.size(), MaxLen - 3); in truncateStringMiddle() 43 std::string llvm::pdb::truncateStringFront(StringRef S, uint32_t MaxLen) { in truncateStringFront() argument 44 if (MaxLen == 0 || S.size() <= MaxLen || S.size() <= 3) in truncateStringFront() [all …]
|
D | FormatUtil.h | 26 std::string truncateStringBack(StringRef S, uint32_t MaxLen); 27 std::string truncateStringMiddle(StringRef S, uint32_t MaxLen); 28 std::string truncateStringFront(StringRef S, uint32_t MaxLen); 30 uint32_t MaxLen); 32 uint32_t MaxLen);
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerLoop.cpp | 159 if (CurrentUnitData || Options.MaxLen == 0) return; in LazyAllocateCurrentUnitData() 160 CurrentUnitData = new uint8_t[Options.MaxLen]; in LazyAllocateCurrentUnitData() 309 void Fuzzer::SetMaxLen(size_t MaxLen) { in SetMaxLen() argument 310 assert(Options.MaxLen == 0); // Can only reset MaxLen from 0 to non-0. in SetMaxLen() 311 assert(MaxLen); in SetMaxLen() 312 Options.MaxLen = MaxLen; in SetMaxLen() 313 Printf("INFO: -max_len is not provided, using %zd\n", Options.MaxLen); in SetMaxLen() 584 assert(Options.MaxLen > 0); in Merge() 586 ReadDirToVectorOfUnits(Corpora[0].c_str(), &Initial, nullptr, Options.MaxLen); in Merge() 588 ReadDirToVectorOfUnits(C.c_str(), &Extra, nullptr, Options.MaxLen); in Merge() [all …]
|
D | FuzzerDriver.cpp | 302 Options.MaxLen = Flags.max_len; in FuzzerDriver() 390 if (Options.MaxLen == 0) in FuzzerDriver() 396 size_t TemporaryMaxLen = Options.MaxLen ? Options.MaxLen : kMaxSaneLen; in FuzzerDriver() 403 if (Options.MaxLen == 0) in FuzzerDriver()
|
D | FuzzerInternal.h | 208 size_t MaxLen = 0; member 414 void SetMaxLen(size_t MaxLen);
|
D | FuzzerTraceState.cpp | 502 static size_t InternalStrnlen(const char *S, size_t MaxLen) { in InternalStrnlen() argument 504 for (; Len < MaxLen && S[Len]; Len++) {} in InternalStrnlen()
|
/external/llvm/lib/MC/ |
D | SubtargetFeature.cpp | 87 size_t MaxLen = 0; in getLongestEntryLength() local 89 MaxLen = std::max(MaxLen, std::strlen(I.Key)); in getLongestEntryLength() 90 return MaxLen; in getLongestEntryLength()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | SubtargetFeature.cpp | 86 size_t MaxLen = 0; in getLongestEntryLength() local 88 MaxLen = std::max(MaxLen, std::strlen(I.Key)); in getLongestEntryLength() 89 return MaxLen; in getLongestEntryLength()
|
/external/lzma/CPP/7zip/UI/Console/ |
D | PercentPrinter.h | 47 unsigned MaxLen; variable 53 MaxLen(80 - 1) in _tickStep()
|
D | PercentPrinter.cpp | 140 if (!FileName.IsEmpty() && _s.Len() < MaxLen) in Print() 147 if (_s.Len() + _temp.Len() > MaxLen) in Print() 161 if (_s.Len() + _temp.Len() <= MaxLen) in Print()
|
D | ExtractCallbackConsole.h | 42 void SetWindowWidth(unsigned width) { _percent.MaxLen = width - 1; } in SetWindowWidth() 140 void SetWindowWidth(unsigned width) { _percent.MaxLen = width - 1; } in SetWindowWidth()
|
D | UpdateCallbackConsole.h | 62 void SetWindowWidth(unsigned width) { _percent.MaxLen = width - 1; } in SetWindowWidth()
|
/external/swiftshader/third_party/LLVM/lib/MC/ |
D | SubtargetFeature.cpp | 140 size_t MaxLen = 0; in getLongestEntryLength() local 142 MaxLen = std::max(MaxLen, std::strlen(Table[i].Key)); in getLongestEntryLength() 143 return MaxLen; in getLongestEntryLength()
|
/external/clang/lib/Lex/ |
D | HeaderMap.cpp | 157 unsigned MaxLen = FileBuffer->getBufferSize() - StrTabIdx; in getString() local 158 unsigned Len = strnlen(Data, MaxLen); in getString() 161 if (Len == MaxLen && Data[Len - 1]) in getString()
|
/external/lzma/CS/7zip/Common/ |
D | CommandLineParser.cs | 23 public int MaxLen; field in SevenZip.CommandLineParser.SwitchForm 33 MaxLen = maxLen; in SwitchForm() 155 for (int i = minLen; i < switchForm.MaxLen && pos < len; i++, pos++) in ParseString()
|
/external/pdfium/testing/resources/ |
D | text_form_multiple.in | 71 /MaxLen 10
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MachineOutliner.cpp | 893 unsigned MaxLen = 0; in findCandidates() local 1002 if (StringLen > MaxLen) in findCandidates() 1003 MaxLen = StringLen; in findCandidates() 1015 return MaxLen; in findCandidates()
|
D | MachineTraceMetrics.cpp | 768 unsigned MaxLen = 0; in computeCrossBlockCriticalPath() local 778 MaxLen = std::max(MaxLen, Len); in computeCrossBlockCriticalPath() 780 return MaxLen; in computeCrossBlockCriticalPath()
|
/external/clang/utils/TableGen/ |
D | ClangDiagnosticsEmitter.cpp | 746 unsigned MaxLen = 0; in emitDiagTable() local 749 MaxLen = std::max(MaxLen, (unsigned)I.first.size()); in emitDiagTable() 762 OS << I.first << " */ " << std::string(MaxLen - I.first.size(), ' '); in emitDiagTable()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | BuildLibCalls.h | 44 Value *emitStrNLen(Value *Ptr, Value *MaxLen, IRBuilder<> &B,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/ |
D | TypeRecordMapping.cpp | 91 Optional<uint32_t> MaxLen; in visitTypeBegin() local 94 MaxLen = MaxRecordLength - sizeof(RecordPrefix); in visitTypeBegin() 95 error(IO.beginRecord(MaxLen)); in visitTypeBegin()
|
/external/pdfium/third_party/lcms/src/ |
D | cmscgats.c | 417 … BuildAbsolutePath(const char *relPath, const char *basePath, char *buffer, cmsUInt32Number MaxLen) in BuildAbsolutePath() argument 425 strncpy(buffer, relPath, MaxLen); in BuildAbsolutePath() 426 buffer[MaxLen-1] = 0; in BuildAbsolutePath() 431 strncpy(buffer, basePath, MaxLen); in BuildAbsolutePath() 432 buffer[MaxLen-1] = 0; in BuildAbsolutePath() 438 if (len >= MaxLen) return FALSE; in BuildAbsolutePath() 441 strncpy(tail + 1, relPath, MaxLen - len); in BuildAbsolutePath()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | BuildLibCalls.h | 52 Value *emitStrNLen(Value *Ptr, Value *MaxLen, IRBuilder<> &B,
|
/external/llvm/lib/CodeGen/ |
D | MachineTraceMetrics.cpp | 761 unsigned MaxLen = 0; in computeCrossBlockCriticalPath() local 771 MaxLen = std::max(MaxLen, Len); in computeCrossBlockCriticalPath() 773 return MaxLen; in computeCrossBlockCriticalPath()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAGHVX.cpp | 880 unsigned MaxLen) { in findStrip() argument 881 assert(A.size() > 0 && A.size() >= MaxLen); in findStrip() 884 for (unsigned I = 1; I != MaxLen; ++I) { in findStrip() 889 return { F, MaxLen }; in findStrip()
|