Lines Matching +defs:from +defs:encoding
318 const char *from;
325 for (to = *toP, from = *fromP; from != fromLim; from++, to++)
326 *to = *from;
327 *fromP = from;
337 const char *from = *fromP;
338 while (from != fromLim && to != toLim) {
339 switch (((struct normal_encoding *)enc)->type[(unsigned char)*from]) {
341 *to++ = (unsigned short)(((from[0] & 0x1f) << 6) | (from[1] & 0x3f));
342 from += 2;
345 *to++ = (unsigned short)(((from[0] & 0xf) << 12)
346 | ((from[1] & 0x3f) << 6) | (from[2] & 0x3f));
347 from += 3;
354 n = ((from[0] & 0x7) << 18) | ((from[1] & 0x3f) << 12)
355 | ((from[2] & 0x3f) << 6) | (from[3] & 0x3f);
360 from += 4;
364 *to++ = *from++;
369 *fromP = from;
535 const char *from; \
536 for (from = *fromP; from != fromLim; from += 2) { \
539 unsigned char lo = GET_LO(from); \
540 unsigned char hi = GET_HI(from); \
545 *fromP = from; \
555 *fromP = from; \
563 *fromP = from; \
573 *fromP = from; \
579 from += 2; \
580 lo2 = GET_LO(from); \
582 | ((GET_HI(from) & 0x3) << 2) \
589 *fromP = from; \
1080 const ENCODING **encoding,
1125 if (encoding)
1126 *encoding = encodingFinder(enc, val, ptr - enc->minBytesPerChar);
1468 /* For binary compatibility, we store the index of the encoding
1475 /* This is what detects the encoding. encodingTable maps from
1476 encoding indices to encodings; INIT_ENC_INDEX(enc) is the index of
1477 the external (protocol) specified encoding; state is
1550 /* If there's an explicitly specified (external) encoding
1587 - no externally specified encoding
1588 - no encoding declaration