Home | History | Annotate | Download | only in Support

Lines Matching defs:bytes

34   /// Drop s bytes from the front of the stream, pushing the positions of the
35 /// remaining bytes down by s. This is used to skip past the bitcode header,
36 /// since we don't know a priori if it's present, and we can't put bytes
45 /// The number of bytes read at a time from the data streamer.
49 mutable std::vector<unsigned char> Bytes;
51 mutable size_t BytesRead; // Bytes read from stream
52 size_t BytesSkipped;// Bytes skipped at start of stream (e.g. wrapper/header)
56 // Fetch enough bytes such that Pos can be read (i.e. BytesRead >
59 // requests will be small, but we fetch at kChunkSize bytes at a
66 Bytes.resize(BytesRead + BytesSkipped + kChunkSize);
67 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped],
69 BytesRead += bytes;
70 if (bytes == 0) { // reached EOF/ran out of bytes