OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 #ifndef VM_UNIBROW_H_ | 5 #ifndef RUNTIME_VM_UNIBROW_H_ |
6 #define VM_UNIBROW_H_ | 6 #define RUNTIME_VM_UNIBROW_H_ |
7 | 7 |
8 #include <sys/types.h> | 8 #include <sys/types.h> |
9 | 9 |
10 #include "vm/globals.h" | 10 #include "vm/globals.h" |
11 | 11 |
12 /** | 12 /** |
13 * \file | 13 * \file |
14 * Definitions and convenience functions for working with unicode. | 14 * Definitions and convenience functions for working with unicode. |
15 */ | 15 */ |
16 | 16 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 struct CanonicalizationRange { | 62 struct CanonicalizationRange { |
63 static const intptr_t kMaxWidth = 1; | 63 static const intptr_t kMaxWidth = 1; |
64 static intptr_t Convert(int32_t c, | 64 static intptr_t Convert(int32_t c, |
65 int32_t n, | 65 int32_t n, |
66 int32_t* result, | 66 int32_t* result, |
67 bool* allow_caching_ptr); | 67 bool* allow_caching_ptr); |
68 }; | 68 }; |
69 | 69 |
70 } // namespace unibrow | 70 } // namespace unibrow |
71 | 71 |
72 #endif // VM_UNIBROW_H_ | 72 #endif // RUNTIME_VM_UNIBROW_H_ |
OLD | NEW |