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

Side by Side Diff: sdk/lib/io/platform_impl.dart

Issue 11419032: Switch libraries to using new tags. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated to tip of tree. Changed library names to dart.x Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « sdk/lib/io/platform.dart ('k') | sdk/lib/io/process.dart » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 part of dart.io;
6
5 class _Platform { 7 class _Platform {
6 external static int _numberOfProcessors(); 8 external static int _numberOfProcessors();
7 external static String _pathSeparator(); 9 external static String _pathSeparator();
8 external static String _operatingSystem(); 10 external static String _operatingSystem();
9 external static _localHostname(); 11 external static _localHostname();
10 external static _environment(); 12 external static _environment();
11 13
12 static int get numberOfProcessors { 14 static int get numberOfProcessors {
13 return _numberOfProcessors(); 15 return _numberOfProcessors();
14 } 16 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 if (equalsIndex == 0) { 50 if (equalsIndex == 0) {
49 equalsIndex = str.indexOf('=', 1); 51 equalsIndex = str.indexOf('=', 1);
50 } 52 }
51 assert(equalsIndex != -1); 53 assert(equalsIndex != -1);
52 result[str.substring(0, equalsIndex)] = str.substring(equalsIndex + 1); 54 result[str.substring(0, equalsIndex)] = str.substring(equalsIndex + 1);
53 } 55 }
54 return result; 56 return result;
55 } 57 }
56 } 58 }
57 } 59 }
OLDNEW
« no previous file with comments | « sdk/lib/io/platform.dart ('k') | sdk/lib/io/process.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698