Lines Matching refs:ReadChars

305     size_t ReadChars = sizeof(OFFLOAD_BUNDLER_MAGIC_STR) - 1;  in ReadHeader()  local
306 if (ReadChars > FC.size()) in ReadHeader()
315 if (ReadChars + 8 > FC.size()) in ReadHeader()
318 uint64_t NumberOfBundles = Read8byteIntegerFromBuffer(FC, ReadChars); in ReadHeader()
319 ReadChars += 8; in ReadHeader()
325 if (ReadChars + 8 > FC.size()) in ReadHeader()
328 uint64_t Offset = Read8byteIntegerFromBuffer(FC, ReadChars); in ReadHeader()
329 ReadChars += 8; in ReadHeader()
332 if (ReadChars + 8 > FC.size()) in ReadHeader()
335 uint64_t Size = Read8byteIntegerFromBuffer(FC, ReadChars); in ReadHeader()
336 ReadChars += 8; in ReadHeader()
339 if (ReadChars + 8 > FC.size()) in ReadHeader()
342 uint64_t TripleSize = Read8byteIntegerFromBuffer(FC, ReadChars); in ReadHeader()
343 ReadChars += 8; in ReadHeader()
346 if (ReadChars + TripleSize > FC.size()) in ReadHeader()
349 StringRef Triple(&FC.data()[ReadChars], TripleSize); in ReadHeader()
350 ReadChars += TripleSize; in ReadHeader()
676 size_t ReadChars = 0u; member in TextFileHandler
685 ReadChars = FC.find(BundleStartString, ReadChars); in ReadBundleStart()
686 if (ReadChars == FC.npos) in ReadBundleStart()
690 size_t TripleStart = ReadChars = ReadChars + BundleStartString.size(); in ReadBundleStart()
693 size_t TripleEnd = ReadChars = FC.find("\n", ReadChars); in ReadBundleStart()
698 ++ReadChars; in ReadBundleStart()
707 assert(FC[ReadChars] == '\n' && "The bundle should end with a new line."); in ReadBundleEnd()
709 size_t TripleEnd = ReadChars = FC.find("\n", ReadChars + 1); in ReadBundleEnd()
712 ++ReadChars; in ReadBundleEnd()
719 size_t BundleStart = ReadChars; in ReadBundle()
722 size_t BundleEnd = ReadChars = FC.find(BundleEndString, ReadChars); in ReadBundle()
752 : FileHandler(), Comment(Comment), ReadChars(0) { in TextFileHandler()
765 ReadChars = Input.getBuffer().find(BundleEndString, ReadChars); in listBundleIDsCallback()