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

Side by Side Diff: pkg/os/lib/net_structs_android.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 | « pkg/os/lib/net_structs.dart ('k') | pkg/os/lib/net_structs_linux.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 // Accessor classes to read and write networking related structures. 5 // Accessor classes to read and write networking related structures.
6 6
7 part of os; 7 part of os;
8 8
9 class AndroidAddrInfo extends AddrInfo { 9 class AndroidAddrInfo extends AddrInfo {
10 AndroidAddrInfo() : super._(); 10 AndroidAddrInfo() : super._();
11 AndroidAddrInfo.fromAddress(int address) : super._fromAddress(address); 11 AndroidAddrInfo.fromAddress(int address) : super._fromAddress(address);
12 12
13 get canonname { 13 get canonname {
14 int offset = _addrlenOffset + wordSize; 14 int offset = _addrlenOffset + wordSize;
15 return getWord(offset); 15 return getWord(offset);
16 } 16 }
17 17
18 ForeignMemory get addr { 18 ForeignMemory get addr {
19 int offset = _addrlenOffset + wordSize * 2; 19 int offset = _addrlenOffset + wordSize * 2;
20 return new ForeignMemory.fromAddress(getWord(offset), addrlen); 20 return new ForeignMemory.fromAddress(getWord(offset), addrlen);
21 } 21 }
22 22
23 AddrInfo get next { 23 AddrInfo get next {
24 int offset = _addrlenOffset + wordSize * 3; 24 int offset = _addrlenOffset + wordSize * 3;
25 return new AndroidAddrInfo.fromAddress(getWord(offset)); 25 return new AndroidAddrInfo.fromAddress(getWord(offset));
26 } 26 }
27 } 27 }
OLDNEW
« no previous file with comments | « pkg/os/lib/net_structs.dart ('k') | pkg/os/lib/net_structs_linux.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698