Searched defs:lc (Results 1 - 25 of 88) sorted by relevance

1234

/illumos-gate/usr/src/boot/sys/boot/common/linenoise/
H A Dexample.c7 void completion(const char *buf, linenoiseCompletions *lc) { argument
9 linenoiseAddCompletion(lc,"hello");
10 linenoiseAddCompletion(lc,"hello there");
/illumos-gate/usr/src/lib/libgen/common/
H A Dgmatch.c77 wchar_t lc = 0; local
88 if (c == '-' && lc && *p != ']') {
95 valid_range(lc, c)) {
96 if (scc < lc || scc > c)
103 valid_range(lc, c))
104 if (lc <= scc &&
112 lc = c;
114 if (scc != lc)
121 if (scc == lc)
H A Dreg_compile.c156 wchar_t lc, cl; local
238 lc = 0;
262 if (c == '-' && lc != 0) {
274 while (lc < c) {
275 PLACE(lc);
276 lc++;
279 if (valid_range(lc, c) && lc < c)
283 lc = 0;
285 lc
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrtod.c51 int lc; local
53 lc = (__xpg6 & _C99SUSv3_recognize_hexfp)? -1 : 0;
54 string_to_decimal((char **)&cp, MAXINT, lc, &dr, &form, &pechar);
/illumos-gate/usr/src/common/lzma/
H A DLzmaEnc.h22 int lc; /* 0 <= lc <= 8, default = 3 */ member in struct:_CLzmaEncProps
H A DLzmaDec.h26 unsigned lc, lp, pb; member in struct:_CLzmaProps
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_pq.c121 uint_t lc = i * 2; local
127 if (lc >= p->dtpq_last)
131 c = lc;
132 v = dt_pq_getvalue(p, lc);
134 uint64_t lv = dt_pq_getvalue(p, lc);
138 c = lc;
/illumos-gate/usr/src/tools/protocmp/
H A Dproto_list.c40 error(const char *msg, int lc) argument
42 (void) fprintf(stderr, "warning: line %d - %s\n", lc, msg);
76 check_line(char *v[], int lc) argument
79 error("bad name", lc);
82 error("bad source/symbolic line", lc);
85 error("bad permissions", lc);
88 error("bad owner", lc);
91 error("bad group", lc);
94 error("bad i-node", lc);
97 error("bad link-count", lc);
[all...]
/illumos-gate/usr/src/test/libc-tests/tests/newlocale/
H A Dnewlocale_test.c63 struct lconv *lc; local
87 lc = localeconv();
88 if (strcmp(lc->currency_symbol, "") != 0) {
90 lc->currency_symbol, "");
103 lc = localeconv();
104 if (strcmp(lc->currency_symbol, l->cursym) != 0) {
106 lc->currency_symbol, l->cursym);
109 test_debugf(t, "CSYM: %s", lc->currency_symbol);
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dloop.c154 struct rdsv3_loop_connection *lc; local
158 lc = kmem_zalloc(sizeof (struct rdsv3_loop_connection), KM_NOSLEEP);
159 if (!lc)
162 list_link_init(&lc->loop_node);
163 lc->conn = conn;
164 conn->c_transport_data = lc;
167 list_insert_tail(&loop_conns, lc);
178 struct rdsv3_loop_connection *lc = arg; local
179 RDSV3_DPRINTF5("rdsv3_loop_conn_free", "lc %p\n", lc);
200 struct rdsv3_loop_connection *lc, *_lc; local
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_mptsas/
H A Dfac_prov_mptsas.c80 mptsas_led_control_t lc; local
82 bzero(&lc, sizeof (lc));
84 lc.Command = set ? MPTSAS_LEDCTL_FLAG_SET : MPTSAS_LEDCTL_FLAG_GET;
85 lc.Enclosure = enclosure;
86 lc.Slot = slot;
87 lc.Led = led;
88 lc.LedStatus = *ledmode;
96 if (ioctl(fd, MPTIOCTL_LED_CONTROL, &lc) == -1) {
104 lc
[all...]
/illumos-gate/usr/src/cmd/pwck/
H A Dpwck.c60 static int lc; variable
112 lc = 0;
158 lc++;
160 if (lc == 0)
/illumos-gate/usr/src/cmd/mailx/
H A Dcmd4.c67 long lc, cc, t; local
136 lc = cc = 0;
152 lc += t;
171 printf("\"%s\" %ld/%ld\n", cmd, lc, cc);
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dsub3.c131 lchar lc = linearize(c); local
154 (void) lsearch(&lc, yycgidtbl,
183 * 2*i iff yycgidtbl[i] == lc
184 * 2*i+1 iff yycgidtbl[i] < lc < yycgidtbl[i+1]
186 * iff yycgidtbl[YYNCGIDTBL-1] < lc
187 * where lc=linearize(c).
204 lchar lc; local
213 lc = linearize(c);
215 /* An exceptional case: yycgidtbl[YYNCGIDTBL-1] < lc */
216 if (yycgidtbl[YYNCGIDTBL - 1] < lc)
[all...]
/illumos-gate/usr/src/cmd/ttymon/
H A Dstty.c97 char *lc; local
108 lc = setlocale(LC_CTYPE, (const char *)NULL);
109 if (lc) {
110 sprintf(tmps, _LDTERM_DAT_PATH, lc);
132 strlen(lc) >= MAXNAMELEN ||
141 (void) strcpy(cswp.locale_name, lc);
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Ddecode.c107 unsigned char lc; local
137 if (kmfber_read(ber, (char *)&lc, 1) != 1)
139 if (lc & 0x80) {
140 noctets = (lc & 0x7f);
149 *len = lc;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/
H A Ddecode.c96 unsigned char lc; local
125 if ( ber_read( ber, (char *) &lc, 1 ) != 1 )
127 if ( lc & 0x80 ) {
128 noctets = (lc & 0x7f);
137 *len = lc;
/illumos-gate/usr/src/head/
H A Dregexp.h86 int lc; local
156 lc = 0;
178 if (c == '-' && lc != 0) {
191 while (lc < c) {
192 PLACE(lc);
193 lc++;
196 lc = c;
/illumos-gate/usr/src/cmd/sh/
H A Dprint.c310 prull_buff(u_longlong_t lc) argument
312 prs_buff(&numbuf[ulltos(lc)]);
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dlc.h60 const struct Lc_s* lc; member in struct:Lc_info_s
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/
H A Dlc.h60 const struct Lc_s* lc; member in struct:Lc_info_s
/illumos-gate/usr/src/lib/libast/common/port/
H A Dlc.c348 lccanon(Lc_t* lc, unsigned long flags, char* buf, size_t siz) argument
350 if ((flags & LC_local) && (!lc->language || !(lc->language->flags & (LC_debug|LC_default))))
357 if (lc->index &&
358 GetLocaleInfo(lc->index, LOCALE_SENGLANGUAGE, lang, sizeof(lang)) &&
359 GetLocaleInfo(lc->index, LOCALE_SENGCOUNTRY, ctry, sizeof(ctry)))
361 if (!GetLocaleInfo(lc->index, LOCALE_IDEFAULTANSICODEPAGE, code, sizeof(code)))
363 if (!lc->charset || !lc->charset->ms)
365 else if (streq(lc
395 Lc_t* lc; local
737 Lc_t lc; member in struct:Lc_scan_s
746 lcscan(Lc_t* lc) argument
[all...]
H A Dmc.c69 Lc_t* lc; local
77 if (!(lc = locale ? lcmake(locale) : locales[category]))
133 v = lc->code;
134 if (lc->code != lc->language->code)
140 v = lc->language->code;
145 v = lc->language->code;
148 v = lc->territory->code;
151 v = lc->charset->code;
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dlc.h60 const struct Lc_s* lc; member in struct:Lc_info_s
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/
H A Dlc.h60 const struct Lc_s* lc; member in struct:Lc_info_s

Completed in 71 milliseconds

1234