Lines Matching defs:primary
73 // The primary piece is the piece of |data| we want to write to the buffer
77 cpp::span<const uint8_t> primary(data, split_point);
80 // it fits, or written directly to the output if it doesn't. If the primary
89 for (size_t i = 0; i < primary.size(); ++i)
90 bufref[pos + i] = primary[i];
91 pos += primary.size();
132 return {primary.size() + bytes_written, result.error};
158 // The primary piece is everything in |data| up to the newline. It's written
160 cpp::span<const uint8_t> primary(data, split_point);
169 written = write_unlocked_nbf(primary.data(), primary.size());
170 if (written < primary.size()) {