Searched refs:lc (Results 1 - 24 of 24) sorted by relevance

/ast/src/lib/libast/port/
H A Dlc.c384 lccanon(Lc_t* lc, unsigned long flags, char* buf, size_t siz) argument
386 if ((flags & LC_local) && (!lc->language || !(lc->language->flags & (LC_debug|LC_default))))
393 if (lc->index &&
394 GetLocaleInfo(lc->index, LOCALE_SENGLANGUAGE, lang, sizeof(lang)) &&
395 GetLocaleInfo(lc->index, LOCALE_SENGCOUNTRY, ctry, sizeof(ctry)))
397 if (!GetLocaleInfo(lc->index, LOCALE_IDEFAULTANSICODEPAGE, code, sizeof(code)))
399 if (!lc->charset || !lc->charset->ms)
401 else if (streq(lc
431 Lc_t* lc; local
824 Lc_t lc; member in struct:Lc_scan_s
833 lcscan(Lc_t* lc) argument
[all...]
H A Dlclib.h51 #include <lc.h>
H A Dmc.c69 Lc_t* lc; local
77 if (!(lc = locale ? lcmake(locale) : locales[category]))
131 v = lc->code;
132 if (lc->code != lc->language->code)
138 v = lc->language->code;
143 v = lc->language->code;
146 v = lc->territory->code;
149 v = lc->charset->code;
/ast/src/cmd/mailx/
H A Dedit.c155 int lc; local
223 lc = getc(ep) == '\n' ? 1 : 0;
225 ++lc;
227 lc = 0;
229 switch (lc) {
H A Dcollect.c151 off_t lc; local
163 if (filecopy(NiL, fp, name, of, NiL, (off_t)0, &lc, &cc, 0)) {
168 note(0, "%ld/%ld", (long)lc, (long)cc);
352 long lc; local
546 while ((lc = getc(fp)) != EOF) {
548 if ((iscntrl(lc) || !isprint(lc)) && !isspace(lc))
591 lc = 0;
594 lc
[all...]
H A Dcmd2.c605 off_t lc; local
678 lines = &lc;
818 off_t lc; local
846 if (!getatt(ap, file, 0, &lc, &cc) && verbose)
847 note(PROMPT, " %d-%d %s %s %ld %ld", num, ap->count, ap->name, ap->type, (long)lc, (long)cc);
H A Dproc.c329 off_t lc = 0; local
365 for (s = buf; s = strchr(s, '\n'); lc++, s++);
380 *lines = lc;
H A Dcmd1.c474 off_t lc; local
513 lc = cc = 0;
524 lc += mp->m_lines;
529 note(0, "\"%s\" %ld/%ld", cmd, (long)lc, (long)cc);
/ast/src/cmd/std/
H A Dlocale.c91 #include <lc.h>
573 * list the locale name(s) for lc according to flags
577 list_locale(Sfio_t* sp, Keyword_t* key, Lc_t* lc, unsigned int flags) argument
615 lccanon(lc, types[i], buf, sizeof(buf));
736 Lc_t* lc; local
800 lc = (Lc_t*)lcinfo(state.categories[key->index].external)->lc;
802 if (key->offset == CV_language && lc->language)
804 s = (char*)lc->language->name;
807 else if (key->offset == CV_territory && lc
829 list_all(Sfio_t* sp, register Lc_t* lc, unsigned long flags) argument
963 register Lc_t* lc = 0; local
[all...]
/ast/src/lib/libast/regex/
H A Dregclass.c191 Ctype_t* lc; local
204 lc = (Ctype_t*)setlocale(LC_CTYPE, NiL);
212 else if (!xp && cp->next && cp->next != lc)
216 if (n == cp->size && strneq(s, cp->name, n) && (!cp->next || cp->next == lc))
245 cp->next = lc;
/ast/src/cmd/ksh93/tests/
H A Dlocale.sh239 for lc in LANG LC_MESSAGES LC_ALL
240 do for cmd in "($lc=$locale;cd $dir)" "$lc=$locale;cd $dir;unset $lc" "function tst { typeset $lc=$locale;cd $dir; }; tst"
241 do tst="$lc=C;cd $dir;$cmd;cd $dir;:"
/ast/src/lib/libz/
H A Dtrees.c1022 int _tr_tally (s, dist, lc)
1025 unsigned lc; /* match length-MIN_MATCH or unmatched char (if dist==0) */
1028 s->l_buf[s->last_lit++] = (uch)lc;
1030 /* lc is the unmatched char */
1031 s->dyn_ltree[lc].Freq++;
1034 /* Here, lc is the match length - MIN_MATCH */
1037 (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&
1040 s->dyn_ltree[_length_code[lc]+LITERALS+1].Freq++;
1078 int lc; /* match length or unmatched char (if dist == 0) */ local
1085 lc
1088 Tracecv(isgraph(lc), (stderr," '%c' ", lc)); local
[all...]
H A Ddeflate.h283 int _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc));
/ast/src/lib/libvcodex/Vchuff/
H A Dvchuffpart.c120 double le, lc, rc, cost; local
147 lc = pt->ctab + p*vclog(p) - le;
149 if((lc + rc) < cost)
/ast/src/lib/libast/tm/
H A Dtmlocale.c53 if ((li->lc->language->flags & (LC_debug|LC_default)) || streq(li->lc->language->code, "en"))
110 if (li->lc->flags & LC_default)
358 lcid = li->lc->index;
/ast/src/cmd/nmake/
H A Dpkg-cobol-mfcobc.mk20 CC.REQUIRE.ast = -lc -last
/ast/src/cmd/mam/
H A Dmamexec.sh188 then if $CC -L. main.o -lc 2>/dev/null
189 then $CC -L. main.o -lc > libc.a 2>/dev/null || code=0
/ast/src/lib/libast/
H A DMakefile34 ip6.h lc.h ls.h magic.h mc.h mime.h mnt.h modecanon.h modex.h \
89 catopen.c iconv.c lc.c lctab.c mc.c \
211 -liconv -lw /* these should be pulled in by -lc */
267 lc.h lctab.c :JOINT: lcgen lc.tab
343 * some systems move -lc routines to -lm
/ast/src/lib/libcmd/
H A Dwclib.c37 #include <lc.h>
68 else if (!(mode & WC_NOUTF8) && (lcinfo(LC_CTYPE)->lc->flags & LC_utf8))
/ast/src/lib/libast/comp/
H A Dsetlocale.c102 Lc_t* lc; local
113 if (!(lc = lcmake(locale)))
115 lang = lc->language->index;
117 for (ap = lc->attributes; ap; ap = ap->next)
122 for (i = 0; i < elementsof(lc->territory->languages); i++)
123 if (lc->territory->languages[i] == lc->language)
125 ctry = lc->territory->indices[i];
142 if (lc->charset->ms)
143 sfsprintf(buf, siz, "%s_%s.%s", lbuf, cbuf, lc
2386 Lc_t* lc; local
2433 single(int category, Lc_t* lc, unsigned int flags) argument
[all...]
/ast/src/lib/libexpr/
H A Dexeval.c526 register int lc; local
529 while ((lc = *l++) && (rc = *r++))
530 sfputc(ex->tmp, lc == rc ? lc : ' ');
/ast/src/cmd/re/
H A Dsed1.c73 #define lc Tc macro
669 xx,ac,bc,cc,dc,xx,xx,gc,hc,ic,xx,xx,lc,xx,nc,xx, /* a-n */
/ast/src/cmd/ksh93/sh/
H A Dinit.c1499 struct lconv* lc; local
1500 shp->decomma = (lc=localeconv()) && lc->decimal_point && *lc->decimal_point==',';
/ast/src/cmd/INIT/
H A Dratz.c1493 int _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc));

Completed in 99 milliseconds