Home
last modified time | relevance | path

Searched refs:lc (Results 1 – 25 of 603) sorted by relevance

12345678910>>...25

/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_op.c483 if (lc == 0 || lc->owner != me) in releaseLC()
628 if (lc->onList || lc->refCount != 1 || lc->isBound) { in freeCon()
841 stat = lc->status = ldapBind(&lc->ld, lc->who, lc->cred, lc->method, in connectCon()
885 for (lc = ldapCon; lc != 0; lc = lc->next) { in findCon()
1094 for (lc = list; lc != 0; lc = lc->next) { in find_connection_from_list()
1256 for (lc = ldapCon; lc != 0; lc = lc->next) { in findYPCon()
1259 if (lc->isBound && (lc->doDis || lc->doDel)) { in findYPCon()
1272 newlc = createCon(lc->sp, lc->who, lc->cred, in findYPCon()
1273 lc->method, lc->port); in findYPCon()
2492 lc != NULL ? lc->ld : 0, in ldapModify()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dlc.c399 if (!lc->charset || !lc->charset->ms) in lccanon()
411 return canonical(lc->language, lc->territory, lc->charset, lc->attributes, flags, buf, siz); in lccanon()
451 for (lc = lcs; lc; lc = lc->next) in lcmake()
780 lc->code = lc->name + n; in lcmake()
796 lc->info[i].lc = lc; in lcmake()
809 lcs = lc; in lcmake()
841 ls->lc.code = ls->lc.name = ls->buf; in lcscan()
860 ls->lc.charset = ls->lc.language->charset ? ls->lc.language->charset : &lc_charsets[0]; in lcscan()
871 if (!ls->lc.language || !ls->lc.language->index) in lcscan()
876 (!ls->lc.territory || !(ls->lc.index = ls->lc.territory->indices[ls->language]))) in lcscan()
[all …]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dqry.c347 lookup_ctrl_t lc; in qry_e2g() local
392 lc.op[1] = 0; in qry_i2g()
461 lc.op[2] = 0; in qry_p2g()
511 lc.op[1] = 0; in qry_g2i()
561 lc.op[2] = 0; in qry_g2p()
703 lc.op[1] = 0; in cb_attrs_match()
707 lc.id[0] = i; in cb_attrs_match()
841 lc.type = t; in qry_and_match()
1047 lc.type = type; in get_next_obj()
1048 lc.op[1] = 0; in get_next_obj()
[all …]
H A Dadmintf.c1517 lc.op[1] = 0; in get_node_op()
1638 lc.op[1] = 0; in i_get_dd_dds_op()
1700 lc.op[1] = 0; in i_delete_ddmember_op()
1754 lc.op[1] = 0; in i_delete_ddsetmember_op()
1962 lc.op[1] = 0; in getAssociated_dd_to_node_op()
2020 lc.op[1] = 0; in getAssociated_node_to_dd_op()
2084 lc.op[1] = 0; in getAssociated_ddset_to_dd_op()
2142 lc.op[1] = 0; in getAssociated_dd_to_ddset_op()
2220 lc.op[1] = 0; in delete_dd_ddset_op()
2322 lc.op[1] = 0; in delete_ddmember_ddsetmember_op()
[all …]
H A Ddd.c85 lookup_ctrl_t lc; in cb_update_ds_attr() local
114 lc.curr_uid = 0; in cb_update_ds_attr()
115 lc.id[0] = which; in cb_update_ds_attr()
118 lc.op[1] = 0; in cb_update_ds_attr()
320 lookup_ctrl_t lc; in get_dds_member_info() local
685 lookup_ctrl_t lc; in get_dds_status() local
746 lookup_ctrl_t lc; in get_scope() local
767 lc.curr_uid = 0; in get_scope()
772 lc.op[1] = 0; in get_scope()
1370 lc.id[1] = tag; in update_ds_name()
[all …]
H A Dfunc.c637 lc_key = lc;
1120 lookup_ctrl_t lc; local
1132 lc.curr_uid = 0;
1139 lc.op[1] = 0;
1146 lc.op[1] = 0;
1147 lc.type = OBJ_ISCSI;
1154 lc.op[1] = 0;
1170 lc.op[2] = 0;
1181 lc.op[1] = 0;
1401 lookup_ctrl_t lc; local
[all …]
H A Desi.c320 lookup_ctrl_t lc; in extract_esi_portal() local
329 lc.data[1].ptr = NULL; in extract_esi_portal()
330 lc.data[2].ui = INFINITY - 1; in extract_esi_portal()
335 *intval = lc.data[2].ui; in extract_esi_portal()
338 SET_UID_LCP(&lc, OBJ_PORTAL, 0); in extract_esi_portal()
343 lc.data[0].ui = uid; in extract_esi_portal()
348 lc.data[0].ui, lc.data[2].ui); in extract_esi_portal()
1412 lookup_ctrl_t lc; in portal_dies() local
1421 ec = dereg_object(&lc, 1); in portal_dies()
1444 lookup_ctrl_t lc; in reg_expiring() local
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dlogging.c206 REQUIRE(lc != NULL); in log_check_channel()
240 REQUIRE(lc != NULL); in log_check()
284 REQUIRE(lc != NULL); in log_vwrite()
413 lc->buffer); in log_vwrite()
459 *lc = nlc; in log_new_context()
469 REQUIRE(lc != NULL); in log_free_context()
487 if (lc == NULL || category < 0 || category >= lc->num_categories) { in log_add_channel()
509 if (lc == NULL || category < 0 || category >= lc->num_categories) { in log_remove_channel()
542 if (lc == NULL) { in log_option()
554 lc->level = value; in log_option()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Drequest.c166 if ( lc == NULL ) { in nsldapi_send_server_request()
215 if ( lc == NULL in nsldapi_send_server_request()
256 lr->lr_conn = lc; in nsldapi_send_server_request()
365 LDAPConn *lc; in nsldapi_new_connection() local
520 lc = NULL; in nsldapi_new_connection()
524 return( lc ); in nsldapi_new_connection()
539 LDAPConn *lc; in find_connection() local
542 for ( lc = ld->ld_conns; lc != NULL; lc = lc->lconn_next ) { in find_connection()
549 return( lc ); in find_connection()
634 LDAPConn *lc; in nsldapi_dump_connection() local
[all …]
H A Dresult.c281 LDAPConn *lc, *nextlc; local
358 for ( lc = ld->ld_conns; lc != NULL; lc = lc->lconn_next ) {
362 lc, result );
369 if ( lc == NULL ) {
405 for ( lc = ld->ld_conns; rc == -2 && lc != NULL;
406 lc = nextlc ) {
411 lc->lconn_sb )) {
413 lc->lconn_sb, lc, result );
419 lc->lconn_sb ) ) {
544 ber = lc->lconn_ber;
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dlogsubr.c339 lc->flags |= SL_LOGONLY; in log_conswitch()
346 if (lc->ttime == 0) { in log_conswitch()
369 hlc->ttime = lc->ttime - (lc->ltime - hlc->ltime) / hz; in log_conswitch()
512 log_ctl_t *lc; in log_makemsg() local
534 lc->mid = mid; in log_makemsg()
535 lc->sid = sid; in log_makemsg()
536 lc->level = level; in log_makemsg()
537 lc->flags = sl; in log_makemsg()
538 lc->pri = pri; in log_makemsg()
633 lc->ttime = 0; in log_sendmsg()
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_mac.c128 if (lc->link_ok != 0) { in t4_mc_getstat()
129 *val = lc->speed; in t4_mc_getstat()
391 if (lc->link_ok != 0) in t4_mc_getstat()
1017 old = lc->autoneg; in t4_mc_setprop()
1021 lc->autoneg = new; in t4_mc_setprop()
1025 lc->speed_caps = in t4_mc_setprop()
1027 lc->acaps = in t4_mc_setprop()
1035 (lc->pcaps & in t4_mc_setprop()
1104 lc->acaps |= new; in t4_mc_setprop()
1120 lc->acaps |= new; in t4_mc_setprop()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dloop.c155 struct rdsv3_loop_connection *lc; in rdsv3_loop_conn_alloc() local
160 if (!lc) in rdsv3_loop_conn_alloc()
163 list_link_init(&lc->loop_node); in rdsv3_loop_conn_alloc()
164 lc->conn = conn; in rdsv3_loop_conn_alloc()
165 conn->c_transport_data = lc; in rdsv3_loop_conn_alloc()
168 list_insert_tail(&loop_conns, lc); in rdsv3_loop_conn_alloc()
179 struct rdsv3_loop_connection *lc = arg; in rdsv3_loop_conn_free() local
181 list_remove_node(&lc->loop_node); in rdsv3_loop_conn_free()
201 struct rdsv3_loop_connection *lc, *_lc; in rdsv3_loop_exit() local
215 ASSERT(!lc->conn->c_passive); in rdsv3_loop_exit()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dsetlocale.c105 Lc_t* lc; in native_locale() local
126 if (lc->territory->languages[i] == lc->language) in native_locale()
145 if (lc->charset->ms) in native_locale()
2413 Lc_t* lc; in default_setlocale() local
2417 if (!(lc = lcmake(locale)) || !(lc->flags & LC_default)) in default_setlocale()
2421 return lc->name; in default_setlocale()
2480lc && (!(lc_categories[category].flags & LC_setlocale) || !(lc = lc_categories[category].prev)) &&… in single()
2481 lc = lcmake(NiL); in single()
2497 (streq(lc->name, lc->code) || !(sys = setlocale(lc_categories[category].external, lc->code))) && in single()
2498 !streq(lc->code, lc->language->code)) in single()
[all …]
/illumos-gate/usr/src/lib/libgen/common/
H A Dgmatch.c75 wchar_t lc = 0; in gmatch() local
86 if (c == '-' && lc && *p != ']') { in gmatch()
93 valid_range(lc, c)) { in gmatch()
94 if (scc < lc || scc > c) in gmatch()
101 valid_range(lc, c)) in gmatch()
102 if (lc <= scc && in gmatch()
110 lc = c; in gmatch()
112 if (scc != lc) in gmatch()
119 if (scc == lc) in gmatch()
H A Dreg_compile.c154 wchar_t lc, cl; in _compile() local
236 lc = 0; in _compile()
260 if (c == '-' && lc != 0) { in _compile()
272 while (lc < c) { in _compile()
273 PLACE(lc); in _compile()
274 lc++; in _compile()
277 if (valid_range(lc, c) && lc < c) in _compile()
281 lc = 0; in _compile()
283 lc = c; in _compile()
288 lc = c; in _compile()
[all …]
/illumos-gate/usr/src/tools/protocmp/
H A Dproto_list.c42 error(const char *msg, int lc) in error() argument
78 check_line(char *v[], int lc) in check_line() argument
81 error("bad name", lc); in check_line()
87 error("bad permissions", lc); in check_line()
90 error("bad owner", lc); in check_line()
93 error("bad group", lc); in check_line()
96 error("bad i-node", lc); in check_line()
99 error("bad link-count", lc); in check_line()
105 error("bad type", lc); in check_line()
108 error("bad major number", lc); in check_line()
[all …]
/illumos-gate/usr/src/cmd/locale/
H A Dlocale.c326 #define lc(member, locale, type) \ macro
334 {"grouping", lc(grouping, LC_NUMERIC, TYPE_GROUP)},
344 {"frac_digits", lc(frac_digits, LC_MONETARY, TYPE_CHR)},
349 {"p_sign_posn", lc(p_sign_posn, LC_MONETARY, TYPE_CHR)},
358 #undef lc
359 #define lc(member) \ macro
365 {"yesexpr", lc(yes_expr)},
366 {"noexpr", lc(no_expr)},
367 {"yesstr", lc(yes_str)},
368 {"nostr", lc(no_str)},
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_mptsas/
H A Dfac_prov_mptsas.c80 mptsas_led_control_t lc; in do_led_control() local
82 bzero(&lc, sizeof (lc)); in do_led_control()
84 lc.Command = set ? MPTSAS_LEDCTL_FLAG_SET : MPTSAS_LEDCTL_FLAG_GET; in do_led_control()
85 lc.Enclosure = enclosure; in do_led_control()
86 lc.Slot = slot; in do_led_control()
87 lc.Led = led; in do_led_control()
88 lc.LedStatus = *ledmode; in do_led_control()
96 if (ioctl(fd, MPTIOCTL_LED_CONTROL, &lc) == -1) { in do_led_control()
104 lc.LedStatus = 0; in do_led_control()
113 *ledmode = lc.LedStatus ? TOPO_LED_STATE_ON : TOPO_LED_STATE_OFF; in do_led_control()
/illumos-gate/usr/src/boot/sys/boot/common/linenoise/
H A Dlinenoise.c207 for (i = 0; i < lc->len; i++) in freeCompletions()
208 free(lc->cvec[i]); in freeCompletions()
209 if (lc->cvec != NULL) in freeCompletions()
210 free(lc->cvec); in freeCompletions()
224 completionCallback(ls->buf,&lc); in completeLine()
225 if (lc.len == 0) { in completeLine()
232 if (i < lc.len) { in completeLine()
273 freeCompletions(&lc); in completeLine()
293 cvec = realloc(lc->cvec,sizeof(char*)*(lc->len+1)); in linenoiseAddCompletion()
298 lc->cvec = cvec; in linenoiseAddCompletion()
[all …]
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dch_subr.c178 lc->fc = (unsigned char)fc; in link_changed()
840 lc->speed = lc->requested_speed; in t1_link_start()
841 lc->duplex = lc->requested_duplex; in t1_link_start()
844 lc->duplex, fc); in t1_link_start()
847 phy->ops->set_speed_duplex(phy, lc->speed, lc->duplex); in t1_link_start()
1341 lc->supported = bi->caps; in init_link_config()
1342 lc->requested_speed = lc->speed = SPEED_INVALID; in init_link_config()
1343 lc->requested_duplex = lc->duplex = DUPLEX_INVALID; in init_link_config()
1344 lc->requested_fc = lc->fc = PAUSE_RX | PAUSE_TX; in init_link_config()
1346 lc->advertising = lc->supported; in init_link_config()
[all …]
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dsub3.c131 lchar lc = linearize(c); in remch() local
154 (void) lsearch(&lc, yycgidtbl, in remch()
204 lchar lc; in yycgid() local
213 lc = linearize(c); in yycgid()
216 if (yycgidtbl[YYNCGIDTBL - 1] < lc) in yycgid()
221 if (lc == yycgidtbl[i]) in yycgid()
223 else if (yycgidtbl[i] < lc) { in yycgid()
224 if (lc < yycgidtbl[i+1]) { in yycgid()
/illumos-gate/usr/src/test/libc-tests/tests/newlocale/
H A Dnewlocale_test.c63 struct lconv *lc; in testlocale_thr_one() local
87 lc = localeconv(); in testlocale_thr_one()
88 if (strcmp(lc->currency_symbol, "") != 0) { in testlocale_thr_one()
90 lc->currency_symbol, ""); in testlocale_thr_one()
103 lc = localeconv(); in testlocale_thr_one()
104 if (strcmp(lc->currency_symbol, l->cursym) != 0) { in testlocale_thr_one()
106 lc->currency_symbol, l->cursym); in testlocale_thr_one()
109 test_debugf(t, "CSYM: %s", lc->currency_symbol); in testlocale_thr_one()
/illumos-gate/usr/src/uts/common/io/
H A Dlog.c237 log_ctl_t *lc = (log_ctl_t *)mp->b_rptr; in log_wput() local
244 if ((lc->pri & LOG_FACMASK) == LOG_KERN) in log_wput()
245 lc->pri |= LOG_USER; in log_wput()
246 mp2 = log_makemsg(LOG_MID, LOG_CONSMIN, lc->level, in log_wput()
247 lc->flags, lc->pri, mp->b_cont->b_rptr, in log_wput()
282 log_ctl_t *lc = (log_ctl_t *)mp->b_rptr; in log_rsrv() local
283 if ((lc->flags & SL_CONSOLE) && in log_rsrv()
284 (lc->pri & LOG_FACMASK) == LOG_KERN) in log_rsrv()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_pq.c121 uint_t lc = i * 2; in dt_pq_pop() local
127 if (lc >= p->dtpq_last) in dt_pq_pop()
131 c = lc; in dt_pq_pop()
132 v = dt_pq_getvalue(p, lc); in dt_pq_pop()
134 uint64_t lv = dt_pq_getvalue(p, lc); in dt_pq_pop()
138 c = lc; in dt_pq_pop()

12345678910>>...25