Changeset 8565a42 in mainline for uspace/app/tester/print/print4.c


Ignore:
Timestamp:
2018-03-02T20:34:50Z (8 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/print/print4.c

    r3061bc1 r8565a42  
    3535{
    3636        TPRINTF("ASCII printable characters (32 - 127) using printf(\"%%c\") and printf(\"%%lc\"):\n");
    37        
     37
    3838        uint8_t group;
    3939        for (group = 1; group < 4; group++) {
    4040                TPRINTF("%#x: ", group << 5);
    41                
     41
    4242                uint8_t index;
    4343                for (index = 0; index < 32; index++)
    4444                        TPRINTF("%c", (char) ((group << 5) + index));
    45                
     45
    4646                TPRINTF("  ");
    4747                for (index = 0; index < 32; index++)
    4848                        TPRINTF("%lc", (wint_t) ((group << 5) + index));
    49                
     49
    5050                TPRINTF("\n");
    5151        }
    52        
     52
    5353        TPRINTF("\nExtended ASCII characters (128 - 255) using printf(\"%%lc\"):\n");
    54        
     54
    5555        for (group = 4; group < 8; group++) {
    5656                TPRINTF("%#x: ", group << 5);
    57                
     57
    5858                uint8_t index;
    5959                for (index = 0; index < 32; index++)
    6060                        TPRINTF("%lc", (wint_t) ((group << 5) + index));
    61                
     61
    6262                TPRINTF("\n");
    6363        }
    64        
     64
    6565        TPRINTF("\nUTF-8 strings using printf(\"%%s\"):\n");
    6666        TPRINTF("English:  %s\n", "Quick brown fox jumps over the lazy dog");
     
    7171        TPRINTF("Russian:  %s\n", "Леннон познакомился с художницей-авангардисткой");
    7272        TPRINTF("Armenian: %s\n", "Սկսեց հրատարակվել Երուսաղեմի հայկական");
    73        
     73
    7474        TPRINTF("\nUTF-32 strings using printf(\"%%ls\"):\n");
    7575        TPRINTF("English:  %ls\n", L"Quick brown fox jumps over the lazy dog");
     
    8080        TPRINTF("Russian:  %ls\n", L"Леннон познакомился с художницей-авангардисткой");
    8181        TPRINTF("Armenian: %ls\n", L"Սկսեց հրատարակվել Երուսաղեմի հայկական");
    82        
     82
    8383        return NULL;
    8484}
Note: See TracChangeset for help on using the changeset viewer.