Home | History | Annotate | Download | only in tests

Lines Matching refs:P1

465 template <class P1>
466 Closure *NewCallback(void (*f)(P1), P1 p1) {
467 CHECK(sizeof(P1) <= sizeof(void*));
471 res->param1 = (void*)p1;
476 template <class T, class P1, class P2>
477 Closure *NewCallback(void (*f)(P1, P2), P1 p1, P2 p2) {
478 CHECK(sizeof(P1) <= sizeof(void*));
482 res->param1 = (void*)p1;