reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

usr/include/c++/7.4.0/bits/basic_string.h
 1007       reserve(size_type __res_arg = 0);

References

include/llvm/ADT/StringExtras.h
  147   Output.reserve(2 * Length);
  175   Output.reserve((Input.size() + 1) / 2);
  322   S.reserve(Len);
  394   Result.reserve(NI + (sizeof...(Items) - 1) * NS + 1);
lib/Bitcode/Reader/BitcodeReader.cpp
 3068     OldFormatName.reserve(ComdatNameSize);
lib/CodeGen/MIRParser/MILexer.cpp
  122   Str.reserve(C.remaining().size());
lib/DebugInfo/PDB/Native/NativeEnumInjectedSources.cpp
   23   Result.reserve(DataLength);
lib/Testing/Support/Annotations.cpp
   33   Code.reserve(Text.size());
lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
   97   Out.reserve(5000);
tools/clang/lib/Frontend/InitPreprocessor.cpp
 1113   PredefineBuffer.reserve(4080);
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  770   C2.reserve(C.size());
tools/clang/tools/extra/clang-tidy/bugprone/ParentVirtualCallCheck.cpp
  128   ParentsStr.reserve(30 * Parents.size());
tools/clang/tools/extra/clangd/DraftStore.cpp
   97     NewContents.reserve(*StartIndex + Change.text.length() +
tools/clang/tools/extra/clangd/unittests/FormattedStringTests.cpp
   89   EscapedPunctuation.reserve(2 * Punctuation.size());
tools/lld/COFF/PDB.cpp
 1372   r.reserve(256);
tools/lldb/source/Interpreter/OptionValueFormatEntity.cpp
   41   dst.reserve(str.size());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
  618   new_packet.reserve(decompressed_bytes + 6);
  815       packet_str.reserve(m_bytes.length());
tools/lldb/source/Utility/Args.cpp
  615   res.reserve(arg.size());
tools/lldb/source/Utility/StringExtractor.cpp
  301   str.reserve(GetBytesLeft() / 2);
tools/llvm-readobj/WindowsResourceDumper.cpp
   25   Result.reserve(UTF16Str.size());
unittests/Support/raw_sha1_ostream_test.cpp
   22   Output.reserve(2 * Length);
usr/include/c++/7.4.0/bits/basic_string.h
  970 	      { reserve(0); }
usr/include/c++/7.4.0/bits/basic_string.tcc
 1165       __str.reserve(__len + __rhs.size());
 1179       __str.reserve(__len + 1);
usr/include/c++/7.4.0/bits/locale_facets.tcc
  211 	__found_grouping.reserve(32);
  468 	  __found_grouping.reserve(32);
  695       __xtrc.reserve(32);
  710       __xtrc.reserve(32);
  742       __xtrc.reserve(32);
usr/include/c++/7.4.0/bits/locale_facets_nonio.tcc
  162 	  __grouping_tmp.reserve(32);
  174 	__res.reserve(32);
utils/TableGen/InstrDocsEmitter.cpp
   44   Result.reserve(Str.size() + 4);
utils/unittest/googletest/src/gtest.cc
 1988   result.reserve(2 * (end - start));
 3525   output.reserve(str.size());
 3763   result.reserve(strlen(str) + 1);