Lines Matching refs:samples
626 static void flush_samples(FILE *f, void *samples, uint64_t sample_size)
635 s = __get_sample(samples, 0, 0);
641 s = __get_sample(samples, log_offset, i);
665 void *samples;
1011 stream.next_in = (void *) data->samples;
1056 free(data->samples);
1085 * samples, and reset the log sample count to 0 (so the logging will
1102 data->samples = malloc(sample_size);
1103 if (!data->samples) {
1108 memcpy(data->samples, log->log, sample_size);