/ast/src/cmd/INIT/ |
H A D | CONVERT.mk | 8 * named lib/package/PACKAGE.cvt in an ast package $PACKAGEROOT directory, 11 * nmake -I lib/package -f PACKAGE-VERSION/PACKAGE.cvt 113 .MAKEINIT : .cvt.init 115 .cvt.init : .MAKE .VIRTUAL .FORCE 124 .cvt.filter = 125 .cvt.package = 127 .cvt.atom : .FUNCTION 130 let .cvt.$(V) = .cvt.$(V) + 1 131 return .cvt [all...] |
/ast/src/lib/libast/comp/ |
H A D | catopen.c | 58 iconv_t cvt; member in struct:__anon248 116 if ((cc->cvt = iconv_open("", "utf")) == (iconv_t)(-1) || !(cc->tmp = sfstropen())) 124 cc->cvt = (iconv_t)(-1); 152 if (((Cc_t*)cat)->cvt != (iconv_t)(-1)) 156 iconv_write(((Cc_t*)cat)->cvt, ((Cc_t*)cat)->tmp, &s, &n, NiL); 174 if (((Cc_t*)cat)->cvt != (iconv_t)(-1)) 175 iconv_close(((Cc_t*)cat)->cvt);
|
H A D | iconv.c | 81 iconv_t cvt; member in struct:Conv_s 1092 if (cc->cvt != (iconv_t)(-1)) 1093 iconv(cc->cvt, NiL, NiL, NiL, NiL); 1107 cc->cvt = (iconv_t)(-1); 1116 else if ((cc->cvt = iconv_open(t, f)) != (iconv_t)(-1) || (cc->cvt = iconv_open(to, fr)) != (iconv_t)(-1)) 1120 else if ((cc->cvt = _win_iconv_open(cc, t, f)) != (_ast_iconv_t)(-1) || (cc->cvt = _win_iconv_open(cc, to, fr)) != (_ast_iconv_t)(-1)) 1215 if (oc->cvt != (iconv_t)(-1)) 1216 r = iconv_close(oc->cvt); [all...] |
/ast/src/cmd/std/ |
H A D | iconv.c | 139 iconv_t cvt; local 210 if ((cvt = iconv_open(to, from)) == (iconv_t)(-1)) 212 if ((cvt = iconv_open(to, "utf-8")) == (iconv_t)(-1)) 214 iconv_close(cvt); 215 if ((cvt = iconv_open("utf-8", from)) == (iconv_t)(-1)) 217 iconv_close(cvt); 236 iconv_move(cvt, ip, sfstdout, SF_UNBOUND, &id);
|
H A D | dd.c | 180 iconv_t cvt; member in struct:__anon225 635 state.cvt = (iconv_t)(-1); 636 else if ((state.cvt = iconv_open(state.to.value.string, state.from.value.string)) == (iconv_t)(-1)) 638 else if (state.cvt == (iconv_t)(0)) /* ast iconv identity */ 639 state.cvt = (iconv_t)(-1); 905 if (state.cvt != (iconv_t)(-1)) 910 if ((d = iconv_write(state.cvt, state.tmp, &cb, &cc, &state.iconv)) < 0)
|
/ast/src/lib/libcodex/ |
H A D | code-iconv.c | 33 iconv_t cvt; member in struct:State_s 82 iconv_t cvt; local 108 if ((cvt = iconv_open(dst, src)) == (iconv_t)(-1)) 112 if ((cvt = iconv_open("utf-8", src)) == (iconv_t)(-1)) 117 iconv_close(cvt); 118 if ((cvt = iconv_open(dst, "utf-8")) == (iconv_t)(-1)) 123 iconv_close(cvt); 132 iconv_close(cvt); 135 state->cvt = cvt; [all...] |
/ast/src/lib/libcoshell/ |
H A D | coinit.c | 71 int cvt; local 75 if (cvt = *n == '%') 85 cvt = 0; 94 coquote(sp, v, cvt);
|
/ast/src/lib/libast/tm/ |
H A D | tmlocale.c | 562 iconv_t cvt; local 583 if (u[0] == 0xef && u[1] == 0xbb && u[2] == 0xbf && (cvt = iconv_open("", "utf")) != (iconv_t)(-1)) 588 n = iconv_move(cvt, sp, tp, SF_UNBOUND, NiL); 590 iconv_close(cvt);
|
/ast/src/lib/libpz/ |
H A D | pzconvert.c | 122 register Cvt_t* cvt = (Cvt_t*)pp->discdata; local 128 if (cvt->flags & CONVERT) 130 cvt->last->buf = (unsigned char*)data; 132 cp = cvt->chain; 156 if (n > 0 && (cvt->flags & CHECKSUM)) 157 cvt->checksum = memsum_4(cvt->checksum, data, n); 171 register Cvt_t* cvt = (Cvt_t*)pp->discdata; local 178 if (cvt->flags & CONVERT) 182 else if (!(b = (unsigned char*)sfreserve(sp, cvt 349 register Cvt_t* cvt; local [all...] |
/ast/src/cmd/pax/ |
H A D | format.c | 45 unsigned char cvt[MAXUNREAD]; local 82 ccmapm(cvt, buf, sizeof(cvt), CC_ASCII, CC_NATIVE); 165 if ((n = (*fp->getprologue)(&state, fp, ap, f, ((fp->flags & CONV) || CC_NATIVE == CC_ASCII) ? buf : cvt, sizeof(buf))) < 0)
|
H A D | pax.c | 369 int cvt; local 387 cvt = 0; 875 if (!cvt) 877 cvt = 1; 1302 if (cvt)
|
/ast/src/cmd/nmake/ |
H A D | expand.c | 4480 Sfio_t* cvt = 0; local 4596 if (!cvt) 4597 cvt = sfstropen(); 4599 sfputr(cvt, s + 1, 0); 4601 stresc(v = sfstrbase(cvt)); 4607 if (!cvt) 4608 cvt = sfstropen(); 4609 expand(cvt, s); 4610 v = sfstruse(cvt); 4624 if (!cvt) [all...] |