Changeset 3bacee1 in mainline for uspace/app/tester


Ignore:
Timestamp:
2018-04-12T16:27:17Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3cf22f9
Parents:
76d0981d
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
Message:

Make ccheck-fix again and commit more good files.

Location:
uspace/app/tester
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/mm/common.c

    r76d0981d r3bacee1  
    269269void fill_block(mem_block_t *block)
    270270{
    271         for (uint8_t *pos = block->addr, *end = pos + block->size;
     271        for (uint8_t * pos = block->addr, *end = pos + block->size;
    272272            pos < end; pos++)
    273273                *pos = block_expected_value(block, pos);
     
    286286void check_block(mem_block_t *block)
    287287{
    288         for (uint8_t *pos = block->addr, *end = pos + block->size;
     288        for (uint8_t * pos = block->addr, *end = pos + block->size;
    289289            pos < end; pos++) {
    290290                if (*pos != block_expected_value(block, pos)) {
     
    402402void fill_area(mem_area_t *area)
    403403{
    404         for (uint8_t *pos = area->addr, *end = pos + area->size;
     404        for (uint8_t * pos = area->addr, *end = pos + area->size;
    405405            pos < end; pos++)
    406406                *pos = area_expected_value(area, pos);
  • uspace/app/tester/print/print6.c

    r76d0981d r3bacee1  
    6363                /* Special */
    6464                { 1e300 * 1e300, "%g",  "inf", 0 },
    65                 { -1.0 /(1e300 * 1e300), "%g",  "-0", 0 },
     65                { -1.0 / (1e300 * 1e300), "%g",  "-0", 0 },
    6666
    6767                { 1234567.8901, "%g",  "1234567.8901", 0 },
     
    130130
    131131                { 1e300 * 1e300, "%10.5e",  "       inf", 0 },
    132                 { -1.0 /(1e300 * 1e300), "%10.2e",  " -0.00e+00", 0 },
     132                { -1.0 / (1e300 * 1e300), "%10.2e",  " -0.00e+00", 0 },
    133133                /* __PRINTF_FLAG_BIGCHARS */
    134134                { 1e300 * 1e300, "%10.5E",  "       INF", 0 },
    135135                /* __PRINTF_FLAG_BIGCHARS */
    136                 { -1.0 /(1e300 * 1e300), "%10.2E",  " -0.00E+00", 0 },
     136                { -1.0 / (1e300 * 1e300), "%10.2E",  " -0.00E+00", 0 },
    137137
    138138                /*
     
    171171                /* Next closest to 0.1 */
    172172                { 0.0999999999999999917, "%+10.20f", "+0.09999999999999999170",
    173                     0 },
     173                        0 },
    174174                { 0.0999999999999999917, "%+10f",    " +0.100000", 0 },
    175175                { 0.0999999999999998945, "%10.20f",  "0.09999999999999989450",
    176                     0 },
     176                        0 },
    177177        };
    178178
Note: See TracChangeset for help on using the changeset viewer.