Lines Matching refs:ReadChars

347     size_t ReadChars = sizeof(OFFLOAD_BUNDLER_MAGIC_STR) - 1;  in ReadHeader()  local
348 if (ReadChars > FC.size()) in ReadHeader()
357 if (ReadChars + 8 > FC.size()) in ReadHeader()
360 uint64_t NumberOfBundles = Read8byteIntegerFromBuffer(FC, ReadChars); in ReadHeader()
361 ReadChars += 8; in ReadHeader()
367 if (ReadChars + 8 > FC.size()) in ReadHeader()
370 uint64_t Offset = Read8byteIntegerFromBuffer(FC, ReadChars); in ReadHeader()
371 ReadChars += 8; in ReadHeader()
374 if (ReadChars + 8 > FC.size()) in ReadHeader()
377 uint64_t Size = Read8byteIntegerFromBuffer(FC, ReadChars); in ReadHeader()
378 ReadChars += 8; in ReadHeader()
381 if (ReadChars + 8 > FC.size()) in ReadHeader()
384 uint64_t TripleSize = Read8byteIntegerFromBuffer(FC, ReadChars); in ReadHeader()
385 ReadChars += 8; in ReadHeader()
388 if (ReadChars + TripleSize > FC.size()) in ReadHeader()
391 StringRef Triple(&FC.data()[ReadChars], TripleSize); in ReadHeader()
392 ReadChars += TripleSize; in ReadHeader()
720 size_t ReadChars = 0u; member in __anon363a5eb30111::TextFileHandler
730 ReadChars = FC.find(BundleStartString, ReadChars); in ReadBundleStart()
731 if (ReadChars == FC.npos) in ReadBundleStart()
735 size_t TripleStart = ReadChars = ReadChars + BundleStartString.size(); in ReadBundleStart()
738 size_t TripleEnd = ReadChars = FC.find("\n", ReadChars); in ReadBundleStart()
743 ++ReadChars; in ReadBundleStart()
752 assert(FC[ReadChars] == '\n' && "The bundle should end with a new line."); in ReadBundleEnd()
754 size_t TripleEnd = ReadChars = FC.find("\n", ReadChars + 1); in ReadBundleEnd()
757 ++ReadChars; in ReadBundleEnd()
764 size_t BundleStart = ReadChars; in ReadBundle()
767 size_t BundleEnd = ReadChars = FC.find(BundleEndString, ReadChars); in ReadBundle()
796 TextFileHandler(StringRef Comment) : Comment(Comment), ReadChars(0) { in TextFileHandler()
809 ReadChars = Input.getBuffer().find(BundleEndString, ReadChars); in listBundleIDsCallback()