Lines Matching refs:num

135     int		num;  member
196 #define history_def_setsize(p, num)(void) (((history_t *)p)->max = (num)) argument
207 evp->num = code;\
372 if (h->cursor == &h->list || h->cursor->ev.num != n) { in history_def_set()
375 if (h->cursor->ev.num == n) in history_def_set()
444 int num, void **data) in history_deldata_nth() argument
446 if (history_set_nth(h, ev, num) != 0) in history_deldata_nth()
452 ev->num = h->cursor->ev.num; in history_deldata_nth()
466 const int num) in history_def_del() argument
469 if (history_def_set(h, ev, num) != 0) in history_def_del()
472 ev->num = h->cursor->ev.num; in history_def_del()
518 c->ev.num = ++h->eventid; in history_def_insert()
578 h->list.ev.num = 0; in history_def_init()
657 history_setsize(TYPE(History) *h, TYPE(HistEvent) *ev, int num) in history_setsize() argument
664 if (num < 0) { in history_setsize()
668 history_def_setsize(h->h_ref, num); in history_setsize()
683 ev->num = history_def_getsize(h->h_ref); in history_getsize()
684 if (ev->num < -1) { in history_getsize()
718 ev->num = history_def_getunique(h->h_ref); in history_getunique()
914 history_prev_event(TYPE(History) *h, TYPE(HistEvent) *ev, int num) in history_prev_event() argument
919 if (ev->num == num) in history_prev_event()
928 history_next_evdata(TYPE(History) *h, TYPE(HistEvent) *ev, int num, void **d) in history_next_evdata() argument
933 if (ev->num == num) { in history_next_evdata()
948 history_next_event(TYPE(History) *h, TYPE(HistEvent) *ev, int num) in history_next_event() argument
953 if (ev->num == num) in history_next_event()
1040 h->h_ent = ev->num; in FUNW()
1150 int num = va_arg(va, int); in FUNW() local
1152 retval = history_next_evdata(h, ev, num, d); in FUNW()
1158 int num = va_arg(va, int); in FUNW() local
1160 retval = history_deldata_nth((history_t *)h->h_ref, ev, num, d); in FUNW()