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

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

Issue 14018007: Rename RandomAccessFile.readList and RandomAccessFile.writeList to RandomAccessFile.readInto and Ra… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 7 years, 8 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 _BufferUtils { 5 patch class _BufferUtils {
6 patch static bool _isBuiltinList(List buffer) { 6 patch static bool _isBuiltinList(List buffer) {
7 throw new UnsupportedError("_isBuiltinList"); 7 throw new UnsupportedError("_isBuiltinList");
8 } 8 }
9 } 9 }
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 patch class _RandomAccessFile { 104 patch class _RandomAccessFile {
105 patch static int _close(int id) { 105 patch static int _close(int id) {
106 throw new UnsupportedError("RandomAccessFile._close"); 106 throw new UnsupportedError("RandomAccessFile._close");
107 } 107 }
108 patch static _readByte(int id) { 108 patch static _readByte(int id) {
109 throw new UnsupportedError("RandomAccessFile._readByte"); 109 throw new UnsupportedError("RandomAccessFile._readByte");
110 } 110 }
111 patch static _read(int id, int bytes) { 111 patch static _read(int id, int bytes) {
112 throw new UnsupportedError("RandomAccessFile._read"); 112 throw new UnsupportedError("RandomAccessFile._read");
113 } 113 }
114 patch static _readList(int id, List<int> buffer, int offset, int bytes) { 114 patch static _readInto(int id, List<int> buffer, [int start, int end]) {
115 throw new UnsupportedError("RandomAccessFile._readList"); 115 throw new UnsupportedError("RandomAccessFile._readInto");
116 } 116 }
117 patch static _writeByte(int id, int value) { 117 patch static _writeByte(int id, int value) {
118 throw new UnsupportedError("RandomAccessFile._writeByte"); 118 throw new UnsupportedError("RandomAccessFile._writeByte");
119 } 119 }
120 patch static _writeList(int id, List<int> buffer, int offset, int bytes) { 120 patch static _writeFrom(int id, List<int> buffer, [int start, int end]) {
121 throw new UnsupportedError("RandomAccessFile._writeList"); 121 throw new UnsupportedError("RandomAccessFile._writeFrom");
122 } 122 }
123 patch static _position(int id) { 123 patch static _position(int id) {
124 throw new UnsupportedError("RandomAccessFile._position"); 124 throw new UnsupportedError("RandomAccessFile._position");
125 } 125 }
126 patch static _setPosition(int id, int position) { 126 patch static _setPosition(int id, int position) {
127 throw new UnsupportedError("RandomAccessFile._setPosition"); 127 throw new UnsupportedError("RandomAccessFile._setPosition");
128 } 128 }
129 patch static _truncate(int id, int length) { 129 patch static _truncate(int id, int length) {
130 throw new UnsupportedError("RandomAccessFile._truncate"); 130 throw new UnsupportedError("RandomAccessFile._truncate");
131 } 131 }
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 } 258 }
259 259
260 patch class _Filter { 260 patch class _Filter {
261 patch static _Filter newZLibDeflateFilter(bool gzip, int level) { 261 patch static _Filter newZLibDeflateFilter(bool gzip, int level) {
262 throw new UnsupportedError("newZLibDeflateFilter"); 262 throw new UnsupportedError("newZLibDeflateFilter");
263 } 263 }
264 patch static _Filter newZLibInflateFilter() { 264 patch static _Filter newZLibInflateFilter() {
265 throw new UnsupportedError("newZLibInflateFilter"); 265 throw new UnsupportedError("newZLibInflateFilter");
266 } 266 }
267 } 267 }
OLDNEW
« no previous file with comments | « runtime/bin/socket_patch.dart ('k') | sdk/lib/_internal/compiler/implementation/source_file_provider.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698