|
Uses SNPRINT macro where possible. Otherwise uses #define for format.
I was able to convert 49 SNPrint(NULL, 0, ...) patterns to use the
macro. I had to use a #define for the format string 5 times due to
uses that didn't fit the macro.
2 occurences of SNPrint(NULL, 0, ...) had >=2 possibilities for the
format string based on runtime values, and I didn't try to convert
them.
Fixed ~10 format strings.
BUG=
R=iposva@google.com
Committed: https://github.com/dart-lang/sdk/commit/16393ee9c6cfcda036ce32f4fb1c029f3cadc906
Total comments: 1
Total comments: 6
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+277 lines, -309 lines) |
Patch |
|
M |
runtime/vm/benchmark_test.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/coverage.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/debugger.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/vm/disassembler_ia32.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/disassembler_x64.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.cc
|
View
|
1
2
3
4
|
41 chunks |
+89 lines, -201 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os.h
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_android.cc
|
View
|
1
2
3
4
|
4 chunks |
+40 lines, -13 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_linux.cc
|
View
|
1
2
3
4
|
5 chunks |
+41 lines, -19 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_macos.cc
|
View
|
1
2
3
4
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_win.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+34 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/snapshot.cc
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stack_frame_test.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/timeline.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/version_in.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/zone.h
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/zone.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -14 lines |
0 comments
|
Download
|
Total messages: 14 (3 generated)
|