Skip to content

Commit

Permalink
White space fixes in last checkin.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Jul 24, 2009
1 parent f957edd commit 89749d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions sysdeps/s390/s390-64/utf16-utf32-z9.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ gconv_init (struct __gconv_step *step)
if (__strcasecmp (step->__from_name, "UTF-16BE//") == 0
&& (__strcasecmp (step->__to_name, "UTF-32//") == 0
|| __strcasecmp (step->__to_name, "UTF-32BE//") == 0
|| __strcasecmp (step->__to_name, "INTERNAL") == 0))
|| __strcasecmp (step->__to_name, "INTERNAL") == 0))
{
dir = from_utf16;
}
Expand Down Expand Up @@ -179,7 +179,7 @@ gconv_end (struct __gconv_step *data)
\
inptr = pInput; \
outptr = pOutput; \
cc >>= 28; \
cc >>= 28; \
\
if (cc == 1) \
{ \
Expand Down
10 changes: 5 additions & 5 deletions sysdeps/s390/s390-64/utf8-utf16-z9.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,14 @@ gconv_end (struct __gconv_step *data)
if (GLRO (dl_hwcap) & HWCAP_S390_ETF3EH) \
{ \
HARDWARE_CONVERT ("cu12 %0, %1, 1"); \
\
\
if (inptr != inend) \
{ \
int i; \
for (i = 1; inptr + i < inend; ++i) \
if ((inptr[i] & 0xc0) != 0x80) \
break; \
\
\
if (__builtin_expect (inptr + i == inend, 1)) \
{ \
result = __GCONV_INCOMPLETE_INPUT; \
Expand Down Expand Up @@ -275,7 +275,7 @@ gconv_end (struct __gconv_step *data)
/* For 4 byte UTF-8 chars two UTF-16 chars (high and \
low) are needed. */ \
uint16_t zabcd, high, low; \
\
\
if (__builtin_expect (outptr + 4 > outend, 0)) \
{ \
/* Overflow in the output buffer. */ \
Expand All @@ -300,7 +300,7 @@ gconv_end (struct __gconv_step *data)
low |= ((uint16_t)inptr[2] & 0xc) << 6; /* kl bits */ \
low |= (inptr[2] & 0x3) << 6; /* mn bits */ \
low |= inptr[3] & 0x3f; /* opqrst bits */ \
\
\
put16 (outptr, high); \
outptr += 2; \
put16 (outptr, low); \
Expand Down Expand Up @@ -382,7 +382,7 @@ gconv_end (struct __gconv_step *data)
\
outptr[0] = 0xc0; \
outptr[0] |= c >> 6; \
\
\
outptr[1] = 0x80; \
outptr[1] |= c & 0x3f; \
\
Expand Down

0 comments on commit 89749d1

Please sign in to comment.