Lines Matching +defs:read +defs:string

68 static std::string DSYMFile;
85 std::string objdump::DisSymName;
87 static std::vector<std::string> ArchFlags;
90 static std::string ThumbTripleName;
146 std::string ThumbName = (Twine("thumb") + TT.getArchName().substr(3)).str();
152 std::string Error;
430 std::string FmtBuf;
1201 static SmallVector<std::string> GetSegmentNames(object::MachOObjectFile *O) {
1202 SmallVector<std::string> Ret;
2087 const std::string ArchFlagName(ArchFlag);
2470 // Since cime(3) returns a 26 character string of the form:
2613 std::string ArchitectureName;
2679 std::string ArchiveName;
2729 std::string ArchitectureName;
3227 // literal string in a cstring section. If that address is in a cstring section
3228 // it returns a pointer to that string. Else it returns nullptr.
3357 // assembles a method call string with the values last seen and saved in
3359 // into the method field of the info and any previous string is free'ed.
3361 // string is set into ReferenceName and ReferenceType is set to
3609 // These are structs in the Objective-C meta data and read to produce the
6822 // GuessLiteralPointer returns a string which for the item in the Mach-O file
7144 std::string DSYMPath;
7156 DSYMPath = std::string(Path);
7250 std::string MachOMCPU;
7284 std::string FeaturesStr;
7327 // if it is done then arm64 comments for string literals don't get printed
7386 // inside a __[cf]string section, the data it points to. This is now replaced
7755 static uint64_t read(StringRef Contents, ptrdiff_t Offset) {
7757 outs() << "warning: attempt to read past end of buffer\n";
7761 uint64_t Val = support::endian::read<T, llvm::endianness::little>(
7768 T Val = read<T>(Contents, Offset);
7789 read<uint64_t>(Contents, Offset);
7791 read<uint32_t>(Contents, Offset);
7795 template <typename UIntPtr> void read(StringRef Contents, ptrdiff_t Offset) {
9290 const char *string = Ptr + sizeof(struct MachO::linker_option_command);
9294 while (*string == '\0' && left > 0) {
9295 string++;
9300 outs() << " string #" << i << " " << format("%.*s\n", left, string);
9301 uint32_t NullPos = StringRef(string, left).find('\0');
9303 string += len;