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

Side by Side Diff: runtime/vm/object.h

Issue 1381033002: Add data-URI support class to dart:core (next to Uri). (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add more tests, refactor, rename to DataUriHelper. Need better name! Created 5 years, 1 month 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
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 #ifndef VM_OBJECT_H_ 5 #ifndef VM_OBJECT_H_
6 #define VM_OBJECT_H_ 6 #define VM_OBJECT_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 3501 matching lines...) Expand 10 before | Expand all | Expand 10 after
3512 static RawLibrary* ConvertLibrary(); 3512 static RawLibrary* ConvertLibrary();
3513 static RawLibrary* CoreLibrary(); 3513 static RawLibrary* CoreLibrary();
3514 static RawLibrary* CollectionLibrary(); 3514 static RawLibrary* CollectionLibrary();
3515 static RawLibrary* DeveloperLibrary(); 3515 static RawLibrary* DeveloperLibrary();
3516 static RawLibrary* InternalLibrary(); 3516 static RawLibrary* InternalLibrary();
3517 static RawLibrary* IsolateLibrary(); 3517 static RawLibrary* IsolateLibrary();
3518 static RawLibrary* MathLibrary(); 3518 static RawLibrary* MathLibrary();
3519 static RawLibrary* MirrorsLibrary(); 3519 static RawLibrary* MirrorsLibrary();
3520 static RawLibrary* NativeWrappersLibrary(); 3520 static RawLibrary* NativeWrappersLibrary();
3521 static RawLibrary* TypedDataLibrary(); 3521 static RawLibrary* TypedDataLibrary();
3522 static RawLibrary* UriLibrary();
3522 static RawLibrary* VMServiceLibrary(); 3523 static RawLibrary* VMServiceLibrary();
3523 3524
3524 // Eagerly compile all classes and functions in the library. 3525 // Eagerly compile all classes and functions in the library.
3525 static RawError* CompileAll(); 3526 static RawError* CompileAll();
3526 3527
3527 #if defined(DART_NO_SNAPSHOT) 3528 #if defined(DART_NO_SNAPSHOT)
3528 // Checks function fingerprints. Prints mismatches and aborts if 3529 // Checks function fingerprints. Prints mismatches and aborts if
3529 // mismatch found. 3530 // mismatch found.
3530 static void CheckFunctionFingerprints(); 3531 static void CheckFunctionFingerprints();
3531 #endif // defined(DART_NO_SNAPSHOT). 3532 #endif // defined(DART_NO_SNAPSHOT).
(...skipping 4678 matching lines...) Expand 10 before | Expand all | Expand 10 after
8210 8211
8211 8212
8212 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 8213 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
8213 intptr_t index) { 8214 intptr_t index) {
8214 return array.At((index * kEntryLength) + kTargetFunctionIndex); 8215 return array.At((index * kEntryLength) + kTargetFunctionIndex);
8215 } 8216 }
8216 8217
8217 } // namespace dart 8218 } // namespace dart
8218 8219
8219 #endif // VM_OBJECT_H_ 8220 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap_natives.cc ('k') | runtime/vm/object.cc » ('j') | sdk/lib/uri/uri.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698