Lines Matching full:sample1
37 int function_name(const EntryT* sample1, const EntryT* sample2) { \
38 return Compare(sample1->compare_part, sample2->compare_part); \
43 int function_name(const EntryT* sample1, const EntryT* sample2) { \
44 return Compare(sample2->compare_part, sample1->compare_part); \
49 int function_name(const EntryT* sample1, const EntryT* sample2) { \
50 return strcmp(sample1->compare_part, sample2->compare_part); \
66 int CompareTotalPeriod(const EntryT* sample1, const EntryT* sample2) {
67 uint64_t period1 = sample1->period + sample1->accumulated_period;
73 int ComparePeriod(const EntryT* sample1, const EntryT* sample2) {
74 return Compare(sample2->period, sample1->period);
94 bool operator()(const EntryT* sample1, const EntryT* sample2) const {
96 int ret = func(sample1, sample2);
104 bool IsSameSample(const EntryT* sample1, const EntryT* sample2) const {
106 if (func(sample1, sample2) != 0) {