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

Side by Side Diff: sdk/lib/_internal/lib/io_patch.dart

Issue 18516002: Add Stdio.readByteSync and Stdio.readLineSync. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated test and impl. Created 7 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 | Annotate | Revision Log
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 patch class _Directory { 5 patch class _Directory {
6 patch static String _current() { 6 patch static String _current() {
7 throw new UnsupportedError("Directory._current"); 7 throw new UnsupportedError("Directory._current");
8 } 8 }
9 patch static _setCurrent(path) { 9 patch static _setCurrent(path) {
10 throw new UnsupportedError("Directory_SetCurrent"); 10 throw new UnsupportedError("Directory_SetCurrent");
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 patch class _SecureFilter { 282 patch class _SecureFilter {
283 patch factory _SecureFilter() { 283 patch factory _SecureFilter() {
284 throw new UnsupportedError("_SecureFilter._SecureFilter"); 284 throw new UnsupportedError("_SecureFilter._SecureFilter");
285 } 285 }
286 patch static SendPort _newServicePort() { 286 patch static SendPort _newServicePort() {
287 throw new UnsupportedError("_SecureFilter._newServicePort"); 287 throw new UnsupportedError("_SecureFilter._newServicePort");
288 } 288 }
289 } 289 }
290 290
291 patch class _StdIOUtils { 291 patch class _StdIOUtils {
292 patch static Stream<List<int>> _getStdioInputStream() { 292 patch static Stdio _getStdioInputStream() {
293 throw new UnsupportedError("StdIOUtils._getStdioInputStream"); 293 throw new UnsupportedError("StdIOUtils._getStdioInputStream");
294 } 294 }
295 patch static IOSink _getStdioOutputStream(int fd) { 295 patch static IOSink _getStdioOutputStream(int fd) {
296 throw new UnsupportedError("StdIOUtils._getStdioOutputStream"); 296 throw new UnsupportedError("StdIOUtils._getStdioOutputStream");
297 } 297 }
298 patch static int _socketType(nativeSocket) { 298 patch static int _socketType(nativeSocket) {
299 throw new UnsupportedError("StdIOUtils._socketType"); 299 throw new UnsupportedError("StdIOUtils._socketType");
300 } 300 }
301 } 301 }
302 302
(...skipping 10 matching lines...) Expand all
313 } 313 }
314 314
315 patch class _Filter { 315 patch class _Filter {
316 patch static _Filter newZLibDeflateFilter(bool gzip, int level) { 316 patch static _Filter newZLibDeflateFilter(bool gzip, int level) {
317 throw new UnsupportedError("newZLibDeflateFilter"); 317 throw new UnsupportedError("newZLibDeflateFilter");
318 } 318 }
319 patch static _Filter newZLibInflateFilter() { 319 patch static _Filter newZLibInflateFilter() {
320 throw new UnsupportedError("newZLibInflateFilter"); 320 throw new UnsupportedError("newZLibInflateFilter");
321 } 321 }
322 } 322 }
323
324 patch class Stdin {
325 patch int readByteSync() {
326 throw new UnsupportedError("Stdin.readByteSync");
327 }
328 }
OLDNEW
« no previous file with comments | « runtime/bin/stdio_patch.dart ('k') | sdk/lib/io/stdio.dart » ('j') | sdk/lib/io/stdio.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698