Lines Matching refs:bytes_until_sample
41 size_t bytes_until_sample; in PickAndAdjustNextSample() local
43 bytes_until_sample = 1; in PickAndAdjustNextSample()
44 return bytes_until_sample; in PickAndAdjustNextSample()
46 bytes_until_sample = NextGeoDistRandSample(); in PickAndAdjustNextSample()
49 << " bytes_until_sample: " << bytes_until_sample; in PickAndAdjustNextSample()
51 if (sample_adjust_bytes > 0 && bytes_until_sample > sample_adjust_bytes) { in PickAndAdjustNextSample()
52 bytes_until_sample -= sample_adjust_bytes; in PickAndAdjustNextSample()
54 << bytes_until_sample; in PickAndAdjustNextSample()
56 return bytes_until_sample; in PickAndAdjustNextSample()
84 size_t bytes_until_sample = *GetBytesUntilSample(); in GetSampleOffset() local
85 ssize_t diff = bytes_until_sample - exhausted_size; in GetSampleOffset()
87 << bytes_until_sample; in GetSampleOffset()
110 size_t next_bytes_until_sample = bytes_until_sample - alloc_size; in GetSampleOffset()
122 size_t* bytes_until_sample = GetBytesUntilSample(); in AdjustSampleOffset() local
123 size_t cur_bytes_until_sample = *bytes_until_sample; in AdjustSampleOffset()
129 *bytes_until_sample = next_bytes_until_sample; in AdjustSampleOffset()