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

Side by Side Diff: utils/string_encoding/utf32.dart

Issue 9310038: Fix mac/git renaming case failure. Aaarrrrgggghhhh. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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
« no previous file with comments | « utils/string_encoding/utf16.dart ('k') | utils/string_encoding/utf8.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 #library("utf32"); 5 #library("utf32");
6 #import("unicode_core.dart"); 6 #import("unicode_core.dart");
7 #import("unicode.dart"); 7 #import("unicode.dart");
8 8
9 /** 9 /**
10 * Produce a String from a sequence of UTF-32 encoded bytes. The parameters 10 * Produce a String from a sequence of UTF-32 encoded bytes. The parameters
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 } else { 264 } else {
265 return _utf32beToCodePoints(utf32EncodedBytes, offset, end - offset); 265 return _utf32beToCodePoints(utf32EncodedBytes, offset, end - offset);
266 } 266 }
267 } 267 }
268 268
269 bool _validCodepoint(int codepoint) { 269 bool _validCodepoint(int codepoint) {
270 return (codepoint >= 0 && codepoint < UNICODE_UTF16_RESERVED_LO) || 270 return (codepoint >= 0 && codepoint < UNICODE_UTF16_RESERVED_LO) ||
271 (codepoint > UNICODE_UTF16_RESERVED_HI && 271 (codepoint > UNICODE_UTF16_RESERVED_HI &&
272 codepoint < UNICODE_VALID_RANGE_MAX); 272 codepoint < UNICODE_VALID_RANGE_MAX);
273 } 273 }
OLDNEW
« no previous file with comments | « utils/string_encoding/utf16.dart ('k') | utils/string_encoding/utf8.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698