Lines Matching refs:ByteSequence
822 const std::string &ByteSequence = Patch.second; in patchBinary() local
823 assert(Offset + ByteSequence.size() <= BinaryContents.size() && in patchBinary()
825 for (uint64_t I = 0, Size = ByteSequence.size(); I < Size; ++I) { in patchBinary()
826 BinaryContentsStr[Offset + I] = ByteSequence[I]; in patchBinary()
934 std::string ByteSequence; in patchBinary() local
956 ByteSequence = encodeLE(OldValueSize, UpdatedOffset); in patchBinary()
959 if (ByteSequence.size() > OldValueSize) in patchBinary()
964 ByteSequence = encodeLE(OldValueSize, UpdatedOffset); in patchBinary()
967 ByteSequence.clear(); in patchBinary()
968 raw_string_ostream OS(ByteSequence); in patchBinary()
979 ByteSequence = encodeLE(4, P32->Value); in patchBinary()
986 ByteSequence = encodeLE(4, P64to32->Value); in patchBinary()
994 ByteSequence = encodeLE(4, DPVS->Value); in patchBinary()
1002 ByteSequence.clear(); in patchBinary()
1003 raw_string_ostream OS(ByteSequence); in patchBinary()
1011 ByteSequence = encodeLE(8, P64->Value); in patchBinary()
1019 ByteSequence.clear(); in patchBinary()
1035 ByteSequence = NDE->Value; in patchBinary()
1041 Offset + ByteSequence.size() <= BinaryContents.size()) && in patchBinary()
1046 NewBinaryContents.append(ByteSequence.data(), ByteSequence.size()); in patchBinary()
1059 ByteSequence = encodeLE(4, Patch.second); in patchBinary()
1061 for (uint64_t I = 0, Size = ByteSequence.size(); I < Size; ++I) in patchBinary()
1062 NewBinaryContents[Offset + I] = ByteSequence[I]; in patchBinary()