Searched refs:tkp (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/nvi/cl/ |
H A D | cl_term.c | 88 TKLIST const *tkp; in cl_term_init() local 97 for (tkp = c_tklist; tkp->name != NULL; ++tkp) { in cl_term_init() 98 if ((t = tigetstr(tkp->ts)) == NULL || t == (char *)-1) in cl_term_init() 100 CHAR2INT(sp, tkp->name, strlen(tkp->name), wp, wlen); in cl_term_init() 104 CHAR2INT(sp, tkp->output, strlen(tkp->output), wp, wlen); in cl_term_init() 106 if (seq_set(sp, name, strlen(tkp->name), ts, strlen(t), in cl_term_init() 107 output, strlen(tkp->output), SEQ_COMMAND, in cl_term_init() 113 for (tkp = m1_tklist; tkp->name != NULL; ++tkp) { in cl_term_init() 114 if ((t = tigetstr(tkp->ts)) == NULL || t == (char *)-1) in cl_term_init() 117 if (kp->value == tkp->value) in cl_term_init() [all …]
|
/freebsd/contrib/ntp/ntpdate/ |
H A D | ntpdate.c | 1561 TOKEN_PRIVILEGES tkp; in init_alarm() 1623 LookupPrivilegeValue(NULL, SE_SYSTEMTIME_NAME, &tkp.Privileges[0].Luid); in init_alarm() 1624 tkp.PrivilegeCount = 1; /* one privilege to set */ in init_alarm() 1625 tkp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; in init_alarm() 1627 AdjustTokenPrivileges(hToken, FALSE, &tkp, 0,(PTOKEN_PRIVILEGES) NULL, 0); in init_alarm()
|