/ast/src/cmd/mailx/ |
H A D | edit.c | 155 int lc; local 223 lc = getc(ep) == '\n' ? 1 : 0; 225 ++lc; 227 lc = 0; 229 switch (lc) {
|
H A D | collect.c | 151 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 D | cmd2.c | 605 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 D | proc.c | 329 off_t lc = 0; local 365 for (s = buf; s = strchr(s, '\n'); lc++, s++); 380 *lines = lc;
|
H A D | cmd1.c | 474 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/lib/libast/port/ |
H A D | mc.c | 69 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;
|
H A D | lc.c | 384 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...] |
/ast/src/lib/libast/regex/ |
H A D | regclass.c | 191 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/lib/libexpr/ |
H A D | exeval.c | 526 register int lc; local 529 while ((lc = *l++) && (rc = *r++)) 530 sfputc(ex->tmp, lc == rc ? lc : ' ');
|
/ast/src/lib/libvcodex/Vchuff/ |
H A D | vchuffpart.c | 120 double le, lc, rc, cost; local 147 lc = pt->ctab + p*vclog(p) - le; 149 if((lc + rc) < cost)
|
/ast/src/cmd/re/ |
H A D | sed1.c | 73 #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/lib/libz/ |
H A D | trees.c | 1022 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...] |
/ast/src/lib/libast/comp/ |
H A D | setlocale.c | 102 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/cmd/std/ |
H A D | locale.c | 91 #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/cmd/ksh93/sh/ |
H A D | init.c | 1499 struct lconv* lc; local 1500 shp->decomma = (lc=localeconv()) && lc->decimal_point && *lc->decimal_point==',';
|