Lines Matching refs:zchar
125 ZWord zchar = 0; in zscii_to_unicode() local
201 zchar=(c-1)<<5; in zscii_to_unicode()
225 zchar |= c; in zscii_to_unicode()
234 addr = ((table[zchar*2]<<9)|(table[zchar*2+1]<<1)); in zscii_to_unicode()
236 if (machine.abbrev_addr[zchar] != addr) in zscii_to_unicode()
279 zmachine_fatal("Found a bad entry in the abbreviation table for entry %i", zchar); in zscii_to_unicode()
282 else if (machine.abbrev[zchar]) in zscii_to_unicode()
284 abbrev = machine.abbrev[zchar]; in zscii_to_unicode()
302 zmachine_fatal("Found a bad entry in the abbreviation table for entry %i", zchar); in zscii_to_unicode()
310 zchar = c<<5; in zscii_to_unicode()
315 zchar |= c; in zscii_to_unicode()
318 if (zchar < 256) in zscii_to_unicode()
320 switch(zchar) in zscii_to_unicode()
323 buf[y++] = zscii_unicode[zchar]; in zscii_to_unicode()
337 if (zchar > 767) in zscii_to_unicode()
343 ulen = zchar - 767; in zscii_to_unicode()
362 buf[y++] = zchar; in zscii_to_unicode()
442 unsigned char zchar; in pack_zscii() local
446 zchar = zscii_get_char(string[strpos]); in pack_zscii()
449 alphabet = zscii[zchar]>>6; in pack_zscii()
450 chr = zscii[zchar]&0x1f; in pack_zscii()
457 zchr[zpos++] = zchar>>5; in pack_zscii()
458 zchr[zpos++] = zchar&0x1f; in pack_zscii()