Lines Matching refs:Reducer

20 static void *distinctNewInstance(Reducer *r) {  in distinctNewInstance()
30 static int distinctAdd(Reducer *r, void *ctx, const RLookupRow *srcrow) { in distinctAdd()
48 static RSValue *distinctFinalize(Reducer *parent, void *ctx) { in distinctFinalize()
53 static void distinctFreeInstance(Reducer *r, void *p) { in distinctFreeInstance()
60 Reducer *RDCRCountDistinct_New(const ReducerOptions *options) { in RDCRCountDistinct_New()
61 Reducer *r = rm_calloc(1, sizeof(*r)); in RDCRCountDistinct_New()
80 static void *distinctishNewInstance(Reducer *parent) { in distinctishNewInstance()
89 static int distinctishAdd(Reducer *parent, void *instance, const RLookupRow *srcrow) { in distinctishAdd()
102 static RSValue *distinctishFinalize(Reducer *parent, void *instance) { in distinctishFinalize()
107 static void distinctishFreeInstance(Reducer *r, void *p) { in distinctishFreeInstance()
119 static RSValue *hllFinalize(Reducer *parent, void *ctx) { in hllFinalize()
132 static Reducer *newHllCommon(const ReducerOptions *options, int isRaw) { in newHllCommon()
133 Reducer *r = rm_calloc(1, sizeof(*r)); in newHllCommon()
153 Reducer *RDCRCountDistinctish_New(const ReducerOptions *options) { in RDCRCountDistinctish_New()
157 Reducer *RDCRHLL_New(const ReducerOptions *options) { in RDCRHLL_New()
166 static int hllsumAdd(Reducer *r, void *ctx, const RLookupRow *srcrow) { in hllsumAdd()
217 static RSValue *hllsumFinalize(Reducer *parent, void *ctx) { in hllsumFinalize()
222 static void *hllsumNewInstance(Reducer *r) { in hllsumNewInstance()
230 static void hllsumFreeInstance(Reducer *r, void *p) { in hllsumFreeInstance()
235 Reducer *RDCRHLLSum_New(const ReducerOptions *options) { in RDCRHLLSum_New()
236 Reducer *r = rm_calloc(1, sizeof(*r)); in RDCRHLLSum_New()