int mask = CODING_CATEGORY_MASK_ISO;
int mask_found = 0;
int reg[4], shift_out = 0, single_shifting = 0;
- int c, c1, i, charset;
+ int c, c1, charset;
/* Dummy for ONE_MORE_BYTE. */
struct coding_system dummy_coding;
struct coding_system *coding = &dummy_coding;
{
Lisp_Object coding_spec, coding_type, eol_type, plist;
Lisp_Object val;
- int i;
/* At first, zero clear all members. */
bzero (coding, sizeof (struct coding_system));
register unsigned char c;
unsigned char *src = source, *src_end = source + src_bytes;
unsigned int mask, utf16_examined_p, iso2022_examined_p;
- int i, idx;
+ int i;
/* At first, skip all ASCII characters and control characters except
for three ISO2022 specific control characters. */
int src_bytes;
{
unsigned int idx;
- int skip, mask, i;
+ int skip, mask;
Lisp_Object val;
val = Vcoding_category_list;
{
struct ccl_program *ccl
= encodep ? &coding->spec.ccl.encoder : &coding->spec.ccl.decoder;
- int result;
unsigned char *dst = destination;
ccl->last_block = coding->mode & CODING_MODE_LAST_BLOCK;
{
int count = specpdl_ptr - specpdl;
struct gcpro gcpro1;
- struct buffer *prev = current_buffer;
int multibyte = STRING_MULTIBYTE (str);
record_unwind_protect (Fset_buffer, Fcurrent_buffer ());
{
int len;
struct conversion_buffer buf;
- int from, to, to_byte;
+ int from, to_byte;
struct gcpro gcpro1;
Lisp_Object saved_coding_symbol;
int result;
int consumed, consumed_char, produced, produced_char;
from = 0;
- to = XSTRING (str)->size;
to_byte = STRING_BYTES (XSTRING (str));
saved_coding_symbol = Qnil;
int len;
struct conversion_buffer buf;
int from, to, to_byte;
- struct gcpro gcpro1;
- Lisp_Object saved_coding_symbol;
int result;
int shrinked_bytes = 0;
Lisp_Object newstr;
to = XSTRING (str)->size;
to_byte = STRING_BYTES (XSTRING (str));
- saved_coding_symbol = Qnil;
-
/* Encoding routines determine the multibyteness of the source text
by coding->src_multibyte. */
coding->src_multibyte = STRING_MULTIBYTE (str);
int non_ascii_p = 0;
int single_byte_char_found = 0;
unsigned char *p1, *p1end, *p2, *p2end, *p;
- Lisp_Object args[2];
if (STRINGP (start))
{
int encodep;
{
struct coding_system coding;
- int from, to, len;
+ int from, to;
CHECK_NUMBER_COERCE_MARKER (start, 0);
CHECK_NUMBER_COERCE_MARKER (end, 1);