Searched refs:initFn (Results 1 – 7 of 7) sorted by relevance
151 function_ref<void(Storage *)> initFn) { in registerSingletonStorageType() argument154 if (initFn) in registerSingletonStorageType()155 initFn(storage); in registerSingletonStorageType()165 void registerSingletonStorageType(function_ref<void(Storage *)> initFn = {}) {166 registerSingletonStorageType<Storage>(TypeID::get<Storage>(), initFn);175 Storage *get(function_ref<void(Storage *)> initFn, TypeID id, in get() argument191 if (initFn) in get()192 initFn(storage); in get()202 Storage *get(function_ref<void(Storage *)> initFn, Args &&...args) { in get() argument203 return get<Storage>(initFn, TypeID::get<Storage>(), in get()
123 if (p.initFn != NULL) p.initFn(p.initPayload); in BMK_benchFunction()
71 BMK_initFn_t initFn; /* (*initFn)(initPayload) is run once per run, at the beginning. */ member
405 cbp.initFn = local_initCCtx; /* BMK_initCCtx */ in BMK_benchMemAdvancedNoAlloc()424 dbp.initFn = local_initDCtx; in BMK_benchMemAdvancedNoAlloc()
624 bp.initFn = NULL; in benchMem()
1598 cbp.initFn = local_initCCtx; in BMK_benchMemInvertible()1616 dbp.initFn = local_initDCtx; in BMK_benchMemInvertible()
689 .initFn = NULL, in benchMem()