Fix indentation/trailing whitespaces of 32-bit tests

This commit is contained in:
Máté Kocsis 2020-02-03 16:50:59 +01:00
parent 0253a232c3
commit 9942f45b7a
No known key found for this signature in database
GPG Key ID: FD055E41728BF310
11 changed files with 130 additions and 130 deletions

View File

@ -20,9 +20,9 @@ echo "*** Testing vfprintf() : octal formats and non-octal values ***\n";
// defining array of octal formats
$formats =
'%o %+o %-o
'%o %+o %-o
%lo %Lo %4o %-4o
%10.4o %-10.4o %.4o
%10.4o %-10.4o %.4o
%\'#2o %\'2o %\'$2o %\'_2o
%3$o %4$o %1$o %2$o';
@ -92,32 +92,32 @@ unlink($data_file);
*** Testing vfprintf() : octal formats and non-octal values ***
-- Iteration 1 --
2 0 12
2 0 12
361100 o 37777775456 2322
30071 14 37777777764 37777416700
12 361100 2 0
-- Iteration 2 --
2 37777777776 2
2 37777777776 2
361100 o 37720715133 57062645
57060664 4475347 37721631371 37720717336
2 361100 2 37777777776
-- Iteration 3 --
0 0 0
0 0 0
173 o 37777777605 173
2322 0 $0 _0
0 173 0 0
-- Iteration 4 --
1 1 1
1 1 1
1 o 1 1
#1 1 $1 _1
1 1 1 1
-- Iteration 5 --
1 1 0
1 1 0
1 o 0 1
#0 1 $1 _0
0 1 1 1

View File

@ -20,9 +20,9 @@ echo "*** Testing vfprintf() : hexa formats and non-hexa values ***\n";
// defining array of different hexa formats
$formats =
'%x %+x %-x
'%x %+x %-x
%lx %Lx %4x %-4x
%10.4x %-10.4x %.4x
%10.4x %-10.4x %.4x
%\'#2x %\'2x %\'$2x %\'_2x
%3$x %4$x %1$x %2$x';
@ -92,32 +92,32 @@ unlink($data_file);
*** Testing vfprintf() : hexa formats and non-hexa values ***
-- Iteration 1 --
2 0 a
2 0 a
1e240 x fffffb2e 4d2
3039 c fffffff4 fffe1dc0
a 1e240 2 0
-- Iteration 2 --
2 fffffffe 2
2 fffffffe 2
1e240 x ff439a5b bc65a5
bc61b4 127ae7 ff4732f9 ff439ede
2 1e240 2 fffffffe
-- Iteration 3 --
0 0 0
0 0 0
7b x ffffff85 7b
4d2 0 $0 _0
0 7b 0 0
-- Iteration 4 --
1 1 1
1 1 1
1 x 1 1
#1 1 $1 _1
1 1 1 1
-- Iteration 5 --
1 1 0
1 1 0
1 x 0 1
#0 1 $1 _0
0 1 1 1

View File

@ -20,9 +20,9 @@ echo "*** Testing vfprintf() : unsigned formats and signed & other types of valu
// defining array of unsigned formats
$formats =
'%u %+u %-u
'%u %+u %-u
%lu %Lu %4u %-4u
%10.4u %-10.4u %.4u
%10.4u %-10.4u %.4u
%\'#2u %\'2u %\'$2u %\'_2u
%3$u %4$u %1$u %2$u';
@ -85,26 +85,26 @@ unlink($data_file);
*** Testing vfprintf() : unsigned formats and signed & other types of values ***
-- Iteration 1 --
2 0 10
2 0 10
123456 u 1234 2820130816
2840207360 1177509888 12345
2840207360 1177509888 12345
12 4294967284 4294843840 _3
10 123456 2 0
-- Iteration 2 --
0 0 0
0 0 0
123 u 4294967173 123
0 0 0
0 0 0
1234 0 $0 _0
0 123 0 0
-- Iteration 3 --
1 1 1
1 1 1
1 u 1 1
1 1 1
1 1 1
#1 1 $1 _1
1 1 1 1
-- Iteration 4 --
1 1 0
1 1 0
1 u 0 1
1 1 0
1 1 0
#0 1 $1 _0
0 1 1 1

View File

@ -20,9 +20,9 @@ echo "*** Testing vprintf() : octal formats and non-octal values ***\n";
// defining array of octal formats
$formats =
'%o %+o %-o
'%o %+o %-o
%lo %Lo %4o %-4o
%10.4o %-10.4o %.4o
%10.4o %-10.4o %.4o
%\'#2o %\'2o %\'$2o %\'_2o
%3$o %4$o %1$o %2$o';
@ -83,41 +83,41 @@ foreach($args_array as $args) {
*** Testing vprintf() : octal formats and non-octal values ***
-- Iteration 1 --
2 0 12
2 0 12
361100 o 37777775456 2322
30071 14 37777777764 37777416700
12 361100 2 0
int(116)
int(114)
-- Iteration 2 --
2 37777777776 2
2 37777777776 2
361100 o 37720715133 57062645
57060664 4475347 37721631371 37720717336
2 361100 2 37777777776
int(146)
int(144)
-- Iteration 3 --
0 0 0
0 0 0
173 o 37777777605 173
2322 0 $0 _0
0 173 0 0
int(88)
int(86)
-- Iteration 4 --
1 1 1
1 1 1
1 o 1 1
#1 1 $1 _1
1 1 1 1
int(75)
int(73)
-- Iteration 5 --
1 1 0
1 1 0
1 o 0 1
#0 1 $1 _0
0 1 1 1
int(75)
int(73)

View File

@ -20,9 +20,9 @@ echo "*** Testing vprintf() : hexa formats and non-hexa values ***\n";
// defining array of different hexa formats
$formats =
'%x %+x %-x
'%x %+x %-x
%lx %Lx %4x %-4x
%10.4x %-10.4x %.4x
%10.4x %-10.4x %.4x
%\'#2x %\'2x %\'$2x %\'_2x
%3$x %4$x %1$x %2$x';
@ -84,41 +84,41 @@ foreach($args_array as $args) {
*** Testing vprintf() : hexa formats and non-hexa values ***
-- Iteration 1 --
2 0 a
2 0 a
1e240 x fffffb2e 4d2
3039 c fffffff4 fffe1dc0
a 1e240 2 0
int(101)
int(99)
-- Iteration 2 --
2 fffffffe 2
2 fffffffe 2
1e240 x ff439a5b bc65a5
bc61b4 127ae7 ff4732f9 ff439ede
2 1e240 2 fffffffe
int(124)
int(122)
-- Iteration 3 --
0 0 0
0 0 0
7b x ffffff85 7b
4d2 0 $0 _0
0 7b 0 0
int(82)
int(80)
-- Iteration 4 --
1 1 1
1 1 1
1 x 1 1
#1 1 $1 _1
1 1 1 1
int(75)
int(73)
-- Iteration 5 --
1 1 0
1 1 0
1 x 0 1
#0 1 $1 _0
0 1 1 1
int(75)
int(73)

View File

@ -20,9 +20,9 @@ echo "*** Testing vprintf() : unsigned formats and signed & other types of value
// defining array of unsigned formats
$formats =
'%u %+u %-u
'%u %+u %-u
%lu %Lu %4u %-4u
%10.4u %-10.4u %.4u
%10.4u %-10.4u %.4u
%\'#2u %\'2u %\'$2u %\'_2u
%3$u %4$u %1$u %2$u';
@ -75,33 +75,33 @@ foreach($args_array as $args) {
*** Testing vprintf() : unsigned formats and signed & other types of values ***
-- Iteration 1 --
2 0 10
2 0 10
123456 u 1234 2820130816
2840207360 1177509888 12345
2840207360 1177509888 12345
12 4294967284 4294843840 _3
10 123456 2 0
int(115)
int(113)
-- Iteration 2 --
0 0 0
0 0 0
123 u 4294967173 123
0 0 0
0 0 0
1234 0 $0 _0
0 123 0 0
int(88)
int(86)
-- Iteration 3 --
1 1 1
1 1 1
1 u 1 1
1 1 1
1 1 1
#1 1 $1 _1
1 1 1 1
int(76)
int(74)
-- Iteration 4 --
1 1 0
1 1 0
1 u 0 1
1 1 0
1 1 0
#0 1 $1 _0
0 1 1 1
int(76)
int(74)

View File

@ -20,7 +20,7 @@ echo "*** Testing vprintf() : int formats and non-integer values ***\n";
// defining array of int formats
$formats =
'%d %+d %-d
'%d %+d %-d
%ld %Ld %4d %-4d
%10.4d %-10.4d %.4d %04.4d
%\'#2d %\'2d %\'$2d %\'_2d
@ -76,33 +76,33 @@ foreach($args_array as $args) {
*** Testing vprintf() : int formats and non-integer values ***
-- Iteration 1 --
2 +0 10
2 +0 10
123456 d -1234 1234
-1474836480 200000 4000 22000000
12345 12 -12 -123456
10 123456 2 0
int(112)
int(111)
-- Iteration 2 --
0 +0 0
0 +0 0
123 d -123 123
0 0 123456 0000
1234 0 $0 _0
0 123 0 0
int(92)
int(91)
-- Iteration 3 --
1 +1 1
1 +1 1
1 d 1 1
1 1 1 0001
#1 1 $1 _1
1 1 1 1
int(81)
int(80)
-- Iteration 4 --
1 +1 0
1 +1 0
1 d 0 1
1 0 1 0000
#0 1 $1 _0
0 1 1 1
int(81)
int(80)

View File

@ -20,9 +20,9 @@ echo "*** Testing vsprintf() : octal formats and non-octal values ***\n";
// defining array of octal formats
$formats =
'%o %+o %-o
'%o %+o %-o
%lo %Lo %4o %-4o
%10.4o %-10.4o %.4o
%10.4o %-10.4o %.4o
%\'#2o %\'2o %\'$2o %\'_2o
%3$o %4$o %1$o %2$o';
@ -82,37 +82,37 @@ echo "Done";
*** Testing vsprintf() : octal formats and non-octal values ***
-- Iteration 1 --
string(116) "2 0 12
string(114) "2 0 12
361100 o 37777775456 2322
30071 14 37777777764 37777416700
12 361100 2 0"
-- Iteration 2 --
string(146) "2 37777777776 2
string(144) "2 37777777776 2
361100 o 37720715133 57062645
57060664 4475347 37721631371 37720717336
2 361100 2 37777777776"
-- Iteration 3 --
string(88) "0 0 0
string(86) "0 0 0
173 o 37777777605 173
2322 0 $0 _0
0 173 0 0"
-- Iteration 4 --
string(75) "1 1 1
string(73) "1 1 1
1 o 1 1
#1 1 $1 _1
1 1 1 1"
-- Iteration 5 --
string(75) "1 1 0
string(73) "1 1 0
1 o 0 1
#0 1 $1 _0
0 1 1 1"
Done

View File

@ -20,9 +20,9 @@ echo "*** Testing vsprintf() : hexa formats and non-hexa values ***\n";
// defining array of different hexa formats
$formats =
'%x %+x %-x
'%x %+x %-x
%lx %Lx %4x %-4x
%10.4x %-10.4x %.4x
%10.4x %-10.4x %.4x
%\'#2x %\'2x %\'$2x %\'_2x
%3$x %4$x %1$x %2$x';
@ -83,37 +83,37 @@ echo "Done";
*** Testing vsprintf() : hexa formats and non-hexa values ***
-- Iteration 1 --
string(101) "2 0 a
string(99) "2 0 a
1e240 x fffffb2e 4d2
3039 c fffffff4 fffe1dc0
a 1e240 2 0"
-- Iteration 2 --
string(124) "2 fffffffe 2
string(122) "2 fffffffe 2
1e240 x ff439a5b bc65a5
bc61b4 127ae7 ff4732f9 ff439ede
2 1e240 2 fffffffe"
-- Iteration 3 --
string(82) "0 0 0
string(80) "0 0 0
7b x ffffff85 7b
4d2 0 $0 _0
0 7b 0 0"
-- Iteration 4 --
string(75) "1 1 1
string(73) "1 1 1
1 x 1 1
#1 1 $1 _1
1 1 1 1"
-- Iteration 5 --
string(75) "1 1 0
string(73) "1 1 0
1 x 0 1
#0 1 $1 _0
0 1 1 1"
Done

View File

@ -20,9 +20,9 @@ echo "*** Testing vsprintf() : unsigned formats and signed & other types of valu
// defining array of unsigned formats
$formats =
'%u %+u %-u
'%u %+u %-u
%lu %Lu %4u %-4u
%10.4u %-10.4u %.4u
%10.4u %-10.4u %.4u
%\'#2u %\'2u %\'$2u %\'_2u
%3$u %4$u %1$u %2$u';
@ -75,30 +75,30 @@ echo "Done";
*** Testing vsprintf() : unsigned formats and signed & other types of values ***
-- Iteration 1 --
string(115) "2 0 10
string(113) "2 0 10
123456 u 1234 2820130816
2840207360 1177509888 12345
2840207360 1177509888 12345
12 4294967284 4294843840 _3
10 123456 2 0"
-- Iteration 2 --
string(88) "0 0 0
string(86) "0 0 0
123 u 4294967173 123
0 0 0
0 0 0
1234 0 $0 _0
0 123 0 0"
-- Iteration 3 --
string(76) "1 1 1
string(74) "1 1 1
1 u 1 1
1 1 1
1 1 1
#1 1 $1 _1
1 1 1 1"
-- Iteration 4 --
string(76) "1 1 0
string(74) "1 1 0
1 u 0 1
1 1 0
1 1 0
#0 1 $1 _0
0 1 1 1"
Done

View File

@ -20,7 +20,7 @@ echo "*** Testing vsprintf() : int formats and non-integer values ***\n";
// defining array of int formats
$formats =
'%d %+d %-d
'%d %+d %-d
%ld %Ld %4d %-4d
%10.4d %-10.4d %.4d %04.4d
%\'#2d %\'2d %\'$2d %\'_2d
@ -75,28 +75,28 @@ echo "Done";
*** Testing vsprintf() : int formats and non-integer values ***
-- Iteration 1 --
string(112) "2 +0 10
string(111) "2 +0 10
123456 d -1234 1234
-1474836480 200000 4000 22000000
12345 12 -12 -123456
10 123456 2 0"
-- Iteration 2 --
string(92) "0 +0 0
string(91) "0 +0 0
123 d -123 123
0 0 123456 0000
1234 0 $0 _0
0 123 0 0"
-- Iteration 3 --
string(81) "1 +1 1
string(80) "1 +1 1
1 d 1 1
1 1 1 0001
#1 1 $1 _1
1 1 1 1"
-- Iteration 4 --
string(81) "1 +1 0
string(80) "1 +1 0
1 d 0 1
1 0 1 0000
#0 1 $1 _0