Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Side by Side Diff: runtime/bin/stdio.h

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/bin/socket_win.cc ('k') | runtime/bin/stdio.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef RUNTIME_BIN_STDIO_H_ 5 #ifndef RUNTIME_BIN_STDIO_H_
6 #define RUNTIME_BIN_STDIO_H_ 6 #define RUNTIME_BIN_STDIO_H_
7 7
8 #if defined(DART_IO_DISABLED) 8 #if defined(DART_IO_DISABLED)
9 #error "stdio.h can only be included on builds with IO enabled" 9 #error "stdio.h can only be included on builds with IO enabled"
10 #endif 10 #endif
(...skipping 16 matching lines...) Expand all
27 static bool GetLineMode(bool* enabled); 27 static bool GetLineMode(bool* enabled);
28 static bool SetLineMode(bool enabled); 28 static bool SetLineMode(bool enabled);
29 29
30 static bool AnsiSupported(bool* supported); 30 static bool AnsiSupported(bool* supported);
31 31
32 private: 32 private:
33 DISALLOW_ALLOCATION(); 33 DISALLOW_ALLOCATION();
34 DISALLOW_IMPLICIT_CONSTRUCTORS(Stdin); 34 DISALLOW_IMPLICIT_CONSTRUCTORS(Stdin);
35 }; 35 };
36 36
37
38 class Stdout { 37 class Stdout {
39 public: 38 public:
40 static bool GetTerminalSize(intptr_t fd, int size[2]); 39 static bool GetTerminalSize(intptr_t fd, int size[2]);
41 static bool AnsiSupported(intptr_t fd, bool* supported); 40 static bool AnsiSupported(intptr_t fd, bool* supported);
42 41
43 private: 42 private:
44 DISALLOW_ALLOCATION(); 43 DISALLOW_ALLOCATION();
45 DISALLOW_IMPLICIT_CONSTRUCTORS(Stdout); 44 DISALLOW_IMPLICIT_CONSTRUCTORS(Stdout);
46 }; 45 };
47 46
48 } // namespace bin 47 } // namespace bin
49 } // namespace dart 48 } // namespace dart
50 49
51 #endif // RUNTIME_BIN_STDIO_H_ 50 #endif // RUNTIME_BIN_STDIO_H_
OLDNEW
« no previous file with comments | « runtime/bin/socket_win.cc ('k') | runtime/bin/stdio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698