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

References

examples/SpeculativeJIT/SpeculativeJIT.cpp
  183     ArgV.push_back(InputArg.data());
include/llvm/ADT/StringRef.h
  111       : Data(Str.data()), Length(Str.length()) {}
include/llvm/ExecutionEngine/Orc/RPCSerialization.h
  137     return Name.data();
  151     return Name.data();
  165     return Name.data();
  179     return Name.data();
  192     return Name.data();
  205     return Name.data();
include/llvm/ExecutionEngine/Orc/RPCUtils.h
  161     return Name.data();
include/llvm/ExecutionEngine/Orc/RemoteObjectLayer.h
  450       init(this->Buffer.data(), this->Buffer.data() + this->Buffer.size(),
  450       init(this->Buffer.data(), this->Buffer.data() + this->Buffer.size(),
include/llvm/Support/raw_ostream.h
  203     return write(Str.data(), Str.length());
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  249       memcpy(CKMem, Checksum.data(), Checksum.size());
lib/FuzzMutate/FuzzerCLI.cpp
  197   memcpy(Dest, Buf.data(), Buf.size());
lib/IR/RemarkStreamer.cpp
   42                              RegexError.data());
lib/MC/MCParser/AsmParser.cpp
 3450       memcpy(SourceBuf, SourceString.data(), SourceString.size());
 3624   memcpy(CKMem, Checksum.data(), Checksum.size());
lib/Support/ConvertUTFWrapper.cpp
  215     const UTF8 *Start = reinterpret_cast<const UTF8 *>(Source.data());
  217         reinterpret_cast<const UTF8 *>(Source.data() + Source.size());
  221     memcpy(&Result[0], Source.data(), Source.size());
  225         llvm::ArrayRef<UTF16>(reinterpret_cast<const UTF16 *>(Source.data()),
  229     const UTF32 *Start = reinterpret_cast<const UTF32 *>(Source.data());
  231         reinterpret_cast<const UTF32 *>(Source.data() + Source.size());
lib/Support/Error.cpp
  160   memcpy(ErrMsg, Tmp.data(), Tmp.size());
lib/Support/JSON.cpp
  559   Res.resize(reinterpret_cast<char *>(Out8) - Res.data());
lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
   29     getStreamer().EmitRawText(S.data());
tools/clang/lib/CodeGen/BackendUtil.cpp
 1628           ArrayRef<uint8_t>((const uint8_t *)OS.str().data(), OS.str().size());
tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp
  780       OS.write(Name.data(), Name.size());
  781       Callbacks->HandleNewlinesInToken(Name.data(), Name.size());
  803       OS.write(S.data(), S.size());
  808         Callbacks->HandleNewlinesInToken(S.data(), S.size());
tools/clang/lib/Serialization/ASTReaderDecl.cpp
  634   memcpy(D->getTrailingObjects<char>(), Arg.data(), Arg.size());
  642   memcpy(D->getTrailingObjects<char>(), Name.data(), Name.size());
  647   memcpy(D->getTrailingObjects<char>() + D->ValueStart, Value.data(),
tools/clang/tools/clang-import-test/clang-import-test.cpp
  170                  [](const std::string &s) -> const char * { return s.data(); });
tools/clang/tools/extra/clang-tidy/modernize/RedundantVoidArgCheck.cpp
  131   Lexer PrototypeLexer(CharRange.getBegin(), getLangOpts(), DeclText.data(),
  132                        DeclText.data(), DeclText.data() + DeclText.size());
  132                        DeclText.data(), DeclText.data() + DeclText.size());
tools/clang/tools/extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
  305             ReplacementText.data(), ReplacementText.data(),
  305             ReplacementText.data(), ReplacementText.data(),
  306             ReplacementText.data() + ReplacementText.size());
tools/clang/unittests/Frontend/OutputStreamTest.cpp
   71   EXPECT_TRUE(StringRef(VerboseBuffer.data()).contains("errors generated"));
  101   EXPECT_TRUE(StringRef(VerboseBuffer.data()).contains("errors generated"));
tools/lld/wasm/OutputSections.cpp
  106   memcpy(buf, header.data(), header.size());
  110   memcpy(buf, codeSectionHeader.data(), codeSectionHeader.size());
  182   memcpy(buf, header.data(), header.size());
  186   memcpy(buf, dataSectionHeader.data(), dataSectionHeader.size());
  193     memcpy(segStart, segment->header.data(), segment->header.size());
  245   memcpy(buf, header.data(), header.size());
  247   memcpy(buf, nameData.data(), nameData.size());
tools/lld/wasm/SyntheticSections.cpp
   45     to.write(body.data(), body.size());
tools/lld/wasm/SyntheticSections.h
   47     memcpy(buf + offset, header.data(), header.size());
   48     memcpy(buf + offset + header.size(), body.data(), body.size());
tools/lld/wasm/Writer.cpp
  179   memcpy(buffer->getBufferStart(), header.data(), header.size());
tools/lldb/source/Commands/CommandObjectQuit.cpp
   89       s.Printf("Couldn't parse '%s' as integer for exit code.", arg_str.data());
tools/lldb/source/Core/StreamAsynchronousIO.cpp
   28     m_debugger.PrintAsync(m_data.data(), m_data.size(), m_for_stdout);
tools/lldb/source/Interpreter/OptionGroupPythonClassWithDict.cpp
   47   m_option_definition[0].usage_text = m_class_usage_text.data();
   58   m_option_definition[1].usage_text = m_key_usage_text.data();
   69   m_option_definition[2].usage_text = m_value_usage_text.data();
   80   m_option_definition[3].usage_text = m_class_usage_text.data();
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
  883     process->WriteMemory(path_array_addr, path_array.data(), 
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
  469       std::string bufsize_str(m_bytes.data() + 2, i - 2 - 1);
  633   m_bytes.replace(0, size_of_first_packet, new_packet.data(),
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
 3902               packet.PutBytesAsRawHex8(symbol_name.data(), symbol_name.size());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  400       AppendHexValue(response, zeros.data(), zeros.size(), false);
 2328     response.PutEscapedBytes(buf.data(), byte_count);
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
 1062                                                    : namespace_name.data();
tools/lldb/source/Utility/Event.cpp
  133                          reinterpret_cast<const uint8_t *>(m_bytes.data()),
  134                          reinterpret_cast<const uint8_t *>(m_bytes.data() +
  139   return (m_bytes.empty() ? nullptr : m_bytes.data());
tools/lldb/unittests/Process/minidump/MinidumpParserTest.cpp
   65         std::make_shared<DataBufferHeap>(data.data(), data.size());
   91       duplicate_streams.data(), duplicate_streams.size());
tools/llvm-cov/SourceCoverageView.cpp
  108   std::string Result(Number.data(), IntLen);
tools/llvm-cxxmap/llvm-cxxmap.cpp
  148   raw_fd_ostream OS(OutputFilename.data(), EC, sys::fs::OF_Text);
tools/llvm-jitlink/llvm-jitlink.cpp
  776     EntryPointArgs.push_back(InputArg.data());
tools/llvm-objcopy/ELF/Object.cpp
  683           SymbolNames->Name.data(), this->Name.data());
  683           SymbolNames->Name.data(), this->Name.data());
  813           Symbols->Name.data(), this->Name.data());
  813           Symbols->Name.data(), this->Name.data());
  823                              R.RelocSymbol->DefinedIn->Name.data(),
  824                              SecToApplyRel->Name.data(), R.Offset,
  900           Reloc.RelocSymbol->Name.data());
  936           Symbols->Name.data(), this->Name.data());
  936           Symbols->Name.data(), this->Name.data());
  956                                LinkSection->Name.data(), this->Name.data());
  956                                LinkSection->Name.data(), this->Name.data());
  972                              Sym->Name.data(), this->Name.data(), this->Index);
  972                              Sym->Name.data(), this->Name.data(), this->Index);
tools/llvm-objcopy/MachO/MachOWriter.cpp
  211   memcpy(Temp.segname, Sec.Segname.data(), Sec.Segname.size());
  212   memcpy(Temp.sectname, Sec.Sectname.data(), Sec.Sectname.size());
tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
   91       reinterpret_cast<const uint8_t*>(Buf.data()), Buf.size(), Context);
  100   memcpy(Data, Buf.data(), Buf.size());
tools/llvm-profdata/llvm-profdata.cpp
  743   raw_fd_ostream OS(Output.data(), EC, sys::fs::OF_Text);
 1120   raw_fd_ostream OS(OutputFilename.data(), EC, sys::fs::OF_Text);
tools/llvm-rtdyld/llvm-rtdyld.cpp
  569   Argv.push_back(InputFileList[0].data());
  571     Argv.push_back(Arg.data());
unittests/BinaryFormat/MsgPackWriterTest.cpp
   43     EXPECT_EQ(Output.data()[0], static_cast<uint8_t>(u));
  131     EXPECT_EQ(static_cast<int8_t>(Output.data()[0]), static_cast<int8_t>(i));
unittests/Support/CommandLineTest.cpp
  743   EXPECT_FALSE(llvm::sys::commandLineFitsWithinSystemLimits("cl", args.data()));
unittests/TextAPI/ELFYAMLTest.cpp
   32     EXPECT_STREQ(Line1.str().data(), Line2.str().data());
   32     EXPECT_STREQ(Line1.str().data(), Line2.str().data());
usr/include/c++/7.4.0/bits/basic_string.h
 2343       { return this->find(__str.data(), __pos, __str.size()); }
 2405       { return this->rfind(__str.data(), __pos, __str.size()); }
 2484       { return this->find_first_of(__str.data(), __pos, __str.size()); }
 2651       { return this->find_first_not_of(__str.data(), __pos, __str.size()); }
 2839 	int __r = traits_type::compare(_M_data(), __str.data(), __len);
 6020 	      && !std::char_traits<_CharT>::compare(__lhs.data(), __rhs.data(),
 6020 	      && !std::char_traits<_CharT>::compare(__lhs.data(), __rhs.data(),
 6289       return __ostream_insert(__os, __str.data(), __str.size());
 6603       { return std::_Hash_impl::hash(__s.data(), __s.length()); }
 6618       { return std::_Hash_impl::hash(__s.data(),
 6636       { return std::_Hash_impl::hash(__s.data(),
 6651       { return std::_Hash_impl::hash(__s.data(),
usr/include/c++/7.4.0/bits/basic_string.tcc
 1200       const _CharT* const __data = data();
usr/include/c++/7.4.0/bits/locale_facets_nonio.tcc
  398 	  __ctype.widen(__str.data(), __str.data() + __len, &__digits[0]);
  398 	  __ctype.widen(__str.data(), __str.data() + __len, &__digits[0]);
usr/include/c++/7.4.0/bits/regex.h
  235 	  return __fclt.transform(__s.data(), __s.data() + __s.size());
  235 	  return __fclt.transform(__s.data(), __s.data() + __s.size());
  493 	: basic_regex(__s.data(), __s.data() + __s.size(), __f)
  493 	: basic_regex(__s.data(), __s.data() + __s.size(), __f)
usr/include/c++/7.4.0/bits/regex_compiler.h
  467 	auto __st = _M_traits.lookup_collatename(__s.data(),
  468 						 __s.data() + __s.size());
  480 	auto __st = _M_traits.lookup_collatename(__s.data(),
  481 						 __s.data() + __s.size());
  485 	__st = _M_traits.transform_primary(__st.data(),
  486 					   __st.data() + __st.size());
  495 	auto __mask = _M_traits.lookup_classname(__s.data(),
  496 						 __s.data() + __s.size(),
usr/include/c++/7.4.0/sstream
  115       : __streambuf_type(), _M_mode(), _M_string(__str.data(), __str.size())
  194 	_M_string.assign(__s.data(), __s.size());
  207 	_M_sync(const_cast<char_type*>(_M_string.data()), 0, __len);
utils/TableGen/AsmWriterInst.cpp
  124       StringRef VarName(AsmString.data()+DollarPos+1, VarEnd-DollarPos-1);
utils/unittest/googletest/src/gtest-printers.cc
  355   PrintCharsAsStringTo(s.data(), s.size(), os);
  367   PrintCharsAsStringTo(s.data(), s.size(), os);