HomeSort by: relevance | last modified time | path
    Searched defs:lc (Results 1 - 25 of 47) sorted by relevancy

1 2

  /src/tests/lib/libc/sys/
t_lwp_ctl.c 49 lwpctl_t *lc; local in function:ATF_TC_BODY
53 ATF_REQUIRE(_lwp_ctl(LWPCTL_FEATURE_PCTR, &lc) == 0);
56 ctr1 = lc->lc_pctr;
63 ctr2 = lc->lc_pctr;
  /src/lib/libcurses/
chgat.c 62 __LDATA *lc; local in function:mvwchgat
81 lc = &lp->line[x];
93 lc->attr = (lc->attr & ~WA_ATTRIBUTES) | attr;
95 lc->attr = attr;
97 ++lc;
  /src/usr.bin/newgrp/
newgrp.c 71 login_cap_t *lc; local in function:main
81 if ((lc = login_getclass(pwd->pw_class)) == NULL)
112 addgroup(lc, *argv, pwd, getuid(), "Password:");
128 if (setusercontext(lc, pwd, uid, flags) == -1)
131 login_close(lc);
168 if (setusercontext(lc, pwd, uid, LOGIN_SETENV | LOGIN_SETPATH) == -1)
170 login_close(lc);
  /src/sys/kern/
subr_localcount.c 64 * localcount_init(lc)
70 * when done with lc.
73 localcount_init(struct localcount *lc)
76 lc->lc_totalp = NULL;
77 lc->lc_percpu = percpu_alloc(sizeof(int64_t));
81 * localcount_drain(lc, cv, interlock)
83 * Wait for all acquired references to lc to drain. Caller must
86 * same as are passed to localcount_release for this lc.
93 * The localcount object lc may be used only with localcount_fini
98 localcount_drain(struct localcount *lc, kcondvar_t *cv, kmutex_t *interlock
161 struct localcount *lc = cookie0; local in function:localcount_xc
    [all...]
kern_kthread.c 69 int error, lc; local in function:kthread_create
81 lc = SCHED_OTHER;
83 lc = SCHED_RR;
87 0, func, arg, &l, lc, &lwp0.l_sigmask, &lwp0.l_sigstk);
  /src/lib/libpam/modules/pam_nologin/
pam_nologin.c 72 login_cap_t *lc; local in function:pam_sm_authenticate
103 lc = login_getpwclass(pwd);
104 ignorenologin = login_getcapbool(lc, "ignorenologin", rootlogin);
105 nologin = login_getcapstr(lc, "nologin", nologin_def, nologin_def);
106 login_close(lc);
107 lc = NULL;
  /src/lib/libpam/modules/pam_group/
pam_group.c 155 login_cap_t *lc; local in function:authenticate
161 lc = login_getpwclass(pwd);
163 login_close(lc);
  /src/tests/lib/libc/locale/
t_strfmon.c 99 struct lconv *lc; local in function:ATF_TC_BODY
105 lc = localeconv();
107 ts = lc->mon_thousands_sep;
109 ts = lc->thousands_sep;
186 struct lconv *lc; local in function:ATF_TC_BODY
192 lc = localeconv();
193 lc->n_cs_precedes = 0;
197 lc->n_sep_by_space = i;
200 lc->n_sign_posn = j;
231 struct lconv *lc; local in function:ATF_TC_BODY
    [all...]
  /src/usr.bin/passwd/
local_passwd.c 142 login_cap_t *lc; local in function:pwlocal_process
188 if((lc = login_getclass(pw->pw_class)) != NULL) {
189 min_pw_len = (int) login_getcapnum(lc, "minpasswordlen", 0, 0);
190 pw_expiry = (int) login_getcaptime(lc, "passwordtime", 0, 0);
191 login_close(lc);
276 login_cap_t *lc; local in function:local_chpw
297 if((lc = login_getclass(pw->pw_class))) {
298 min_pw_len = (int) login_getcapnum(lc, "minpasswordlen", 0, 0);
299 pw_expiry = (int) login_getcaptime(lc, "passwordtime", 0, 0);
300 login_close(lc);
    [all...]
  /src/lib/libc/gen/
unvis.c 196 unsigned char st, ia, is, lc; local in function:unvis
443 lc = is == 0 ? 0 : nv[ia].name[is - 1]; /* last character */
449 if (is != 0 && nv[ia].name[is - 1] != lc)
  /src/lib/libpam/modules/pam_lastlog/
pam_lastlog.c 125 login_cap_t *lc; local in function:pam_sm_open_session
180 lc = login_getpwclass(pwd);
181 quiet = login_getcapbool(lc, "hushlogin", 0);
182 login_close(lc);
  /src/bin/ed/
io.c 312 int lc = 0; local in function:put_tty_line
324 if (!scripted && !isglobal && ++lc > rows) {
325 lc = 0;
sub.c 128 long lc; local in function:search_and_replace
135 for (lc = 0; lc <= second_addr - first_addr; lc++) {
  /src/sys/dev/
lockstat.c 172 lscpu_t *lc; local in function:lockstat_init_tables
193 lc = kmem_alloc(sizeof(*lc), KM_SLEEP);
194 lc->lc_overflow = 0;
195 ci->ci_lockstat = lc;
197 SLIST_INIT(&lc->lc_free);
199 LIST_INIT(&lc->lc_hash[i]);
203 SLIST_INSERT_HEAD(&lc->lc_free, lb, lb_chain.slist);
207 SLIST_INSERT_HEAD(&lc->lc_free, lb, lb_chain.slist);
384 lscpu_t *lc; local in function:lockstat_event
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_procmaps_mac.cc 182 const char *lc = layout_data.current_load_cmd_addr; local in function:__sanitizer::NextSegmentLoad
183 layout_data.current_load_cmd_addr += ((const load_command *)lc)->cmdsize;
184 if (((const load_command *)lc)->cmd == kLCSegment) {
185 const SegmentCommand* sc = (const SegmentCommand *)lc;
209 (const char *)lc + sizeof(SegmentCommand);
261 static const load_command *NextCommand(const load_command *lc) {
262 return (const load_command *)((const char *)lc + lc->cmdsize);
266 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) local in function:__sanitizer::FindUUID
277 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { local in function:__sanitizer::IsModuleInstrumented
    [all...]
  /src/usr.bin/login/
login.c 165 login_cap_t *lc = NULL; local in function:main
288 if ((lc = login_getclass(NULL)) != NULL) {
289 login_retries = (int)login_getcapnum(lc, "login-retries",
291 login_backoff = (int)login_getcapnum(lc, "login-backoff",
293 login_close(lc);
294 lc = NULL;
356 lc = login_getclass(pwd ? pwd->pw_class : NULL);
483 if (!login_getcapbool(lc, "ignorenologin", rootlogin))
484 checknologin(login_getcapstr(lc, "nologin", NULL, NULL));
491 quietlog = login_getcapbool(lc, "hushlogin", 0)
    [all...]
login_pam.c 116 login_cap_t *lc = NULL; local in function:main
227 if ((lc = login_getclass(NULL)) != NULL) {
228 login_retries = (int)login_getcapnum(lc, "login-retries",
230 login_backoff = (int)login_getcapnum(lc, "login-backoff",
232 login_close(lc);
233 lc = NULL;
301 lc = login_getclass(pwd ? pwd->pw_class : NULL);
326 * username, pwd, and lc.
340 lc = login_getpwclass(pwd);
411 quietlog = login_getcapbool(lc, "hushlogin", 0)
    [all...]
  /src/usr.bin/mail/
collect.c 87 int lc; local in function:exwrite
104 lc = 0;
109 lc++;
118 (void)printf("%d/%ld\n", lc, cc);
370 int lc, cc; local in function:collect
675 lc = 0;
678 if (rc != LINESIZE-1) lc++;
687 (void)printf("%d/%d\n", lc, cc);
  /src/usr.sbin/iopctl/
iopctl.c 425 int hc, lc, i, nit; local in function:i2ostrvis
428 lc = 0;
448 lc = i;
453 dst[lc] = '\0';
  /src/lib/libpam/modules/pam_unix/
pam_unix.c 87 login_cap_t *lc; local in function:pam_sm_authenticate
118 lc = login_getpwclass(pwd);
120 login_close(lc);
150 login_cap_t *lc; local in function:pam_sm_acct_mgmt
171 lc = login_getpwclass(pwd);
172 if (lc == NULL) {
182 warntime = (time_t)login_getcaptime(lc, "password-warn",
193 login_close(lc);
205 login_close(lc);
214 login_close(lc);
408 login_cap_t *lc; local in function:pam_sm_chauthtok
    [all...]
  /src/usr.bin/su/
su.c 122 login_cap_t *lc; local in function:main
234 if ((lc = login_getclass(pwd->pw_class)) == NULL)
237 pw_warntime = (time_t)login_getcaptime(lc, "password-warn",
329 setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETGROUP) == -1)
332 addgroup(lc, gname, pwd, ruid, GROUP_PASSWORD);
334 if (setusercontext(lc, pwd, pwd->pw_uid,
339 if (setusercontext(lc, pwd, pwd->pw_uid,
364 if (setusercontext(lc, pwd, pwd->pw_uid,
su_pam.c 117 login_cap_t *lc; local in function:main
312 if ((lc = login_getclass(pwd->pw_class)) == NULL)
345 setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETGROUP) == -1)
349 addgroup(lc, gname, pwd, ruid, "Group Password:");
492 if (setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETPATH |
551 if (setusercontext(lc, pwd, pwd->pw_uid, setwhat) == -1)
  /src/usr.bin/rdist/
expand.c 49 #define LC '{'
170 if (*cp == LC) {
441 int ok, lc; local in function:amatch
456 lc = 077777;
464 if (lc <= scc && scc <= *p++)
467 if (scc == (lc = cc))
  /src/sys/arch/macppc/dev/
aed.c 562 adb_listencmd_t *lc; local in function:aedioctl
564 lc = (void *)data;
  /src/lib/libc/stdlib/
strfmon.c 118 struct lconv *lc; /* pointer to lconv structure */ local in function:vstrfmon_l
139 lc = localeconv_l(loc);
249 currency_symbol = strdup(lc->int_curr_symbol);
256 currency_symbol = strdup(lc->currency_symbol);
273 currency_symbol, lc) -
274 __calc_left_pad(flags, currency_symbol, lc);
282 left_prec, right_prec, pad_char, lc, loc);
289 &sign_posn, &signstr, lc);
434 char *sign_posn, const char **signstr, struct lconv *lc)
438 *cs_precedes = lc->int_n_cs_precedes
    [all...]

Completed in 28 milliseconds

1 2