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

References

gen/tools/lldb/scripts/LLDBWrapPython.cpp
 3866 	  *cptr = reinterpret_cast< char* >(memcpy(new char[len + 1], cstr, sizeof(char)*(len + 1)));
include/llvm/ADT/ArrayRef.h
  429         : MutableArrayRef<T>(new T[Data.size()], Data.size()) {
include/llvm/ADT/CachedHashString.h
  105       : P(new char[S.size()]), Size(S.size()), Hash(Hash) {
  116       P = new char[Size];
include/llvm/ADT/edit_distance.h
   65     Row = new unsigned[n + 1];
include/llvm/BinaryFormat/MsgPackDocument.h
  364     Strings.push_back(std::unique_ptr<char[]>(new char[S.size()]));
include/llvm/CodeGen/RegAllocPBQP.h
   54     : UnsafeRows(new bool[M.getRows() - 1]()),
   55       UnsafeCols(new bool[M.getCols() - 1]()) {
   56     unsigned* ColCounts = new unsigned[M.getCols() - 1]();
  100     : NumOpts(OptVec.size()), Opts(new unsigned[NumOpts]) {
  185       OptUnsafeEdges(new unsigned[NumOpts]), VReg(Other.VReg),
  210     OptUnsafeEdges = std::unique_ptr<unsigned[]>(new unsigned[NumOpts]());
include/llvm/CodeGen/ScoreboardHazardRecognizer.h
   70         Data = new unsigned[Depth];
include/llvm/DebugInfo/PDB/PDBTypes.h
  503       Value.String = new char[strlen(Other.Value.String) + 1];
include/llvm/Demangle/MicrosoftDemangle.h
   38     NewHead->Buf = new uint8_t[Capacity];
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
  219           : Size(Size), Align(Align), Contents(new char[Size + Align - 1]) {}
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
  177     std::unique_ptr<const char *[]> ArgV(new const char *[ArgC + 1]);
include/llvm/Support/circular_raw_ostream.h
  113         BufferArray = new char[BufferSize];
include/llvm/Support/raw_ostream.h
  124     SetBufferAndMode(new char[Size], Size, InternalBuffer);
lib/Analysis/DependenceAnalysis.cpp
 2543   BoundInfo *Bound = new BoundInfo[MaxLevels + 1];
 2916   CoefficientInfo *CI = new CoefficientInfo[MaxLevels + 1];
lib/CodeGen/AsmPrinter/WinException.cpp
 1148   std::unique_ptr<MCSymbol *[]> EndSymbolMap(new MCSymbol *[NumStates]);
lib/CodeGen/DetectDeadLanes.cpp
  585   VRegInfos = new VRegInfo[NumVirtRegs];
lib/CodeGen/GlobalISel/RegBankSelect.cpp
  218       new MachineInstr *[RepairPt.getNumInsertPoints()]);
lib/CodeGen/InterleavedLoadCombinePass.cpp
  679     EI = new ElementInfo[VTy->getNumElements()];
lib/CodeGen/LiveRegMatrix.cpp
   61     Queries.reset(new LiveIntervalUnion::Query[NumRegUnits]);
lib/CodeGen/MachineRegisterInfo.cpp
   52   PhysRegUseDefLists.reset(new MachineOperand*[NumRegs]());
lib/CodeGen/ModuloSchedule.cpp
  121   ValueMapTy *VRMap = new ValueMapTy[(MaxStageCount + 1) * 2];
lib/CodeGen/RegisterClassInfo.cpp
   50     RegClass.reset(new RCInfo[TRI->getNumRegClasses()]);
   81     PSetLimits.reset(new unsigned[NumPSets]);
   99     RCI.Order.reset(new MCPhysReg[NumRegs]);
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
  365   LiveRegDefs.reset(new SUnit*[TRI->getNumRegs() + 1]());
  366   LiveRegGens.reset(new SUnit*[TRI->getNumRegs() + 1]());
lib/CodeGen/SpillPlacement.cpp
  202   nodes = new Node[bundles->getNumBundles()];
lib/ExecutionEngine/Orc/OrcCBindings.cpp
   38   *MangledName = new char[Mangled.size() + 1];
lib/Option/Option.cpp
  134           char *Value = new char[Str - Prev + 1];
lib/Support/APFloat.cpp
  698     significand.parts = new integerPart[count];
  999     fullSignificand = new integerPart[newPartsCount];
 1124     dividend = new integerPart[partsCount * 2];
 1755   integerPart *x = new integerPart[parts];
 2015     newParts = new integerPart[newPartCount];
 2275     copy = new integerPart[srcCount];
 2539     decSignificand = new integerPart[partCount + 1];
 3887       Floats(new APFloat[2]{APFloat(semIEEEdouble), APFloat(semIEEEdouble)}) {
 3893       Floats(new APFloat[2]{APFloat(semIEEEdouble, uninitialized),
 3899     : Semantics(&S), Floats(new APFloat[2]{APFloat(semIEEEdouble, I),
 3906       Floats(new APFloat[2]{
 3915       Floats(new APFloat[2]{std::move(First), std::move(Second)}) {
 3923       Floats(RHS.Floats ? new APFloat[2]{APFloat(RHS.Floats[0]),
lib/Support/APInt.cpp
   38   uint64_t *result = new uint64_t[numWords];
   46   return new uint64_t[numWords];
 1481     U = new uint32_t[m + n + 1];
 1482     V = new uint32_t[n];
 1483     Q = new uint32_t[m+n];
 1485       R = new uint32_t[n];
lib/Support/Error.cpp
  159   char *ErrMsg = new char[Tmp.size() + 1];
lib/Support/Path.cpp
  941   char *Buf = new char[BufSize];
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  456               char *MyNewStr = new char[NSizeStr]();
lib/Target/Hexagon/HexagonCommonGEP.cpp
 1100   Value **IdxList = new Value*[Num+1];
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  905   GlobalVariable **gv_array = new GlobalVariable *[n];
tools/clang/include/clang/AST/APValue.h
  557     ((Vec*)(char*)Data.buffer)->Elts = new APValue[N];
tools/clang/lib/AST/APValue.cpp
  168       PathPtr = new LValuePathEntry[Length];
  206       PathPtr = new PathElem[Length];
  220   Elts(new APValue[NumElts + (NumElts != Size ? 1 : 0)]),
  225   Elts(new APValue[NumBases+NumFields]),
tools/clang/lib/ASTMatchers/Dynamic/Marshallers.h
  378   ArgT **InnerArgs = new ArgT *[Args.size()]();
tools/clang/lib/CodeGen/CGCleanup.cpp
  111     StartOfBuffer = new char[Capacity];
  122     char *NewStartOfBuffer = new char[NewCapacity];
  753     CleanupBufferHeap.reset(new char[CleanupSize]);
tools/clang/lib/Frontend/Rewrite/HTMLPrint.cpp
   88   std::unique_ptr<char[]> Buffer(new char[RewriteBuf.size()]);
tools/clang/lib/Lex/Pragma.cpp
  379   Token *TokArray = new Token[PragmaToks.size()];
tools/clang/lib/Rewrite/RewriteRope.cpp
  789     auto *Res = reinterpret_cast<RopeRefCountString *>(new char[Size]);
  799   auto *Res = reinterpret_cast<RopeRefCountString *>(new char[AllocSize]);
tools/clang/lib/Sema/DeclSpec.cpp
  234       I.Fun.Params = new DeclaratorChunk::ParamInfo[NumParams];
  248       I.Fun.Exceptions = new DeclaratorChunk::TypeAndRange[NumExceptions];
  272     I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()];
  304           new DecompositionDeclarator::Binding[Bindings.size()];
tools/clang/lib/Sema/DelayedDiagnostic.cpp
   43     MessageData = new char [Msg.size()];
   49   DD.AvailabilityData.SelectorLocs = new SourceLocation[Locs.size()];
tools/clang/lib/Sema/SemaExpr.cpp
 1429   TypeSourceInfo **Types = new TypeSourceInfo*[NumAssocs];
tools/clang/lib/Sema/TypeLocBuilder.cpp
   48   char *NewBuffer = new char[NewCapacity];
tools/clang/lib/Serialization/ASTReaderDecl.cpp
 1988   D->Params = new TemplateParameterList*[NumParams];
tools/clang/tools/libclang/CIndex.cpp
 3859       result->EvalData.stringVal = new char[strRef.size() + 1];
 3880     result->EvalData.stringVal = new char[strRef.size() + 1];
 3899         result->EvalData.stringVal = new char[strLiteral.size() + 1];
 3924         result->EvalData.stringVal = new char[strLiteral.size() + 1];
 3937       result->EvalData.stringVal = new char[strName.size() + 1];
 8691   skipped->ranges = new CXSourceRange[skipped->count];
 8718   skipped->ranges = new CXSourceRange[skipped->count];
tools/clang/tools/libclang/CIndexCodeCompletion.cpp
  682       AllocatedResults.Results = new CXCompletionResult [StoredResults.size()];
tools/clang/tools/libclang/CXString.cpp
  116   Set->Strings = new CXString[Set->Count];
tools/lld/lib/Driver/DarwinLdDriver.cpp
  305     auto **args = new const char *[numArgs + 2];
tools/lldb/source/DataFormatters/StringPrinter.cpp
  105       uint8_t *data = new uint8_t[5];
  208         uint8_t *data = new uint8_t[11];
tools/lldb/source/Expression/IRInterpreter.cpp
 1561           rawArgs[i].data_up.reset(new uint8_t[dataSize + 1]);
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
 1158     std::unique_ptr<char[]> buffer(new char[uint32_t(len + 1)]);
 2374   std::shared_ptr<uint8_t> buffer(new uint8_t[size]);
 2701       new uint8_t[element_header_size]);
tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp
   23   m_gpregset.reset(new uint8_t[size]);
   32   m_fpregset.reset(new uint8_t[size]);
tools/lldb/source/Utility/Args.cpp
  162   ptr.reset(new char[size + 1]);
tools/lli/lli.cpp
  939       ChildPath.reset(new char[ChildExecPath.size() + 1]);
  943       ChildIn.reset(new char[ChildInStr.size() + 1]);
  947       ChildOut.reset(new char[ChildOutStr.size() + 1]);
unittests/Support/TrailingObjectsTest.cpp
  200   std::unique_ptr<char[]> P(new char[1000]);
  230   std::unique_ptr<char[]> P(new char[1000]);
usr/include/c++/7.4.0/bits/basic_ios.tcc
   74 	                     _M_local_word : new _Words[__rhs._M_word_size];
usr/include/c++/7.4.0/bits/fstream.tcc
  351 		  char* __buf = new char[__blen];
usr/include/c++/7.4.0/bits/locale_facets.tcc
   89 	  __grouping = new char[_M_grouping_size];
usr/include/c++/7.4.0/bits/locale_facets_nonio.tcc
   86 	  __grouping = new char[_M_grouping_size];
usr/include/c++/7.4.0/bits/regex_executor.h
  195 	  : _M_visited_states(new bool[__n]()), _M_start(__start)
usr/include/c++/7.4.0/bits/unique_ptr.h
  831     { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); }
usr/include/x86_64-linux-gnu/c++/7.4.0/bits/messages_members.h
   57 	  char* __tmp = new char[__len];
  113 	      char* __tmp = new char[__len];
usr/include/x86_64-linux-gnu/c++/7.4.0/bits/time_members.h
   62 	  char* __tmp = new char[__len];
utils/benchmark/src/colorprint.cc
  106     std::unique_ptr<char[]> buff(new char[size]);
utils/benchmark/src/string_util.cc
  148   auto buff_ptr = std::unique_ptr<char[]>(new char[size]);
utils/unittest/googletest/src/gtest-filepath.cc
  362   char* const dest = new char[pathname_.length() + 1];
utils/unittest/googletest/src/gtest-port.cc
  600   char* const full_pattern = new char[full_regex_len];
 1083   char* const buffer = new char[file_size];