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

Side by Side Diff: sdk/lib/io/common.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/chunked_stream.dart ('k') | sdk/lib/io/directory.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 // Constants used when working with native ports. 7 // Constants used when working with native ports.
6 const int _SUCCESS_RESPONSE = 0; 8 const int _SUCCESS_RESPONSE = 0;
7 const int _ILLEGAL_ARGUMENT_RESPONSE = 1; 9 const int _ILLEGAL_ARGUMENT_RESPONSE = 1;
8 const int _OSERROR_RESPONSE = 2; 10 const int _OSERROR_RESPONSE = 2;
9 const int _FILE_CLOSED_RESPONSE = 3; 11 const int _FILE_CLOSED_RESPONSE = 3;
10 12
11 const int _ERROR_RESPONSE_ERROR_TYPE = 0; 13 const int _ERROR_RESPONSE_ERROR_TYPE = 0;
12 const int _OSERROR_RESPONSE_ERROR_CODE = 1; 14 const int _OSERROR_RESPONSE_ERROR_CODE = 1;
13 const int _OSERROR_RESPONSE_MESSAGE = 2; 15 const int _OSERROR_RESPONSE_MESSAGE = 2;
14 16
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 90
89 91
90 // TODO(ager): The only reason for the class here is that 92 // TODO(ager): The only reason for the class here is that
91 // we cannot patch a top-level function. 93 // we cannot patch a top-level function.
92 class _BufferUtils { 94 class _BufferUtils {
93 // Check if a List is a builtin VM List type. Returns true 95 // Check if a List is a builtin VM List type. Returns true
94 // if the List is a builtin VM List type and false if it is 96 // if the List is a builtin VM List type and false if it is
95 // a user defined List type. 97 // a user defined List type.
96 external static bool _isBuiltinList(List buffer); 98 external static bool _isBuiltinList(List buffer);
97 } 99 }
OLDNEW
« no previous file with comments | « sdk/lib/io/chunked_stream.dart ('k') | sdk/lib/io/directory.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698