Home
last modified time | relevance | path

Searched refs:tcm_comm (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/cmd/acct/
H A Dacctcms.c66 char tcm_comm[8]; /* command name */ member
260 CPYN(cmt.tcm_comm, acct.oab.ac_comm); in tdofile()
277 CPYN(cmt.tcm_comm, acct.ab.ac_comm); in tdofile()
448 for (i = j = 0; j < sizeof(p->tcm_comm); j++) { in tenter()
449 if (p->tcm_comm[j] && p->tcm_comm[j] <= 037) in tenter()
450 p->tcm_comm[j] = '?'; in tenter()
451 i = i*7 + p->tcm_comm[j]; /* hash function */ in tenter()
455 for (i %= csize, j = 0; tcm[i].tcm_comm[0] && j != csize; i = (i+1)%csize, j++) in tenter()
456 if (EQN(p->tcm_comm, tcm[i].tcm_comm)) in tenter()
467 if (!EQN(p->tcm_comm, tcm[i].tcm_comm)) in tenter()
[all …]