From 103881d01c6aa2ab385f66bda0c2f5feb9cbb206 Mon Sep 17 00:00:00 2001 From: Zachary Anderson Date: Wed, 26 Oct 2016 00:26:03 -0700 Subject: [PATCH] Make header include guards great again i.e. #ifndef VM_WHATEVER -> #ifndef RUNTIME_VM_WHATEVER This lets us remove a hack from the PRESUBMIT.py script that existed for reasons that are no longer valid, and sets us up to add some presubmit checks for the GN build. R=asiva@google.com, rmacnak@google.com Review URL: https://codereview.chromium.org/2450713004 . --- runtime/PRESUBMIT.py | 82 ++++++---------------- runtime/bin/builtin.h | 6 +- runtime/bin/crypto.h | 6 +- runtime/bin/dartutils.h | 6 +- runtime/bin/directory.h | 6 +- runtime/bin/embedded_dart_io.h | 6 +- runtime/bin/eventhandler.h | 6 +- runtime/bin/eventhandler_android.h | 8 +-- runtime/bin/eventhandler_fuchsia.h | 8 +-- runtime/bin/eventhandler_linux.h | 8 +-- runtime/bin/eventhandler_macos.h | 8 +-- runtime/bin/eventhandler_win.h | 8 +-- runtime/bin/extensions.h | 6 +- runtime/bin/fdutils.h | 6 +- runtime/bin/file.h | 6 +- runtime/bin/file_system_watcher.h | 6 +- runtime/bin/filter.h | 6 +- runtime/bin/io_buffer.h | 6 +- runtime/bin/io_natives.h | 6 +- runtime/bin/io_service.h | 6 +- runtime/bin/io_service_no_ssl.h | 6 +- runtime/bin/isolate_data.h | 6 +- runtime/bin/loader.h | 6 +- runtime/bin/lockers.h | 6 +- runtime/bin/log.h | 6 +- runtime/bin/platform.h | 6 +- runtime/bin/process.h | 6 +- runtime/bin/reference_counting.h | 6 +- runtime/bin/secure_socket.h | 6 +- runtime/bin/secure_socket_boringssl.h | 8 +-- runtime/bin/secure_socket_ios.h | 8 +-- runtime/bin/secure_socket_macos.h | 8 +-- runtime/bin/socket.h | 6 +- runtime/bin/socket_android.h | 8 +-- runtime/bin/socket_fuchsia.h | 8 +-- runtime/bin/socket_linux.h | 8 +-- runtime/bin/socket_macos.h | 8 +-- runtime/bin/socket_win.h | 8 +-- runtime/bin/stdio.h | 6 +- runtime/bin/thread.h | 6 +- runtime/bin/thread_android.h | 8 +-- runtime/bin/thread_fuchsia.h | 8 +-- runtime/bin/thread_linux.h | 8 +-- runtime/bin/thread_macos.h | 8 +-- runtime/bin/thread_win.h | 8 +-- runtime/bin/utils.h | 6 +- runtime/bin/utils_win.h | 6 +- runtime/bin/vmservice_dartium.h | 6 +- runtime/bin/vmservice_impl.h | 6 +- runtime/include/dart_api.h | 4 +- runtime/include/dart_mirrors_api.h | 4 +- runtime/include/dart_native_api.h | 4 +- runtime/include/dart_tools_api.h | 6 +- runtime/lib/invocation_mirror.h | 6 +- runtime/lib/mirrors.h | 6 +- runtime/lib/stacktrace.h | 6 +- runtime/platform/address_sanitizer.h | 6 +- runtime/platform/assert.h | 6 +- runtime/platform/c99_support_win.h | 6 +- runtime/platform/floating_point.h | 6 +- runtime/platform/floating_point_win.h | 6 +- runtime/platform/globals.h | 6 +- runtime/platform/hashmap.h | 6 +- runtime/platform/inttypes_support_win.h | 6 +- runtime/platform/math.h | 6 +- runtime/platform/memory_sanitizer.h | 6 +- runtime/platform/signal_blocker.h | 6 +- runtime/platform/text_buffer.h | 6 +- runtime/platform/utils.h | 6 +- runtime/platform/utils_android.h | 6 +- runtime/platform/utils_fuchsia.h | 6 +- runtime/platform/utils_linux.h | 6 +- runtime/platform/utils_macos.h | 6 +- runtime/platform/utils_win.h | 6 +- runtime/vm/allocation.h | 6 +- runtime/vm/aot_optimizer.h | 6 +- runtime/vm/assembler.h | 6 +- runtime/vm/assembler_arm.h | 8 +-- runtime/vm/assembler_arm64.h | 8 +-- runtime/vm/assembler_dbc.h | 8 +-- runtime/vm/assembler_ia32.h | 8 +-- runtime/vm/assembler_mips.h | 8 +-- runtime/vm/assembler_x64.h | 8 +-- runtime/vm/ast.h | 6 +- runtime/vm/ast_printer.h | 6 +- runtime/vm/ast_transformer.h | 6 +- runtime/vm/atomic.h | 6 +- runtime/vm/atomic_android.h | 8 +-- runtime/vm/atomic_fuchsia.h | 8 +-- runtime/vm/atomic_linux.h | 8 +-- runtime/vm/atomic_macos.h | 8 +-- runtime/vm/atomic_simulator.h | 8 +-- runtime/vm/atomic_win.h | 8 +-- runtime/vm/base_isolate.h | 6 +- runtime/vm/become.h | 6 +- runtime/vm/benchmark_test.h | 6 +- runtime/vm/bit_set.h | 6 +- runtime/vm/bit_vector.h | 6 +- runtime/vm/bitfield.h | 6 +- runtime/vm/bitmap.h | 6 +- runtime/vm/block_scheduler.h | 6 +- runtime/vm/boolfield.h | 6 +- runtime/vm/bootstrap.h | 6 +- runtime/vm/bootstrap_natives.h | 6 +- runtime/vm/branch_optimizer.h | 6 +- runtime/vm/cha.h | 6 +- runtime/vm/class_finalizer.h | 6 +- runtime/vm/class_table.h | 6 +- runtime/vm/clustered_snapshot.h | 6 +- runtime/vm/code_descriptors.h | 6 +- runtime/vm/code_generator.h | 6 +- runtime/vm/code_observers.h | 6 +- runtime/vm/code_patcher.h | 6 +- runtime/vm/compiler.h | 6 +- runtime/vm/compiler_stats.h | 6 +- runtime/vm/constant_propagator.h | 6 +- runtime/vm/constants_arm.h | 6 +- runtime/vm/constants_arm64.h | 6 +- runtime/vm/constants_dbc.h | 6 +- runtime/vm/constants_ia32.h | 6 +- runtime/vm/constants_mips.h | 6 +- runtime/vm/constants_x64.h | 6 +- runtime/vm/cpu.h | 6 +- runtime/vm/cpu_arm.h | 6 +- runtime/vm/cpu_arm64.h | 6 +- runtime/vm/cpu_dbc.h | 6 +- runtime/vm/cpu_ia32.h | 6 +- runtime/vm/cpu_mips.h | 6 +- runtime/vm/cpu_x64.h | 6 +- runtime/vm/cpuid.h | 6 +- runtime/vm/cpuinfo.h | 6 +- runtime/vm/dart.h | 6 +- runtime/vm/dart_api_impl.h | 6 +- runtime/vm/dart_api_message.h | 6 +- runtime/vm/dart_api_state.h | 6 +- runtime/vm/dart_entry.h | 6 +- runtime/vm/datastream.h | 6 +- runtime/vm/debugger.h | 6 +- runtime/vm/deferred_objects.h | 6 +- runtime/vm/deopt_instructions.h | 6 +- runtime/vm/disassembler.h | 6 +- runtime/vm/double_conversion.h | 6 +- runtime/vm/double_internals.h | 6 +- runtime/vm/exceptions.h | 6 +- runtime/vm/flag_list.h | 6 +- runtime/vm/flags.h | 6 +- runtime/vm/flow_graph.h | 6 +- runtime/vm/flow_graph_allocator.h | 6 +- runtime/vm/flow_graph_builder.h | 6 +- runtime/vm/flow_graph_compiler.h | 6 +- runtime/vm/flow_graph_inliner.h | 6 +- runtime/vm/flow_graph_range_analysis.h | 6 +- runtime/vm/flow_graph_type_propagator.h | 6 +- runtime/vm/freelist.h | 6 +- runtime/vm/gc_marker.h | 6 +- runtime/vm/gc_sweeper.h | 6 +- runtime/vm/globals.h | 6 +- runtime/vm/growable_array.h | 6 +- runtime/vm/handles.h | 6 +- runtime/vm/handles_impl.h | 6 +- runtime/vm/hash_map.h | 6 +- runtime/vm/hash_table.h | 6 +- runtime/vm/heap.h | 6 +- runtime/vm/il_printer.h | 6 +- runtime/vm/instructions.h | 6 +- runtime/vm/instructions_arm.h | 8 +-- runtime/vm/instructions_arm64.h | 8 +-- runtime/vm/instructions_dbc.h | 8 +-- runtime/vm/instructions_ia32.h | 8 +-- runtime/vm/instructions_mips.h | 8 +-- runtime/vm/instructions_x64.h | 8 +-- runtime/vm/intermediate_language.h | 6 +- runtime/vm/intrinsifier.h | 6 +- runtime/vm/isolate.h | 6 +- runtime/vm/isolate_reload.h | 6 +- runtime/vm/jit_optimizer.h | 6 +- runtime/vm/json_stream.h | 6 +- runtime/vm/kernel.h | 6 +- runtime/vm/kernel_reader.h | 6 +- runtime/vm/kernel_to_il.h | 6 +- runtime/vm/locations.h | 6 +- runtime/vm/lockers.h | 6 +- runtime/vm/log.h | 6 +- runtime/vm/longjump.h | 6 +- runtime/vm/megamorphic_cache_table.h | 6 +- runtime/vm/memory_region.h | 6 +- runtime/vm/message.h | 6 +- runtime/vm/message_handler.h | 6 +- runtime/vm/method_recognizer.h | 6 +- runtime/vm/metrics.h | 6 +- runtime/vm/native_arguments.h | 6 +- runtime/vm/native_entry.h | 6 +- runtime/vm/native_entry_test.h | 6 +- runtime/vm/native_message_handler.h | 6 +- runtime/vm/native_symbol.h | 6 +- runtime/vm/object.h | 6 +- runtime/vm/object_graph.h | 6 +- runtime/vm/object_id_ring.h | 6 +- runtime/vm/object_set.h | 6 +- runtime/vm/object_store.h | 6 +- runtime/vm/os.h | 6 +- runtime/vm/os_thread.h | 6 +- runtime/vm/os_thread_android.h | 8 +-- runtime/vm/os_thread_fuchsia.h | 8 +-- runtime/vm/os_thread_linux.h | 8 +-- runtime/vm/os_thread_macos.h | 8 +-- runtime/vm/os_thread_win.h | 8 +-- runtime/vm/pages.h | 6 +- runtime/vm/parser.h | 6 +- runtime/vm/port.h | 6 +- runtime/vm/precompiler.h | 6 +- runtime/vm/proccpuinfo.h | 6 +- runtime/vm/profiler.h | 6 +- runtime/vm/profiler_service.h | 6 +- runtime/vm/random.h | 6 +- runtime/vm/raw_object.h | 6 +- runtime/vm/redundancy_elimination.h | 6 +- runtime/vm/regexp.h | 6 +- runtime/vm/regexp_assembler.h | 6 +- runtime/vm/regexp_assembler_bytecode.h | 6 +- runtime/vm/regexp_assembler_bytecode_inl.h | 6 +- runtime/vm/regexp_assembler_ir.h | 6 +- runtime/vm/regexp_ast.h | 6 +- runtime/vm/regexp_bytecodes.h | 6 +- runtime/vm/regexp_interpreter.h | 6 +- runtime/vm/regexp_parser.h | 6 +- runtime/vm/report.h | 6 +- runtime/vm/resolver.h | 6 +- runtime/vm/reusable_handles.h | 6 +- runtime/vm/ring_buffer.h | 6 +- runtime/vm/runtime_entry.h | 6 +- runtime/vm/runtime_entry_list.h | 6 +- runtime/vm/safepoint.h | 6 +- runtime/vm/scanner.h | 6 +- runtime/vm/scavenger.h | 6 +- runtime/vm/scope_timer.h | 6 +- runtime/vm/scopes.h | 6 +- runtime/vm/service.h | 6 +- runtime/vm/service_event.h | 6 +- runtime/vm/service_isolate.h | 6 +- runtime/vm/signal_handler.h | 6 +- runtime/vm/simulator.h | 6 +- runtime/vm/simulator_arm.h | 8 +-- runtime/vm/simulator_arm64.h | 8 +-- runtime/vm/simulator_dbc.h | 8 +-- runtime/vm/simulator_mips.h | 8 +-- runtime/vm/snapshot.h | 6 +- runtime/vm/snapshot_ids.h | 6 +- runtime/vm/source_report.h | 6 +- runtime/vm/spaces.h | 6 +- runtime/vm/stack_frame.h | 6 +- runtime/vm/stack_frame_arm.h | 6 +- runtime/vm/stack_frame_arm64.h | 6 +- runtime/vm/stack_frame_dbc.h | 6 +- runtime/vm/stack_frame_ia32.h | 6 +- runtime/vm/stack_frame_mips.h | 6 +- runtime/vm/stack_frame_x64.h | 6 +- runtime/vm/store_buffer.h | 6 +- runtime/vm/stub_code.h | 6 +- runtime/vm/symbols.h | 6 +- runtime/vm/tags.h | 6 +- runtime/vm/thread.h | 6 +- runtime/vm/thread_barrier.h | 6 +- runtime/vm/thread_interrupter.h | 6 +- runtime/vm/thread_pool.h | 6 +- runtime/vm/thread_registry.h | 6 +- runtime/vm/timeline.h | 6 +- runtime/vm/timeline_analysis.h | 6 +- runtime/vm/timer.h | 6 +- runtime/vm/token.h | 6 +- runtime/vm/token_position.h | 6 +- runtime/vm/type_table.h | 6 +- runtime/vm/unibrow-inl.h | 6 +- runtime/vm/unibrow.h | 6 +- runtime/vm/unicode.h | 6 +- runtime/vm/unit_test.h | 6 +- runtime/vm/uri.h | 6 +- runtime/vm/verifier.h | 6 +- runtime/vm/version.h | 6 +- runtime/vm/virtual_memory.h | 6 +- runtime/vm/visitor.h | 6 +- runtime/vm/weak_code.h | 6 +- runtime/vm/weak_table.h | 6 +- runtime/vm/zone.h | 6 +- 284 files changed, 912 insertions(+), 952 deletions(-) diff --git a/runtime/PRESUBMIT.py b/runtime/PRESUBMIT.py index ca55214e37d..f67f0d6952d 100644 --- a/runtime/PRESUBMIT.py +++ b/runtime/PRESUBMIT.py @@ -6,37 +6,23 @@ import os import cpplint import re - -class PathHackException(Exception): - def __init__(self, error_msg): - self.error_msg = error_msg - - def __str__(self): - return repr(self.error_msg) - -def AddSvnPathIfNeeded(runtime_path): - # Add the .svn into the runtime directory if needed for git or svn 1.7. - fake_svn_path = os.path.join(runtime_path, '.svn') - if os.path.exists(fake_svn_path): - return None - open(fake_svn_path, 'w').close() - return lambda: os.remove(fake_svn_path) - - -def TrySvnPathHack(parent_path): - orig_path = os.path.join(parent_path, '.svn') - renamed_path = os.path.join(parent_path, '.svn_orig') - if os.path.exists(renamed_path): - error_msg = '".svn_orig" exists in presubmit parent directory(' - error_msg += parent_path - error_msg += '). Consider renaming it manually to ".svn".' - raise PathHackException(error_msg) - if os.path.exists(orig_path): - # Make the parent SVN directory non-discoverable by cpplint to get - # the correct header guard checks. This is needed if using all Dart - # checkout. - os.rename(orig_path, renamed_path) - return lambda: os.rename(renamed_path, orig_path) +# memcpy does not handle overlapping memory regions. Even though this +# is well documented it seems to be used in error quite often. To avoid +# problems we disallow the direct use of memcpy. The exceptions are in +# third-party code and in platform/globals.h which uses it to implement +# bit_cast and bit_copy. +def CheckMemcpy(filename): + if filename.endswith(os.path.join('platform', 'globals.h')) or \ + filename.find('third_party') != -1: + return 0 + fh = open(filename, 'r') + content = fh.read() + match = re.search('\\bmemcpy\\b', content) + if match: + line_number = content[0:match.start()].count('\n') + 1 + print "%s:%d: use of memcpy is forbidden" % (filename, line_number) + return 1 + return 0 def RunLint(input_api, output_api): @@ -44,39 +30,13 @@ def RunLint(input_api, output_api): cpplint._cpplint_state.ResetErrorCounts() memcpy_match_count = 0 # Find all .cc and .h files in the change list. - for svn_file in input_api.AffectedTextFiles(): - filename = svn_file.AbsoluteLocalPath() + for git_file in input_api.AffectedTextFiles(): + filename = git_file.AbsoluteLocalPath() if filename.endswith('.cc') or filename.endswith('.h'): - cleanup_parent = None - cleanup_runtime = None - try: - runtime_path = input_api.PresubmitLocalPath() - parent_path = os.path.dirname(runtime_path) - if filename.endswith('.h'): - cleanup_runtime = AddSvnPathIfNeeded(runtime_path) - cleanup_parent = TrySvnPathHack(parent_path) - except PathHackException, exception: - return [output_api.PresubmitError(str(exception))] # Run cpplint on the file. cpplint.ProcessFile(filename, 1) - if cleanup_parent is not None: - cleanup_parent() - if cleanup_runtime is not None: - cleanup_runtime() - # memcpy does not handle overlapping memory regions. Even though this - # is well documented it seems to be used in error quite often. To avoid - # problems we disallow the direct use of memcpy. The exceptions are in - # third-party code and in platform/globals.h which uses it to implement - # bit_cast and bit_copy. - if not filename.endswith(os.path.join('platform', 'globals.h')) and \ - filename.find('third_party') == -1: - fh = open(filename, 'r') - content = fh.read() - match = re.search('\\bmemcpy\\b', content) - if match: - line_number = content[0:match.start()].count('\n') + 1 - print "%s:%d: use of memcpy is forbidden" % (filename, line_number) - memcpy_match_count += 1 + # Check for memcpy use. + memcpy_match_count += CheckMemcpy(filename) # Report a presubmit error if any of the files had an error. if cpplint._cpplint_state.error_count > 0 or memcpy_match_count > 0: diff --git a/runtime/bin/builtin.h b/runtime/bin/builtin.h index d7e1e4c2268..f61316a1174 100644 --- a/runtime/bin/builtin.h +++ b/runtime/bin/builtin.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_BUILTIN_H_ -#define BIN_BUILTIN_H_ +#ifndef RUNTIME_BIN_BUILTIN_H_ +#define RUNTIME_BIN_BUILTIN_H_ #include #include @@ -103,4 +103,4 @@ class Builtin { } // namespace bin } // namespace dart -#endif // BIN_BUILTIN_H_ +#endif // RUNTIME_BIN_BUILTIN_H_ diff --git a/runtime/bin/crypto.h b/runtime/bin/crypto.h index b82fc4feb40..ccfb8fb6cd1 100644 --- a/runtime/bin/crypto.h +++ b/runtime/bin/crypto.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_CRYPTO_H_ -#define BIN_CRYPTO_H_ +#ifndef RUNTIME_BIN_CRYPTO_H_ +#define RUNTIME_BIN_CRYPTO_H_ #include "bin/builtin.h" #include "bin/utils.h" @@ -23,5 +23,5 @@ class Crypto { } // namespace bin } // namespace dart -#endif // BIN_CRYPTO_H_ +#endif // RUNTIME_BIN_CRYPTO_H_ diff --git a/runtime/bin/dartutils.h b/runtime/bin/dartutils.h index ff2ae204101..c2ab3fb36f4 100644 --- a/runtime/bin/dartutils.h +++ b/runtime/bin/dartutils.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_DARTUTILS_H_ -#define BIN_DARTUTILS_H_ +#ifndef RUNTIME_BIN_DARTUTILS_H_ +#define RUNTIME_BIN_DARTUTILS_H_ #include "bin/isolate_data.h" #include "include/dart_api.h" @@ -686,4 +686,4 @@ class ScopedMemBuffer { } // namespace bin } // namespace dart -#endif // BIN_DARTUTILS_H_ +#endif // RUNTIME_BIN_DARTUTILS_H_ diff --git a/runtime/bin/directory.h b/runtime/bin/directory.h index ee1f389cfe4..a15e6ad2bc6 100644 --- a/runtime/bin/directory.h +++ b/runtime/bin/directory.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_DIRECTORY_H_ -#define BIN_DIRECTORY_H_ +#ifndef RUNTIME_BIN_DIRECTORY_H_ +#define RUNTIME_BIN_DIRECTORY_H_ #include "bin/builtin.h" #include "bin/dartutils.h" @@ -300,4 +300,4 @@ class Directory { } // namespace bin } // namespace dart -#endif // BIN_DIRECTORY_H_ +#endif // RUNTIME_BIN_DIRECTORY_H_ diff --git a/runtime/bin/embedded_dart_io.h b/runtime/bin/embedded_dart_io.h index 56dbba8a083..84f5aa4af3e 100644 --- a/runtime/bin/embedded_dart_io.h +++ b/runtime/bin/embedded_dart_io.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_EMBEDDED_DART_IO_H_ -#define BIN_EMBEDDED_DART_IO_H_ +#ifndef RUNTIME_BIN_EMBEDDED_DART_IO_H_ +#define RUNTIME_BIN_EMBEDDED_DART_IO_H_ namespace dart { namespace bin { @@ -30,4 +30,4 @@ bool ShouldCaptureStderr(); } // namespace bin } // namespace dart -#endif // BIN_EMBEDDED_DART_IO_H_ +#endif // RUNTIME_BIN_EMBEDDED_DART_IO_H_ diff --git a/runtime/bin/eventhandler.h b/runtime/bin/eventhandler.h index 44b5ec834b1..849c3edf86e 100644 --- a/runtime/bin/eventhandler.h +++ b/runtime/bin/eventhandler.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_EVENTHANDLER_H_ -#define BIN_EVENTHANDLER_H_ +#ifndef RUNTIME_BIN_EVENTHANDLER_H_ +#define RUNTIME_BIN_EVENTHANDLER_H_ #include "bin/builtin.h" #include "bin/dartutils.h" @@ -669,4 +669,4 @@ class EventHandler { } // namespace bin } // namespace dart -#endif // BIN_EVENTHANDLER_H_ +#endif // RUNTIME_BIN_EVENTHANDLER_H_ diff --git a/runtime/bin/eventhandler_android.h b/runtime/bin/eventhandler_android.h index 884186186fd..c2f72bc96f5 100644 --- a/runtime/bin/eventhandler_android.h +++ b/runtime/bin/eventhandler_android.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_EVENTHANDLER_ANDROID_H_ -#define BIN_EVENTHANDLER_ANDROID_H_ +#ifndef RUNTIME_BIN_EVENTHANDLER_ANDROID_H_ +#define RUNTIME_BIN_EVENTHANDLER_ANDROID_H_ -#if !defined(BIN_EVENTHANDLER_H_) +#if !defined(RUNTIME_BIN_EVENTHANDLER_H_) #error Do not include eventhandler_android.h directly; #error use eventhandler.h instead. #endif @@ -101,4 +101,4 @@ class EventHandlerImplementation { } // namespace bin } // namespace dart -#endif // BIN_EVENTHANDLER_ANDROID_H_ +#endif // RUNTIME_BIN_EVENTHANDLER_ANDROID_H_ diff --git a/runtime/bin/eventhandler_fuchsia.h b/runtime/bin/eventhandler_fuchsia.h index b168c6208be..27e4903097b 100644 --- a/runtime/bin/eventhandler_fuchsia.h +++ b/runtime/bin/eventhandler_fuchsia.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_EVENTHANDLER_FUCHSIA_H_ -#define BIN_EVENTHANDLER_FUCHSIA_H_ +#ifndef RUNTIME_BIN_EVENTHANDLER_FUCHSIA_H_ +#define RUNTIME_BIN_EVENTHANDLER_FUCHSIA_H_ -#if !defined(BIN_EVENTHANDLER_H_) +#if !defined(RUNTIME_BIN_EVENTHANDLER_H_) #error Do not include eventhandler_fuchsia.h directly; use eventhandler.h instead. #endif @@ -116,4 +116,4 @@ class EventHandlerImplementation { } // namespace bin } // namespace dart -#endif // BIN_EVENTHANDLER_FUCHSIA_H_ +#endif // RUNTIME_BIN_EVENTHANDLER_FUCHSIA_H_ diff --git a/runtime/bin/eventhandler_linux.h b/runtime/bin/eventhandler_linux.h index dd87c229478..ac46454641b 100644 --- a/runtime/bin/eventhandler_linux.h +++ b/runtime/bin/eventhandler_linux.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_EVENTHANDLER_LINUX_H_ -#define BIN_EVENTHANDLER_LINUX_H_ +#ifndef RUNTIME_BIN_EVENTHANDLER_LINUX_H_ +#define RUNTIME_BIN_EVENTHANDLER_LINUX_H_ -#if !defined(BIN_EVENTHANDLER_H_) +#if !defined(RUNTIME_BIN_EVENTHANDLER_H_) #error Do not include eventhandler_linux.h directly; use eventhandler.h instead. #endif @@ -100,4 +100,4 @@ class EventHandlerImplementation { } // namespace bin } // namespace dart -#endif // BIN_EVENTHANDLER_LINUX_H_ +#endif // RUNTIME_BIN_EVENTHANDLER_LINUX_H_ diff --git a/runtime/bin/eventhandler_macos.h b/runtime/bin/eventhandler_macos.h index b84659482a8..fbeac807f7d 100644 --- a/runtime/bin/eventhandler_macos.h +++ b/runtime/bin/eventhandler_macos.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_EVENTHANDLER_MACOS_H_ -#define BIN_EVENTHANDLER_MACOS_H_ +#ifndef RUNTIME_BIN_EVENTHANDLER_MACOS_H_ +#define RUNTIME_BIN_EVENTHANDLER_MACOS_H_ -#if !defined(BIN_EVENTHANDLER_H_) +#if !defined(RUNTIME_BIN_EVENTHANDLER_H_) #error Do not include eventhandler_macos.h directly; use eventhandler.h instead. #endif @@ -115,4 +115,4 @@ class EventHandlerImplementation { } // namespace bin } // namespace dart -#endif // BIN_EVENTHANDLER_MACOS_H_ +#endif // RUNTIME_BIN_EVENTHANDLER_MACOS_H_ diff --git a/runtime/bin/eventhandler_win.h b/runtime/bin/eventhandler_win.h index 9daff936e48..4ad750102d8 100644 --- a/runtime/bin/eventhandler_win.h +++ b/runtime/bin/eventhandler_win.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_EVENTHANDLER_WIN_H_ -#define BIN_EVENTHANDLER_WIN_H_ +#ifndef RUNTIME_BIN_EVENTHANDLER_WIN_H_ +#define RUNTIME_BIN_EVENTHANDLER_WIN_H_ -#if !defined(BIN_EVENTHANDLER_H_) +#if !defined(RUNTIME_BIN_EVENTHANDLER_H_) #error Do not include eventhandler_win.h directly; use eventhandler.h instead. #endif @@ -553,4 +553,4 @@ class EventHandlerImplementation { } // namespace bin } // namespace dart -#endif // BIN_EVENTHANDLER_WIN_H_ +#endif // RUNTIME_BIN_EVENTHANDLER_WIN_H_ diff --git a/runtime/bin/extensions.h b/runtime/bin/extensions.h index bcbcac3c7f8..3739c434f4e 100644 --- a/runtime/bin/extensions.h +++ b/runtime/bin/extensions.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_EXTENSIONS_H_ -#define BIN_EXTENSIONS_H_ +#ifndef RUNTIME_BIN_EXTENSIONS_H_ +#define RUNTIME_BIN_EXTENSIONS_H_ #include "include/dart_api.h" #include "platform/globals.h" @@ -41,4 +41,4 @@ class Extensions { } // namespace bin } // namespace dart -#endif // BIN_EXTENSIONS_H_ +#endif // RUNTIME_BIN_EXTENSIONS_H_ diff --git a/runtime/bin/fdutils.h b/runtime/bin/fdutils.h index 93bebfb1ec1..25cd4dda7cb 100644 --- a/runtime/bin/fdutils.h +++ b/runtime/bin/fdutils.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_FDUTILS_H_ -#define BIN_FDUTILS_H_ +#ifndef RUNTIME_BIN_FDUTILS_H_ +#define RUNTIME_BIN_FDUTILS_H_ #include "bin/builtin.h" #include "platform/globals.h" @@ -47,4 +47,4 @@ class FDUtils { } // namespace bin } // namespace dart -#endif // BIN_FDUTILS_H_ +#endif // RUNTIME_BIN_FDUTILS_H_ diff --git a/runtime/bin/file.h b/runtime/bin/file.h index aa37ba57d08..3cce143d95a 100644 --- a/runtime/bin/file.h +++ b/runtime/bin/file.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_FILE_H_ -#define BIN_FILE_H_ +#ifndef RUNTIME_BIN_FILE_H_ +#define RUNTIME_BIN_FILE_H_ #include #include @@ -243,4 +243,4 @@ class File : public ReferenceCounted { } // namespace bin } // namespace dart -#endif // BIN_FILE_H_ +#endif // RUNTIME_BIN_FILE_H_ diff --git a/runtime/bin/file_system_watcher.h b/runtime/bin/file_system_watcher.h index 5026da71e38..6bad4717e0d 100644 --- a/runtime/bin/file_system_watcher.h +++ b/runtime/bin/file_system_watcher.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_FILE_SYSTEM_WATCHER_H_ -#define BIN_FILE_SYSTEM_WATCHER_H_ +#ifndef RUNTIME_BIN_FILE_SYSTEM_WATCHER_H_ +#define RUNTIME_BIN_FILE_SYSTEM_WATCHER_H_ #if defined(DART_IO_DISABLED) #error "file_system_watcher.h can only be included on builds with IO enabled" @@ -57,5 +57,5 @@ class FileSystemWatcher { } // namespace bin } // namespace dart -#endif // BIN_FILE_SYSTEM_WATCHER_H_ +#endif // RUNTIME_BIN_FILE_SYSTEM_WATCHER_H_ diff --git a/runtime/bin/filter.h b/runtime/bin/filter.h index 28c229f378b..54693c0e49e 100644 --- a/runtime/bin/filter.h +++ b/runtime/bin/filter.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_FILTER_H_ -#define BIN_FILTER_H_ +#ifndef RUNTIME_BIN_FILTER_H_ +#define RUNTIME_BIN_FILTER_H_ #if defined(DART_IO_DISABLED) #error "filter.h can only be included on builds with IO enabled" @@ -113,4 +113,4 @@ class ZLibInflateFilter : public Filter { } // namespace bin } // namespace dart -#endif // BIN_FILTER_H_ +#endif // RUNTIME_BIN_FILTER_H_ diff --git a/runtime/bin/io_buffer.h b/runtime/bin/io_buffer.h index fe389320c65..ddd60d446ec 100644 --- a/runtime/bin/io_buffer.h +++ b/runtime/bin/io_buffer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_IO_BUFFER_H_ -#define BIN_IO_BUFFER_H_ +#ifndef RUNTIME_BIN_IO_BUFFER_H_ +#define RUNTIME_BIN_IO_BUFFER_H_ #include "include/dart_api.h" #include "platform/globals.h" @@ -41,4 +41,4 @@ class IOBuffer { } // namespace bin } // namespace dart -#endif // BIN_IO_BUFFER_H_ +#endif // RUNTIME_BIN_IO_BUFFER_H_ diff --git a/runtime/bin/io_natives.h b/runtime/bin/io_natives.h index c17dce5a1b3..0c64e592eaf 100644 --- a/runtime/bin/io_natives.h +++ b/runtime/bin/io_natives.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_IO_NATIVES_H_ -#define BIN_IO_NATIVES_H_ +#ifndef RUNTIME_BIN_IO_NATIVES_H_ +#define RUNTIME_BIN_IO_NATIVES_H_ #include "include/dart_api.h" @@ -19,4 +19,4 @@ const uint8_t* IONativeSymbol(Dart_NativeFunction nf); } // namespace bin } // namespace dart -#endif // BIN_IO_NATIVES_H_ +#endif // RUNTIME_BIN_IO_NATIVES_H_ diff --git a/runtime/bin/io_service.h b/runtime/bin/io_service.h index 209561a637f..01d6eac616f 100644 --- a/runtime/bin/io_service.h +++ b/runtime/bin/io_service.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_IO_SERVICE_H_ -#define BIN_IO_SERVICE_H_ +#ifndef RUNTIME_BIN_IO_SERVICE_H_ +#define RUNTIME_BIN_IO_SERVICE_H_ #if defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) #error "io_service.h can only be included on builds with IO and SSL enabled" @@ -77,4 +77,4 @@ IO_SERVICE_REQUEST_LIST(DECLARE_REQUEST) } // namespace bin } // namespace dart -#endif // BIN_IO_SERVICE_H_ +#endif // RUNTIME_BIN_IO_SERVICE_H_ diff --git a/runtime/bin/io_service_no_ssl.h b/runtime/bin/io_service_no_ssl.h index b8cb5451cfa..ae3d0c2d1dc 100644 --- a/runtime/bin/io_service_no_ssl.h +++ b/runtime/bin/io_service_no_ssl.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_IO_SERVICE_NO_SSL_H_ -#define BIN_IO_SERVICE_NO_SSL_H_ +#ifndef RUNTIME_BIN_IO_SERVICE_NO_SSL_H_ +#define RUNTIME_BIN_IO_SERVICE_NO_SSL_H_ #if defined(DART_IO_DISABLED) || !defined(DART_IO_SECURE_SOCKET_DISABLED) #error "io_service_no_ssl.h can only be included on builds with IO enabled" @@ -78,4 +78,4 @@ IO_SERVICE_REQUEST_LIST(DECLARE_REQUEST) } // namespace bin } // namespace dart -#endif // BIN_IO_SERVICE_NO_SSL_H_ +#endif // RUNTIME_BIN_IO_SERVICE_NO_SSL_H_ diff --git a/runtime/bin/isolate_data.h b/runtime/bin/isolate_data.h index bb60740c802..fe76e51d89f 100644 --- a/runtime/bin/isolate_data.h +++ b/runtime/bin/isolate_data.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_ISOLATE_DATA_H_ -#define BIN_ISOLATE_DATA_H_ +#ifndef RUNTIME_BIN_ISOLATE_DATA_H_ +#define RUNTIME_BIN_ISOLATE_DATA_H_ #include "include/dart_api.h" #include "platform/assert.h" @@ -97,4 +97,4 @@ class IsolateData { } // namespace bin } // namespace dart -#endif // BIN_ISOLATE_DATA_H_ +#endif // RUNTIME_BIN_ISOLATE_DATA_H_ diff --git a/runtime/bin/loader.h b/runtime/bin/loader.h index 4fe6ac09a30..6ddf49f566d 100644 --- a/runtime/bin/loader.h +++ b/runtime/bin/loader.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_LOADER_H_ -#define BIN_LOADER_H_ +#ifndef RUNTIME_BIN_LOADER_H_ +#define RUNTIME_BIN_LOADER_H_ #include "bin/isolate_data.h" #include "include/dart_api.h" @@ -146,4 +146,4 @@ class Loader { } // namespace bin } // namespace dart -#endif // BIN_LOADER_H_ +#endif // RUNTIME_BIN_LOADER_H_ diff --git a/runtime/bin/lockers.h b/runtime/bin/lockers.h index 0aefd9920a6..836eedaa9ec 100644 --- a/runtime/bin/lockers.h +++ b/runtime/bin/lockers.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_LOCKERS_H_ -#define BIN_LOCKERS_H_ +#ifndef RUNTIME_BIN_LOCKERS_H_ +#define RUNTIME_BIN_LOCKERS_H_ #include "bin/thread.h" #include "platform/assert.h" @@ -61,4 +61,4 @@ class MonitorLocker { } // namespace bin } // namespace dart -#endif // BIN_LOCKERS_H_ +#endif // RUNTIME_BIN_LOCKERS_H_ diff --git a/runtime/bin/log.h b/runtime/bin/log.h index 51a43797e4d..022dd1b7a3f 100644 --- a/runtime/bin/log.h +++ b/runtime/bin/log.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_LOG_H_ -#define BIN_LOG_H_ +#ifndef RUNTIME_BIN_LOG_H_ +#define RUNTIME_BIN_LOG_H_ #include @@ -41,4 +41,4 @@ class Log { } // namespace bin } // namespace dart -#endif // BIN_LOG_H_ +#endif // RUNTIME_BIN_LOG_H_ diff --git a/runtime/bin/platform.h b/runtime/bin/platform.h index 1f52ef96d41..cf220e44350 100644 --- a/runtime/bin/platform.h +++ b/runtime/bin/platform.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_PLATFORM_H_ -#define BIN_PLATFORM_H_ +#ifndef RUNTIME_BIN_PLATFORM_H_ +#define RUNTIME_BIN_PLATFORM_H_ #include "bin/builtin.h" #include "platform/globals.h" @@ -107,4 +107,4 @@ class Platform { } // namespace bin } // namespace dart -#endif // BIN_PLATFORM_H_ +#endif // RUNTIME_BIN_PLATFORM_H_ diff --git a/runtime/bin/process.h b/runtime/bin/process.h index 359c8c1d6eb..2886e71d7c8 100644 --- a/runtime/bin/process.h +++ b/runtime/bin/process.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_PROCESS_H_ -#define BIN_PROCESS_H_ +#ifndef RUNTIME_BIN_PROCESS_H_ +#define RUNTIME_BIN_PROCESS_H_ #include "bin/builtin.h" #include "bin/io_buffer.h" @@ -294,4 +294,4 @@ class BufferListBase { } // namespace bin } // namespace dart -#endif // BIN_PROCESS_H_ +#endif // RUNTIME_BIN_PROCESS_H_ diff --git a/runtime/bin/reference_counting.h b/runtime/bin/reference_counting.h index 8e79f4fc572..6a6a9e694e0 100644 --- a/runtime/bin/reference_counting.h +++ b/runtime/bin/reference_counting.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_REFERENCE_COUNTING_H_ -#define BIN_REFERENCE_COUNTING_H_ +#ifndef RUNTIME_BIN_REFERENCE_COUNTING_H_ +#define RUNTIME_BIN_REFERENCE_COUNTING_H_ #include "vm/atomic.h" @@ -156,4 +156,4 @@ class RetainedPointer { } // namespace bin } // namespace dart -#endif // BIN_REFERENCE_COUNTING_H_ +#endif // RUNTIME_BIN_REFERENCE_COUNTING_H_ diff --git a/runtime/bin/secure_socket.h b/runtime/bin/secure_socket.h index 5dfee9e412c..e01df4111cf 100644 --- a/runtime/bin/secure_socket.h +++ b/runtime/bin/secure_socket.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_SECURE_SOCKET_H_ -#define BIN_SECURE_SOCKET_H_ +#ifndef RUNTIME_BIN_SECURE_SOCKET_H_ +#define RUNTIME_BIN_SECURE_SOCKET_H_ #if defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) #error "secure_socket.h can only be included on builds with SSL enabled" @@ -24,4 +24,4 @@ #error Unknown target os. #endif -#endif // BIN_SECURE_SOCKET_H_ +#endif // RUNTIME_BIN_SECURE_SOCKET_H_ diff --git a/runtime/bin/secure_socket_boringssl.h b/runtime/bin/secure_socket_boringssl.h index 788b2577ee3..fe7bd8df325 100644 --- a/runtime/bin/secure_socket_boringssl.h +++ b/runtime/bin/secure_socket_boringssl.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_SECURE_SOCKET_BORINGSSL_H_ -#define BIN_SECURE_SOCKET_BORINGSSL_H_ +#ifndef RUNTIME_BIN_SECURE_SOCKET_BORINGSSL_H_ +#define RUNTIME_BIN_SECURE_SOCKET_BORINGSSL_H_ -#if !defined(BIN_SECURE_SOCKET_H_) +#if !defined(RUNTIME_BIN_SECURE_SOCKET_H_) #error Do not include secure_socket_boringssl.h directly. Use secure_socket.h. #endif @@ -162,4 +162,4 @@ class SSLFilter : public ReferenceCounted { } // namespace bin } // namespace dart -#endif // BIN_SECURE_SOCKET_BORINGSSL_H_ +#endif // RUNTIME_BIN_SECURE_SOCKET_BORINGSSL_H_ diff --git a/runtime/bin/secure_socket_ios.h b/runtime/bin/secure_socket_ios.h index d67de71e6a3..84e46e157bf 100644 --- a/runtime/bin/secure_socket_ios.h +++ b/runtime/bin/secure_socket_ios.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_SECURE_SOCKET_IOS_H_ -#define BIN_SECURE_SOCKET_IOS_H_ +#ifndef RUNTIME_BIN_SECURE_SOCKET_IOS_H_ +#define RUNTIME_BIN_SECURE_SOCKET_IOS_H_ -#if !defined(BIN_SECURE_SOCKET_H_) +#if !defined(RUNTIME_BIN_SECURE_SOCKET_H_) #error Do not include secure_socket_macos.h directly. Use secure_socket.h. #endif @@ -237,4 +237,4 @@ class SSLFilter : public ReferenceCounted { } // namespace bin } // namespace dart -#endif // BIN_SECURE_SOCKET_IOS_H_ +#endif // RUNTIME_BIN_SECURE_SOCKET_IOS_H_ diff --git a/runtime/bin/secure_socket_macos.h b/runtime/bin/secure_socket_macos.h index b4fe635fd4d..ae8f2e84b9a 100644 --- a/runtime/bin/secure_socket_macos.h +++ b/runtime/bin/secure_socket_macos.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_SECURE_SOCKET_MACOS_H_ -#define BIN_SECURE_SOCKET_MACOS_H_ +#ifndef RUNTIME_BIN_SECURE_SOCKET_MACOS_H_ +#define RUNTIME_BIN_SECURE_SOCKET_MACOS_H_ -#if !defined(BIN_SECURE_SOCKET_H_) +#if !defined(RUNTIME_BIN_SECURE_SOCKET_H_) #error Do not include secure_socket_macos.h directly. Use secure_socket.h. #endif @@ -278,4 +278,4 @@ class SSLFilter : public ReferenceCounted { } // namespace bin } // namespace dart -#endif // BIN_SECURE_SOCKET_MACOS_H_ +#endif // RUNTIME_BIN_SECURE_SOCKET_MACOS_H_ diff --git a/runtime/bin/socket.h b/runtime/bin/socket.h index ea8dade6651..7b3985eb555 100644 --- a/runtime/bin/socket.h +++ b/runtime/bin/socket.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_SOCKET_H_ -#define BIN_SOCKET_H_ +#ifndef RUNTIME_BIN_SOCKET_H_ +#define RUNTIME_BIN_SOCKET_H_ #if defined(DART_IO_DISABLED) #error "socket.h can only be included on builds with IO enabled" @@ -475,4 +475,4 @@ class ListeningSocketRegistry { } // namespace bin } // namespace dart -#endif // BIN_SOCKET_H_ +#endif // RUNTIME_BIN_SOCKET_H_ diff --git a/runtime/bin/socket_android.h b/runtime/bin/socket_android.h index 13ff16ebf62..43fddc14aee 100644 --- a/runtime/bin/socket_android.h +++ b/runtime/bin/socket_android.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_SOCKET_ANDROID_H_ -#define BIN_SOCKET_ANDROID_H_ +#ifndef RUNTIME_BIN_SOCKET_ANDROID_H_ +#define RUNTIME_BIN_SOCKET_ANDROID_H_ -#if !defined(BIN_SOCKET_H_) +#if !defined(RUNTIME_BIN_SOCKET_H_) #error Do not include socket_android.h directly. Use socket.h. #endif @@ -13,4 +13,4 @@ #include #include -#endif // BIN_SOCKET_ANDROID_H_ +#endif // RUNTIME_BIN_SOCKET_ANDROID_H_ diff --git a/runtime/bin/socket_fuchsia.h b/runtime/bin/socket_fuchsia.h index 82f891681d0..64c8545e101 100644 --- a/runtime/bin/socket_fuchsia.h +++ b/runtime/bin/socket_fuchsia.h @@ -2,11 +2,11 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_SOCKET_FUCHSIA_H_ -#define BIN_SOCKET_FUCHSIA_H_ +#ifndef RUNTIME_BIN_SOCKET_FUCHSIA_H_ +#define RUNTIME_BIN_SOCKET_FUCHSIA_H_ -#if !defined(BIN_SOCKET_H_) +#if !defined(RUNTIME_BIN_SOCKET_H_) #error Do not include socket_fuchsia.h directly. Use socket.h. #endif -#endif // BIN_SOCKET_FUCHSIA_H_ +#endif // RUNTIME_BIN_SOCKET_FUCHSIA_H_ diff --git a/runtime/bin/socket_linux.h b/runtime/bin/socket_linux.h index 5d073c490dd..e153f882829 100644 --- a/runtime/bin/socket_linux.h +++ b/runtime/bin/socket_linux.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_SOCKET_LINUX_H_ -#define BIN_SOCKET_LINUX_H_ +#ifndef RUNTIME_BIN_SOCKET_LINUX_H_ +#define RUNTIME_BIN_SOCKET_LINUX_H_ -#if !defined(BIN_SOCKET_H_) +#if !defined(RUNTIME_BIN_SOCKET_H_) #error Do not include socket_linux.h directly. Use socket.h. #endif @@ -13,4 +13,4 @@ #include #include -#endif // BIN_SOCKET_LINUX_H_ +#endif // RUNTIME_BIN_SOCKET_LINUX_H_ diff --git a/runtime/bin/socket_macos.h b/runtime/bin/socket_macos.h index dce6d9710b4..b3ab619a460 100644 --- a/runtime/bin/socket_macos.h +++ b/runtime/bin/socket_macos.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_SOCKET_MACOS_H_ -#define BIN_SOCKET_MACOS_H_ +#ifndef RUNTIME_BIN_SOCKET_MACOS_H_ +#define RUNTIME_BIN_SOCKET_MACOS_H_ -#if !defined(BIN_SOCKET_H_) +#if !defined(RUNTIME_BIN_SOCKET_H_) #error Do not include socket_macos.h directly. Use socket.h. #endif @@ -13,4 +13,4 @@ #include #include -#endif // BIN_SOCKET_MACOS_H_ +#endif // RUNTIME_BIN_SOCKET_MACOS_H_ diff --git a/runtime/bin/socket_win.h b/runtime/bin/socket_win.h index 7b71e384fb0..38aeea2d3a0 100644 --- a/runtime/bin/socket_win.h +++ b/runtime/bin/socket_win.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_SOCKET_WIN_H_ -#define BIN_SOCKET_WIN_H_ +#ifndef RUNTIME_BIN_SOCKET_WIN_H_ +#define RUNTIME_BIN_SOCKET_WIN_H_ -#if !defined(BIN_SOCKET_H_) +#if !defined(RUNTIME_BIN_SOCKET_H_) #error Do not include socket_win.h directly. Use socket.h. #endif @@ -14,4 +14,4 @@ #include #include -#endif // BIN_SOCKET_WIN_H_ +#endif // RUNTIME_BIN_SOCKET_WIN_H_ diff --git a/runtime/bin/stdio.h b/runtime/bin/stdio.h index 55884dfade1..9bf079a0dbd 100644 --- a/runtime/bin/stdio.h +++ b/runtime/bin/stdio.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_STDIO_H_ -#define BIN_STDIO_H_ +#ifndef RUNTIME_BIN_STDIO_H_ +#define RUNTIME_BIN_STDIO_H_ #if defined(DART_IO_DISABLED) #error "stdio.h can only be included on builds with IO enabled" @@ -45,4 +45,4 @@ class Stdout { } // namespace bin } // namespace dart -#endif // BIN_STDIO_H_ +#endif // RUNTIME_BIN_STDIO_H_ diff --git a/runtime/bin/thread.h b/runtime/bin/thread.h index 37a4b9febfc..365cd952d9a 100644 --- a/runtime/bin/thread.h +++ b/runtime/bin/thread.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_THREAD_H_ -#define BIN_THREAD_H_ +#ifndef RUNTIME_BIN_THREAD_H_ +#define RUNTIME_BIN_THREAD_H_ #include "platform/globals.h" @@ -114,4 +114,4 @@ class Monitor { } // namespace dart -#endif // BIN_THREAD_H_ +#endif // RUNTIME_BIN_THREAD_H_ diff --git a/runtime/bin/thread_android.h b/runtime/bin/thread_android.h index 2551c018049..154339c6200 100644 --- a/runtime/bin/thread_android.h +++ b/runtime/bin/thread_android.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_THREAD_ANDROID_H_ -#define BIN_THREAD_ANDROID_H_ +#ifndef RUNTIME_BIN_THREAD_ANDROID_H_ +#define RUNTIME_BIN_THREAD_ANDROID_H_ -#if !defined(BIN_THREAD_H_) +#if !defined(RUNTIME_BIN_THREAD_H_) #error Do not include thread_android.h directly; use thread.h instead. #endif @@ -74,4 +74,4 @@ class MonitorData { } // namespace bin } // namespace dart -#endif // BIN_THREAD_ANDROID_H_ +#endif // RUNTIME_BIN_THREAD_ANDROID_H_ diff --git a/runtime/bin/thread_fuchsia.h b/runtime/bin/thread_fuchsia.h index 61687198b1d..2923a514bb5 100644 --- a/runtime/bin/thread_fuchsia.h +++ b/runtime/bin/thread_fuchsia.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_THREAD_FUCHSIA_H_ -#define BIN_THREAD_FUCHSIA_H_ +#ifndef RUNTIME_BIN_THREAD_FUCHSIA_H_ +#define RUNTIME_BIN_THREAD_FUCHSIA_H_ -#if !defined(BIN_THREAD_H_) +#if !defined(RUNTIME_BIN_THREAD_H_) #error Do not include thread_fuchsia.h directly; use thread.h instead. #endif @@ -74,4 +74,4 @@ class MonitorData { } // namespace bin } // namespace dart -#endif // BIN_THREAD_FUCHSIA_H_ +#endif // RUNTIME_BIN_THREAD_FUCHSIA_H_ diff --git a/runtime/bin/thread_linux.h b/runtime/bin/thread_linux.h index 9f4093cc3b5..403c353794e 100644 --- a/runtime/bin/thread_linux.h +++ b/runtime/bin/thread_linux.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_THREAD_LINUX_H_ -#define BIN_THREAD_LINUX_H_ +#ifndef RUNTIME_BIN_THREAD_LINUX_H_ +#define RUNTIME_BIN_THREAD_LINUX_H_ -#if !defined(BIN_THREAD_H_) +#if !defined(RUNTIME_BIN_THREAD_H_) #error Do not include thread_linux.h directly; use thread.h instead. #endif @@ -74,4 +74,4 @@ class MonitorData { } // namespace bin } // namespace dart -#endif // BIN_THREAD_LINUX_H_ +#endif // RUNTIME_BIN_THREAD_LINUX_H_ diff --git a/runtime/bin/thread_macos.h b/runtime/bin/thread_macos.h index a074896c678..419bc8b76b6 100644 --- a/runtime/bin/thread_macos.h +++ b/runtime/bin/thread_macos.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_THREAD_MACOS_H_ -#define BIN_THREAD_MACOS_H_ +#ifndef RUNTIME_BIN_THREAD_MACOS_H_ +#define RUNTIME_BIN_THREAD_MACOS_H_ -#if !defined(BIN_THREAD_H_) +#if !defined(RUNTIME_BIN_THREAD_H_) #error Do not include thread_macos.h directly; use thread.h instead. #endif @@ -74,4 +74,4 @@ class MonitorData { } // namespace bin } // namespace dart -#endif // BIN_THREAD_MACOS_H_ +#endif // RUNTIME_BIN_THREAD_MACOS_H_ diff --git a/runtime/bin/thread_win.h b/runtime/bin/thread_win.h index 5e1dba51b79..85ab38f1a51 100644 --- a/runtime/bin/thread_win.h +++ b/runtime/bin/thread_win.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_THREAD_WIN_H_ -#define BIN_THREAD_WIN_H_ +#ifndef RUNTIME_BIN_THREAD_WIN_H_ +#define RUNTIME_BIN_THREAD_WIN_H_ -#if !defined(BIN_THREAD_H_) +#if !defined(RUNTIME_BIN_THREAD_H_) #error Do not include thread_win.h directly; use thread.h instead. #endif @@ -119,4 +119,4 @@ class MonitorData { } // namespace bin } // namespace dart -#endif // BIN_THREAD_WIN_H_ +#endif // RUNTIME_BIN_THREAD_WIN_H_ diff --git a/runtime/bin/utils.h b/runtime/bin/utils.h index 5311d361e65..18b1db216c0 100644 --- a/runtime/bin/utils.h +++ b/runtime/bin/utils.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_UTILS_H_ -#define BIN_UTILS_H_ +#ifndef RUNTIME_BIN_UTILS_H_ +#define RUNTIME_BIN_UTILS_H_ #include #include @@ -123,4 +123,4 @@ class TimerUtils { } // namespace bin } // namespace dart -#endif // BIN_UTILS_H_ +#endif // RUNTIME_BIN_UTILS_H_ diff --git a/runtime/bin/utils_win.h b/runtime/bin/utils_win.h index 3e7fa4c982e..2f63faf1297 100644 --- a/runtime/bin/utils_win.h +++ b/runtime/bin/utils_win.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_UTILS_WIN_H_ -#define BIN_UTILS_WIN_H_ +#ifndef RUNTIME_BIN_UTILS_WIN_H_ +#define RUNTIME_BIN_UTILS_WIN_H_ #include "platform/globals.h" @@ -95,4 +95,4 @@ class Utf8ToWideScope { } // namespace bin } // namespace dart -#endif // BIN_UTILS_WIN_H_ +#endif // RUNTIME_BIN_UTILS_WIN_H_ diff --git a/runtime/bin/vmservice_dartium.h b/runtime/bin/vmservice_dartium.h index 11067ee2cf7..b1287f8431b 100644 --- a/runtime/bin/vmservice_dartium.h +++ b/runtime/bin/vmservice_dartium.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_VMSERVICE_DARTIUM_H_ -#define BIN_VMSERVICE_DARTIUM_H_ +#ifndef RUNTIME_BIN_VMSERVICE_DARTIUM_H_ +#define RUNTIME_BIN_VMSERVICE_DARTIUM_H_ /* In order to avoid conflicts / issues with blink, no headers are included */ @@ -38,4 +38,4 @@ class VmServiceServer { } // namespace bin } // namespace dart -#endif // BIN_VMSERVICE_DARTIUM_H_ +#endif // RUNTIME_BIN_VMSERVICE_DARTIUM_H_ diff --git a/runtime/bin/vmservice_impl.h b/runtime/bin/vmservice_impl.h index f499abfd41b..5c03c33d19f 100644 --- a/runtime/bin/vmservice_impl.h +++ b/runtime/bin/vmservice_impl.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef BIN_VMSERVICE_IMPL_H_ -#define BIN_VMSERVICE_IMPL_H_ +#ifndef RUNTIME_BIN_VMSERVICE_IMPL_H_ +#define RUNTIME_BIN_VMSERVICE_IMPL_H_ #include "include/dart_api.h" @@ -59,4 +59,4 @@ class VmService { } // namespace bin } // namespace dart -#endif // BIN_VMSERVICE_IMPL_H_ +#endif // RUNTIME_BIN_VMSERVICE_IMPL_H_ diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h index 25db8c4b0b4..105bb66a4b7 100755 --- a/runtime/include/dart_api.h +++ b/runtime/include/dart_api.h @@ -4,8 +4,8 @@ * BSD-style license that can be found in the LICENSE file. */ -#ifndef INCLUDE_DART_API_H_ -#define INCLUDE_DART_API_H_ +#ifndef RUNTIME_INCLUDE_DART_API_H_ +#define RUNTIME_INCLUDE_DART_API_H_ /** \mainpage Dart Embedding API Reference * diff --git a/runtime/include/dart_mirrors_api.h b/runtime/include/dart_mirrors_api.h index 3a4c9ce772a..e0f57e0bcc0 100644 --- a/runtime/include/dart_mirrors_api.h +++ b/runtime/include/dart_mirrors_api.h @@ -4,8 +4,8 @@ * BSD-style license that can be found in the LICENSE file. */ -#ifndef INCLUDE_DART_MIRRORS_API_H_ -#define INCLUDE_DART_MIRRORS_API_H_ +#ifndef RUNTIME_INCLUDE_DART_MIRRORS_API_H_ +#define RUNTIME_INCLUDE_DART_MIRRORS_API_H_ #include "include/dart_api.h" diff --git a/runtime/include/dart_native_api.h b/runtime/include/dart_native_api.h index 74237c170e1..f1e0ca108f8 100644 --- a/runtime/include/dart_native_api.h +++ b/runtime/include/dart_native_api.h @@ -4,8 +4,8 @@ * BSD-style license that can be found in the LICENSE file. */ -#ifndef INCLUDE_DART_NATIVE_API_H_ -#define INCLUDE_DART_NATIVE_API_H_ +#ifndef RUNTIME_INCLUDE_DART_NATIVE_API_H_ +#define RUNTIME_INCLUDE_DART_NATIVE_API_H_ #include "include/dart_api.h" diff --git a/runtime/include/dart_tools_api.h b/runtime/include/dart_tools_api.h index edf8918e17b..73c923e51e2 100644 --- a/runtime/include/dart_tools_api.h +++ b/runtime/include/dart_tools_api.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef INCLUDE_DART_TOOLS_API_H_ -#define INCLUDE_DART_TOOLS_API_H_ +#ifndef RUNTIME_INCLUDE_DART_TOOLS_API_H_ +#define RUNTIME_INCLUDE_DART_TOOLS_API_H_ #include "include/dart_api.h" @@ -1087,4 +1087,4 @@ DART_EXPORT void Dart_SetEmbedderTimelineCallbacks( Dart_EmbedderTimelineStartRecording start_recording, Dart_EmbedderTimelineStopRecording stop_recording); -#endif // INCLUDE_DART_TOOLS_API_H_ +#endif // RUNTIME_INCLUDE_DART_TOOLS_API_H_ diff --git a/runtime/lib/invocation_mirror.h b/runtime/lib/invocation_mirror.h index 78d1ba453ad..b2b152e8662 100644 --- a/runtime/lib/invocation_mirror.h +++ b/runtime/lib/invocation_mirror.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef LIB_INVOCATION_MIRROR_H_ -#define LIB_INVOCATION_MIRROR_H_ +#ifndef RUNTIME_LIB_INVOCATION_MIRROR_H_ +#define RUNTIME_LIB_INVOCATION_MIRROR_H_ #include "vm/allocation.h" @@ -47,4 +47,4 @@ class InvocationMirror : public AllStatic { } // namespace dart -#endif // LIB_INVOCATION_MIRROR_H_ +#endif // RUNTIME_LIB_INVOCATION_MIRROR_H_ diff --git a/runtime/lib/mirrors.h b/runtime/lib/mirrors.h index 40bd5d5d29a..31f0d22527d 100644 --- a/runtime/lib/mirrors.h +++ b/runtime/lib/mirrors.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef LIB_MIRRORS_H_ -#define LIB_MIRRORS_H_ +#ifndef RUNTIME_LIB_MIRRORS_H_ +#define RUNTIME_LIB_MIRRORS_H_ #include "vm/allocation.h" @@ -32,4 +32,4 @@ class Mirrors : public AllStatic { } // namespace dart -#endif // LIB_MIRRORS_H_ +#endif // RUNTIME_LIB_MIRRORS_H_ diff --git a/runtime/lib/stacktrace.h b/runtime/lib/stacktrace.h index c3b16e4a01a..e6bccae5106 100644 --- a/runtime/lib/stacktrace.h +++ b/runtime/lib/stacktrace.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef LIB_STACKTRACE_H_ -#define LIB_STACKTRACE_H_ +#ifndef RUNTIME_LIB_STACKTRACE_H_ +#define RUNTIME_LIB_STACKTRACE_H_ namespace dart { @@ -18,4 +18,4 @@ const Stacktrace& GetCurrentStacktrace(int skip_frames); } // namespace dart -#endif // LIB_STACKTRACE_H_ +#endif // RUNTIME_LIB_STACKTRACE_H_ diff --git a/runtime/platform/address_sanitizer.h b/runtime/platform/address_sanitizer.h index 37346fcc1ea..584f3a52395 100644 --- a/runtime/platform/address_sanitizer.h +++ b/runtime/platform/address_sanitizer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_ADDRESS_SANITIZER_H_ -#define PLATFORM_ADDRESS_SANITIZER_H_ +#ifndef RUNTIME_PLATFORM_ADDRESS_SANITIZER_H_ +#define RUNTIME_PLATFORM_ADDRESS_SANITIZER_H_ #include "platform/globals.h" @@ -20,4 +20,4 @@ extern "C" void __asan_unpoison_memory_region(void *, size_t); #define ASAN_UNPOISON(ptr, len) do {} while (false && (ptr) == 0 && (len) == 0) #endif // defined(__has_feature) -#endif // PLATFORM_ADDRESS_SANITIZER_H_ +#endif // RUNTIME_PLATFORM_ADDRESS_SANITIZER_H_ diff --git a/runtime/platform/assert.h b/runtime/platform/assert.h index 81cb7f11039..1d353277d53 100644 --- a/runtime/platform/assert.h +++ b/runtime/platform/assert.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_ASSERT_H_ -#define PLATFORM_ASSERT_H_ +#ifndef RUNTIME_PLATFORM_ASSERT_H_ +#define RUNTIME_PLATFORM_ASSERT_H_ // TODO(5411406): include sstream for now, once we have a Utils::toString() // implemented for all the primitive types we can replace the usage of @@ -379,4 +379,4 @@ struct CompileAssert { #endif // defined(TESTING) -#endif // PLATFORM_ASSERT_H_ +#endif // RUNTIME_PLATFORM_ASSERT_H_ diff --git a/runtime/platform/c99_support_win.h b/runtime/platform/c99_support_win.h index c01c248d6d4..d90f34dfe36 100644 --- a/runtime/platform/c99_support_win.h +++ b/runtime/platform/c99_support_win.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_C99_SUPPORT_WIN_H_ -#define PLATFORM_C99_SUPPORT_WIN_H_ +#ifndef RUNTIME_PLATFORM_C99_SUPPORT_WIN_H_ +#define RUNTIME_PLATFORM_C99_SUPPORT_WIN_H_ #if defined(_MSC_VER) && (_MSC_VER < 1800) @@ -79,4 +79,4 @@ static inline double round(double x) { #endif -#endif // PLATFORM_C99_SUPPORT_WIN_H_ +#endif // RUNTIME_PLATFORM_C99_SUPPORT_WIN_H_ diff --git a/runtime/platform/floating_point.h b/runtime/platform/floating_point.h index 7adaa733954..24d2f9c17bf 100644 --- a/runtime/platform/floating_point.h +++ b/runtime/platform/floating_point.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_FLOATING_POINT_H_ -#define PLATFORM_FLOATING_POINT_H_ +#ifndef RUNTIME_PLATFORM_FLOATING_POINT_H_ +#define RUNTIME_PLATFORM_FLOATING_POINT_H_ inline double fmod_ieee(double x, double y) { return fmod(x, y); } inline double atan2_ieee(double y, double x) { return atan2(y, x); } -#endif // PLATFORM_FLOATING_POINT_H_ +#endif // RUNTIME_PLATFORM_FLOATING_POINT_H_ diff --git a/runtime/platform/floating_point_win.h b/runtime/platform/floating_point_win.h index a97051a1bff..8fab8ae80c5 100644 --- a/runtime/platform/floating_point_win.h +++ b/runtime/platform/floating_point_win.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_FLOATING_POINT_WIN_H_ -#define PLATFORM_FLOATING_POINT_WIN_H_ +#ifndef RUNTIME_PLATFORM_FLOATING_POINT_WIN_H_ +#define RUNTIME_PLATFORM_FLOATING_POINT_WIN_H_ double atan2_ieee(double x, double y); double fmod_ieee(double x, double y); -#endif // PLATFORM_FLOATING_POINT_WIN_H_ +#endif // RUNTIME_PLATFORM_FLOATING_POINT_WIN_H_ diff --git a/runtime/platform/globals.h b/runtime/platform/globals.h index cd01fc549eb..85032215236 100644 --- a/runtime/platform/globals.h +++ b/runtime/platform/globals.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_GLOBALS_H_ -#define PLATFORM_GLOBALS_H_ +#ifndef RUNTIME_PLATFORM_GLOBALS_H_ +#define RUNTIME_PLATFORM_GLOBALS_H_ // __STDC_FORMAT_MACROS has to be defined before including to // enable platform independent printf format specifiers. @@ -713,4 +713,4 @@ static inline T ReadUnaligned(const T* ptr) { } // namespace dart -#endif // PLATFORM_GLOBALS_H_ +#endif // RUNTIME_PLATFORM_GLOBALS_H_ diff --git a/runtime/platform/hashmap.h b/runtime/platform/hashmap.h index 185c75f33b6..1cd8a4a2331 100644 --- a/runtime/platform/hashmap.h +++ b/runtime/platform/hashmap.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_HASHMAP_H_ -#define PLATFORM_HASHMAP_H_ +#ifndef RUNTIME_PLATFORM_HASHMAP_H_ +#define RUNTIME_PLATFORM_HASHMAP_H_ #include "platform/globals.h" @@ -105,4 +105,4 @@ class HashMap { } // namespace dart -#endif // PLATFORM_HASHMAP_H_ +#endif // RUNTIME_PLATFORM_HASHMAP_H_ diff --git a/runtime/platform/inttypes_support_win.h b/runtime/platform/inttypes_support_win.h index 34d83a45a0e..06d4053a65b 100644 --- a/runtime/platform/inttypes_support_win.h +++ b/runtime/platform/inttypes_support_win.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_INTTYPES_SUPPORT_WIN_H_ -#define PLATFORM_INTTYPES_SUPPORT_WIN_H_ +#ifndef RUNTIME_PLATFORM_INTTYPES_SUPPORT_WIN_H_ +#define RUNTIME_PLATFORM_INTTYPES_SUPPORT_WIN_H_ typedef signed __int8 int8_t; typedef signed __int16 int16_t; @@ -24,4 +24,4 @@ typedef unsigned __int64 uint64_t; #define PRIu64 "I64u" #define PRIx64 "I64x" -#endif // PLATFORM_INTTYPES_SUPPORT_WIN_H_ +#endif // RUNTIME_PLATFORM_INTTYPES_SUPPORT_WIN_H_ diff --git a/runtime/platform/math.h b/runtime/platform/math.h index 0dc3400847b..1edf3e3b955 100644 --- a/runtime/platform/math.h +++ b/runtime/platform/math.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_MATH_H_ -#define PLATFORM_MATH_H_ +#ifndef RUNTIME_PLATFORM_MATH_H_ +#define RUNTIME_PLATFORM_MATH_H_ // We must take these math functions from the C++ header file as long as we // are using the STL. Otherwise the Android build will break due to confusion @@ -20,4 +20,4 @@ #include #endif -#endif // PLATFORM_MATH_H_ +#endif // RUNTIME_PLATFORM_MATH_H_ diff --git a/runtime/platform/memory_sanitizer.h b/runtime/platform/memory_sanitizer.h index fe05ed1b380..dddfe311352 100644 --- a/runtime/platform/memory_sanitizer.h +++ b/runtime/platform/memory_sanitizer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_MEMORY_SANITIZER_H_ -#define PLATFORM_MEMORY_SANITIZER_H_ +#ifndef RUNTIME_PLATFORM_MEMORY_SANITIZER_H_ +#define RUNTIME_PLATFORM_MEMORY_SANITIZER_H_ #include "platform/globals.h" @@ -23,4 +23,4 @@ extern "C" void __msan_unpoison(void *, size_t); #define NO_SANITIZE_MEMORY #endif // defined(__has_feature) -#endif // PLATFORM_MEMORY_SANITIZER_H_ +#endif // RUNTIME_PLATFORM_MEMORY_SANITIZER_H_ diff --git a/runtime/platform/signal_blocker.h b/runtime/platform/signal_blocker.h index 45d09aa19c8..28c22ac4b56 100644 --- a/runtime/platform/signal_blocker.h +++ b/runtime/platform/signal_blocker.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_SIGNAL_BLOCKER_H_ -#define PLATFORM_SIGNAL_BLOCKER_H_ +#ifndef RUNTIME_PLATFORM_SIGNAL_BLOCKER_H_ +#define RUNTIME_PLATFORM_SIGNAL_BLOCKER_H_ #include "platform/globals.h" #include "platform/assert.h" @@ -105,4 +105,4 @@ class ThreadSignalBlocker { } // namespace dart -#endif // PLATFORM_SIGNAL_BLOCKER_H_ +#endif // RUNTIME_PLATFORM_SIGNAL_BLOCKER_H_ diff --git a/runtime/platform/text_buffer.h b/runtime/platform/text_buffer.h index 973ca7ec38d..5689f0f0639 100644 --- a/runtime/platform/text_buffer.h +++ b/runtime/platform/text_buffer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_TEXT_BUFFER_H_ -#define PLATFORM_TEXT_BUFFER_H_ +#ifndef RUNTIME_PLATFORM_TEXT_BUFFER_H_ +#define RUNTIME_PLATFORM_TEXT_BUFFER_H_ #include "vm/allocation.h" #include "vm/globals.h" @@ -45,4 +45,4 @@ class TextBuffer : ValueObject { } // namespace dart -#endif // PLATFORM_TEXT_BUFFER_H_ +#endif // RUNTIME_PLATFORM_TEXT_BUFFER_H_ diff --git a/runtime/platform/utils.h b/runtime/platform/utils.h index 65bc14f5854..b67c96e6d59 100644 --- a/runtime/platform/utils.h +++ b/runtime/platform/utils.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_UTILS_H_ -#define PLATFORM_UTILS_H_ +#ifndef RUNTIME_PLATFORM_UTILS_H_ +#define RUNTIME_PLATFORM_UTILS_H_ #include "platform/assert.h" #include "platform/globals.h" @@ -227,4 +227,4 @@ class Utils { #error Unknown target os. #endif -#endif // PLATFORM_UTILS_H_ +#endif // RUNTIME_PLATFORM_UTILS_H_ diff --git a/runtime/platform/utils_android.h b/runtime/platform/utils_android.h index 770944213ed..4bd2a386cf1 100644 --- a/runtime/platform/utils_android.h +++ b/runtime/platform/utils_android.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_UTILS_ANDROID_H_ -#define PLATFORM_UTILS_ANDROID_H_ +#ifndef RUNTIME_PLATFORM_UTILS_ANDROID_H_ +#define RUNTIME_PLATFORM_UTILS_ANDROID_H_ #include // NOLINT @@ -69,4 +69,4 @@ inline char* Utils::StrError(int err, char* buffer, size_t bufsize) { } // namespace dart -#endif // PLATFORM_UTILS_ANDROID_H_ +#endif // RUNTIME_PLATFORM_UTILS_ANDROID_H_ diff --git a/runtime/platform/utils_fuchsia.h b/runtime/platform/utils_fuchsia.h index 575c3dbf587..4143daff125 100644 --- a/runtime/platform/utils_fuchsia.h +++ b/runtime/platform/utils_fuchsia.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_UTILS_FUCHSIA_H_ -#define PLATFORM_UTILS_FUCHSIA_H_ +#ifndef RUNTIME_PLATFORM_UTILS_FUCHSIA_H_ +#define RUNTIME_PLATFORM_UTILS_FUCHSIA_H_ #include @@ -70,4 +70,4 @@ inline char* Utils::StrError(int err, char* buffer, size_t bufsize) { } // namespace dart -#endif // PLATFORM_UTILS_FUCHSIA_H_ +#endif // RUNTIME_PLATFORM_UTILS_FUCHSIA_H_ diff --git a/runtime/platform/utils_linux.h b/runtime/platform/utils_linux.h index bb9594fbdbd..5be126d8cfc 100644 --- a/runtime/platform/utils_linux.h +++ b/runtime/platform/utils_linux.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_UTILS_LINUX_H_ -#define PLATFORM_UTILS_LINUX_H_ +#ifndef RUNTIME_PLATFORM_UTILS_LINUX_H_ +#define RUNTIME_PLATFORM_UTILS_LINUX_H_ #include // NOLINT @@ -77,4 +77,4 @@ inline char* Utils::StrError(int err, char* buffer, size_t bufsize) { } // namespace dart -#endif // PLATFORM_UTILS_LINUX_H_ +#endif // RUNTIME_PLATFORM_UTILS_LINUX_H_ diff --git a/runtime/platform/utils_macos.h b/runtime/platform/utils_macos.h index 7c2a966db9d..2a8e39f6ee2 100644 --- a/runtime/platform/utils_macos.h +++ b/runtime/platform/utils_macos.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_UTILS_MACOS_H_ -#define PLATFORM_UTILS_MACOS_H_ +#ifndef RUNTIME_PLATFORM_UTILS_MACOS_H_ +#define RUNTIME_PLATFORM_UTILS_MACOS_H_ #include // NOLINT @@ -69,4 +69,4 @@ inline char* Utils::StrError(int err, char* buffer, size_t bufsize) { } // namespace dart -#endif // PLATFORM_UTILS_MACOS_H_ +#endif // RUNTIME_PLATFORM_UTILS_MACOS_H_ diff --git a/runtime/platform/utils_win.h b/runtime/platform/utils_win.h index 7d7b96e0f95..92b7f98a60e 100644 --- a/runtime/platform/utils_win.h +++ b/runtime/platform/utils_win.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef PLATFORM_UTILS_WIN_H_ -#define PLATFORM_UTILS_WIN_H_ +#ifndef RUNTIME_PLATFORM_UTILS_WIN_H_ +#define RUNTIME_PLATFORM_UTILS_WIN_H_ #include #include @@ -67,4 +67,4 @@ inline uint64_t Utils::HostToLittleEndian64(uint64_t value) { } // namespace dart -#endif // PLATFORM_UTILS_WIN_H_ +#endif // RUNTIME_PLATFORM_UTILS_WIN_H_ diff --git a/runtime/vm/allocation.h b/runtime/vm/allocation.h index af9a74a6813..448176d4d1e 100644 --- a/runtime/vm/allocation.h +++ b/runtime/vm/allocation.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ALLOCATION_H_ -#define VM_ALLOCATION_H_ +#ifndef RUNTIME_VM_ALLOCATION_H_ +#define RUNTIME_VM_ALLOCATION_H_ #include "platform/assert.h" #include "vm/base_isolate.h" @@ -124,4 +124,4 @@ class NoSafepointScope : public ValueObject { } // namespace dart -#endif // VM_ALLOCATION_H_ +#endif // RUNTIME_VM_ALLOCATION_H_ diff --git a/runtime/vm/aot_optimizer.h b/runtime/vm/aot_optimizer.h index 6612d9982f1..2a63a168d48 100644 --- a/runtime/vm/aot_optimizer.h +++ b/runtime/vm/aot_optimizer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_AOT_OPTIMIZER_H_ -#define VM_AOT_OPTIMIZER_H_ +#ifndef RUNTIME_VM_AOT_OPTIMIZER_H_ +#define RUNTIME_VM_AOT_OPTIMIZER_H_ #include "vm/intermediate_language.h" #include "vm/flow_graph.h" @@ -145,4 +145,4 @@ class AotOptimizer : public FlowGraphVisitor { } // namespace dart -#endif // VM_AOT_OPTIMIZER_H_ +#endif // RUNTIME_VM_AOT_OPTIMIZER_H_ diff --git a/runtime/vm/assembler.h b/runtime/vm/assembler.h index 36279fbcc0a..f722d091d7e 100644 --- a/runtime/vm/assembler.h +++ b/runtime/vm/assembler.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ASSEMBLER_H_ -#define VM_ASSEMBLER_H_ +#ifndef RUNTIME_VM_ASSEMBLER_H_ +#define RUNTIME_VM_ASSEMBLER_H_ #include "platform/assert.h" #include "vm/allocation.h" @@ -348,4 +348,4 @@ enum RestorePP { #error Unknown architecture. #endif -#endif // VM_ASSEMBLER_H_ +#endif // RUNTIME_VM_ASSEMBLER_H_ diff --git a/runtime/vm/assembler_arm.h b/runtime/vm/assembler_arm.h index 3afce467b61..4c172275f8c 100644 --- a/runtime/vm/assembler_arm.h +++ b/runtime/vm/assembler_arm.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ASSEMBLER_ARM_H_ -#define VM_ASSEMBLER_ARM_H_ +#ifndef RUNTIME_VM_ASSEMBLER_ARM_H_ +#define RUNTIME_VM_ASSEMBLER_ARM_H_ -#ifndef VM_ASSEMBLER_H_ +#ifndef RUNTIME_VM_ASSEMBLER_H_ #error Do not include assembler_arm.h directly; use assembler.h instead. #endif @@ -1178,4 +1178,4 @@ class Assembler : public ValueObject { } // namespace dart -#endif // VM_ASSEMBLER_ARM_H_ +#endif // RUNTIME_VM_ASSEMBLER_ARM_H_ diff --git a/runtime/vm/assembler_arm64.h b/runtime/vm/assembler_arm64.h index 1f8edfa2e89..77d7fced6e6 100644 --- a/runtime/vm/assembler_arm64.h +++ b/runtime/vm/assembler_arm64.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ASSEMBLER_ARM64_H_ -#define VM_ASSEMBLER_ARM64_H_ +#ifndef RUNTIME_VM_ASSEMBLER_ARM64_H_ +#define RUNTIME_VM_ASSEMBLER_ARM64_H_ -#ifndef VM_ASSEMBLER_H_ +#ifndef RUNTIME_VM_ASSEMBLER_H_ #error Do not include assembler_arm64.h directly; use assembler.h instead. #endif @@ -1959,4 +1959,4 @@ class Assembler : public ValueObject { } // namespace dart -#endif // VM_ASSEMBLER_ARM64_H_ +#endif // RUNTIME_VM_ASSEMBLER_ARM64_H_ diff --git a/runtime/vm/assembler_dbc.h b/runtime/vm/assembler_dbc.h index 7e23863bb79..d775e459a60 100644 --- a/runtime/vm/assembler_dbc.h +++ b/runtime/vm/assembler_dbc.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ASSEMBLER_DBC_H_ -#define VM_ASSEMBLER_DBC_H_ +#ifndef RUNTIME_VM_ASSEMBLER_DBC_H_ +#define RUNTIME_VM_ASSEMBLER_DBC_H_ -#ifndef VM_ASSEMBLER_H_ +#ifndef RUNTIME_VM_ASSEMBLER_H_ #error Do not include assembler_dbc.h directly; use assembler.h instead. #endif @@ -196,4 +196,4 @@ class Assembler : public ValueObject { } // namespace dart -#endif // VM_ASSEMBLER_DBC_H_ +#endif // RUNTIME_VM_ASSEMBLER_DBC_H_ diff --git a/runtime/vm/assembler_ia32.h b/runtime/vm/assembler_ia32.h index df3d6ff8cb1..75eb1dc7fb1 100644 --- a/runtime/vm/assembler_ia32.h +++ b/runtime/vm/assembler_ia32.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ASSEMBLER_IA32_H_ -#define VM_ASSEMBLER_IA32_H_ +#ifndef RUNTIME_VM_ASSEMBLER_IA32_H_ +#define RUNTIME_VM_ASSEMBLER_IA32_H_ -#ifndef VM_ASSEMBLER_H_ +#ifndef RUNTIME_VM_ASSEMBLER_H_ #error Do not include assembler_ia32.h directly; use assembler.h instead. #endif @@ -1025,4 +1025,4 @@ inline void Assembler::EmitOperandSizeOverride() { } // namespace dart -#endif // VM_ASSEMBLER_IA32_H_ +#endif // RUNTIME_VM_ASSEMBLER_IA32_H_ diff --git a/runtime/vm/assembler_mips.h b/runtime/vm/assembler_mips.h index 095fa749869..bc06a7a9af6 100644 --- a/runtime/vm/assembler_mips.h +++ b/runtime/vm/assembler_mips.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ASSEMBLER_MIPS_H_ -#define VM_ASSEMBLER_MIPS_H_ +#ifndef RUNTIME_VM_ASSEMBLER_MIPS_H_ +#define RUNTIME_VM_ASSEMBLER_MIPS_H_ -#ifndef VM_ASSEMBLER_H_ +#ifndef RUNTIME_VM_ASSEMBLER_H_ #error Do not include assembler_mips.h directly; use assembler.h instead. #endif @@ -1764,4 +1764,4 @@ class Assembler : public ValueObject { } // namespace dart -#endif // VM_ASSEMBLER_MIPS_H_ +#endif // RUNTIME_VM_ASSEMBLER_MIPS_H_ diff --git a/runtime/vm/assembler_x64.h b/runtime/vm/assembler_x64.h index 651fcd5adf9..82094d28823 100644 --- a/runtime/vm/assembler_x64.h +++ b/runtime/vm/assembler_x64.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ASSEMBLER_X64_H_ -#define VM_ASSEMBLER_X64_H_ +#ifndef RUNTIME_VM_ASSEMBLER_X64_H_ +#define RUNTIME_VM_ASSEMBLER_X64_H_ -#ifndef VM_ASSEMBLER_H_ +#ifndef RUNTIME_VM_ASSEMBLER_H_ #error Do not include assembler_x64.h directly; use assembler.h instead. #endif @@ -1175,4 +1175,4 @@ inline void Assembler::EmitOperandSizeOverride() { } // namespace dart -#endif // VM_ASSEMBLER_X64_H_ +#endif // RUNTIME_VM_ASSEMBLER_X64_H_ diff --git a/runtime/vm/ast.h b/runtime/vm/ast.h index cd25dc70a85..8fa533b9eae 100644 --- a/runtime/vm/ast.h +++ b/runtime/vm/ast.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_AST_H_ -#define VM_AST_H_ +#ifndef RUNTIME_VM_AST_H_ +#define RUNTIME_VM_AST_H_ #include "platform/assert.h" #include "vm/allocation.h" @@ -2026,4 +2026,4 @@ class InlinedFinallyNode : public AstNode { #undef DECLARE_COMMON_NODE_FUNCTIONS -#endif // VM_AST_H_ +#endif // RUNTIME_VM_AST_H_ diff --git a/runtime/vm/ast_printer.h b/runtime/vm/ast_printer.h index b5ee0bdaae3..f89d9bcfd79 100644 --- a/runtime/vm/ast_printer.h +++ b/runtime/vm/ast_printer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_AST_PRINTER_H_ -#define VM_AST_PRINTER_H_ +#ifndef RUNTIME_VM_AST_PRINTER_H_ +#define RUNTIME_VM_AST_PRINTER_H_ #include "vm/ast.h" #include "vm/growable_array.h" @@ -52,4 +52,4 @@ class AstPrinter : public AstNodeVisitor { } // namespace dart -#endif // VM_AST_PRINTER_H_ +#endif // RUNTIME_VM_AST_PRINTER_H_ diff --git a/runtime/vm/ast_transformer.h b/runtime/vm/ast_transformer.h index e189afddf95..917919f7fc9 100644 --- a/runtime/vm/ast_transformer.h +++ b/runtime/vm/ast_transformer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_AST_TRANSFORMER_H_ -#define VM_AST_TRANSFORMER_H_ +#ifndef RUNTIME_VM_AST_TRANSFORMER_H_ +#define RUNTIME_VM_AST_TRANSFORMER_H_ #include "platform/assert.h" #include "vm/ast.h" @@ -77,4 +77,4 @@ class AwaitTransformer : public AstNodeVisitor { } // namespace dart -#endif // VM_AST_TRANSFORMER_H_ +#endif // RUNTIME_VM_AST_TRANSFORMER_H_ diff --git a/runtime/vm/atomic.h b/runtime/vm/atomic.h index e16eee18a52..75d0b846fa7 100644 --- a/runtime/vm/atomic.h +++ b/runtime/vm/atomic.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ATOMIC_H_ -#define VM_ATOMIC_H_ +#ifndef RUNTIME_VM_ATOMIC_H_ +#define RUNTIME_VM_ATOMIC_H_ #include "platform/globals.h" @@ -86,4 +86,4 @@ class AtomicOperations : public AllStatic { #error Unknown target os. #endif -#endif // VM_ATOMIC_H_ +#endif // RUNTIME_VM_ATOMIC_H_ diff --git a/runtime/vm/atomic_android.h b/runtime/vm/atomic_android.h index aa2b623c92c..f0731ab81ad 100644 --- a/runtime/vm/atomic_android.h +++ b/runtime/vm/atomic_android.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ATOMIC_ANDROID_H_ -#define VM_ATOMIC_ANDROID_H_ +#ifndef RUNTIME_VM_ATOMIC_ANDROID_H_ +#define RUNTIME_VM_ATOMIC_ANDROID_H_ -#if !defined VM_ATOMIC_H_ +#if !defined RUNTIME_VM_ATOMIC_H_ #error Do not include atomic_android.h directly. Use atomic.h instead. #endif @@ -68,4 +68,4 @@ inline uint32_t AtomicOperations::CompareAndSwapUint32(uint32_t* ptr, } // namespace dart -#endif // VM_ATOMIC_ANDROID_H_ +#endif // RUNTIME_VM_ATOMIC_ANDROID_H_ diff --git a/runtime/vm/atomic_fuchsia.h b/runtime/vm/atomic_fuchsia.h index c44c0803574..e85899f78ee 100644 --- a/runtime/vm/atomic_fuchsia.h +++ b/runtime/vm/atomic_fuchsia.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ATOMIC_FUCHSIA_H_ -#define VM_ATOMIC_FUCHSIA_H_ +#ifndef RUNTIME_VM_ATOMIC_FUCHSIA_H_ +#define RUNTIME_VM_ATOMIC_FUCHSIA_H_ -#if !defined VM_ATOMIC_H_ +#if !defined RUNTIME_VM_ATOMIC_H_ #error Do not include atomic_fuchsia.h directly. Use atomic.h instead. #endif @@ -67,4 +67,4 @@ inline uint32_t AtomicOperations::CompareAndSwapUint32(uint32_t* ptr, } // namespace dart -#endif // VM_ATOMIC_FUCHSIA_H_ +#endif // RUNTIME_VM_ATOMIC_FUCHSIA_H_ diff --git a/runtime/vm/atomic_linux.h b/runtime/vm/atomic_linux.h index 350bcedba66..c4ee9102f8d 100644 --- a/runtime/vm/atomic_linux.h +++ b/runtime/vm/atomic_linux.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ATOMIC_LINUX_H_ -#define VM_ATOMIC_LINUX_H_ +#ifndef RUNTIME_VM_ATOMIC_LINUX_H_ +#define RUNTIME_VM_ATOMIC_LINUX_H_ -#if !defined VM_ATOMIC_H_ +#if !defined RUNTIME_VM_ATOMIC_H_ #error Do not include atomic_linux.h directly. Use atomic.h instead. #endif @@ -73,4 +73,4 @@ inline uint32_t AtomicOperations::CompareAndSwapUint32(uint32_t* ptr, } // namespace dart -#endif // VM_ATOMIC_LINUX_H_ +#endif // RUNTIME_VM_ATOMIC_LINUX_H_ diff --git a/runtime/vm/atomic_macos.h b/runtime/vm/atomic_macos.h index cdd57d4df65..e1c701f4773 100644 --- a/runtime/vm/atomic_macos.h +++ b/runtime/vm/atomic_macos.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ATOMIC_MACOS_H_ -#define VM_ATOMIC_MACOS_H_ +#ifndef RUNTIME_VM_ATOMIC_MACOS_H_ +#define RUNTIME_VM_ATOMIC_MACOS_H_ -#if !defined VM_ATOMIC_H_ +#if !defined RUNTIME_VM_ATOMIC_H_ #error Do not include atomic_macos.h directly. Use atomic.h instead. #endif @@ -68,4 +68,4 @@ inline uint32_t AtomicOperations::CompareAndSwapUint32(uint32_t* ptr, } // namespace dart -#endif // VM_ATOMIC_MACOS_H_ +#endif // RUNTIME_VM_ATOMIC_MACOS_H_ diff --git a/runtime/vm/atomic_simulator.h b/runtime/vm/atomic_simulator.h index 78e7f88eb01..83bd623851c 100644 --- a/runtime/vm/atomic_simulator.h +++ b/runtime/vm/atomic_simulator.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ATOMIC_SIMULATOR_H_ -#define VM_ATOMIC_SIMULATOR_H_ +#ifndef RUNTIME_VM_ATOMIC_SIMULATOR_H_ +#define RUNTIME_VM_ATOMIC_SIMULATOR_H_ -#if !defined VM_ATOMIC_H_ +#if !defined RUNTIME_VM_ATOMIC_H_ #error Do not include atomic_simulator.h directly. Use atomic.h instead. #endif @@ -29,4 +29,4 @@ inline uint32_t AtomicOperations::CompareAndSwapUint32(uint32_t* ptr, } // namespace dart -#endif // VM_ATOMIC_SIMULATOR_H_ +#endif // RUNTIME_VM_ATOMIC_SIMULATOR_H_ diff --git a/runtime/vm/atomic_win.h b/runtime/vm/atomic_win.h index 2f8ee20b581..7abf59e44a8 100644 --- a/runtime/vm/atomic_win.h +++ b/runtime/vm/atomic_win.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ATOMIC_WIN_H_ -#define VM_ATOMIC_WIN_H_ +#ifndef RUNTIME_VM_ATOMIC_WIN_H_ +#define RUNTIME_VM_ATOMIC_WIN_H_ -#if !defined VM_ATOMIC_H_ +#if !defined RUNTIME_VM_ATOMIC_H_ #error Do not include atomic_win.h directly. Use atomic.h instead. #endif @@ -137,4 +137,4 @@ inline uint32_t AtomicOperations::CompareAndSwapUint32(uint32_t* ptr, } // namespace dart -#endif // VM_ATOMIC_WIN_H_ +#endif // RUNTIME_VM_ATOMIC_WIN_H_ diff --git a/runtime/vm/base_isolate.h b/runtime/vm/base_isolate.h index b2cc7fc223f..bd76b90e9c9 100644 --- a/runtime/vm/base_isolate.h +++ b/runtime/vm/base_isolate.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_BASE_ISOLATE_H_ -#define VM_BASE_ISOLATE_H_ +#ifndef RUNTIME_VM_BASE_ISOLATE_H_ +#define RUNTIME_VM_BASE_ISOLATE_H_ #include "platform/assert.h" #include "vm/globals.h" @@ -47,4 +47,4 @@ class BaseIsolate { } // namespace dart -#endif // VM_BASE_ISOLATE_H_ +#endif // RUNTIME_VM_BASE_ISOLATE_H_ diff --git a/runtime/vm/become.h b/runtime/vm/become.h index 12ab7645c29..0bee126aec2 100644 --- a/runtime/vm/become.h +++ b/runtime/vm/become.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_BECOME_H_ -#define VM_BECOME_H_ +#ifndef RUNTIME_VM_BECOME_H_ +#define RUNTIME_VM_BECOME_H_ #include "vm/allocation.h" #include "vm/raw_object.h" @@ -92,4 +92,4 @@ class Become : public AllStatic { } // namespace dart -#endif // VM_BECOME_H_ +#endif // RUNTIME_VM_BECOME_H_ diff --git a/runtime/vm/benchmark_test.h b/runtime/vm/benchmark_test.h index 40f36a02176..db0c1f6e44c 100644 --- a/runtime/vm/benchmark_test.h +++ b/runtime/vm/benchmark_test.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_BENCHMARK_TEST_H_ -#define VM_BENCHMARK_TEST_H_ +#ifndef RUNTIME_VM_BENCHMARK_TEST_H_ +#define RUNTIME_VM_BENCHMARK_TEST_H_ #include "include/dart_api.h" @@ -128,4 +128,4 @@ class BenchmarkIsolateScope { } // namespace dart -#endif // VM_BENCHMARK_TEST_H_ +#endif // RUNTIME_VM_BENCHMARK_TEST_H_ diff --git a/runtime/vm/bit_set.h b/runtime/vm/bit_set.h index a60f668264d..2735a72ec2a 100644 --- a/runtime/vm/bit_set.h +++ b/runtime/vm/bit_set.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_BIT_SET_H_ -#define VM_BIT_SET_H_ +#ifndef RUNTIME_VM_BIT_SET_H_ +#define RUNTIME_VM_BIT_SET_H_ #include "platform/utils.h" #include "vm/globals.h" @@ -100,4 +100,4 @@ class BitSet { } // namespace dart -#endif // VM_BIT_SET_H_ +#endif // RUNTIME_VM_BIT_SET_H_ diff --git a/runtime/vm/bit_vector.h b/runtime/vm/bit_vector.h index 9afa05fefbc..e1c133a1774 100644 --- a/runtime/vm/bit_vector.h +++ b/runtime/vm/bit_vector.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_BIT_VECTOR_H_ -#define VM_BIT_VECTOR_H_ +#ifndef RUNTIME_VM_BIT_VECTOR_H_ +#define RUNTIME_VM_BIT_VECTOR_H_ #include "vm/allocation.h" #include "vm/isolate.h" @@ -118,4 +118,4 @@ class BitVector : public ZoneAllocated { } // namespace dart -#endif // VM_BIT_VECTOR_H_ +#endif // RUNTIME_VM_BIT_VECTOR_H_ diff --git a/runtime/vm/bitfield.h b/runtime/vm/bitfield.h index 42a121a20a1..eba83feef80 100644 --- a/runtime/vm/bitfield.h +++ b/runtime/vm/bitfield.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_BITFIELD_H_ -#define VM_BITFIELD_H_ +#ifndef RUNTIME_VM_BITFIELD_H_ +#define RUNTIME_VM_BITFIELD_H_ namespace dart { @@ -67,4 +67,4 @@ class BitField { } // namespace dart -#endif // VM_BITFIELD_H_ +#endif // RUNTIME_VM_BITFIELD_H_ diff --git a/runtime/vm/bitmap.h b/runtime/vm/bitmap.h index 507167efa04..20c19830df7 100644 --- a/runtime/vm/bitmap.h +++ b/runtime/vm/bitmap.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_BITMAP_H_ -#define VM_BITMAP_H_ +#ifndef RUNTIME_VM_BITMAP_H_ +#define RUNTIME_VM_BITMAP_H_ #include "vm/allocation.h" #include "vm/isolate.h" @@ -77,4 +77,4 @@ class BitmapBuilder : public ZoneAllocated { } // namespace dart -#endif // VM_BITMAP_H_ +#endif // RUNTIME_VM_BITMAP_H_ diff --git a/runtime/vm/block_scheduler.h b/runtime/vm/block_scheduler.h index 911bb14ee8d..94982d3dc85 100644 --- a/runtime/vm/block_scheduler.h +++ b/runtime/vm/block_scheduler.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_BLOCK_SCHEDULER_H_ -#define VM_BLOCK_SCHEDULER_H_ +#ifndef RUNTIME_VM_BLOCK_SCHEDULER_H_ +#define RUNTIME_VM_BLOCK_SCHEDULER_H_ #include "vm/allocation.h" @@ -27,4 +27,4 @@ class BlockScheduler : public ValueObject { } // namespace dart -#endif // VM_BLOCK_SCHEDULER_H_ +#endif // RUNTIME_VM_BLOCK_SCHEDULER_H_ diff --git a/runtime/vm/boolfield.h b/runtime/vm/boolfield.h index 64117f27a04..6cd45ba5edb 100644 --- a/runtime/vm/boolfield.h +++ b/runtime/vm/boolfield.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_BOOLFIELD_H_ -#define VM_BOOLFIELD_H_ +#ifndef RUNTIME_VM_BOOLFIELD_H_ +#define RUNTIME_VM_BOOLFIELD_H_ #include "vm/globals.h" @@ -38,4 +38,4 @@ class BoolField { } // namespace dart -#endif // VM_BOOLFIELD_H_ +#endif // RUNTIME_VM_BOOLFIELD_H_ diff --git a/runtime/vm/bootstrap.h b/runtime/vm/bootstrap.h index eb238ed0c08..7c5ab0ea6a5 100644 --- a/runtime/vm/bootstrap.h +++ b/runtime/vm/bootstrap.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_BOOTSTRAP_H_ -#define VM_BOOTSTRAP_H_ +#ifndef RUNTIME_VM_BOOTSTRAP_H_ +#define RUNTIME_VM_BOOTSTRAP_H_ #include "include/dart_api.h" #include "vm/allocation.h" @@ -52,4 +52,4 @@ class Bootstrap : public AllStatic { } // namespace dart -#endif // VM_BOOTSTRAP_H_ +#endif // RUNTIME_VM_BOOTSTRAP_H_ diff --git a/runtime/vm/bootstrap_natives.h b/runtime/vm/bootstrap_natives.h index d7cb2b23d60..4677ca1edc0 100644 --- a/runtime/vm/bootstrap_natives.h +++ b/runtime/vm/bootstrap_natives.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_BOOTSTRAP_NATIVES_H_ -#define VM_BOOTSTRAP_NATIVES_H_ +#ifndef RUNTIME_VM_BOOTSTRAP_NATIVES_H_ +#define RUNTIME_VM_BOOTSTRAP_NATIVES_H_ #include "vm/native_entry.h" @@ -426,4 +426,4 @@ class BootstrapNatives : public AllStatic { } // namespace dart -#endif // VM_BOOTSTRAP_NATIVES_H_ +#endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_ diff --git a/runtime/vm/branch_optimizer.h b/runtime/vm/branch_optimizer.h index 2e2b135cb32..caef6a73a10 100644 --- a/runtime/vm/branch_optimizer.h +++ b/runtime/vm/branch_optimizer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_BRANCH_OPTIMIZER_H_ -#define VM_BRANCH_OPTIMIZER_H_ +#ifndef RUNTIME_VM_BRANCH_OPTIMIZER_H_ +#define RUNTIME_VM_BRANCH_OPTIMIZER_H_ #include "vm/allocation.h" @@ -53,4 +53,4 @@ class IfConverter : public AllStatic { } // namespace dart -#endif // VM_BRANCH_OPTIMIZER_H_ +#endif // RUNTIME_VM_BRANCH_OPTIMIZER_H_ diff --git a/runtime/vm/cha.h b/runtime/vm/cha.h index 7aa777487e2..5bd7796b75b 100644 --- a/runtime/vm/cha.h +++ b/runtime/vm/cha.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CHA_H_ -#define VM_CHA_H_ +#ifndef RUNTIME_VM_CHA_H_ +#define RUNTIME_VM_CHA_H_ #include "vm/allocation.h" #include "vm/growable_array.h" @@ -85,4 +85,4 @@ class CHA : public StackResource { } // namespace dart -#endif // VM_CHA_H_ +#endif // RUNTIME_VM_CHA_H_ diff --git a/runtime/vm/class_finalizer.h b/runtime/vm/class_finalizer.h index 81850f64afb..16a19f8146a 100644 --- a/runtime/vm/class_finalizer.h +++ b/runtime/vm/class_finalizer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CLASS_FINALIZER_H_ -#define VM_CLASS_FINALIZER_H_ +#ifndef RUNTIME_VM_CLASS_FINALIZER_H_ +#define RUNTIME_VM_CLASS_FINALIZER_H_ #include "vm/allocation.h" #include "vm/growable_array.h" @@ -180,4 +180,4 @@ class ClassFinalizer : public AllStatic { } // namespace dart -#endif // VM_CLASS_FINALIZER_H_ +#endif // RUNTIME_VM_CLASS_FINALIZER_H_ diff --git a/runtime/vm/class_table.h b/runtime/vm/class_table.h index 1ab7da1ec25..1ffee710b22 100644 --- a/runtime/vm/class_table.h +++ b/runtime/vm/class_table.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CLASS_TABLE_H_ -#define VM_CLASS_TABLE_H_ +#ifndef RUNTIME_VM_CLASS_TABLE_H_ +#define RUNTIME_VM_CLASS_TABLE_H_ #include "platform/assert.h" #include "vm/bitfield.h" @@ -280,4 +280,4 @@ class ClassTable { } // namespace dart -#endif // VM_CLASS_TABLE_H_ +#endif // RUNTIME_VM_CLASS_TABLE_H_ diff --git a/runtime/vm/clustered_snapshot.h b/runtime/vm/clustered_snapshot.h index aae4e82f710..8aba9e1262a 100644 --- a/runtime/vm/clustered_snapshot.h +++ b/runtime/vm/clustered_snapshot.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CLUSTERED_SNAPSHOT_H_ -#define VM_CLUSTERED_SNAPSHOT_H_ +#ifndef RUNTIME_VM_CLUSTERED_SNAPSHOT_H_ +#define RUNTIME_VM_CLUSTERED_SNAPSHOT_H_ #include "platform/assert.h" #include "vm/allocation.h" @@ -517,4 +517,4 @@ class IsolateSnapshotReader { } // namespace dart -#endif // VM_CLUSTERED_SNAPSHOT_H_ +#endif // RUNTIME_VM_CLUSTERED_SNAPSHOT_H_ diff --git a/runtime/vm/code_descriptors.h b/runtime/vm/code_descriptors.h index c5eeda7af39..ef56938e988 100644 --- a/runtime/vm/code_descriptors.h +++ b/runtime/vm/code_descriptors.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CODE_DESCRIPTORS_H_ -#define VM_CODE_DESCRIPTORS_H_ +#ifndef RUNTIME_VM_CODE_DESCRIPTORS_H_ +#define RUNTIME_VM_CODE_DESCRIPTORS_H_ #include "vm/ast.h" #include "vm/code_generator.h" @@ -165,4 +165,4 @@ class ExceptionHandlerList : public ZoneAllocated { } // namespace dart -#endif // VM_CODE_DESCRIPTORS_H_ +#endif // RUNTIME_VM_CODE_DESCRIPTORS_H_ diff --git a/runtime/vm/code_generator.h b/runtime/vm/code_generator.h index e0c49b766c8..d1885042a1d 100644 --- a/runtime/vm/code_generator.h +++ b/runtime/vm/code_generator.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CODE_GENERATOR_H_ -#define VM_CODE_GENERATOR_H_ +#ifndef RUNTIME_VM_CODE_GENERATOR_H_ +#define RUNTIME_VM_CODE_GENERATOR_H_ #include "vm/globals.h" #include "vm/runtime_entry.h" @@ -25,4 +25,4 @@ void SinCos(double arg, double* sin_res, double* cos_res); } // namespace dart -#endif // VM_CODE_GENERATOR_H_ +#endif // RUNTIME_VM_CODE_GENERATOR_H_ diff --git a/runtime/vm/code_observers.h b/runtime/vm/code_observers.h index 1ce8135ea72..66794d91dae 100644 --- a/runtime/vm/code_observers.h +++ b/runtime/vm/code_observers.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CODE_OBSERVERS_H_ -#define VM_CODE_OBSERVERS_H_ +#ifndef RUNTIME_VM_CODE_OBSERVERS_H_ +#define RUNTIME_VM_CODE_OBSERVERS_H_ #include "vm/globals.h" #include "vm/allocation.h" @@ -71,4 +71,4 @@ class CodeObservers : public AllStatic { } // namespace dart -#endif // VM_CODE_OBSERVERS_H_ +#endif // RUNTIME_VM_CODE_OBSERVERS_H_ diff --git a/runtime/vm/code_patcher.h b/runtime/vm/code_patcher.h index c342f5de18c..ec90721f415 100644 --- a/runtime/vm/code_patcher.h +++ b/runtime/vm/code_patcher.h @@ -3,8 +3,8 @@ // BSD-style license that can be found in the LICENSE file. // Class for patching compiled code. -#ifndef VM_CODE_PATCHER_H_ -#define VM_CODE_PATCHER_H_ +#ifndef RUNTIME_VM_CODE_PATCHER_H_ +#define RUNTIME_VM_CODE_PATCHER_H_ #include "vm/allocation.h" #include "vm/native_entry.h" @@ -95,4 +95,4 @@ class CodePatcher : public AllStatic { } // namespace dart -#endif // VM_CODE_PATCHER_H_ +#endif // RUNTIME_VM_CODE_PATCHER_H_ diff --git a/runtime/vm/compiler.h b/runtime/vm/compiler.h index 4c059c9f5bc..5182364b661 100644 --- a/runtime/vm/compiler.h +++ b/runtime/vm/compiler.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_COMPILER_H_ -#define VM_COMPILER_H_ +#ifndef RUNTIME_VM_COMPILER_H_ +#define RUNTIME_VM_COMPILER_H_ #include "vm/allocation.h" #include "vm/growable_array.h" @@ -202,4 +202,4 @@ class BackgroundCompiler : public ThreadPool::Task { } // namespace dart -#endif // VM_COMPILER_H_ +#endif // RUNTIME_VM_COMPILER_H_ diff --git a/runtime/vm/compiler_stats.h b/runtime/vm/compiler_stats.h index 98143a3fac6..7c1f39f913d 100644 --- a/runtime/vm/compiler_stats.h +++ b/runtime/vm/compiler_stats.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_COMPILER_STATS_H_ -#define VM_COMPILER_STATS_H_ +#ifndef RUNTIME_VM_COMPILER_STATS_H_ +#define RUNTIME_VM_COMPILER_STATS_H_ #include "vm/allocation.h" #include "vm/atomic.h" @@ -142,4 +142,4 @@ class CompilerStats { } // namespace dart -#endif // VM_COMPILER_STATS_H_ +#endif // RUNTIME_VM_COMPILER_STATS_H_ diff --git a/runtime/vm/constant_propagator.h b/runtime/vm/constant_propagator.h index 024cbefed2a..191c6b8e0bb 100644 --- a/runtime/vm/constant_propagator.h +++ b/runtime/vm/constant_propagator.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CONSTANT_PROPAGATOR_H_ -#define VM_CONSTANT_PROPAGATOR_H_ +#ifndef RUNTIME_VM_CONSTANT_PROPAGATOR_H_ +#define RUNTIME_VM_CONSTANT_PROPAGATOR_H_ #include "vm/intermediate_language.h" #include "vm/flow_graph.h" @@ -90,4 +90,4 @@ class ConstantPropagator : public FlowGraphVisitor { } // namespace dart -#endif // VM_CONSTANT_PROPAGATOR_H_ +#endif // RUNTIME_VM_CONSTANT_PROPAGATOR_H_ diff --git a/runtime/vm/constants_arm.h b/runtime/vm/constants_arm.h index f544a77d6f3..764e541bd5d 100644 --- a/runtime/vm/constants_arm.h +++ b/runtime/vm/constants_arm.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CONSTANTS_ARM_H_ -#define VM_CONSTANTS_ARM_H_ +#ifndef RUNTIME_VM_CONSTANTS_ARM_H_ +#define RUNTIME_VM_CONSTANTS_ARM_H_ #include "platform/globals.h" #include "platform/assert.h" @@ -774,4 +774,4 @@ class Instr { } // namespace dart -#endif // VM_CONSTANTS_ARM_H_ +#endif // RUNTIME_VM_CONSTANTS_ARM_H_ diff --git a/runtime/vm/constants_arm64.h b/runtime/vm/constants_arm64.h index e855b0fde94..c2d6981af69 100644 --- a/runtime/vm/constants_arm64.h +++ b/runtime/vm/constants_arm64.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CONSTANTS_ARM64_H_ -#define VM_CONSTANTS_ARM64_H_ +#ifndef RUNTIME_VM_CONSTANTS_ARM64_H_ +#define RUNTIME_VM_CONSTANTS_ARM64_H_ #include "platform/assert.h" @@ -1104,4 +1104,4 @@ class Instr { } // namespace dart -#endif // VM_CONSTANTS_ARM64_H_ +#endif // RUNTIME_VM_CONSTANTS_ARM64_H_ diff --git a/runtime/vm/constants_dbc.h b/runtime/vm/constants_dbc.h index 44e5026df93..e93bc0b00b7 100644 --- a/runtime/vm/constants_dbc.h +++ b/runtime/vm/constants_dbc.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CONSTANTS_DBC_H_ -#define VM_CONSTANTS_DBC_H_ +#ifndef RUNTIME_VM_CONSTANTS_DBC_H_ +#define RUNTIME_VM_CONSTANTS_DBC_H_ #include "platform/globals.h" #include "platform/assert.h" @@ -966,4 +966,4 @@ enum Condition { NEXT_IS_TRUE, NEXT_IS_FALSE }; } // namespace dart -#endif // VM_CONSTANTS_DBC_H_ +#endif // RUNTIME_VM_CONSTANTS_DBC_H_ diff --git a/runtime/vm/constants_ia32.h b/runtime/vm/constants_ia32.h index adf988aec66..5d61a9a50b7 100644 --- a/runtime/vm/constants_ia32.h +++ b/runtime/vm/constants_ia32.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CONSTANTS_IA32_H_ -#define VM_CONSTANTS_IA32_H_ +#ifndef RUNTIME_VM_CONSTANTS_IA32_H_ +#define RUNTIME_VM_CONSTANTS_IA32_H_ #include "platform/assert.h" @@ -160,4 +160,4 @@ const int MAX_NOP_SIZE = 8; } // namespace dart -#endif // VM_CONSTANTS_IA32_H_ +#endif // RUNTIME_VM_CONSTANTS_IA32_H_ diff --git a/runtime/vm/constants_mips.h b/runtime/vm/constants_mips.h index 9a79f53b72b..7f53e4094ef 100644 --- a/runtime/vm/constants_mips.h +++ b/runtime/vm/constants_mips.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CONSTANTS_MIPS_H_ -#define VM_CONSTANTS_MIPS_H_ +#ifndef RUNTIME_VM_CONSTANTS_MIPS_H_ +#define RUNTIME_VM_CONSTANTS_MIPS_H_ #include "platform/assert.h" @@ -658,4 +658,4 @@ class Instr { } // namespace dart -#endif // VM_CONSTANTS_MIPS_H_ +#endif // RUNTIME_VM_CONSTANTS_MIPS_H_ diff --git a/runtime/vm/constants_x64.h b/runtime/vm/constants_x64.h index 72c47106082..a40dd03c9ad 100644 --- a/runtime/vm/constants_x64.h +++ b/runtime/vm/constants_x64.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CONSTANTS_X64_H_ -#define VM_CONSTANTS_X64_H_ +#ifndef RUNTIME_VM_CONSTANTS_X64_H_ +#define RUNTIME_VM_CONSTANTS_X64_H_ namespace dart { @@ -242,4 +242,4 @@ const int MAX_NOP_SIZE = 8; } // namespace dart -#endif // VM_CONSTANTS_X64_H_ +#endif // RUNTIME_VM_CONSTANTS_X64_H_ diff --git a/runtime/vm/cpu.h b/runtime/vm/cpu.h index 3b9348982e0..cdd0c25888f 100644 --- a/runtime/vm/cpu.h +++ b/runtime/vm/cpu.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CPU_H_ -#define VM_CPU_H_ +#ifndef RUNTIME_VM_CPU_H_ +#define RUNTIME_VM_CPU_H_ #include "vm/globals.h" #include "vm/allocation.h" @@ -39,4 +39,4 @@ class CPU : public AllStatic { #error Unknown architecture. #endif -#endif // VM_CPU_H_ +#endif // RUNTIME_VM_CPU_H_ diff --git a/runtime/vm/cpu_arm.h b/runtime/vm/cpu_arm.h index e1dd907ef74..b0e43f7af56 100644 --- a/runtime/vm/cpu_arm.h +++ b/runtime/vm/cpu_arm.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CPU_ARM_H_ -#define VM_CPU_ARM_H_ +#ifndef RUNTIME_VM_CPU_ARM_H_ +#define RUNTIME_VM_CPU_ARM_H_ #include "vm/allocation.h" #include "vm/simulator.h" @@ -129,4 +129,4 @@ class TargetCPUFeatures : public AllStatic { } // namespace dart -#endif // VM_CPU_ARM_H_ +#endif // RUNTIME_VM_CPU_ARM_H_ diff --git a/runtime/vm/cpu_arm64.h b/runtime/vm/cpu_arm64.h index 884981be9f7..89799eace6a 100644 --- a/runtime/vm/cpu_arm64.h +++ b/runtime/vm/cpu_arm64.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CPU_ARM64_H_ -#define VM_CPU_ARM64_H_ +#ifndef RUNTIME_VM_CPU_ARM64_H_ +#define RUNTIME_VM_CPU_ARM64_H_ #include "vm/allocation.h" #include "vm/simulator.h" @@ -52,4 +52,4 @@ class TargetCPUFeatures : public AllStatic { } // namespace dart -#endif // VM_CPU_ARM64_H_ +#endif // RUNTIME_VM_CPU_ARM64_H_ diff --git a/runtime/vm/cpu_dbc.h b/runtime/vm/cpu_dbc.h index 486acdb7684..e42cc1c94ab 100644 --- a/runtime/vm/cpu_dbc.h +++ b/runtime/vm/cpu_dbc.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CPU_DBC_H_ -#define VM_CPU_DBC_H_ +#ifndef RUNTIME_VM_CPU_DBC_H_ +#define RUNTIME_VM_CPU_DBC_H_ #include "vm/allocation.h" #include "vm/simulator.h" @@ -47,4 +47,4 @@ class TargetCPUFeatures : public AllStatic { } // namespace dart -#endif // VM_CPU_DBC_H_ +#endif // RUNTIME_VM_CPU_DBC_H_ diff --git a/runtime/vm/cpu_ia32.h b/runtime/vm/cpu_ia32.h index 66f47240765..3c3d83699d4 100644 --- a/runtime/vm/cpu_ia32.h +++ b/runtime/vm/cpu_ia32.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CPU_IA32_H_ -#define VM_CPU_IA32_H_ +#ifndef RUNTIME_VM_CPU_IA32_H_ +#define RUNTIME_VM_CPU_IA32_H_ #include "vm/allocation.h" #include "vm/flags.h" @@ -64,4 +64,4 @@ class TargetCPUFeatures : public AllStatic { } // namespace dart -#endif // VM_CPU_IA32_H_ +#endif // RUNTIME_VM_CPU_IA32_H_ diff --git a/runtime/vm/cpu_mips.h b/runtime/vm/cpu_mips.h index d511522a693..b9dde4da020 100644 --- a/runtime/vm/cpu_mips.h +++ b/runtime/vm/cpu_mips.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CPU_MIPS_H_ -#define VM_CPU_MIPS_H_ +#ifndef RUNTIME_VM_CPU_MIPS_H_ +#define RUNTIME_VM_CPU_MIPS_H_ #include "vm/allocation.h" @@ -65,4 +65,4 @@ class TargetCPUFeatures : public AllStatic { } // namespace dart -#endif // VM_CPU_MIPS_H_ +#endif // RUNTIME_VM_CPU_MIPS_H_ diff --git a/runtime/vm/cpu_x64.h b/runtime/vm/cpu_x64.h index 579650a7fe8..c56ee642d7b 100644 --- a/runtime/vm/cpu_x64.h +++ b/runtime/vm/cpu_x64.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CPU_X64_H_ -#define VM_CPU_X64_H_ +#ifndef RUNTIME_VM_CPU_X64_H_ +#define RUNTIME_VM_CPU_X64_H_ #include "vm/allocation.h" #include "vm/flags.h" @@ -64,4 +64,4 @@ class TargetCPUFeatures : public AllStatic { } // namespace dart -#endif // VM_CPU_X64_H_ +#endif // RUNTIME_VM_CPU_X64_H_ diff --git a/runtime/vm/cpuid.h b/runtime/vm/cpuid.h index b33812e5e1a..63b317b919a 100644 --- a/runtime/vm/cpuid.h +++ b/runtime/vm/cpuid.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CPUID_H_ -#define VM_CPUID_H_ +#ifndef RUNTIME_VM_CPUID_H_ +#define RUNTIME_VM_CPUID_H_ #include "vm/globals.h" #if !defined(TARGET_OS_MACOS) @@ -45,4 +45,4 @@ class CpuId : public AllStatic { } // namespace dart #endif // !defined(TARGET_OS_MACOS) -#endif // VM_CPUID_H_ +#endif // RUNTIME_VM_CPUID_H_ diff --git a/runtime/vm/cpuinfo.h b/runtime/vm/cpuinfo.h index 95b6ec3c614..6e8da6d1214 100644 --- a/runtime/vm/cpuinfo.h +++ b/runtime/vm/cpuinfo.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_CPUINFO_H_ -#define VM_CPUINFO_H_ +#ifndef RUNTIME_VM_CPUINFO_H_ +#define RUNTIME_VM_CPUINFO_H_ #include "platform/assert.h" #include "vm/allocation.h" @@ -72,4 +72,4 @@ class CpuInfo : public AllStatic { } // namespace dart -#endif // VM_CPUINFO_H_ +#endif // RUNTIME_VM_CPUINFO_H_ diff --git a/runtime/vm/dart.h b/runtime/vm/dart.h index 10ffea38ede..f4e43867333 100644 --- a/runtime/vm/dart.h +++ b/runtime/vm/dart.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_DART_H_ -#define VM_DART_H_ +#ifndef RUNTIME_VM_DART_H_ +#define RUNTIME_VM_DART_H_ #include "include/dart_api.h" #include "vm/allocation.h" @@ -137,4 +137,4 @@ class Dart : public AllStatic { } // namespace dart -#endif // VM_DART_H_ +#endif // RUNTIME_VM_DART_H_ diff --git a/runtime/vm/dart_api_impl.h b/runtime/vm/dart_api_impl.h index f536e0bfb6e..0629b2de980 100644 --- a/runtime/vm/dart_api_impl.h +++ b/runtime/vm/dart_api_impl.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_DART_API_IMPL_H_ -#define VM_DART_API_IMPL_H_ +#ifndef RUNTIME_VM_DART_API_IMPL_H_ +#define RUNTIME_VM_DART_API_IMPL_H_ #include "vm/allocation.h" #include "vm/native_arguments.h" @@ -303,4 +303,4 @@ class Api : AllStatic { } // namespace dart. -#endif // VM_DART_API_IMPL_H_ +#endif // RUNTIME_VM_DART_API_IMPL_H_ diff --git a/runtime/vm/dart_api_message.h b/runtime/vm/dart_api_message.h index bb1efa27f24..7baab59b27c 100644 --- a/runtime/vm/dart_api_message.h +++ b/runtime/vm/dart_api_message.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_DART_API_MESSAGE_H_ -#define VM_DART_API_MESSAGE_H_ +#ifndef RUNTIME_VM_DART_API_MESSAGE_H_ +#define RUNTIME_VM_DART_API_MESSAGE_H_ #include "include/dart_native_api.h" #include "platform/utils.h" @@ -250,4 +250,4 @@ class ApiObjectConverter : public AllStatic { } // namespace dart -#endif // VM_DART_API_MESSAGE_H_ +#endif // RUNTIME_VM_DART_API_MESSAGE_H_ diff --git a/runtime/vm/dart_api_state.h b/runtime/vm/dart_api_state.h index f687fb2a914..7b38cb5338d 100644 --- a/runtime/vm/dart_api_state.h +++ b/runtime/vm/dart_api_state.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_DART_API_STATE_H_ -#define VM_DART_API_STATE_H_ +#ifndef RUNTIME_VM_DART_API_STATE_H_ +#define RUNTIME_VM_DART_API_STATE_H_ #include "include/dart_api.h" @@ -826,4 +826,4 @@ inline FinalizablePersistentHandle* FinalizablePersistentHandle::New( } // namespace dart -#endif // VM_DART_API_STATE_H_ +#endif // RUNTIME_VM_DART_API_STATE_H_ diff --git a/runtime/vm/dart_entry.h b/runtime/vm/dart_entry.h index 13294a3a373..e1d4f1ad0f7 100644 --- a/runtime/vm/dart_entry.h +++ b/runtime/vm/dart_entry.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_DART_ENTRY_H_ -#define VM_DART_ENTRY_H_ +#ifndef RUNTIME_VM_DART_ENTRY_H_ +#define RUNTIME_VM_DART_ENTRY_H_ #include "vm/allocation.h" #include "vm/growable_array.h" @@ -195,4 +195,4 @@ class DartLibraryCalls : public AllStatic { } // namespace dart -#endif // VM_DART_ENTRY_H_ +#endif // RUNTIME_VM_DART_ENTRY_H_ diff --git a/runtime/vm/datastream.h b/runtime/vm/datastream.h index 58452a07f64..ca235356aed 100644 --- a/runtime/vm/datastream.h +++ b/runtime/vm/datastream.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_DATASTREAM_H_ -#define VM_DATASTREAM_H_ +#ifndef RUNTIME_VM_DATASTREAM_H_ +#define RUNTIME_VM_DATASTREAM_H_ #include "platform/assert.h" #include "platform/utils.h" @@ -478,4 +478,4 @@ class WriteStream : public ValueObject { } // namespace dart -#endif // VM_DATASTREAM_H_ +#endif // RUNTIME_VM_DATASTREAM_H_ diff --git a/runtime/vm/debugger.h b/runtime/vm/debugger.h index 4338275ba31..a903043aece 100644 --- a/runtime/vm/debugger.h +++ b/runtime/vm/debugger.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_DEBUGGER_H_ -#define VM_DEBUGGER_H_ +#ifndef RUNTIME_VM_DEBUGGER_H_ +#define RUNTIME_VM_DEBUGGER_H_ #include "include/dart_tools_api.h" @@ -655,4 +655,4 @@ class Debugger { } // namespace dart -#endif // VM_DEBUGGER_H_ +#endif // RUNTIME_VM_DEBUGGER_H_ diff --git a/runtime/vm/deferred_objects.h b/runtime/vm/deferred_objects.h index de2262cc208..1c9d4367d24 100644 --- a/runtime/vm/deferred_objects.h +++ b/runtime/vm/deferred_objects.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_DEFERRED_OBJECTS_H_ -#define VM_DEFERRED_OBJECTS_H_ +#ifndef RUNTIME_VM_DEFERRED_OBJECTS_H_ +#define RUNTIME_VM_DEFERRED_OBJECTS_H_ #include "platform/globals.h" @@ -271,4 +271,4 @@ class DeferredObject { } // namespace dart -#endif // VM_DEFERRED_OBJECTS_H_ +#endif // RUNTIME_VM_DEFERRED_OBJECTS_H_ diff --git a/runtime/vm/deopt_instructions.h b/runtime/vm/deopt_instructions.h index 09e01b43d96..ee1a0526054 100644 --- a/runtime/vm/deopt_instructions.h +++ b/runtime/vm/deopt_instructions.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_DEOPT_INSTRUCTIONS_H_ -#define VM_DEOPT_INSTRUCTIONS_H_ +#ifndef RUNTIME_VM_DEOPT_INSTRUCTIONS_H_ +#define RUNTIME_VM_DEOPT_INSTRUCTIONS_H_ #include "vm/allocation.h" #include "vm/assembler.h" @@ -605,4 +605,4 @@ class DeoptTable : public AllStatic { } // namespace dart -#endif // VM_DEOPT_INSTRUCTIONS_H_ +#endif // RUNTIME_VM_DEOPT_INSTRUCTIONS_H_ diff --git a/runtime/vm/disassembler.h b/runtime/vm/disassembler.h index 7adb12a494c..e26a214b96b 100644 --- a/runtime/vm/disassembler.h +++ b/runtime/vm/disassembler.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_DISASSEMBLER_H_ -#define VM_DISASSEMBLER_H_ +#ifndef RUNTIME_VM_DISASSEMBLER_H_ +#define RUNTIME_VM_DISASSEMBLER_H_ #include "vm/allocation.h" #include "vm/assembler.h" @@ -138,4 +138,4 @@ class Disassembler : public AllStatic { } // namespace dart -#endif // VM_DISASSEMBLER_H_ +#endif // RUNTIME_VM_DISASSEMBLER_H_ diff --git a/runtime/vm/double_conversion.h b/runtime/vm/double_conversion.h index ded82a454f1..dd6e2136542 100644 --- a/runtime/vm/double_conversion.h +++ b/runtime/vm/double_conversion.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_DOUBLE_CONVERSION_H_ -#define VM_DOUBLE_CONVERSION_H_ +#ifndef RUNTIME_VM_DOUBLE_CONVERSION_H_ +#define RUNTIME_VM_DOUBLE_CONVERSION_H_ #include "vm/globals.h" #include "vm/object.h" @@ -19,4 +19,4 @@ bool CStringToDouble(const char* str, intptr_t length, double* result); } // namespace dart -#endif // VM_DOUBLE_CONVERSION_H_ +#endif // RUNTIME_VM_DOUBLE_CONVERSION_H_ diff --git a/runtime/vm/double_internals.h b/runtime/vm/double_internals.h index 4e54475c6e5..4a55548cf20 100644 --- a/runtime/vm/double_internals.h +++ b/runtime/vm/double_internals.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_DOUBLE_INTERNALS_H_ -#define VM_DOUBLE_INTERNALS_H_ +#ifndef RUNTIME_VM_DOUBLE_INTERNALS_H_ +#define RUNTIME_VM_DOUBLE_INTERNALS_H_ #include "platform/utils.h" @@ -77,4 +77,4 @@ class DoubleInternals { } // namespace dart -#endif // VM_DOUBLE_INTERNALS_H_ +#endif // RUNTIME_VM_DOUBLE_INTERNALS_H_ diff --git a/runtime/vm/exceptions.h b/runtime/vm/exceptions.h index e85f100bc47..eaf619438a4 100644 --- a/runtime/vm/exceptions.h +++ b/runtime/vm/exceptions.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_EXCEPTIONS_H_ -#define VM_EXCEPTIONS_H_ +#ifndef RUNTIME_VM_EXCEPTIONS_H_ +#define RUNTIME_VM_EXCEPTIONS_H_ #include "vm/allocation.h" #include "vm/token_position.h" @@ -86,4 +86,4 @@ class Exceptions : AllStatic { } // namespace dart -#endif // VM_EXCEPTIONS_H_ +#endif // RUNTIME_VM_EXCEPTIONS_H_ diff --git a/runtime/vm/flag_list.h b/runtime/vm/flag_list.h index c8ceb68fb96..6b2e6315e9f 100644 --- a/runtime/vm/flag_list.h +++ b/runtime/vm/flag_list.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_FLAG_LIST_H_ -#define VM_FLAG_LIST_H_ +#ifndef RUNTIME_VM_FLAG_LIST_H_ +#define RUNTIME_VM_FLAG_LIST_H_ // Don't use USING_DBC outside of this file. #if defined(TARGET_ARCH_DBC) @@ -201,4 +201,4 @@ R(verify_before_gc, false, bool, false, \ D(verify_on_transition, bool, false, \ "Verify on dart <==> VM.") \ -#endif // VM_FLAG_LIST_H_ +#endif // RUNTIME_VM_FLAG_LIST_H_ diff --git a/runtime/vm/flags.h b/runtime/vm/flags.h index b30299c7a95..2d882d00519 100644 --- a/runtime/vm/flags.h +++ b/runtime/vm/flags.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_FLAGS_H_ -#define VM_FLAGS_H_ +#ifndef RUNTIME_VM_FLAGS_H_ +#define RUNTIME_VM_FLAGS_H_ #include "platform/assert.h" #include "vm/flag_list.h" @@ -157,4 +157,4 @@ FLAG_LIST(PRODUCT_FLAG_MARCO, } // namespace dart -#endif // VM_FLAGS_H_ +#endif // RUNTIME_VM_FLAGS_H_ diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h index e4a0a3ca483..1b710836757 100644 --- a/runtime/vm/flow_graph.h +++ b/runtime/vm/flow_graph.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_FLOW_GRAPH_H_ -#define VM_FLOW_GRAPH_H_ +#ifndef RUNTIME_VM_FLOW_GRAPH_H_ +#define RUNTIME_VM_FLOW_GRAPH_H_ #include "vm/bit_vector.h" #include "vm/growable_array.h" @@ -566,4 +566,4 @@ class DefinitionWorklist : public ValueObject { } // namespace dart -#endif // VM_FLOW_GRAPH_H_ +#endif // RUNTIME_VM_FLOW_GRAPH_H_ diff --git a/runtime/vm/flow_graph_allocator.h b/runtime/vm/flow_graph_allocator.h index 34804eb7f3f..6cd79e0ea0f 100644 --- a/runtime/vm/flow_graph_allocator.h +++ b/runtime/vm/flow_graph_allocator.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_FLOW_GRAPH_ALLOCATOR_H_ -#define VM_FLOW_GRAPH_ALLOCATOR_H_ +#ifndef RUNTIME_VM_FLOW_GRAPH_ALLOCATOR_H_ +#define RUNTIME_VM_FLOW_GRAPH_ALLOCATOR_H_ #include "vm/flow_graph.h" #include "vm/growable_array.h" @@ -684,4 +684,4 @@ class LiveRange : public ZoneAllocated { } // namespace dart -#endif // VM_FLOW_GRAPH_ALLOCATOR_H_ +#endif // RUNTIME_VM_FLOW_GRAPH_ALLOCATOR_H_ diff --git a/runtime/vm/flow_graph_builder.h b/runtime/vm/flow_graph_builder.h index 870773b5d53..19dc316e6cd 100644 --- a/runtime/vm/flow_graph_builder.h +++ b/runtime/vm/flow_graph_builder.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_FLOW_GRAPH_BUILDER_H_ -#define VM_FLOW_GRAPH_BUILDER_H_ +#ifndef RUNTIME_VM_FLOW_GRAPH_BUILDER_H_ +#define RUNTIME_VM_FLOW_GRAPH_BUILDER_H_ #include "platform/assert.h" #include "platform/globals.h" @@ -585,4 +585,4 @@ class TestGraphVisitor : public ValueGraphVisitor { } // namespace dart -#endif // VM_FLOW_GRAPH_BUILDER_H_ +#endif // RUNTIME_VM_FLOW_GRAPH_BUILDER_H_ diff --git a/runtime/vm/flow_graph_compiler.h b/runtime/vm/flow_graph_compiler.h index 165cdede238..a43c6afe160 100644 --- a/runtime/vm/flow_graph_compiler.h +++ b/runtime/vm/flow_graph_compiler.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_FLOW_GRAPH_COMPILER_H_ -#define VM_FLOW_GRAPH_COMPILER_H_ +#ifndef RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ +#define RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ #include "vm/allocation.h" #include "vm/assembler.h" @@ -802,4 +802,4 @@ class FlowGraphCompiler : public ValueObject { } // namespace dart -#endif // VM_FLOW_GRAPH_COMPILER_H_ +#endif // RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ diff --git a/runtime/vm/flow_graph_inliner.h b/runtime/vm/flow_graph_inliner.h index 77a903a52b0..ccf7d3924a6 100644 --- a/runtime/vm/flow_graph_inliner.h +++ b/runtime/vm/flow_graph_inliner.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_FLOW_GRAPH_INLINER_H_ -#define VM_FLOW_GRAPH_INLINER_H_ +#ifndef RUNTIME_VM_FLOW_GRAPH_INLINER_H_ +#define RUNTIME_VM_FLOW_GRAPH_INLINER_H_ #include "vm/allocation.h" #include "vm/growable_array.h" @@ -83,4 +83,4 @@ class FlowGraphInliner : ValueObject { } // namespace dart -#endif // VM_FLOW_GRAPH_INLINER_H_ +#endif // RUNTIME_VM_FLOW_GRAPH_INLINER_H_ diff --git a/runtime/vm/flow_graph_range_analysis.h b/runtime/vm/flow_graph_range_analysis.h index 691fff5134a..a1e1ba3e0a4 100644 --- a/runtime/vm/flow_graph_range_analysis.h +++ b/runtime/vm/flow_graph_range_analysis.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_FLOW_GRAPH_RANGE_ANALYSIS_H_ -#define VM_FLOW_GRAPH_RANGE_ANALYSIS_H_ +#ifndef RUNTIME_VM_FLOW_GRAPH_RANGE_ANALYSIS_H_ +#define RUNTIME_VM_FLOW_GRAPH_RANGE_ANALYSIS_H_ #include "vm/flow_graph.h" #include "vm/intermediate_language.h" @@ -663,4 +663,4 @@ class IntegerInstructionSelector : public ValueObject { } // namespace dart -#endif // VM_FLOW_GRAPH_RANGE_ANALYSIS_H_ +#endif // RUNTIME_VM_FLOW_GRAPH_RANGE_ANALYSIS_H_ diff --git a/runtime/vm/flow_graph_type_propagator.h b/runtime/vm/flow_graph_type_propagator.h index 84229c59bf8..421b76edd0e 100644 --- a/runtime/vm/flow_graph_type_propagator.h +++ b/runtime/vm/flow_graph_type_propagator.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_FLOW_GRAPH_TYPE_PROPAGATOR_H_ -#define VM_FLOW_GRAPH_TYPE_PROPAGATOR_H_ +#ifndef RUNTIME_VM_FLOW_GRAPH_TYPE_PROPAGATOR_H_ +#define RUNTIME_VM_FLOW_GRAPH_TYPE_PROPAGATOR_H_ #include "vm/flow_graph.h" #include "vm/intermediate_language.h" @@ -98,4 +98,4 @@ class FlowGraphTypePropagator : public FlowGraphVisitor { } // namespace dart -#endif // VM_FLOW_GRAPH_TYPE_PROPAGATOR_H_ +#endif // RUNTIME_VM_FLOW_GRAPH_TYPE_PROPAGATOR_H_ diff --git a/runtime/vm/freelist.h b/runtime/vm/freelist.h index 975e50cca84..22744a1c384 100644 --- a/runtime/vm/freelist.h +++ b/runtime/vm/freelist.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_FREELIST_H_ -#define VM_FREELIST_H_ +#ifndef RUNTIME_VM_FREELIST_H_ +#define RUNTIME_VM_FREELIST_H_ #include "platform/assert.h" #include "vm/allocation.h" @@ -134,4 +134,4 @@ class FreeList { } // namespace dart -#endif // VM_FREELIST_H_ +#endif // RUNTIME_VM_FREELIST_H_ diff --git a/runtime/vm/gc_marker.h b/runtime/vm/gc_marker.h index f1e473a159c..5a5f2ea9118 100644 --- a/runtime/vm/gc_marker.h +++ b/runtime/vm/gc_marker.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_GC_MARKER_H_ -#define VM_GC_MARKER_H_ +#ifndef RUNTIME_VM_GC_MARKER_H_ +#define RUNTIME_VM_GC_MARKER_H_ #include "vm/allocation.h" #include "vm/os_thread.h" // Mutex. @@ -61,4 +61,4 @@ class GCMarker : public ValueObject { } // namespace dart -#endif // VM_GC_MARKER_H_ +#endif // RUNTIME_VM_GC_MARKER_H_ diff --git a/runtime/vm/gc_sweeper.h b/runtime/vm/gc_sweeper.h index b2b831749b5..ba9aaef9cee 100644 --- a/runtime/vm/gc_sweeper.h +++ b/runtime/vm/gc_sweeper.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_GC_SWEEPER_H_ -#define VM_GC_SWEEPER_H_ +#ifndef RUNTIME_VM_GC_SWEEPER_H_ +#define RUNTIME_VM_GC_SWEEPER_H_ #include "vm/globals.h" @@ -43,4 +43,4 @@ class GCSweeper { } // namespace dart -#endif // VM_GC_SWEEPER_H_ +#endif // RUNTIME_VM_GC_SWEEPER_H_ diff --git a/runtime/vm/globals.h b/runtime/vm/globals.h index 9fd69e2770f..e65cb7d6320 100644 --- a/runtime/vm/globals.h +++ b/runtime/vm/globals.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_GLOBALS_H_ -#define VM_GLOBALS_H_ +#ifndef RUNTIME_VM_GLOBALS_H_ +#define RUNTIME_VM_GLOBALS_H_ // This file contains global definitions for the VM library only. Anything that // is more globally useful should be added to 'vm/globals.h'. @@ -132,4 +132,4 @@ static const uword kZapUninitializedWord = 0xabababababababab; } // namespace dart -#endif // VM_GLOBALS_H_ +#endif // RUNTIME_VM_GLOBALS_H_ diff --git a/runtime/vm/growable_array.h b/runtime/vm/growable_array.h index 42b787be634..09df0607d43 100644 --- a/runtime/vm/growable_array.h +++ b/runtime/vm/growable_array.h @@ -7,8 +7,8 @@ // - MallocGrowableArray: allocates using malloc/realloc; free is only called // at destruction. -#ifndef VM_GROWABLE_ARRAY_H_ -#define VM_GROWABLE_ARRAY_H_ +#ifndef RUNTIME_VM_GROWABLE_ARRAY_H_ +#define RUNTIME_VM_GROWABLE_ARRAY_H_ #include "platform/utils.h" #include "vm/allocation.h" @@ -294,4 +294,4 @@ class MallocGrowableArray : public BaseGrowableArray { } // namespace dart -#endif // VM_GROWABLE_ARRAY_H_ +#endif // RUNTIME_VM_GROWABLE_ARRAY_H_ diff --git a/runtime/vm/handles.h b/runtime/vm/handles.h index aab078cb92c..1b4c7bd0260 100644 --- a/runtime/vm/handles.h +++ b/runtime/vm/handles.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_HANDLES_H_ -#define VM_HANDLES_H_ +#ifndef RUNTIME_VM_HANDLES_H_ +#define RUNTIME_VM_HANDLES_H_ #include "vm/allocation.h" #include "vm/flags.h" @@ -356,4 +356,4 @@ class NoHandleScope : public ValueObject { } // namespace dart -#endif // VM_HANDLES_H_ +#endif // RUNTIME_VM_HANDLES_H_ diff --git a/runtime/vm/handles_impl.h b/runtime/vm/handles_impl.h index bf44e637370..eb7be5eb4c1 100644 --- a/runtime/vm/handles_impl.h +++ b/runtime/vm/handles_impl.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_HANDLES_IMPL_H_ -#define VM_HANDLES_IMPL_H_ +#ifndef RUNTIME_VM_HANDLES_IMPL_H_ +#define RUNTIME_VM_HANDLES_IMPL_H_ #include "vm/heap.h" #include "vm/thread.h" @@ -368,4 +368,4 @@ int Handles > { } // namespace dart -#endif // VM_HASH_TABLE_H_ +#endif // RUNTIME_VM_HASH_TABLE_H_ diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h index deae0a0bfed..30210bc54c8 100644 --- a/runtime/vm/heap.h +++ b/runtime/vm/heap.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_HEAP_H_ -#define VM_HEAP_H_ +#ifndef RUNTIME_VM_HEAP_H_ +#define RUNTIME_VM_HEAP_H_ #include "platform/assert.h" #include "vm/allocation.h" @@ -396,4 +396,4 @@ class WritableVMIsolateScope : StackResource { } // namespace dart -#endif // VM_HEAP_H_ +#endif // RUNTIME_VM_HEAP_H_ diff --git a/runtime/vm/il_printer.h b/runtime/vm/il_printer.h index b800ab798ea..88496fb30ec 100644 --- a/runtime/vm/il_printer.h +++ b/runtime/vm/il_printer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_IL_PRINTER_H_ -#define VM_IL_PRINTER_H_ +#ifndef RUNTIME_VM_IL_PRINTER_H_ +#define RUNTIME_VM_IL_PRINTER_H_ #include "vm/flow_graph.h" #include "vm/intermediate_language.h" @@ -76,4 +76,4 @@ class FlowGraphPrinter : public ValueObject { } // namespace dart -#endif // VM_IL_PRINTER_H_ +#endif // RUNTIME_VM_IL_PRINTER_H_ diff --git a/runtime/vm/instructions.h b/runtime/vm/instructions.h index 2274becb986..8b14145d0e9 100644 --- a/runtime/vm/instructions.h +++ b/runtime/vm/instructions.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_INSTRUCTIONS_H_ -#define VM_INSTRUCTIONS_H_ +#ifndef RUNTIME_VM_INSTRUCTIONS_H_ +#define RUNTIME_VM_INSTRUCTIONS_H_ #include "vm/globals.h" @@ -34,4 +34,4 @@ bool DecodeLoadObjectFromPoolOrThread(uword pc, } // namespace dart -#endif // VM_INSTRUCTIONS_H_ +#endif // RUNTIME_VM_INSTRUCTIONS_H_ diff --git a/runtime/vm/instructions_arm.h b/runtime/vm/instructions_arm.h index 687cf7e03dd..efaa73b77cd 100644 --- a/runtime/vm/instructions_arm.h +++ b/runtime/vm/instructions_arm.h @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // Classes that describe assembly patterns as used by inline caches. -#ifndef VM_INSTRUCTIONS_ARM_H_ -#define VM_INSTRUCTIONS_ARM_H_ +#ifndef RUNTIME_VM_INSTRUCTIONS_ARM_H_ +#define RUNTIME_VM_INSTRUCTIONS_ARM_H_ -#ifndef VM_INSTRUCTIONS_H_ +#ifndef RUNTIME_VM_INSTRUCTIONS_H_ #error Do not include instructions_arm.h directly; use instructions.h instead. #endif @@ -133,4 +133,4 @@ class ReturnPattern : public ValueObject { } // namespace dart -#endif // VM_INSTRUCTIONS_ARM_H_ +#endif // RUNTIME_VM_INSTRUCTIONS_ARM_H_ diff --git a/runtime/vm/instructions_arm64.h b/runtime/vm/instructions_arm64.h index e3c1d4d0f3b..e86a306d011 100644 --- a/runtime/vm/instructions_arm64.h +++ b/runtime/vm/instructions_arm64.h @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // Classes that describe assembly patterns as used by inline caches. -#ifndef VM_INSTRUCTIONS_ARM64_H_ -#define VM_INSTRUCTIONS_ARM64_H_ +#ifndef RUNTIME_VM_INSTRUCTIONS_ARM64_H_ +#define RUNTIME_VM_INSTRUCTIONS_ARM64_H_ -#ifndef VM_INSTRUCTIONS_H_ +#ifndef RUNTIME_VM_INSTRUCTIONS_H_ #error Do not include instructions_arm64.h directly; use instructions.h instead. #endif @@ -140,4 +140,4 @@ class ReturnPattern : public ValueObject { } // namespace dart -#endif // VM_INSTRUCTIONS_ARM64_H_ +#endif // RUNTIME_VM_INSTRUCTIONS_ARM64_H_ diff --git a/runtime/vm/instructions_dbc.h b/runtime/vm/instructions_dbc.h index a10dcc0a620..e0ea7999033 100644 --- a/runtime/vm/instructions_dbc.h +++ b/runtime/vm/instructions_dbc.h @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // Classes that describe assembly patterns as used by inline caches. -#ifndef VM_INSTRUCTIONS_DBC_H_ -#define VM_INSTRUCTIONS_DBC_H_ +#ifndef RUNTIME_VM_INSTRUCTIONS_DBC_H_ +#define RUNTIME_VM_INSTRUCTIONS_DBC_H_ -#ifndef VM_INSTRUCTIONS_H_ +#ifndef RUNTIME_VM_INSTRUCTIONS_H_ #error Do not include instructions_dbc.h directly; use instructions.h instead. #endif @@ -135,4 +135,4 @@ class ReturnPattern : public ValueObject { } // namespace dart -#endif // VM_INSTRUCTIONS_DBC_H_ +#endif // RUNTIME_VM_INSTRUCTIONS_DBC_H_ diff --git a/runtime/vm/instructions_ia32.h b/runtime/vm/instructions_ia32.h index 33d648f44c0..4be887f145d 100644 --- a/runtime/vm/instructions_ia32.h +++ b/runtime/vm/instructions_ia32.h @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // Classes that describe assembly patterns as used by inline caches. -#ifndef VM_INSTRUCTIONS_IA32_H_ -#define VM_INSTRUCTIONS_IA32_H_ +#ifndef RUNTIME_VM_INSTRUCTIONS_IA32_H_ +#define RUNTIME_VM_INSTRUCTIONS_IA32_H_ -#ifndef VM_INSTRUCTIONS_H_ +#ifndef RUNTIME_VM_INSTRUCTIONS_H_ #error Do not include instructions_ia32.h directly; use instructions.h instead. #endif @@ -144,4 +144,4 @@ class SetFramePointerPattern : } // namespace dart -#endif // VM_INSTRUCTIONS_IA32_H_ +#endif // RUNTIME_VM_INSTRUCTIONS_IA32_H_ diff --git a/runtime/vm/instructions_mips.h b/runtime/vm/instructions_mips.h index 95f04f74d08..83907cb313f 100644 --- a/runtime/vm/instructions_mips.h +++ b/runtime/vm/instructions_mips.h @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // Classes that describe assembly patterns as used by inline caches. -#ifndef VM_INSTRUCTIONS_MIPS_H_ -#define VM_INSTRUCTIONS_MIPS_H_ +#ifndef RUNTIME_VM_INSTRUCTIONS_MIPS_H_ +#define RUNTIME_VM_INSTRUCTIONS_MIPS_H_ -#ifndef VM_INSTRUCTIONS_H_ +#ifndef RUNTIME_VM_INSTRUCTIONS_H_ #error Do not include instructions_mips.h directly; use instructions.h instead. #endif @@ -133,4 +133,4 @@ class ReturnPattern : public ValueObject { } // namespace dart -#endif // VM_INSTRUCTIONS_MIPS_H_ +#endif // RUNTIME_VM_INSTRUCTIONS_MIPS_H_ diff --git a/runtime/vm/instructions_x64.h b/runtime/vm/instructions_x64.h index 97c52e9a1fa..ba86ee43e1c 100644 --- a/runtime/vm/instructions_x64.h +++ b/runtime/vm/instructions_x64.h @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // Classes that describe assembly patterns as used by inline caches. -#ifndef VM_INSTRUCTIONS_X64_H_ -#define VM_INSTRUCTIONS_X64_H_ +#ifndef RUNTIME_VM_INSTRUCTIONS_X64_H_ +#define RUNTIME_VM_INSTRUCTIONS_X64_H_ -#ifndef VM_INSTRUCTIONS_H_ +#ifndef RUNTIME_VM_INSTRUCTIONS_H_ #error Do not include instructions_ia32.h directly; use instructions.h instead. #endif @@ -121,4 +121,4 @@ class SetFramePointerPattern : } // namespace dart -#endif // VM_INSTRUCTIONS_X64_H_ +#endif // RUNTIME_VM_INSTRUCTIONS_X64_H_ diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h index 2876be7d728..8e7241a16ea 100644 --- a/runtime/vm/intermediate_language.h +++ b/runtime/vm/intermediate_language.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_INTERMEDIATE_LANGUAGE_H_ -#define VM_INTERMEDIATE_LANGUAGE_H_ +#ifndef RUNTIME_VM_INTERMEDIATE_LANGUAGE_H_ +#define RUNTIME_VM_INTERMEDIATE_LANGUAGE_H_ #include "vm/allocation.h" #include "vm/ast.h" @@ -8389,4 +8389,4 @@ class FlowGraphVisitor : public ValueObject { } // namespace dart -#endif // VM_INTERMEDIATE_LANGUAGE_H_ +#endif // RUNTIME_VM_INTERMEDIATE_LANGUAGE_H_ diff --git a/runtime/vm/intrinsifier.h b/runtime/vm/intrinsifier.h index 7226d3ac777..37cf5efb71c 100644 --- a/runtime/vm/intrinsifier.h +++ b/runtime/vm/intrinsifier.h @@ -3,8 +3,8 @@ // BSD-style license that can be found in the LICENSE file. // Class for intrinsifying functions. -#ifndef VM_INTRINSIFIER_H_ -#define VM_INTRINSIFIER_H_ +#ifndef RUNTIME_VM_INTRINSIFIER_H_ +#define RUNTIME_VM_INTRINSIFIER_H_ #include "vm/allocation.h" #include "vm/method_recognizer.h" @@ -61,4 +61,4 @@ class Intrinsifier : public AllStatic { } // namespace dart -#endif // VM_INTRINSIFIER_H_ +#endif // RUNTIME_VM_INTRINSIFIER_H_ diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h index e85d4da7743..f29f6666330 100644 --- a/runtime/vm/isolate.h +++ b/runtime/vm/isolate.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ISOLATE_H_ -#define VM_ISOLATE_H_ +#ifndef RUNTIME_VM_ISOLATE_H_ +#define RUNTIME_VM_ISOLATE_H_ #include "include/dart_api.h" #include "platform/assert.h" @@ -1029,4 +1029,4 @@ class IsolateSpawnState { } // namespace dart -#endif // VM_ISOLATE_H_ +#endif // RUNTIME_VM_ISOLATE_H_ diff --git a/runtime/vm/isolate_reload.h b/runtime/vm/isolate_reload.h index ce16bef8b71..e8fbd3ae381 100644 --- a/runtime/vm/isolate_reload.h +++ b/runtime/vm/isolate_reload.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ISOLATE_RELOAD_H_ -#define VM_ISOLATE_RELOAD_H_ +#ifndef RUNTIME_VM_ISOLATE_RELOAD_H_ +#define RUNTIME_VM_ISOLATE_RELOAD_H_ #include "include/dart_tools_api.h" @@ -348,4 +348,4 @@ class IsolateReloadContext { } // namespace dart -#endif // VM_ISOLATE_RELOAD_H_ +#endif // RUNTIME_VM_ISOLATE_RELOAD_H_ diff --git a/runtime/vm/jit_optimizer.h b/runtime/vm/jit_optimizer.h index 21a7855235a..462c1df131d 100644 --- a/runtime/vm/jit_optimizer.h +++ b/runtime/vm/jit_optimizer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_JIT_OPTIMIZER_H_ -#define VM_JIT_OPTIMIZER_H_ +#ifndef RUNTIME_VM_JIT_OPTIMIZER_H_ +#define RUNTIME_VM_JIT_OPTIMIZER_H_ #include "vm/intermediate_language.h" #include "vm/flow_graph.h" @@ -134,4 +134,4 @@ class JitOptimizer : public FlowGraphVisitor { } // namespace dart -#endif // VM_JIT_OPTIMIZER_H_ +#endif // RUNTIME_VM_JIT_OPTIMIZER_H_ diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h index 2dac1c74ad1..17daf88a0a2 100644 --- a/runtime/vm/json_stream.h +++ b/runtime/vm/json_stream.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_JSON_STREAM_H_ -#define VM_JSON_STREAM_H_ +#ifndef RUNTIME_VM_JSON_STREAM_H_ +#define RUNTIME_VM_JSON_STREAM_H_ #include "include/dart_api.h" // for Dart_Port #include "platform/text_buffer.h" @@ -434,4 +434,4 @@ class JSONArray : public ValueObject { } // namespace dart -#endif // VM_JSON_STREAM_H_ +#endif // RUNTIME_VM_JSON_STREAM_H_ diff --git a/runtime/vm/kernel.h b/runtime/vm/kernel.h index b6038fc2d11..5133ce94290 100644 --- a/runtime/vm/kernel.h +++ b/runtime/vm/kernel.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_KERNEL_H_ -#define VM_KERNEL_H_ +#ifndef RUNTIME_VM_KERNEL_H_ +#define RUNTIME_VM_KERNEL_H_ #include "platform/assert.h" #include "vm/allocation.h" @@ -3240,4 +3240,4 @@ void WritePrecompiledKernel(ByteWriter* out, kernel::Program* program); } // namespace dart -#endif // VM_KERNEL_H_ +#endif // RUNTIME_VM_KERNEL_H_ diff --git a/runtime/vm/kernel_reader.h b/runtime/vm/kernel_reader.h index a53d57279c6..e6d9e55e949 100644 --- a/runtime/vm/kernel_reader.h +++ b/runtime/vm/kernel_reader.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_KERNEL_READER_H_ -#define VM_KERNEL_READER_H_ +#ifndef RUNTIME_VM_KERNEL_READER_H_ +#define RUNTIME_VM_KERNEL_READER_H_ #include @@ -117,4 +117,4 @@ class KernelReader { } // namespace kernel } // namespace dart -#endif // VM_KERNEL_READER_H_ +#endif // RUNTIME_VM_KERNEL_READER_H_ diff --git a/runtime/vm/kernel_to_il.h b/runtime/vm/kernel_to_il.h index 6f50949e500..20b9aeb095a 100644 --- a/runtime/vm/kernel_to_il.h +++ b/runtime/vm/kernel_to_il.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_KERNEL_TO_IL_H_ -#define VM_KERNEL_TO_IL_H_ +#ifndef RUNTIME_VM_KERNEL_TO_IL_H_ +#define RUNTIME_VM_KERNEL_TO_IL_H_ #include "vm/growable_array.h" #include "vm/hash_map.h" @@ -836,4 +836,4 @@ class FlowGraphBuilder : public TreeVisitor { } // namespace dart -#endif // VM_KERNEL_TO_IL_H_ +#endif // RUNTIME_VM_KERNEL_TO_IL_H_ diff --git a/runtime/vm/locations.h b/runtime/vm/locations.h index 06920078854..e81c96be5c6 100644 --- a/runtime/vm/locations.h +++ b/runtime/vm/locations.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_LOCATIONS_H_ -#define VM_LOCATIONS_H_ +#ifndef RUNTIME_VM_LOCATIONS_H_ +#define RUNTIME_VM_LOCATIONS_H_ #include "vm/allocation.h" #include "vm/assembler.h" @@ -727,4 +727,4 @@ class LocationSummary : public ZoneAllocated { } // namespace dart -#endif // VM_LOCATIONS_H_ +#endif // RUNTIME_VM_LOCATIONS_H_ diff --git a/runtime/vm/lockers.h b/runtime/vm/lockers.h index a0b1a179be8..1ffe532c25d 100644 --- a/runtime/vm/lockers.h +++ b/runtime/vm/lockers.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_LOCKERS_H_ -#define VM_LOCKERS_H_ +#ifndef RUNTIME_VM_LOCKERS_H_ +#define RUNTIME_VM_LOCKERS_H_ #include "platform/assert.h" #include "vm/allocation.h" @@ -258,4 +258,4 @@ class SafepointMonitorLocker : public ValueObject { } // namespace dart -#endif // VM_LOCKERS_H_ +#endif // RUNTIME_VM_LOCKERS_H_ diff --git a/runtime/vm/log.h b/runtime/vm/log.h index a2f18fad5b7..e6cc336d927 100644 --- a/runtime/vm/log.h +++ b/runtime/vm/log.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_LOG_H_ -#define VM_LOG_H_ +#ifndef RUNTIME_VM_LOG_H_ +#define RUNTIME_VM_LOG_H_ #include "vm/allocation.h" #include "vm/growable_array.h" @@ -98,4 +98,4 @@ class LogBlock : public StackResource { } // namespace dart -#endif // VM_LOG_H_ +#endif // RUNTIME_VM_LOG_H_ diff --git a/runtime/vm/longjump.h b/runtime/vm/longjump.h index ce4f813f762..b62230fe58f 100644 --- a/runtime/vm/longjump.h +++ b/runtime/vm/longjump.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_LONGJUMP_H_ -#define VM_LONGJUMP_H_ +#ifndef RUNTIME_VM_LONGJUMP_H_ +#define RUNTIME_VM_LONGJUMP_H_ #include @@ -45,4 +45,4 @@ class LongJumpScope : public StackResource { } // namespace dart -#endif // VM_LONGJUMP_H_ +#endif // RUNTIME_VM_LONGJUMP_H_ diff --git a/runtime/vm/megamorphic_cache_table.h b/runtime/vm/megamorphic_cache_table.h index 4c7242a6a13..ee651182218 100644 --- a/runtime/vm/megamorphic_cache_table.h +++ b/runtime/vm/megamorphic_cache_table.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_MEGAMORPHIC_CACHE_TABLE_H_ -#define VM_MEGAMORPHIC_CACHE_TABLE_H_ +#ifndef RUNTIME_VM_MEGAMORPHIC_CACHE_TABLE_H_ +#define RUNTIME_VM_MEGAMORPHIC_CACHE_TABLE_H_ #include "vm/allocation.h" @@ -34,4 +34,4 @@ class MegamorphicCacheTable : public AllStatic { } // namespace dart -#endif // VM_MEGAMORPHIC_CACHE_TABLE_H_ +#endif // RUNTIME_VM_MEGAMORPHIC_CACHE_TABLE_H_ diff --git a/runtime/vm/memory_region.h b/runtime/vm/memory_region.h index eaa52210f2f..807588bc42e 100644 --- a/runtime/vm/memory_region.h +++ b/runtime/vm/memory_region.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_MEMORY_REGION_H_ -#define VM_MEMORY_REGION_H_ +#ifndef RUNTIME_VM_MEMORY_REGION_H_ +#define RUNTIME_VM_MEMORY_REGION_H_ #include "platform/assert.h" #include "vm/allocation.h" @@ -79,4 +79,4 @@ class MemoryRegion : public ValueObject { } // namespace dart -#endif // VM_MEMORY_REGION_H_ +#endif // RUNTIME_VM_MEMORY_REGION_H_ diff --git a/runtime/vm/message.h b/runtime/vm/message.h index aaa14c7505e..7227e734576 100644 --- a/runtime/vm/message.h +++ b/runtime/vm/message.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_MESSAGE_H_ -#define VM_MESSAGE_H_ +#ifndef RUNTIME_VM_MESSAGE_H_ +#define RUNTIME_VM_MESSAGE_H_ #include "platform/assert.h" #include "vm/allocation.h" @@ -169,4 +169,4 @@ class MessageQueue { } // namespace dart -#endif // VM_MESSAGE_H_ +#endif // RUNTIME_VM_MESSAGE_H_ diff --git a/runtime/vm/message_handler.h b/runtime/vm/message_handler.h index 825e3d38ad8..150dac6298c 100644 --- a/runtime/vm/message_handler.h +++ b/runtime/vm/message_handler.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_MESSAGE_HANDLER_H_ -#define VM_MESSAGE_HANDLER_H_ +#ifndef RUNTIME_VM_MESSAGE_HANDLER_H_ +#define RUNTIME_VM_MESSAGE_HANDLER_H_ #include "vm/isolate.h" #include "vm/lockers.h" @@ -258,4 +258,4 @@ class MessageHandler { } // namespace dart -#endif // VM_MESSAGE_HANDLER_H_ +#endif // RUNTIME_VM_MESSAGE_HANDLER_H_ diff --git a/runtime/vm/method_recognizer.h b/runtime/vm/method_recognizer.h index 04f49ed13e0..b110916cc7c 100644 --- a/runtime/vm/method_recognizer.h +++ b/runtime/vm/method_recognizer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_METHOD_RECOGNIZER_H_ -#define VM_METHOD_RECOGNIZER_H_ +#ifndef RUNTIME_VM_METHOD_RECOGNIZER_H_ +#define RUNTIME_VM_METHOD_RECOGNIZER_H_ #include "vm/allocation.h" @@ -557,4 +557,4 @@ class FactoryRecognizer : public AllStatic { } // namespace dart -#endif // VM_METHOD_RECOGNIZER_H_ +#endif // RUNTIME_VM_METHOD_RECOGNIZER_H_ diff --git a/runtime/vm/metrics.h b/runtime/vm/metrics.h index c34f02d323c..66945852f17 100644 --- a/runtime/vm/metrics.h +++ b/runtime/vm/metrics.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_METRICS_H_ -#define VM_METRICS_H_ +#ifndef RUNTIME_VM_METRICS_H_ +#define RUNTIME_VM_METRICS_H_ #include "vm/allocation.h" @@ -179,4 +179,4 @@ class MetricHeapUsed : public Metric { } // namespace dart -#endif // VM_METRICS_H_ +#endif // RUNTIME_VM_METRICS_H_ diff --git a/runtime/vm/native_arguments.h b/runtime/vm/native_arguments.h index 2f94d8f06bd..3586569a1f5 100644 --- a/runtime/vm/native_arguments.h +++ b/runtime/vm/native_arguments.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_NATIVE_ARGUMENTS_H_ -#define VM_NATIVE_ARGUMENTS_H_ +#ifndef RUNTIME_VM_NATIVE_ARGUMENTS_H_ +#define RUNTIME_VM_NATIVE_ARGUMENTS_H_ #include "platform/assert.h" #include "platform/memory_sanitizer.h" @@ -262,4 +262,4 @@ class NativeArguments { } // namespace dart -#endif // VM_NATIVE_ARGUMENTS_H_ +#endif // RUNTIME_VM_NATIVE_ARGUMENTS_H_ diff --git a/runtime/vm/native_entry.h b/runtime/vm/native_entry.h index 4be2cc3917d..72531fad9e1 100644 --- a/runtime/vm/native_entry.h +++ b/runtime/vm/native_entry.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_NATIVE_ENTRY_H_ -#define VM_NATIVE_ENTRY_H_ +#ifndef RUNTIME_VM_NATIVE_ENTRY_H_ +#define RUNTIME_VM_NATIVE_ENTRY_H_ #include "platform/memory_sanitizer.h" @@ -134,4 +134,4 @@ class NativeEntry : public AllStatic { } // namespace dart -#endif // VM_NATIVE_ENTRY_H_ +#endif // RUNTIME_VM_NATIVE_ENTRY_H_ diff --git a/runtime/vm/native_entry_test.h b/runtime/vm/native_entry_test.h index 706b4b6e3e7..682221a1e9c 100644 --- a/runtime/vm/native_entry_test.h +++ b/runtime/vm/native_entry_test.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_NATIVE_ENTRY_TEST_H_ -#define VM_NATIVE_ENTRY_TEST_H_ +#ifndef RUNTIME_VM_NATIVE_ENTRY_TEST_H_ +#define RUNTIME_VM_NATIVE_ENTRY_TEST_H_ #include "include/dart_api.h" #include "vm/runtime_entry.h" @@ -16,4 +16,4 @@ void TestNonNullSmiSum(Dart_NativeArguments args); } // namespace dart -#endif // VM_NATIVE_ENTRY_TEST_H_ +#endif // RUNTIME_VM_NATIVE_ENTRY_TEST_H_ diff --git a/runtime/vm/native_message_handler.h b/runtime/vm/native_message_handler.h index 9a34c778911..713366261f6 100644 --- a/runtime/vm/native_message_handler.h +++ b/runtime/vm/native_message_handler.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_NATIVE_MESSAGE_HANDLER_H_ -#define VM_NATIVE_MESSAGE_HANDLER_H_ +#ifndef RUNTIME_VM_NATIVE_MESSAGE_HANDLER_H_ +#define RUNTIME_VM_NATIVE_MESSAGE_HANDLER_H_ #include "include/dart_api.h" #include "include/dart_native_api.h" @@ -38,4 +38,4 @@ class NativeMessageHandler : public MessageHandler { } // namespace dart -#endif // VM_NATIVE_MESSAGE_HANDLER_H_ +#endif // RUNTIME_VM_NATIVE_MESSAGE_HANDLER_H_ diff --git a/runtime/vm/native_symbol.h b/runtime/vm/native_symbol.h index dec113a16a1..f82f3141082 100644 --- a/runtime/vm/native_symbol.h +++ b/runtime/vm/native_symbol.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_NATIVE_SYMBOL_H_ -#define VM_NATIVE_SYMBOL_H_ +#ifndef RUNTIME_VM_NATIVE_SYMBOL_H_ +#define RUNTIME_VM_NATIVE_SYMBOL_H_ #include "vm/allocation.h" #include "vm/globals.h" @@ -23,4 +23,4 @@ class NativeSymbolResolver : public AllStatic { } // namespace dart -#endif // VM_NATIVE_SYMBOL_H_ +#endif // RUNTIME_VM_NATIVE_SYMBOL_H_ diff --git a/runtime/vm/object.h b/runtime/vm/object.h index 5f8ddbf1d94..dcc86c7783e 100644 --- a/runtime/vm/object.h +++ b/runtime/vm/object.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_OBJECT_H_ -#define VM_OBJECT_H_ +#ifndef RUNTIME_VM_OBJECT_H_ +#define RUNTIME_VM_OBJECT_H_ #include "include/dart_api.h" #include "platform/assert.h" @@ -9017,4 +9017,4 @@ inline void TypeArguments::SetHash(intptr_t value) const { } // namespace dart -#endif // VM_OBJECT_H_ +#endif // RUNTIME_VM_OBJECT_H_ diff --git a/runtime/vm/object_graph.h b/runtime/vm/object_graph.h index 70091d639bd..e42e419ceec 100644 --- a/runtime/vm/object_graph.h +++ b/runtime/vm/object_graph.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_OBJECT_GRAPH_H_ -#define VM_OBJECT_GRAPH_H_ +#ifndef RUNTIME_VM_OBJECT_GRAPH_H_ +#define RUNTIME_VM_OBJECT_GRAPH_H_ #include "vm/allocation.h" #include "vm/object.h" @@ -105,4 +105,4 @@ class ObjectGraph : public StackResource { } // namespace dart -#endif // VM_OBJECT_GRAPH_H_ +#endif // RUNTIME_VM_OBJECT_GRAPH_H_ diff --git a/runtime/vm/object_id_ring.h b/runtime/vm/object_id_ring.h index b3ad0c95144..7b0fcde7704 100644 --- a/runtime/vm/object_id_ring.h +++ b/runtime/vm/object_id_ring.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_OBJECT_ID_RING_H_ -#define VM_OBJECT_ID_RING_H_ +#ifndef RUNTIME_VM_OBJECT_ID_RING_H_ +#define RUNTIME_VM_OBJECT_ID_RING_H_ namespace dart { @@ -86,4 +86,4 @@ class ObjectIdRing { } // namespace dart -#endif // VM_OBJECT_ID_RING_H_ +#endif // RUNTIME_VM_OBJECT_ID_RING_H_ diff --git a/runtime/vm/object_set.h b/runtime/vm/object_set.h index 8ba53bad1d1..f4031fb6c09 100644 --- a/runtime/vm/object_set.h +++ b/runtime/vm/object_set.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_OBJECT_SET_H_ -#define VM_OBJECT_SET_H_ +#ifndef RUNTIME_VM_OBJECT_SET_H_ +#define RUNTIME_VM_OBJECT_SET_H_ #include "platform/utils.h" #include "vm/bit_vector.h" @@ -90,4 +90,4 @@ class ObjectSet : public ZoneAllocated { } // namespace dart -#endif // VM_OBJECT_SET_H_ +#endif // RUNTIME_VM_OBJECT_SET_H_ diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h index 33c25ec20b3..8b5555a31bd 100644 --- a/runtime/vm/object_store.h +++ b/runtime/vm/object_store.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_OBJECT_STORE_H_ -#define VM_OBJECT_STORE_H_ +#ifndef RUNTIME_VM_OBJECT_STORE_H_ +#define RUNTIME_VM_OBJECT_STORE_H_ #include "vm/object.h" @@ -639,4 +639,4 @@ OBJECT_STORE_FIELD_LIST(DECLARE_OBJECT_STORE_FIELD) } // namespace dart -#endif // VM_OBJECT_STORE_H_ +#endif // RUNTIME_VM_OBJECT_STORE_H_ diff --git a/runtime/vm/os.h b/runtime/vm/os.h index c36c8ed11a1..e381269fbf0 100644 --- a/runtime/vm/os.h +++ b/runtime/vm/os.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_OS_H_ -#define VM_OS_H_ +#ifndef RUNTIME_VM_OS_H_ +#define RUNTIME_VM_OS_H_ #include "vm/globals.h" @@ -156,4 +156,4 @@ class OS { } // namespace dart -#endif // VM_OS_H_ +#endif // RUNTIME_VM_OS_H_ diff --git a/runtime/vm/os_thread.h b/runtime/vm/os_thread.h index e9508325aca..00fad7cb526 100644 --- a/runtime/vm/os_thread.h +++ b/runtime/vm/os_thread.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_OS_THREAD_H_ -#define VM_OS_THREAD_H_ +#ifndef RUNTIME_VM_OS_THREAD_H_ +#define RUNTIME_VM_OS_THREAD_H_ #include "platform/globals.h" #include "vm/allocation.h" @@ -360,4 +360,4 @@ class Monitor { } // namespace dart -#endif // VM_OS_THREAD_H_ +#endif // RUNTIME_VM_OS_THREAD_H_ diff --git a/runtime/vm/os_thread_android.h b/runtime/vm/os_thread_android.h index c4f398157ab..095471226d5 100644 --- a/runtime/vm/os_thread_android.h +++ b/runtime/vm/os_thread_android.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_OS_THREAD_ANDROID_H_ -#define VM_OS_THREAD_ANDROID_H_ +#ifndef RUNTIME_VM_OS_THREAD_ANDROID_H_ +#define RUNTIME_VM_OS_THREAD_ANDROID_H_ -#if !defined(VM_OS_THREAD_H_) +#if !defined(RUNTIME_VM_OS_THREAD_H_) #error Do not include os_thread_android.h directly; use os_thread.h instead. #endif @@ -77,4 +77,4 @@ class MonitorData { } // namespace dart -#endif // VM_OS_THREAD_ANDROID_H_ +#endif // RUNTIME_VM_OS_THREAD_ANDROID_H_ diff --git a/runtime/vm/os_thread_fuchsia.h b/runtime/vm/os_thread_fuchsia.h index b45207be952..b9275f9299c 100644 --- a/runtime/vm/os_thread_fuchsia.h +++ b/runtime/vm/os_thread_fuchsia.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_OS_THREAD_FUCHSIA_H_ -#define VM_OS_THREAD_FUCHSIA_H_ +#ifndef RUNTIME_VM_OS_THREAD_FUCHSIA_H_ +#define RUNTIME_VM_OS_THREAD_FUCHSIA_H_ -#if !defined(VM_OS_THREAD_H_) +#if !defined(RUNTIME_VM_OS_THREAD_H_) #error Do not include os_thread_fuchsia.h directly; use os_thread.h instead. #endif @@ -77,4 +77,4 @@ class MonitorData { } // namespace dart -#endif // VM_OS_THREAD_FUCHSIA_H_ +#endif // RUNTIME_VM_OS_THREAD_FUCHSIA_H_ diff --git a/runtime/vm/os_thread_linux.h b/runtime/vm/os_thread_linux.h index 306229bd1fd..4ee247351b8 100644 --- a/runtime/vm/os_thread_linux.h +++ b/runtime/vm/os_thread_linux.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_OS_THREAD_LINUX_H_ -#define VM_OS_THREAD_LINUX_H_ +#ifndef RUNTIME_VM_OS_THREAD_LINUX_H_ +#define RUNTIME_VM_OS_THREAD_LINUX_H_ -#if !defined(VM_OS_THREAD_H_) +#if !defined(RUNTIME_VM_OS_THREAD_H_) #error Do not include os_thread_linux.h directly; use os_thread.h instead. #endif @@ -77,4 +77,4 @@ class MonitorData { } // namespace dart -#endif // VM_OS_THREAD_LINUX_H_ +#endif // RUNTIME_VM_OS_THREAD_LINUX_H_ diff --git a/runtime/vm/os_thread_macos.h b/runtime/vm/os_thread_macos.h index 4909edf5c85..2a2fcf5be10 100644 --- a/runtime/vm/os_thread_macos.h +++ b/runtime/vm/os_thread_macos.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_OS_THREAD_MACOS_H_ -#define VM_OS_THREAD_MACOS_H_ +#ifndef RUNTIME_VM_OS_THREAD_MACOS_H_ +#define RUNTIME_VM_OS_THREAD_MACOS_H_ -#if !defined(VM_OS_THREAD_H_) +#if !defined(RUNTIME_VM_OS_THREAD_H_) #error Do not include os_thread_macos.h directly; use os_thread.h instead. #endif @@ -78,4 +78,4 @@ class MonitorData { } // namespace dart -#endif // VM_OS_THREAD_MACOS_H_ +#endif // RUNTIME_VM_OS_THREAD_MACOS_H_ diff --git a/runtime/vm/os_thread_win.h b/runtime/vm/os_thread_win.h index 913b0748bb9..714d175acb9 100644 --- a/runtime/vm/os_thread_win.h +++ b/runtime/vm/os_thread_win.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_OS_THREAD_WIN_H_ -#define VM_OS_THREAD_WIN_H_ +#ifndef RUNTIME_VM_OS_THREAD_WIN_H_ +#define RUNTIME_VM_OS_THREAD_WIN_H_ -#if !defined(VM_OS_THREAD_H_) +#if !defined(RUNTIME_VM_OS_THREAD_H_) #error Do not include os_thread_win.h directly; use os_thread.h instead. #endif @@ -173,4 +173,4 @@ class ThreadLocalData : public AllStatic { } // namespace dart -#endif // VM_OS_THREAD_WIN_H_ +#endif // RUNTIME_VM_OS_THREAD_WIN_H_ diff --git a/runtime/vm/pages.h b/runtime/vm/pages.h index 06e3ab5e9d9..ff7a0e83935 100644 --- a/runtime/vm/pages.h +++ b/runtime/vm/pages.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_PAGES_H_ -#define VM_PAGES_H_ +#ifndef RUNTIME_VM_PAGES_H_ +#define RUNTIME_VM_PAGES_H_ #include "vm/freelist.h" #include "vm/globals.h" @@ -468,4 +468,4 @@ class PageSpace { } // namespace dart -#endif // VM_PAGES_H_ +#endif // RUNTIME_VM_PAGES_H_ diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h index 0b37e121b48..b7c7b14a332 100644 --- a/runtime/vm/parser.h +++ b/runtime/vm/parser.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_PARSER_H_ -#define VM_PARSER_H_ +#ifndef RUNTIME_VM_PARSER_H_ +#define RUNTIME_VM_PARSER_H_ #include "include/dart_api.h" @@ -995,4 +995,4 @@ class Parser : public ValueObject { } // namespace dart -#endif // VM_PARSER_H_ +#endif // RUNTIME_VM_PARSER_H_ diff --git a/runtime/vm/port.h b/runtime/vm/port.h index 6e41e3aa3fc..113562e792e 100644 --- a/runtime/vm/port.h +++ b/runtime/vm/port.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_PORT_H_ -#define VM_PORT_H_ +#ifndef RUNTIME_VM_PORT_H_ +#define RUNTIME_VM_PORT_H_ #include "include/dart_api.h" #include "vm/allocation.h" @@ -102,4 +102,4 @@ class PortMap : public AllStatic { } // namespace dart -#endif // VM_PORT_H_ +#endif // RUNTIME_VM_PORT_H_ diff --git a/runtime/vm/precompiler.h b/runtime/vm/precompiler.h index 90b5f825b04..e10247c466a 100644 --- a/runtime/vm/precompiler.h +++ b/runtime/vm/precompiler.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_PRECOMPILER_H_ -#define VM_PRECOMPILER_H_ +#ifndef RUNTIME_VM_PRECOMPILER_H_ +#define RUNTIME_VM_PRECOMPILER_H_ #include "vm/allocation.h" #include "vm/hash_map.h" @@ -501,4 +501,4 @@ typedef UnorderedHashSet UniqueFunctionsSet; } // namespace dart -#endif // VM_PRECOMPILER_H_ +#endif // RUNTIME_VM_PRECOMPILER_H_ diff --git a/runtime/vm/proccpuinfo.h b/runtime/vm/proccpuinfo.h index 0814c6aaa8e..e81d7ee6680 100644 --- a/runtime/vm/proccpuinfo.h +++ b/runtime/vm/proccpuinfo.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_PROCCPUINFO_H_ -#define VM_PROCCPUINFO_H_ +#ifndef RUNTIME_VM_PROCCPUINFO_H_ +#define RUNTIME_VM_PROCCPUINFO_H_ #include "vm/globals.h" #if defined(TARGET_OS_LINUX) || defined(TARGET_OS_ANDROID) @@ -31,4 +31,4 @@ class ProcCpuInfo : public AllStatic { #endif // defined(TARGET_OS_LINUX) || defined(TARGET_OS_ANDROID) -#endif // VM_PROCCPUINFO_H_ +#endif // RUNTIME_VM_PROCCPUINFO_H_ diff --git a/runtime/vm/profiler.h b/runtime/vm/profiler.h index 529a193992f..4f7ce963695 100644 --- a/runtime/vm/profiler.h +++ b/runtime/vm/profiler.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_PROFILER_H_ -#define VM_PROFILER_H_ +#ifndef RUNTIME_VM_PROFILER_H_ +#define RUNTIME_VM_PROFILER_H_ #include "vm/allocation.h" #include "vm/bitfield.h" @@ -684,4 +684,4 @@ class ProcessedSampleBuffer : public ZoneAllocated { } // namespace dart -#endif // VM_PROFILER_H_ +#endif // RUNTIME_VM_PROFILER_H_ diff --git a/runtime/vm/profiler_service.h b/runtime/vm/profiler_service.h index 0e0e6d3bcce..61c88915c25 100644 --- a/runtime/vm/profiler_service.h +++ b/runtime/vm/profiler_service.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_PROFILER_SERVICE_H_ -#define VM_PROFILER_SERVICE_H_ +#ifndef RUNTIME_VM_PROFILER_SERVICE_H_ +#define RUNTIME_VM_PROFILER_SERVICE_H_ #include "vm/allocation.h" #include "vm/code_observers.h" @@ -472,4 +472,4 @@ class ProfilerService : public AllStatic { } // namespace dart -#endif // VM_PROFILER_SERVICE_H_ +#endif // RUNTIME_VM_PROFILER_SERVICE_H_ diff --git a/runtime/vm/random.h b/runtime/vm/random.h index f5614dedbfc..311760f807c 100644 --- a/runtime/vm/random.h +++ b/runtime/vm/random.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_RANDOM_H_ -#define VM_RANDOM_H_ +#ifndef RUNTIME_VM_RANDOM_H_ +#define RUNTIME_VM_RANDOM_H_ #include "vm/globals.h" #include "vm/allocation.h" @@ -34,4 +34,4 @@ class Random { } // namespace dart -#endif // VM_RANDOM_H_ +#endif // RUNTIME_VM_RANDOM_H_ diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h index dcf3992f1d0..cb47575ff25 100644 --- a/runtime/vm/raw_object.h +++ b/runtime/vm/raw_object.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_RAW_OBJECT_H_ -#define VM_RAW_OBJECT_H_ +#ifndef RUNTIME_VM_RAW_OBJECT_H_ +#define RUNTIME_VM_RAW_OBJECT_H_ #include "platform/assert.h" #include "vm/atomic.h" @@ -2493,4 +2493,4 @@ inline intptr_t RawObject::NumberOfTypedDataClasses() { } // namespace dart -#endif // VM_RAW_OBJECT_H_ +#endif // RUNTIME_VM_RAW_OBJECT_H_ diff --git a/runtime/vm/redundancy_elimination.h b/runtime/vm/redundancy_elimination.h index 73a98505bec..8fc6dc4dd00 100644 --- a/runtime/vm/redundancy_elimination.h +++ b/runtime/vm/redundancy_elimination.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_REDUNDANCY_ELIMINATION_H_ -#define VM_REDUNDANCY_ELIMINATION_H_ +#ifndef RUNTIME_VM_REDUNDANCY_ELIMINATION_H_ +#define RUNTIME_VM_REDUNDANCY_ELIMINATION_H_ #include "vm/intermediate_language.h" #include "vm/flow_graph.h" @@ -146,4 +146,4 @@ class LICM : public ValueObject { } // namespace dart -#endif // VM_REDUNDANCY_ELIMINATION_H_ +#endif // RUNTIME_VM_REDUNDANCY_ELIMINATION_H_ diff --git a/runtime/vm/regexp.h b/runtime/vm/regexp.h index bc8edd550bb..bf457be757a 100644 --- a/runtime/vm/regexp.h +++ b/runtime/vm/regexp.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_REGEXP_H_ -#define VM_REGEXP_H_ +#ifndef RUNTIME_VM_REGEXP_H_ +#define RUNTIME_VM_REGEXP_H_ #include "vm/assembler.h" #include "vm/intermediate_language.h" @@ -1435,4 +1435,4 @@ class RegExpEngine: public AllStatic { } // namespace dart -#endif // VM_REGEXP_H_ +#endif // RUNTIME_VM_REGEXP_H_ diff --git a/runtime/vm/regexp_assembler.h b/runtime/vm/regexp_assembler.h index efd53c56dc9..399ae7faa2a 100644 --- a/runtime/vm/regexp_assembler.h +++ b/runtime/vm/regexp_assembler.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_REGEXP_ASSEMBLER_H_ -#define VM_REGEXP_ASSEMBLER_H_ +#ifndef RUNTIME_VM_REGEXP_ASSEMBLER_H_ +#define RUNTIME_VM_REGEXP_ASSEMBLER_H_ #include "vm/assembler.h" #include "vm/intermediate_language.h" @@ -241,4 +241,4 @@ class RegExpMacroAssembler : public ZoneAllocated { } // namespace dart -#endif // VM_REGEXP_ASSEMBLER_H_ +#endif // RUNTIME_VM_REGEXP_ASSEMBLER_H_ diff --git a/runtime/vm/regexp_assembler_bytecode.h b/runtime/vm/regexp_assembler_bytecode.h index da2a6d7cf9a..eec47a419bc 100644 --- a/runtime/vm/regexp_assembler_bytecode.h +++ b/runtime/vm/regexp_assembler_bytecode.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_REGEXP_ASSEMBLER_BYTECODE_H_ -#define VM_REGEXP_ASSEMBLER_BYTECODE_H_ +#ifndef RUNTIME_VM_REGEXP_ASSEMBLER_BYTECODE_H_ +#define RUNTIME_VM_REGEXP_ASSEMBLER_BYTECODE_H_ #include "vm/object.h" #include "vm/regexp_assembler.h" @@ -141,4 +141,4 @@ class BytecodeRegExpMacroAssembler: public RegExpMacroAssembler { } // namespace dart -#endif // VM_REGEXP_ASSEMBLER_BYTECODE_H_ +#endif // RUNTIME_VM_REGEXP_ASSEMBLER_BYTECODE_H_ diff --git a/runtime/vm/regexp_assembler_bytecode_inl.h b/runtime/vm/regexp_assembler_bytecode_inl.h index 2b370db0c76..d3855c7a2d7 100644 --- a/runtime/vm/regexp_assembler_bytecode_inl.h +++ b/runtime/vm/regexp_assembler_bytecode_inl.h @@ -6,8 +6,8 @@ #include "vm/regexp_bytecodes.h" -#ifndef VM_REGEXP_ASSEMBLER_BYTECODE_INL_H_ -#define VM_REGEXP_ASSEMBLER_BYTECODE_INL_H_ +#ifndef RUNTIME_VM_REGEXP_ASSEMBLER_BYTECODE_INL_H_ +#define RUNTIME_VM_REGEXP_ASSEMBLER_BYTECODE_INL_H_ namespace dart { @@ -54,4 +54,4 @@ void BytecodeRegExpMacroAssembler::Emit32(uint32_t word) { } // namespace dart -#endif // VM_REGEXP_ASSEMBLER_BYTECODE_INL_H_ +#endif // RUNTIME_VM_REGEXP_ASSEMBLER_BYTECODE_INL_H_ diff --git a/runtime/vm/regexp_assembler_ir.h b/runtime/vm/regexp_assembler_ir.h index f8983469a75..8aae5581f3d 100644 --- a/runtime/vm/regexp_assembler_ir.h +++ b/runtime/vm/regexp_assembler_ir.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_REGEXP_ASSEMBLER_IR_H_ -#define VM_REGEXP_ASSEMBLER_IR_H_ +#ifndef RUNTIME_VM_REGEXP_ASSEMBLER_IR_H_ +#define RUNTIME_VM_REGEXP_ASSEMBLER_IR_H_ #include "vm/assembler.h" #include "vm/intermediate_language.h" @@ -432,4 +432,4 @@ class IRRegExpMacroAssembler : public RegExpMacroAssembler { } // namespace dart -#endif // VM_REGEXP_ASSEMBLER_IR_H_ +#endif // RUNTIME_VM_REGEXP_ASSEMBLER_IR_H_ diff --git a/runtime/vm/regexp_ast.h b/runtime/vm/regexp_ast.h index 2be61ec7c42..1eca49bc0c4 100644 --- a/runtime/vm/regexp_ast.h +++ b/runtime/vm/regexp_ast.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_REGEXP_AST_H_ -#define VM_REGEXP_AST_H_ +#ifndef RUNTIME_VM_REGEXP_AST_H_ +#define RUNTIME_VM_REGEXP_AST_H_ #include "platform/globals.h" #include "platform/utils.h" @@ -389,4 +389,4 @@ class RegExpEmpty : public RegExpTree { } // namespace dart -#endif // VM_REGEXP_AST_H_ +#endif // RUNTIME_VM_REGEXP_AST_H_ diff --git a/runtime/vm/regexp_bytecodes.h b/runtime/vm/regexp_bytecodes.h index 8d1cddb7e5d..67d26dc8a17 100644 --- a/runtime/vm/regexp_bytecodes.h +++ b/runtime/vm/regexp_bytecodes.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_REGEXP_BYTECODES_H_ -#define VM_REGEXP_BYTECODES_H_ +#ifndef RUNTIME_VM_REGEXP_BYTECODES_H_ +#define RUNTIME_VM_REGEXP_BYTECODES_H_ namespace dart { @@ -76,4 +76,4 @@ BYTECODE_ITERATOR(DECLARE_BYTECODE_LENGTH) } // namespace dart -#endif // VM_REGEXP_BYTECODES_H_ +#endif // RUNTIME_VM_REGEXP_BYTECODES_H_ diff --git a/runtime/vm/regexp_interpreter.h b/runtime/vm/regexp_interpreter.h index eab89cb5886..e6b18986ca4 100644 --- a/runtime/vm/regexp_interpreter.h +++ b/runtime/vm/regexp_interpreter.h @@ -4,8 +4,8 @@ // A simple interpreter for the Irregexp byte code. -#ifndef VM_REGEXP_INTERPRETER_H_ -#define VM_REGEXP_INTERPRETER_H_ +#ifndef RUNTIME_VM_REGEXP_INTERPRETER_H_ +#define RUNTIME_VM_REGEXP_INTERPRETER_H_ #include "vm/allocation.h" #include "vm/object.h" @@ -30,4 +30,4 @@ class IrregexpInterpreter : public AllStatic { } // namespace dart -#endif // VM_REGEXP_INTERPRETER_H_ +#endif // RUNTIME_VM_REGEXP_INTERPRETER_H_ diff --git a/runtime/vm/regexp_parser.h b/runtime/vm/regexp_parser.h index aed1423ce39..5108e931b50 100644 --- a/runtime/vm/regexp_parser.h +++ b/runtime/vm/regexp_parser.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_REGEXP_PARSER_H_ -#define VM_REGEXP_PARSER_H_ +#ifndef RUNTIME_VM_REGEXP_PARSER_H_ +#define RUNTIME_VM_REGEXP_PARSER_H_ #include "vm/allocation.h" #include "vm/growable_array.h" @@ -173,4 +173,4 @@ class RegExpParser : public ValueObject { } // namespace dart -#endif // VM_REGEXP_PARSER_H_ +#endif // RUNTIME_VM_REGEXP_PARSER_H_ diff --git a/runtime/vm/report.h b/runtime/vm/report.h index f95cb842788..e2efa54b997 100644 --- a/runtime/vm/report.h +++ b/runtime/vm/report.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_REPORT_H_ -#define VM_REPORT_H_ +#ifndef RUNTIME_VM_REPORT_H_ +#define RUNTIME_VM_REPORT_H_ #include "vm/allocation.h" #include "vm/token_position.h" @@ -68,5 +68,5 @@ class Report : AllStatic { } // namespace dart -#endif // VM_REPORT_H_ +#endif // RUNTIME_VM_REPORT_H_ diff --git a/runtime/vm/resolver.h b/runtime/vm/resolver.h index 9a52ad387d5..620bb52477d 100644 --- a/runtime/vm/resolver.h +++ b/runtime/vm/resolver.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_RESOLVER_H_ -#define VM_RESOLVER_H_ +#ifndef RUNTIME_VM_RESOLVER_H_ +#define RUNTIME_VM_RESOLVER_H_ #include "vm/allocation.h" @@ -71,4 +71,4 @@ class Resolver : public AllStatic { } // namespace dart -#endif // VM_RESOLVER_H_ +#endif // RUNTIME_VM_RESOLVER_H_ diff --git a/runtime/vm/reusable_handles.h b/runtime/vm/reusable_handles.h index 25e5154d622..83855d6e1eb 100644 --- a/runtime/vm/reusable_handles.h +++ b/runtime/vm/reusable_handles.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_REUSABLE_HANDLES_H_ -#define VM_REUSABLE_HANDLES_H_ +#ifndef RUNTIME_VM_REUSABLE_HANDLES_H_ +#define RUNTIME_VM_REUSABLE_HANDLES_H_ #include "vm/allocation.h" #include "vm/handles.h" @@ -121,4 +121,4 @@ REUSABLE_HANDLE_LIST(REUSABLE_SCOPE) } // namespace dart -#endif // VM_REUSABLE_HANDLES_H_ +#endif // RUNTIME_VM_REUSABLE_HANDLES_H_ diff --git a/runtime/vm/ring_buffer.h b/runtime/vm/ring_buffer.h index e015930bc61..77f6314c891 100644 --- a/runtime/vm/ring_buffer.h +++ b/runtime/vm/ring_buffer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_RING_BUFFER_H_ -#define VM_RING_BUFFER_H_ +#ifndef RUNTIME_VM_RING_BUFFER_H_ +#define RUNTIME_VM_RING_BUFFER_H_ #include "platform/assert.h" #include "platform/utils.h" @@ -40,4 +40,4 @@ class RingBuffer { } // namespace dart -#endif // VM_RING_BUFFER_H_ +#endif // RUNTIME_VM_RING_BUFFER_H_ diff --git a/runtime/vm/runtime_entry.h b/runtime/vm/runtime_entry.h index c52b6b55b05..93f40481eab 100644 --- a/runtime/vm/runtime_entry.h +++ b/runtime/vm/runtime_entry.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_RUNTIME_ENTRY_H_ -#define VM_RUNTIME_ENTRY_H_ +#ifndef RUNTIME_VM_RUNTIME_ENTRY_H_ +#define RUNTIME_VM_RUNTIME_ENTRY_H_ #include "vm/allocation.h" #include "vm/flags.h" @@ -186,4 +186,4 @@ RuntimeFunctionId RuntimeEntry::RuntimeFunctionIdFromAddress(uword address) { } // namespace dart -#endif // VM_RUNTIME_ENTRY_H_ +#endif // RUNTIME_VM_RUNTIME_ENTRY_H_ diff --git a/runtime/vm/runtime_entry_list.h b/runtime/vm/runtime_entry_list.h index 95641461673..835cf3cc66b 100644 --- a/runtime/vm/runtime_entry_list.h +++ b/runtime/vm/runtime_entry_list.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_RUNTIME_ENTRY_LIST_H_ -#define VM_RUNTIME_ENTRY_LIST_H_ +#ifndef RUNTIME_VM_RUNTIME_ENTRY_LIST_H_ +#define RUNTIME_VM_RUNTIME_ENTRY_LIST_H_ namespace dart { @@ -72,4 +72,4 @@ namespace dart { } // namespace dart -#endif // VM_RUNTIME_ENTRY_LIST_H_ +#endif // RUNTIME_VM_RUNTIME_ENTRY_LIST_H_ diff --git a/runtime/vm/safepoint.h b/runtime/vm/safepoint.h index 15c2c983ba0..8a48f294d01 100644 --- a/runtime/vm/safepoint.h +++ b/runtime/vm/safepoint.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_SAFEPOINT_H_ -#define VM_SAFEPOINT_H_ +#ifndef RUNTIME_VM_SAFEPOINT_H_ +#define RUNTIME_VM_SAFEPOINT_H_ #include "vm/globals.h" #include "vm/lockers.h" @@ -384,4 +384,4 @@ class TransitionToVM : public TransitionSafepointState { } // namespace dart -#endif // VM_SAFEPOINT_H_ +#endif // RUNTIME_VM_SAFEPOINT_H_ diff --git a/runtime/vm/scanner.h b/runtime/vm/scanner.h index 30bc81eb3aa..aff5b3a1113 100644 --- a/runtime/vm/scanner.h +++ b/runtime/vm/scanner.h @@ -6,8 +6,8 @@ // and produces a stream of tokens which is used by the parser. // -#ifndef VM_SCANNER_H_ -#define VM_SCANNER_H_ +#ifndef RUNTIME_VM_SCANNER_H_ +#define RUNTIME_VM_SCANNER_H_ #include "vm/growable_array.h" #include "vm/token.h" @@ -218,4 +218,4 @@ class Scanner : ValueObject { } // namespace dart -#endif // VM_SCANNER_H_ +#endif // RUNTIME_VM_SCANNER_H_ diff --git a/runtime/vm/scavenger.h b/runtime/vm/scavenger.h index 798470cf936..caa2dafa5cf 100644 --- a/runtime/vm/scavenger.h +++ b/runtime/vm/scavenger.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_SCAVENGER_H_ -#define VM_SCAVENGER_H_ +#ifndef RUNTIME_VM_SCAVENGER_H_ +#define RUNTIME_VM_SCAVENGER_H_ #include "platform/assert.h" #include "platform/utils.h" @@ -312,4 +312,4 @@ class Scavenger { } // namespace dart -#endif // VM_SCAVENGER_H_ +#endif // RUNTIME_VM_SCAVENGER_H_ diff --git a/runtime/vm/scope_timer.h b/runtime/vm/scope_timer.h index c60e67ffec6..f45854e7457 100644 --- a/runtime/vm/scope_timer.h +++ b/runtime/vm/scope_timer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_SCOPE_TIMER_H_ -#define VM_SCOPE_TIMER_H_ +#ifndef RUNTIME_VM_SCOPE_TIMER_H_ +#define RUNTIME_VM_SCOPE_TIMER_H_ #include "platform/globals.h" @@ -45,4 +45,4 @@ class ScopeTimer : public ValueObject { } // namespace dart -#endif // VM_SCOPE_TIMER_H_ +#endif // RUNTIME_VM_SCOPE_TIMER_H_ diff --git a/runtime/vm/scopes.h b/runtime/vm/scopes.h index c3b761137f4..69551d0a3d7 100644 --- a/runtime/vm/scopes.h +++ b/runtime/vm/scopes.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_SCOPES_H_ -#define VM_SCOPES_H_ +#ifndef RUNTIME_VM_SCOPES_H_ +#define RUNTIME_VM_SCOPES_H_ #include "platform/assert.h" #include "platform/globals.h" @@ -397,4 +397,4 @@ class LocalScope : public ZoneAllocated { } // namespace dart -#endif // VM_SCOPES_H_ +#endif // RUNTIME_VM_SCOPES_H_ diff --git a/runtime/vm/service.h b/runtime/vm/service.h index 935f176e86c..657fe762e08 100644 --- a/runtime/vm/service.h +++ b/runtime/vm/service.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_SERVICE_H_ -#define VM_SERVICE_H_ +#ifndef RUNTIME_VM_SERVICE_H_ +#define RUNTIME_VM_SERVICE_H_ #include "include/dart_tools_api.h" @@ -218,4 +218,4 @@ class Service : public AllStatic { } // namespace dart -#endif // VM_SERVICE_H_ +#endif // RUNTIME_VM_SERVICE_H_ diff --git a/runtime/vm/service_event.h b/runtime/vm/service_event.h index 369f522f5bf..ff90328351b 100644 --- a/runtime/vm/service_event.h +++ b/runtime/vm/service_event.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_SERVICE_EVENT_H_ -#define VM_SERVICE_EVENT_H_ +#ifndef RUNTIME_VM_SERVICE_EVENT_H_ +#define RUNTIME_VM_SERVICE_EVENT_H_ #include "vm/globals.h" #include "vm/heap.h" @@ -268,4 +268,4 @@ class ServiceEvent { } // namespace dart -#endif // VM_SERVICE_EVENT_H_ +#endif // RUNTIME_VM_SERVICE_EVENT_H_ diff --git a/runtime/vm/service_isolate.h b/runtime/vm/service_isolate.h index 9def85cd43f..c79d88be275 100644 --- a/runtime/vm/service_isolate.h +++ b/runtime/vm/service_isolate.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_SERVICE_ISOLATE_H_ -#define VM_SERVICE_ISOLATE_H_ +#ifndef RUNTIME_VM_SERVICE_ISOLATE_H_ +#define RUNTIME_VM_SERVICE_ISOLATE_H_ #include "include/dart_api.h" @@ -79,4 +79,4 @@ class ServiceIsolate : public AllStatic { } // namespace dart -#endif // VM_SERVICE_ISOLATE_H_ +#endif // RUNTIME_VM_SERVICE_ISOLATE_H_ diff --git a/runtime/vm/signal_handler.h b/runtime/vm/signal_handler.h index 615e5848393..654087d3482 100644 --- a/runtime/vm/signal_handler.h +++ b/runtime/vm/signal_handler.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_SIGNAL_HANDLER_H_ -#define VM_SIGNAL_HANDLER_H_ +#ifndef RUNTIME_VM_SIGNAL_HANDLER_H_ +#define RUNTIME_VM_SIGNAL_HANDLER_H_ #include "vm/allocation.h" #include "vm/globals.h" @@ -122,4 +122,4 @@ class SignalHandler : public AllStatic { } // namespace dart -#endif // VM_SIGNAL_HANDLER_H_ +#endif // RUNTIME_VM_SIGNAL_HANDLER_H_ diff --git a/runtime/vm/simulator.h b/runtime/vm/simulator.h index b73bd97f378..6dbdbc61f06 100644 --- a/runtime/vm/simulator.h +++ b/runtime/vm/simulator.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_SIMULATOR_H_ -#define VM_SIMULATOR_H_ +#ifndef RUNTIME_VM_SIMULATOR_H_ +#define RUNTIME_VM_SIMULATOR_H_ #include "vm/globals.h" @@ -24,4 +24,4 @@ #endif // defined(TARGET_ARCH_...) #endif // defined(USING_SIMULATOR) -#endif // VM_SIMULATOR_H_ +#endif // RUNTIME_VM_SIMULATOR_H_ diff --git a/runtime/vm/simulator_arm.h b/runtime/vm/simulator_arm.h index c163a623c39..2a505cc2c65 100644 --- a/runtime/vm/simulator_arm.h +++ b/runtime/vm/simulator_arm.h @@ -9,10 +9,10 @@ // which will start execution in the Simulator or forwards to the real entry // on a ARM HW platform. -#ifndef VM_SIMULATOR_ARM_H_ -#define VM_SIMULATOR_ARM_H_ +#ifndef RUNTIME_VM_SIMULATOR_ARM_H_ +#define RUNTIME_VM_SIMULATOR_ARM_H_ -#ifndef VM_SIMULATOR_H_ +#ifndef RUNTIME_VM_SIMULATOR_H_ #error Do not include simulator_arm.h directly; use simulator.h. #endif @@ -287,4 +287,4 @@ class Simulator { } // namespace dart -#endif // VM_SIMULATOR_ARM_H_ +#endif // RUNTIME_VM_SIMULATOR_ARM_H_ diff --git a/runtime/vm/simulator_arm64.h b/runtime/vm/simulator_arm64.h index de49dd90bd2..406976aaeec 100644 --- a/runtime/vm/simulator_arm64.h +++ b/runtime/vm/simulator_arm64.h @@ -9,10 +9,10 @@ // which will start execution in the Simulator or forwards to the real entry // on a ARM64 HW platform. -#ifndef VM_SIMULATOR_ARM64_H_ -#define VM_SIMULATOR_ARM64_H_ +#ifndef RUNTIME_VM_SIMULATOR_ARM64_H_ +#define RUNTIME_VM_SIMULATOR_ARM64_H_ -#ifndef VM_SIMULATOR_H_ +#ifndef RUNTIME_VM_SIMULATOR_H_ #error Do not include simulator_arm64.h directly; use simulator.h. #endif @@ -282,4 +282,4 @@ class Simulator { } // namespace dart -#endif // VM_SIMULATOR_ARM64_H_ +#endif // RUNTIME_VM_SIMULATOR_ARM64_H_ diff --git a/runtime/vm/simulator_dbc.h b/runtime/vm/simulator_dbc.h index bb875bbd79b..4e2f649a45a 100644 --- a/runtime/vm/simulator_dbc.h +++ b/runtime/vm/simulator_dbc.h @@ -2,10 +2,10 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_SIMULATOR_DBC_H_ -#define VM_SIMULATOR_DBC_H_ +#ifndef RUNTIME_VM_SIMULATOR_DBC_H_ +#define RUNTIME_VM_SIMULATOR_DBC_H_ -#ifndef VM_SIMULATOR_H_ +#ifndef RUNTIME_VM_SIMULATOR_H_ #error Do not include simulator_dbc.h directly; use simulator.h. #endif @@ -172,4 +172,4 @@ class Simulator { } // namespace dart -#endif // VM_SIMULATOR_DBC_H_ +#endif // RUNTIME_VM_SIMULATOR_DBC_H_ diff --git a/runtime/vm/simulator_mips.h b/runtime/vm/simulator_mips.h index cbda735d947..89b7273baa8 100644 --- a/runtime/vm/simulator_mips.h +++ b/runtime/vm/simulator_mips.h @@ -9,10 +9,10 @@ // which will start execution in the Simulator or forwards to the real entry // on a MIPS HW platform. -#ifndef VM_SIMULATOR_MIPS_H_ -#define VM_SIMULATOR_MIPS_H_ +#ifndef RUNTIME_VM_SIMULATOR_MIPS_H_ +#define RUNTIME_VM_SIMULATOR_MIPS_H_ -#ifndef VM_SIMULATOR_H_ +#ifndef RUNTIME_VM_SIMULATOR_H_ #error Do not include simulator_mips.h directly; use simulator.h. #endif @@ -267,4 +267,4 @@ class Simulator { } // namespace dart -#endif // VM_SIMULATOR_MIPS_H_ +#endif // RUNTIME_VM_SIMULATOR_MIPS_H_ diff --git a/runtime/vm/snapshot.h b/runtime/vm/snapshot.h index 020f4485a96..924f61cd396 100644 --- a/runtime/vm/snapshot.h +++ b/runtime/vm/snapshot.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_SNAPSHOT_H_ -#define VM_SNAPSHOT_H_ +#ifndef RUNTIME_VM_SNAPSHOT_H_ +#define RUNTIME_VM_SNAPSHOT_H_ #include "platform/assert.h" #include "vm/allocation.h" @@ -1049,4 +1049,4 @@ class SnapshotWriterVisitor : public ObjectPointerVisitor { } // namespace dart -#endif // VM_SNAPSHOT_H_ +#endif // RUNTIME_VM_SNAPSHOT_H_ diff --git a/runtime/vm/snapshot_ids.h b/runtime/vm/snapshot_ids.h index 436b2a8d045..26ad7695174 100644 --- a/runtime/vm/snapshot_ids.h +++ b/runtime/vm/snapshot_ids.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_SNAPSHOT_IDS_H_ -#define VM_SNAPSHOT_IDS_H_ +#ifndef RUNTIME_VM_SNAPSHOT_IDS_H_ +#define RUNTIME_VM_SNAPSHOT_IDS_H_ #include "vm/raw_object.h" #include "vm/dart_entry.h" @@ -66,4 +66,4 @@ enum { } // namespace dart -#endif // VM_SNAPSHOT_IDS_H_ +#endif // RUNTIME_VM_SNAPSHOT_IDS_H_ diff --git a/runtime/vm/source_report.h b/runtime/vm/source_report.h index dec18cfa774..05870f2c1df 100644 --- a/runtime/vm/source_report.h +++ b/runtime/vm/source_report.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_SOURCE_REPORT_H_ -#define VM_SOURCE_REPORT_H_ +#ifndef RUNTIME_VM_SOURCE_REPORT_H_ +#define RUNTIME_VM_SOURCE_REPORT_H_ #include "vm/allocation.h" #include "vm/flags.h" @@ -126,4 +126,4 @@ class SourceReport { } // namespace dart -#endif // VM_SOURCE_REPORT_H_ +#endif // RUNTIME_VM_SOURCE_REPORT_H_ diff --git a/runtime/vm/spaces.h b/runtime/vm/spaces.h index 8d149b44920..4b94b4816aa 100644 --- a/runtime/vm/spaces.h +++ b/runtime/vm/spaces.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_SPACES_H_ -#define VM_SPACES_H_ +#ifndef RUNTIME_VM_SPACES_H_ +#define RUNTIME_VM_SPACES_H_ // This file contains utilities shared by old and new space. // TODO(koda): Create Space base class with Space::CurrentUsage(). @@ -23,4 +23,4 @@ struct SpaceUsage { } // namespace dart -#endif // VM_SPACES_H_ +#endif // RUNTIME_VM_SPACES_H_ diff --git a/runtime/vm/stack_frame.h b/runtime/vm/stack_frame.h index 3198872ae1a..5076939f502 100644 --- a/runtime/vm/stack_frame.h +++ b/runtime/vm/stack_frame.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_STACK_FRAME_H_ -#define VM_STACK_FRAME_H_ +#ifndef RUNTIME_VM_STACK_FRAME_H_ +#define RUNTIME_VM_STACK_FRAME_H_ #include "vm/allocation.h" #include "vm/object.h" @@ -407,4 +407,4 @@ DART_FORCE_INLINE static uword LocalVarAddress(uword fp, intptr_t index) { } // namespace dart -#endif // VM_STACK_FRAME_H_ +#endif // RUNTIME_VM_STACK_FRAME_H_ diff --git a/runtime/vm/stack_frame_arm.h b/runtime/vm/stack_frame_arm.h index a966a29b497..a0d1bba4a01 100644 --- a/runtime/vm/stack_frame_arm.h +++ b/runtime/vm/stack_frame_arm.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_STACK_FRAME_ARM_H_ -#define VM_STACK_FRAME_ARM_H_ +#ifndef RUNTIME_VM_STACK_FRAME_ARM_H_ +#define RUNTIME_VM_STACK_FRAME_ARM_H_ namespace dart { @@ -57,4 +57,4 @@ COMPILE_ASSERT(kAbiPreservedFpuRegCount == 4); } // namespace dart -#endif // VM_STACK_FRAME_ARM_H_ +#endif // RUNTIME_VM_STACK_FRAME_ARM_H_ diff --git a/runtime/vm/stack_frame_arm64.h b/runtime/vm/stack_frame_arm64.h index a1ca2ebf7ff..7b1982d0863 100644 --- a/runtime/vm/stack_frame_arm64.h +++ b/runtime/vm/stack_frame_arm64.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_STACK_FRAME_ARM64_H_ -#define VM_STACK_FRAME_ARM64_H_ +#ifndef RUNTIME_VM_STACK_FRAME_ARM64_H_ +#define RUNTIME_VM_STACK_FRAME_ARM64_H_ namespace dart { @@ -50,4 +50,4 @@ COMPILE_ASSERT(kAbiPreservedFpuRegCount == 8); } // namespace dart -#endif // VM_STACK_FRAME_ARM64_H_ +#endif // RUNTIME_VM_STACK_FRAME_ARM64_H_ diff --git a/runtime/vm/stack_frame_dbc.h b/runtime/vm/stack_frame_dbc.h index 5d5ee78e3ae..f355fa9e8ba 100644 --- a/runtime/vm/stack_frame_dbc.h +++ b/runtime/vm/stack_frame_dbc.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_STACK_FRAME_DBC_H_ -#define VM_STACK_FRAME_DBC_H_ +#ifndef RUNTIME_VM_STACK_FRAME_DBC_H_ +#define RUNTIME_VM_STACK_FRAME_DBC_H_ namespace dart { @@ -84,4 +84,4 @@ static const uword kInterruptStackLimit = 0; } // namespace dart -#endif // VM_STACK_FRAME_DBC_H_ +#endif // RUNTIME_VM_STACK_FRAME_DBC_H_ diff --git a/runtime/vm/stack_frame_ia32.h b/runtime/vm/stack_frame_ia32.h index a331aef1543..b7eb7d9da97 100644 --- a/runtime/vm/stack_frame_ia32.h +++ b/runtime/vm/stack_frame_ia32.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_STACK_FRAME_IA32_H_ -#define VM_STACK_FRAME_IA32_H_ +#ifndef RUNTIME_VM_STACK_FRAME_IA32_H_ +#define RUNTIME_VM_STACK_FRAME_IA32_H_ namespace dart { @@ -46,4 +46,4 @@ static const int kExitLinkSlotFromEntryFp = -7; } // namespace dart -#endif // VM_STACK_FRAME_IA32_H_ +#endif // RUNTIME_VM_STACK_FRAME_IA32_H_ diff --git a/runtime/vm/stack_frame_mips.h b/runtime/vm/stack_frame_mips.h index 35c9abac852..7290b8b7050 100644 --- a/runtime/vm/stack_frame_mips.h +++ b/runtime/vm/stack_frame_mips.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_STACK_FRAME_MIPS_H_ -#define VM_STACK_FRAME_MIPS_H_ +#ifndef RUNTIME_VM_STACK_FRAME_MIPS_H_ +#define RUNTIME_VM_STACK_FRAME_MIPS_H_ namespace dart { @@ -47,4 +47,4 @@ COMPILE_ASSERT(kAbiPreservedFpuRegCount == 12); } // namespace dart -#endif // VM_STACK_FRAME_MIPS_H_ +#endif // RUNTIME_VM_STACK_FRAME_MIPS_H_ diff --git a/runtime/vm/stack_frame_x64.h b/runtime/vm/stack_frame_x64.h index 8fc20a4847e..1ff4ba02828 100644 --- a/runtime/vm/stack_frame_x64.h +++ b/runtime/vm/stack_frame_x64.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_STACK_FRAME_X64_H_ -#define VM_STACK_FRAME_X64_H_ +#ifndef RUNTIME_VM_STACK_FRAME_X64_H_ +#define RUNTIME_VM_STACK_FRAME_X64_H_ namespace dart { @@ -53,4 +53,4 @@ static const int kExitLinkSlotFromEntryFp = -10; } // namespace dart -#endif // VM_STACK_FRAME_X64_H_ +#endif // RUNTIME_VM_STACK_FRAME_X64_H_ diff --git a/runtime/vm/store_buffer.h b/runtime/vm/store_buffer.h index 2fce2d6df5b..46b0110f50b 100644 --- a/runtime/vm/store_buffer.h +++ b/runtime/vm/store_buffer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_STORE_BUFFER_H_ -#define VM_STORE_BUFFER_H_ +#ifndef RUNTIME_VM_STORE_BUFFER_H_ +#define RUNTIME_VM_STORE_BUFFER_H_ #include "platform/assert.h" #include "vm/globals.h" @@ -175,4 +175,4 @@ class MarkingStack : public BlockStack { } // namespace dart -#endif // VM_STORE_BUFFER_H_ +#endif // RUNTIME_VM_STORE_BUFFER_H_ diff --git a/runtime/vm/stub_code.h b/runtime/vm/stub_code.h index bda3ba014f8..7b51f9f5840 100644 --- a/runtime/vm/stub_code.h +++ b/runtime/vm/stub_code.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_STUB_CODE_H_ -#define VM_STUB_CODE_H_ +#ifndef RUNTIME_VM_STUB_CODE_H_ +#define RUNTIME_VM_STUB_CODE_H_ #include "vm/allocation.h" #include "vm/assembler.h" @@ -203,4 +203,4 @@ enum DeoptStubKind { } // namespace dart -#endif // VM_STUB_CODE_H_ +#endif // RUNTIME_VM_STUB_CODE_H_ diff --git a/runtime/vm/symbols.h b/runtime/vm/symbols.h index 29cdb8ac138..c4198511237 100644 --- a/runtime/vm/symbols.h +++ b/runtime/vm/symbols.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_SYMBOLS_H_ -#define VM_SYMBOLS_H_ +#ifndef RUNTIME_VM_SYMBOLS_H_ +#define RUNTIME_VM_SYMBOLS_H_ #include "vm/growable_array.h" #include "vm/object.h" @@ -695,4 +695,4 @@ class Symbols : public AllStatic { } // namespace dart -#endif // VM_SYMBOLS_H_ +#endif // RUNTIME_VM_SYMBOLS_H_ diff --git a/runtime/vm/tags.h b/runtime/vm/tags.h index 8c6ef65d3c9..c6a0230ccc7 100644 --- a/runtime/vm/tags.h +++ b/runtime/vm/tags.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_TAGS_H_ -#define VM_TAGS_H_ +#ifndef RUNTIME_VM_TAGS_H_ +#define RUNTIME_VM_TAGS_H_ #include "vm/allocation.h" @@ -123,4 +123,4 @@ class UserTags : public AllStatic { } // namespace dart -#endif // VM_TAGS_H_ +#endif // RUNTIME_VM_TAGS_H_ diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h index 093e82a1fc7..c06bd4f7fa1 100644 --- a/runtime/vm/thread.h +++ b/runtime/vm/thread.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_THREAD_H_ -#define VM_THREAD_H_ +#ifndef RUNTIME_VM_THREAD_H_ +#define RUNTIME_VM_THREAD_H_ #include "include/dart_api.h" #include "platform/assert.h" @@ -792,4 +792,4 @@ class DisableThreadInterruptsScope : public StackResource { } // namespace dart -#endif // VM_THREAD_H_ +#endif // RUNTIME_VM_THREAD_H_ diff --git a/runtime/vm/thread_barrier.h b/runtime/vm/thread_barrier.h index 39c56a81368..458f28d6bd1 100644 --- a/runtime/vm/thread_barrier.h +++ b/runtime/vm/thread_barrier.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_THREAD_BARRIER_H_ -#define VM_THREAD_BARRIER_H_ +#ifndef RUNTIME_VM_THREAD_BARRIER_H_ +#define RUNTIME_VM_THREAD_BARRIER_H_ #include "vm/globals.h" #include "vm/os_thread.h" @@ -117,4 +117,4 @@ class ThreadBarrier { } // namespace dart -#endif // VM_THREAD_BARRIER_H_ +#endif // RUNTIME_VM_THREAD_BARRIER_H_ diff --git a/runtime/vm/thread_interrupter.h b/runtime/vm/thread_interrupter.h index 82e0474eceb..c425c39acb1 100644 --- a/runtime/vm/thread_interrupter.h +++ b/runtime/vm/thread_interrupter.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_THREAD_INTERRUPTER_H_ -#define VM_THREAD_INTERRUPTER_H_ +#ifndef RUNTIME_VM_THREAD_INTERRUPTER_H_ +#define RUNTIME_VM_THREAD_INTERRUPTER_H_ #include "vm/allocation.h" #include "vm/signal_handler.h" @@ -63,4 +63,4 @@ class ThreadInterrupter : public AllStatic { } // namespace dart -#endif // VM_THREAD_INTERRUPTER_H_ +#endif // RUNTIME_VM_THREAD_INTERRUPTER_H_ diff --git a/runtime/vm/thread_pool.h b/runtime/vm/thread_pool.h index 8cd29a25ed5..d9a4634f1e7 100644 --- a/runtime/vm/thread_pool.h +++ b/runtime/vm/thread_pool.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_THREAD_POOL_H_ -#define VM_THREAD_POOL_H_ +#ifndef RUNTIME_VM_THREAD_POOL_H_ +#define RUNTIME_VM_THREAD_POOL_H_ #include "vm/allocation.h" #include "vm/globals.h" @@ -147,4 +147,4 @@ class ThreadPool { } // namespace dart -#endif // VM_THREAD_POOL_H_ +#endif // RUNTIME_VM_THREAD_POOL_H_ diff --git a/runtime/vm/thread_registry.h b/runtime/vm/thread_registry.h index dd2c6df79fd..4965e75279b 100644 --- a/runtime/vm/thread_registry.h +++ b/runtime/vm/thread_registry.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_THREAD_REGISTRY_H_ -#define VM_THREAD_REGISTRY_H_ +#ifndef RUNTIME_VM_THREAD_REGISTRY_H_ +#define RUNTIME_VM_THREAD_REGISTRY_H_ #include "vm/globals.h" #include "vm/growable_array.h" @@ -67,4 +67,4 @@ class ThreadRegistry { } // namespace dart -#endif // VM_THREAD_REGISTRY_H_ +#endif // RUNTIME_VM_THREAD_REGISTRY_H_ diff --git a/runtime/vm/timeline.h b/runtime/vm/timeline.h index 851113f8ca3..64d11a032ec 100644 --- a/runtime/vm/timeline.h +++ b/runtime/vm/timeline.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_TIMELINE_H_ -#define VM_TIMELINE_H_ +#ifndef RUNTIME_VM_TIMELINE_H_ +#define RUNTIME_VM_TIMELINE_H_ #include "include/dart_tools_api.h" @@ -914,4 +914,4 @@ class TimelineEventBlockIterator { } // namespace dart -#endif // VM_TIMELINE_H_ +#endif // RUNTIME_VM_TIMELINE_H_ diff --git a/runtime/vm/timeline_analysis.h b/runtime/vm/timeline_analysis.h index 4f733a68e90..2e457c9c575 100644 --- a/runtime/vm/timeline_analysis.h +++ b/runtime/vm/timeline_analysis.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_TIMELINE_ANALYSIS_H_ -#define VM_TIMELINE_ANALYSIS_H_ +#ifndef RUNTIME_VM_TIMELINE_ANALYSIS_H_ +#define RUNTIME_VM_TIMELINE_ANALYSIS_H_ #include "vm/growable_array.h" #include "vm/timeline.h" @@ -236,4 +236,4 @@ class TimelinePauseTrace : public ValueObject { } // namespace dart -#endif // VM_TIMELINE_ANALYSIS_H_ +#endif // RUNTIME_VM_TIMELINE_ANALYSIS_H_ diff --git a/runtime/vm/timer.h b/runtime/vm/timer.h index 01a6b6fe62d..7d3252248db 100644 --- a/runtime/vm/timer.h +++ b/runtime/vm/timer.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_TIMER_H_ -#define VM_TIMER_H_ +#ifndef RUNTIME_VM_TIMER_H_ +#define RUNTIME_VM_TIMER_H_ #include "platform/utils.h" #include "vm/allocation.h" @@ -177,4 +177,4 @@ class PauseTimerScope : public StackResource { } // namespace dart -#endif // VM_TIMER_H_ +#endif // RUNTIME_VM_TIMER_H_ diff --git a/runtime/vm/token.h b/runtime/vm/token.h index 6ddf17ba87b..0f5ff542d88 100644 --- a/runtime/vm/token.h +++ b/runtime/vm/token.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_TOKEN_H_ -#define VM_TOKEN_H_ +#ifndef RUNTIME_VM_TOKEN_H_ +#define RUNTIME_VM_TOKEN_H_ #include "platform/assert.h" #include "vm/allocation.h" @@ -330,4 +330,4 @@ class Token { } // namespace dart -#endif // VM_TOKEN_H_ +#endif // RUNTIME_VM_TOKEN_H_ diff --git a/runtime/vm/token_position.h b/runtime/vm/token_position.h index c9647168b76..dc7c5a0e74a 100644 --- a/runtime/vm/token_position.h +++ b/runtime/vm/token_position.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_TOKEN_POSITION_H_ -#define VM_TOKEN_POSITION_H_ +#ifndef RUNTIME_VM_TOKEN_POSITION_H_ +#define RUNTIME_VM_TOKEN_POSITION_H_ #include "platform/utils.h" #include "vm/allocation.h" @@ -205,4 +205,4 @@ class TokenPosition { } // namespace dart -#endif // VM_TOKEN_POSITION_H_ +#endif // RUNTIME_VM_TOKEN_POSITION_H_ diff --git a/runtime/vm/type_table.h b/runtime/vm/type_table.h index c33a124a63c..6e3818cdfff 100644 --- a/runtime/vm/type_table.h +++ b/runtime/vm/type_table.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_TYPE_TABLE_H_ -#define VM_TYPE_TABLE_H_ +#ifndef RUNTIME_VM_TYPE_TABLE_H_ +#define RUNTIME_VM_TYPE_TABLE_H_ #include "platform/assert.h" #include "vm/hash_table.h" @@ -109,4 +109,4 @@ typedef UnorderedHashSet } // namespace dart -#endif // VM_TYPE_TABLE_H_ +#endif // RUNTIME_VM_TYPE_TABLE_H_ diff --git a/runtime/vm/unibrow-inl.h b/runtime/vm/unibrow-inl.h index 340d1be65d0..47ef64da946 100644 --- a/runtime/vm/unibrow-inl.h +++ b/runtime/vm/unibrow-inl.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_UNIBROW_INL_H_ -#define VM_UNIBROW_INL_H_ +#ifndef RUNTIME_VM_UNIBROW_INL_H_ +#define RUNTIME_VM_UNIBROW_INL_H_ #include "vm/unibrow.h" @@ -45,4 +45,4 @@ template intptr_t Mapping::CalculateValue( } // namespace unibrow -#endif // VM_UNIBROW_INL_H_ +#endif // RUNTIME_VM_UNIBROW_INL_H_ diff --git a/runtime/vm/unibrow.h b/runtime/vm/unibrow.h index 82250d2e9e4..f4ac7b53a6c 100644 --- a/runtime/vm/unibrow.h +++ b/runtime/vm/unibrow.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_UNIBROW_H_ -#define VM_UNIBROW_H_ +#ifndef RUNTIME_VM_UNIBROW_H_ +#define RUNTIME_VM_UNIBROW_H_ #include @@ -69,4 +69,4 @@ struct CanonicalizationRange { } // namespace unibrow -#endif // VM_UNIBROW_H_ +#endif // RUNTIME_VM_UNIBROW_H_ diff --git a/runtime/vm/unicode.h b/runtime/vm/unicode.h index 7ea10e970b9..6acf84f7de4 100644 --- a/runtime/vm/unicode.h +++ b/runtime/vm/unicode.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_UNICODE_H_ -#define VM_UNICODE_H_ +#ifndef RUNTIME_VM_UNICODE_H_ +#define RUNTIME_VM_UNICODE_H_ #include "vm/allocation.h" #include "vm/globals.h" @@ -228,4 +228,4 @@ class CaseMapping : AllStatic { } // namespace dart -#endif // VM_UNICODE_H_ +#endif // RUNTIME_VM_UNICODE_H_ diff --git a/runtime/vm/unit_test.h b/runtime/vm/unit_test.h index 189515faefa..9047f02ea9d 100644 --- a/runtime/vm/unit_test.h +++ b/runtime/vm/unit_test.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_UNIT_TEST_H_ -#define VM_UNIT_TEST_H_ +#ifndef RUNTIME_VM_UNIT_TEST_H_ +#define RUNTIME_VM_UNIT_TEST_H_ #include "include/dart_native_api.h" @@ -619,4 +619,4 @@ class SetFlagScope : public ValueObject { } // namespace dart -#endif // VM_UNIT_TEST_H_ +#endif // RUNTIME_VM_UNIT_TEST_H_ diff --git a/runtime/vm/uri.h b/runtime/vm/uri.h index 453b3717f78..3dfdda0080a 100644 --- a/runtime/vm/uri.h +++ b/runtime/vm/uri.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_URI_H_ -#define VM_URI_H_ +#ifndef RUNTIME_VM_URI_H_ +#define RUNTIME_VM_URI_H_ #include "platform/utils.h" #include "vm/globals.h" @@ -30,4 +30,4 @@ bool ResolveUri(const char* ref_uri, } // namespace dart -#endif // VM_URI_H_ +#endif // RUNTIME_VM_URI_H_ diff --git a/runtime/vm/verifier.h b/runtime/vm/verifier.h index 8ae222d661f..bade6abc608 100644 --- a/runtime/vm/verifier.h +++ b/runtime/vm/verifier.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_VERIFIER_H_ -#define VM_VERIFIER_H_ +#ifndef RUNTIME_VM_VERIFIER_H_ +#define RUNTIME_VM_VERIFIER_H_ #include "vm/flags.h" #include "vm/globals.h" @@ -98,4 +98,4 @@ class VerifyCanonicalVisitor : public ObjectVisitor { } // namespace dart -#endif // VM_VERIFIER_H_ +#endif // RUNTIME_VM_VERIFIER_H_ diff --git a/runtime/vm/version.h b/runtime/vm/version.h index 45afcb5964a..2acf205e5c4 100644 --- a/runtime/vm/version.h +++ b/runtime/vm/version.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_VERSION_H_ -#define VM_VERSION_H_ +#ifndef RUNTIME_VM_VERSION_H_ +#define RUNTIME_VM_VERSION_H_ #include "vm/allocation.h" @@ -21,4 +21,4 @@ class Version : public AllStatic { } // namespace dart -#endif // VM_VERSION_H_ +#endif // RUNTIME_VM_VERSION_H_ diff --git a/runtime/vm/virtual_memory.h b/runtime/vm/virtual_memory.h index 6e43cb43c61..8eefd30342d 100644 --- a/runtime/vm/virtual_memory.h +++ b/runtime/vm/virtual_memory.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_VIRTUAL_MEMORY_H_ -#define VM_VIRTUAL_MEMORY_H_ +#ifndef RUNTIME_VM_VIRTUAL_MEMORY_H_ +#define RUNTIME_VM_VIRTUAL_MEMORY_H_ #include "platform/utils.h" #include "vm/globals.h" @@ -107,4 +107,4 @@ class VirtualMemory { } // namespace dart -#endif // VM_VIRTUAL_MEMORY_H_ +#endif // RUNTIME_VM_VIRTUAL_MEMORY_H_ diff --git a/runtime/vm/visitor.h b/runtime/vm/visitor.h index 3b071e227d6..3c35b1083f6 100644 --- a/runtime/vm/visitor.h +++ b/runtime/vm/visitor.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_VISITOR_H_ -#define VM_VISITOR_H_ +#ifndef RUNTIME_VM_VISITOR_H_ +#define RUNTIME_VM_VISITOR_H_ #include "vm/allocation.h" #include "vm/globals.h" @@ -82,4 +82,4 @@ class FindObjectVisitor { } // namespace dart -#endif // VM_VISITOR_H_ +#endif // RUNTIME_VM_VISITOR_H_ diff --git a/runtime/vm/weak_code.h b/runtime/vm/weak_code.h index 9fd11c19889..42da4d7886a 100644 --- a/runtime/vm/weak_code.h +++ b/runtime/vm/weak_code.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_WEAK_CODE_H_ -#define VM_WEAK_CODE_H_ +#ifndef RUNTIME_VM_WEAK_CODE_H_ +#define RUNTIME_VM_WEAK_CODE_H_ #include "vm/allocation.h" #include "vm/globals.h" @@ -39,4 +39,4 @@ class WeakCodeReferences : public ValueObject { } // namespace dart -#endif // VM_WEAK_CODE_H_ +#endif // RUNTIME_VM_WEAK_CODE_H_ diff --git a/runtime/vm/weak_table.h b/runtime/vm/weak_table.h index 2c40aa3af28..8489ddaee1a 100644 --- a/runtime/vm/weak_table.h +++ b/runtime/vm/weak_table.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_WEAK_TABLE_H_ -#define VM_WEAK_TABLE_H_ +#ifndef RUNTIME_VM_WEAK_TABLE_H_ +#define RUNTIME_VM_WEAK_TABLE_H_ #include "vm/globals.h" @@ -171,4 +171,4 @@ class WeakTable { } // namespace dart -#endif // VM_WEAK_TABLE_H_ +#endif // RUNTIME_VM_WEAK_TABLE_H_ diff --git a/runtime/vm/zone.h b/runtime/vm/zone.h index 0d274ad5356..6d216e9a8e4 100644 --- a/runtime/vm/zone.h +++ b/runtime/vm/zone.h @@ -2,8 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -#ifndef VM_ZONE_H_ -#define VM_ZONE_H_ +#ifndef RUNTIME_VM_ZONE_H_ +#define RUNTIME_VM_ZONE_H_ #include "platform/utils.h" #include "vm/allocation.h" @@ -259,4 +259,4 @@ inline ElementType* Zone::Realloc(ElementType* old_data, } // namespace dart -#endif // VM_ZONE_H_ +#endif // RUNTIME_VM_ZONE_H_