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

Side by Side Diff: lib/ffi/utf.dart

Issue 1649703002: Update project authors statements to Dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « lib/ffi/ffi.dart ('k') | lib/fletch/fletch.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) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 // All the code in this file is a direct copy from dart:convert. It is 5 // All the code in this file is a direct copy from dart:convert. It is
6 // here to remove the dependency on dart:convert which will not be 6 // here to remove the dependency on dart:convert which will not be
7 // part of the library set for embedded due to its dependency on 7 // part of the library set for embedded due to its dependency on
8 // dart:async. 8 // dart:async.
9 part of dart.fletch.ffi; 9 part of dart.fletch.ffi;
10 10
11 /** 11 /**
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 const int _TAIL_SURROGATE_MIN = 0xDC00; 165 const int _TAIL_SURROGATE_MIN = 0xDC00;
166 166
167 bool _isLeadSurrogate(int codeUnit) => 167 bool _isLeadSurrogate(int codeUnit) =>
168 (codeUnit & _SURROGATE_TAG_MASK) == _LEAD_SURROGATE_MIN; 168 (codeUnit & _SURROGATE_TAG_MASK) == _LEAD_SURROGATE_MIN;
169 bool _isTailSurrogate(int codeUnit) => 169 bool _isTailSurrogate(int codeUnit) =>
170 (codeUnit & _SURROGATE_TAG_MASK) == _TAIL_SURROGATE_MIN; 170 (codeUnit & _SURROGATE_TAG_MASK) == _TAIL_SURROGATE_MIN;
171 int _combineSurrogatePair(int lead, int tail) => 171 int _combineSurrogatePair(int lead, int tail) =>
172 0x10000 + ((lead & _SURROGATE_VALUE_MASK) << 10) 172 0x10000 + ((lead & _SURROGATE_VALUE_MASK) << 10)
173 | (tail & _SURROGATE_VALUE_MASK); 173 | (tail & _SURROGATE_VALUE_MASK);
174 174
OLDNEW
« no previous file with comments | « lib/ffi/ffi.dart ('k') | lib/fletch/fletch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698