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

References

lib/Analysis/Analysis.cpp
  114     *OutMessages = strdup(MsgsOS.str().c_str());
lib/Bitcode/Reader/BitReader.cpp
   49       *OutMessage = strdup(Message.c_str());
   95       *OutMessage = strdup(Message.c_str());
lib/ExecutionEngine/ExecutionEngineBindings.cpp
  114   *OutError = strdup(Error.c_str());
  129   *OutError = strdup(Error.c_str());
  146   *OutError = strdup(Error.c_str());
  168     *OutError = strdup(
  212   *OutError = strdup(Error.c_str());
lib/IR/Core.cpp
   66   return strdup(Message);
  400     *ErrorMessage = strdup(EC.message().c_str());
  410     *ErrorMessage = strdup(E.c_str());
  424   return strdup(buf.c_str());
  541   return strdup(buf.c_str());
  852   return strdup(buf.c_str());
 2354   return strdup(Str.c_str());
 4004     *OutMessage = strdup(EC.message().c_str());
 4015     *OutMessage = strdup(EC.message().c_str());
lib/IRReader/IRReader.cpp
  132       *OutMessage = strdup(buf.c_str());
lib/Object/Object.cpp
   71     *ErrorMessage = strdup(toString(ObjOrErr.takeError()).c_str());
  143     *ErrorMessage = strdup(toString(ObjOrErr.takeError()).c_str());
  354   return strdup("");
lib/Support/Unix/Path.inc
  156   char *s = strdup(pv);
lib/Support/Unix/Signals.inc
  103   FileToRemoveList(const std::string &str) : Filename(strdup(str.c_str())) {}
lib/Target/Target.cpp
   70   return strdup(StringRep.c_str());
lib/Target/TargetMachineC.cpp
   74       *ErrorMessage = strdup(Error.c_str());
  163   return strdup(StringRep.c_str());
  168   return strdup(StringRep.c_str());
  173   return strdup(StringRep.c_str());
  209     *ErrorMessage = strdup(error.c_str());
  224     *ErrorMessage = strdup(EC.message().c_str());
  246   return strdup(sys::getDefaultTargetTriple().c_str());
  250   return strdup(Triple::normalize(StringRef(triple)).c_str());
  254   return strdup(sys::getHostCPUName().data());
  265   return strdup(Features.getString().c_str());
projects/openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.cpp
  355         NEW_DOMAIN_A(&_N_(_ittapi_global),h,h_tail,name);
  427         NEW_STRING_HANDLE_A(&_N_(_ittapi_global),h,h_tail,name);
  504        NEW_COUNTER_A(&_N_(_ittapi_global),h,h_tail,name,domain,type);
  579        NEW_COUNTER_A(&_N_(_ittapi_global),h,h_tail,name,domain,type);
tools/clang/lib/Serialization/ASTWriter.cpp
 2147         StringRef FilenameDup = strdup(Filename.c_str());
 2194       Filename = StringRef(strdup(FilenameTmp.c_str()));
tools/clang/tools/libclang/CXString.cpp
   75   Str.data = strdup(String);
tools/gold/gold-plugin.cpp
  573     sym.name = strdup(Name.str().c_str());
  610       sym.comdat_key = strdup(C.str().c_str());
utils/unittest/googletest/include/gtest/internal/gtest-port.h
 2355 inline char* StrDup(const char* src) { return strdup(src); }