Searched refs:inleft (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/unpack/
H A Dunpack.c65 static short inleft; variable
109 inleft = read(infile, &inbuff[0], BUFSIZ);
110 if (inleft < 0) {
149 inleft -= inp - &inbuff[0];
150 if (inleft < 0)
180 if (inleft <= 0) {
181 inleft = read(infile, inp = &inbuff[0], BUFSIZ);
182 if (inleft < 0) {
190 if (--inleft < 0) {
500 inleft
[all...]
/illumos-gate/usr/src/cmd/pack/
H A Dpack.c145 int c, i, inleft; local
175 inleft = 0;
177 if (inleft <= 0) {
178 inleft = read(infile, inp = &inbuff[0], BUFSIZ);
179 if (inleft < 0) {
187 c = (--inleft < 0) ? END : (*inp++ & 0377);
/illumos-gate/usr/src/cmd/ptools/pargs/
H A Dpargs.c978 size_t inleft, outleft, bufsz = 64; local
990 inleft = 0;
991 (void) iconv(datap->pd_iconv, NULL, &inleft,
994 inleft = strlen(str);
996 if (iconv(datap->pd_iconv, &instrptr, &inleft, &outstrptr,
/illumos-gate/usr/src/uts/common/sys/
H A Dkiconv_ja.h119 #define KICONV_JA_CHECK_UTF8_BOM(inbuf, inleft) \
120 if (((kiconv_state_t)kcd)->bom_processed == 0 && (inleft) >= 3 && \
125 (inleft) -= 3; \
129 #define KICONV_JA_CHECK_UTF8_BOM_WITHOUT_STATE(inbuf, inleft) \
130 if ((inleft) >= 3 && *(inbuf) == 0xef && \
134 (inleft) -= 3; \

Completed in 77 milliseconds