text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMENUPLUGIN_H_ #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMENUP...
engine/shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin.h/0
{ "file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin.h", "repo_id": "engine", "token_count": 380 }
371
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterRenderer.h" #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterEngi...
engine/shell/platform/darwin/macos/framework/Source/FlutterRenderer.mm/0
{ "file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterRenderer.mm", "repo_id": "engine", "token_count": 1504 }
372
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterThreadSynchronizer.h" #import "flutter/fml/synchronization/waitable_event.h" #import ...
engine/shell/platform/darwin/macos/framework/Source/FlutterThreadSynchronizerTest.mm/0
{ "file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterThreadSynchronizerTest.mm", "repo_id": "engine", "token_count": 6273 }
373
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <Carbon/Carbon.h> #import <Foundation/Foundation.h> #import <OCMock/OCMock.h> #import "flutter/shell/platform/darwin/macos/framework/Source/Flutt...
engine/shell/platform/darwin/macos/framework/Source/FlutterViewEngineProviderTest.mm/0
{ "file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterViewEngineProviderTest.mm", "repo_id": "engine", "token_count": 707 }
374
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_H_ #define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_H_ #include <stdbool.h> #include <stddef.h> #include ...
engine/shell/platform/embedder/embedder.h/0
{ "file_path": "engine/shell/platform/embedder/embedder.h", "repo_id": "engine", "token_count": 44269 }
375
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/embedder/embedder_layers.h" #include <algorithm> namespace flutter { EmbedderLayers::EmbedderLayers(SkISize frame_size,...
engine/shell/platform/embedder/embedder_layers.cc/0
{ "file_path": "engine/shell/platform/embedder/embedder_layers.cc", "repo_id": "engine", "token_count": 3605 }
376
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_SURFACE_H_ #define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_SURFACE_H_ #include <memory> #include "flutte...
engine/shell/platform/embedder/embedder_surface.h/0
{ "file_path": "engine/shell/platform/embedder/embedder_surface.h", "repo_id": "engine", "token_count": 332 }
377
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_THREAD_HOST_H_ #define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_THREAD_HOST_H_ #include <map> #include <m...
engine/shell/platform/embedder/embedder_thread_host.h/0
{ "file_path": "engine/shell/platform/embedder/embedder_thread_host.h", "repo_id": "engine", "token_count": 704 }
378
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'dart:core'; import 'dart:ffi' as ffi; import 'dart:io'; import 'dart:isolate'; import 'dart:typed_data'...
engine/shell/platform/embedder/fixtures/main.dart/0
{ "file_path": "engine/shell/platform/embedder/fixtures/main.dart", "repo_id": "engine", "token_count": 17006 }
379
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_ASSERTIONS_H_ #define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_ASSERTIONS_H_ #include <sstrea...
engine/shell/platform/embedder/tests/embedder_assertions.h/0
{ "file_path": "engine/shell/platform/embedder/tests/embedder_assertions.h", "repo_id": "engine", "token_count": 8186 }
380
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_METAL_H_ #define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_META...
engine/shell/platform/embedder/tests/embedder_test_compositor_metal.h/0
{ "file_path": "engine/shell/platform/embedder/tests/embedder_test_compositor_metal.h", "repo_id": "engine", "token_count": 443 }
381
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/embedder/embedder.h" #include <set> #include "flutter/testing/testing.h" #ifdef _WIN32 // winbase.h defines GetCurrentT...
engine/shell/platform/embedder/tests/embedder_unittests_proctable.cc/0
{ "file_path": "engine/shell/platform/embedder/tests/embedder_unittests_proctable.cc", "repo_id": "engine", "token_count": 705 }
382
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "natives.h" #include <zircon/syscalls.h> #include <cstring> #include <memory> #include <vector> #include "handle.h" #include "handle_dispositio...
engine/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/natives.cc/0
{ "file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/natives.cc", "repo_id": "engine", "token_count": 1017 }
383
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_PKG_ZIRCON_FFI_HANDLE_H_ #define FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_PKG_ZIRCON_FFI_HANDLE_H_ #include "macros...
engine/shell/platform/fuchsia/dart-pkg/zircon_ffi/handle.h/0
{ "file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon_ffi/handle.h", "repo_id": "engine", "token_count": 1017 }
384
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_RUNNER_DART_TEST_COMPONENT_CONTROLLER_H_ #define FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_RUNNER_DART_TEST_COMPONENT...
engine/shell/platform/fuchsia/dart_runner/dart_test_component_controller.h/0
{ "file_path": "engine/shell/platform/fuchsia/dart_runner/dart_test_component_controller.h", "repo_id": "engine", "token_count": 2123 }
385
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. { include: [ "common.shard.cml" ], program: { runner: "elf", binary: "bin/app", forward_stdout_to: "log", forward_st...
engine/shell/platform/fuchsia/dart_runner/meta/dart_aot_product_runner.cml/0
{ "file_path": "engine/shell/platform/fuchsia/dart_runner/meta/dart_aot_product_runner.cml", "repo_id": "engine", "token_count": 295 }
386
#!/usr/bin/env python3 # # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import argparse import os import re import sys def main(): parser = argparse.ArgumentParser( sys.argv[0], description="Gener...
engine/shell/platform/fuchsia/flutter/build/gen_debug_wrapper_main.py/0
{ "file_path": "engine/shell/platform/fuchsia/flutter/build/gen_debug_wrapper_main.py", "repo_id": "engine", "token_count": 815 }
387
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter_runner_product_configuration.h" #include <zircon/assert.h> #include "flutter/fml/logging.h" #include "rapidjson/document.h" namespace ...
engine/shell/platform/fuchsia/flutter/flutter_runner_product_configuration.cc/0
{ "file_path": "engine/shell/platform/fuchsia/flutter/flutter_runner_product_configuration.cc", "repo_id": "engine", "token_count": 562 }
388
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/fuchsia/flutter/keyboard.h" #include <fuchsia/input/cpp/fidl.h> #include <fuchsia/ui/input/cpp/fidl.h> #include <fuchsia/...
engine/shell/platform/fuchsia/flutter/keyboard.cc/0
{ "file_path": "engine/shell/platform/fuchsia/flutter/keyboard.cc", "repo_id": "engine", "token_count": 3984 }
389
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_POINTER_INJECTOR_DELEGATE_H_ #define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_POINTER_INJECTOR_DELEGATE_H_ #i...
engine/shell/platform/fuchsia/flutter/pointer_injector_delegate.h/0
{ "file_path": "engine/shell/platform/fuchsia/flutter/pointer_injector_delegate.h", "repo_id": "engine", "token_count": 2798 }
390
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_SURFACE_H_ #define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_SURFACE_H_ #include "flutter/flow/surface.h" #inc...
engine/shell/platform/fuchsia/flutter/surface.h/0
{ "file_path": "engine/shell/platform/fuchsia/flutter/surface.h", "repo_id": "engine", "token_count": 496 }
391
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_TESTS_FAKES_SCENIC_FAKE_FLATLAND_TYPES_H_ #define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_TESTS_FAKES_SCENIC_...
engine/shell/platform/fuchsia/flutter/tests/fakes/scenic/fake_flatland_types.h/0
{ "file_path": "engine/shell/platform/fuchsia/flutter/tests/fakes/scenic/fake_flatland_types.h", "repo_id": "engine", "token_count": 4314 }
392
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. { include: [ "syslog/client.shard.cml" ], program: { data: "data/parent-view", // Always use the jit runner for now. // TOD...
engine/shell/platform/fuchsia/flutter/tests/integration/embedder/parent-view/meta/parent-view.cml/0
{ "file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/embedder/parent-view/meta/parent-view.cml", "repo_id": "engine", "token_count": 556 }
393
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "portable_ui_test.h" #include <fuchsia/inspect/cpp/fidl.h> #include <fuchsia/logger/cpp/fidl.h> #include <fuchsia/tracing/provider/cpp/fidl.h> #i...
engine/shell/platform/fuchsia/flutter/tests/integration/utils/portable_ui_test.cc/0
{ "file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/utils/portable_ui_test.cc", "repo_id": "engine", "token_count": 4797 }
394
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "vsync_waiter.h" #include <cstdint> #include <lib/async/default.h> #include "flutter/fml/logging.h" #include "flutter/fml/make_copyable.h" #inc...
engine/shell/platform/fuchsia/flutter/vsync_waiter.cc/0
{ "file_path": "engine/shell/platform/fuchsia/flutter/vsync_waiter.cc", "repo_id": "engine", "token_count": 1207 }
395
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "build_info.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include <lib/async-loop/cpp/loop.h> #include <lib/async-loop/default.h> #includ...
engine/shell/platform/fuchsia/runtime/dart/utils/build_info_unittests.cc/0
{ "file_path": "engine/shell/platform/fuchsia/runtime/dart/utils/build_info_unittests.cc", "repo_id": "engine", "token_count": 901 }
396
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "vmservice_object.h" #include <dirent.h> #include <fuchsia/io/cpp/fidl.h> #include <zircon/status.h> #include <cerrno> #include <string> #inclu...
engine/shell/platform/fuchsia/runtime/dart/utils/vmservice_object.cc/0
{ "file_path": "engine/shell/platform/fuchsia/runtime/dart/utils/vmservice_object.cc", "repo_id": "engine", "token_count": 671 }
397
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_GLFW_CLIENT_WRAPPER_TESTING_STUB_FLUTTER_GLFW_API_H_ #define FLUTTER_SHELL_PLATFORM_GLFW_CLIENT_WRAPPER_TESTING_STUB_FLUTTER...
engine/shell/platform/glfw/client_wrapper/testing/stub_flutter_glfw_api.h/0
{ "file_path": "engine/shell/platform/glfw/client_wrapper/testing/stub_flutter_glfw_api.h", "repo_id": "engine", "token_count": 1238 }
398
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_GLFW_SYSTEM_UTILS_H_ #define FLUTTER_SHELL_PLATFORM_GLFW_SYSTEM_UTILS_H_ #include <string> #include <vector> #include "flu...
engine/shell/platform/glfw/system_utils.h/0
{ "file_path": "engine/shell/platform/glfw/system_utils.h", "repo_id": "engine", "token_count": 337 }
399
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/linux/public/flutter_linux/fl_binary_codec.h" #include <gmodule.h> G_DEFINE_QUARK(fl_binary_codec_error_quark, fl_binary...
engine/shell/platform/linux/fl_binary_codec.cc/0
{ "file_path": "engine/shell/platform/linux/fl_binary_codec.cc", "repo_id": "engine", "token_count": 907 }
400
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/linux/public/flutter_linux/fl_json_message_codec.h" #include <gmodule.h> #include <cstring> #include "rapidjson/reader....
engine/shell/platform/linux/fl_json_message_codec.cc/0
{ "file_path": "engine/shell/platform/linux/fl_json_message_codec.cc", "repo_id": "engine", "token_count": 4719 }
401
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_KEYBOARD_MANAGER_H_ #define FLUTTER_SHELL_PLATFORM_LINUX_FL_KEYBOARD_MANAGER_H_ #include <gdk/gdk.h> #include "fl...
engine/shell/platform/linux/fl_keyboard_manager.h/0
{ "file_path": "engine/shell/platform/linux/fl_keyboard_manager.h", "repo_id": "engine", "token_count": 1224 }
402
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/linux/fl_mouse_cursor_plugin.h" #include <gtk/gtk.h> #include <cstring> #include "flutter/shell/platform/linux/public/fl...
engine/shell/platform/linux/fl_mouse_cursor_plugin.cc/0
{ "file_path": "engine/shell/platform/linux/fl_mouse_cursor_plugin.cc", "repo_id": "engine", "token_count": 2857 }
403
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "fl_renderer_headless.h" struct _FlRendererHeadless { FlRenderer parent_instance; }; G_DEFINE_TYPE(FlRendererHeadless, fl_renderer_headless, f...
engine/shell/platform/linux/fl_renderer_headless.cc/0
{ "file_path": "engine/shell/platform/linux/fl_renderer_headless.cc", "repo_id": "engine", "token_count": 452 }
404
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/linux/public/flutter_linux/fl_standard_message_codec.h" #include "flutter/shell/platform/linux/testing/fl_test.h" #include...
engine/shell/platform/linux/fl_standard_message_codec_test.cc/0
{ "file_path": "engine/shell/platform/linux/fl_standard_message_codec_test.cc", "repo_id": "engine", "token_count": 22827 }
405
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_TEXTURE_PRIVATE_H_ #define FLUTTER_SHELL_PLATFORM_LINUX_FL_TEXTURE_PRIVATE_H_ #include "flutter/shell/platform/emb...
engine/shell/platform/linux/fl_texture_private.h/0
{ "file_path": "engine/shell/platform/linux/fl_texture_private.h", "repo_id": "engine", "token_count": 257 }
406
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_BINARY_CODEC_H_ #define FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_BINARY_CODEC_H_ ...
engine/shell/platform/linux/public/flutter_linux/fl_binary_codec.h/0
{ "file_path": "engine/shell/platform/linux/public/flutter_linux/fl_binary_codec.h", "repo_id": "engine", "token_count": 567 }
407
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_STANDARD_METHOD_CODEC_H_ #define FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_STANDARD...
engine/shell/platform/linux/public/flutter_linux/fl_standard_method_codec.h/0
{ "file_path": "engine/shell/platform/linux/public/flutter_linux/fl_standard_method_codec.h", "repo_id": "engine", "token_count": 556 }
408
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/linux/testing/mock_binary_messenger_response_handle.h" struct _FlMockBinaryMessengerResponseHandle { FlBinaryMessengerR...
engine/shell/platform/linux/testing/mock_binary_messenger_response_handle.cc/0
{ "file_path": "engine/shell/platform/linux/testing/mock_binary_messenger_response_handle.cc", "repo_id": "engine", "token_count": 344 }
409
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/linux/testing/mock_text_input_view_delegate.h" using namespace flutter::testing; G_DECLARE_FINAL_TYPE(FlMockTextInputVie...
engine/shell/platform/linux/testing/mock_text_input_view_delegate.cc/0
{ "file_path": "engine/shell/platform/linux/testing/mock_text_input_view_delegate.cc", "repo_id": "engine", "token_count": 1054 }
410
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include <string> #include "flutter/shell/platform/windows/client_wrapper/include/flutter/flutter_view_controller.h" #include "flutter/s...
engine/shell/platform/windows/client_wrapper/flutter_view_controller_unittests.cc/0
{ "file_path": "engine/shell/platform/windows/client_wrapper/flutter_view_controller_unittests.cc", "repo_id": "engine", "token_count": 1272 }
411
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include <vector> #include "flutter/shell/platform/windows/compositor_software.h" #include "flutter/shell/platform/windows/flutter_windo...
engine/shell/platform/windows/compositor_software_unittests.cc/0
{ "file_path": "engine/shell/platform/windows/compositor_software_unittests.cc", "repo_id": "engine", "token_count": 1752 }
412
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/windows/egl/proc_table.h" #include <EGL/egl.h> namespace flutter { namespace egl { std::shared_ptr<ProcTable> ProcTable...
engine/shell/platform/windows/egl/proc_table.cc/0
{ "file_path": "engine/shell/platform/windows/egl/proc_table.cc", "repo_id": "engine", "token_count": 904 }
413
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <oleacc.h> #include "flutter/shell/platform/windows/flutter_platform_node_delegate_windows.h" #include "flutter/fml/logging.h" #include "flutter...
engine/shell/platform/windows/flutter_platform_node_delegate_windows.cc/0
{ "file_path": "engine/shell/platform/windows/flutter_platform_node_delegate_windows.cc", "repo_id": "engine", "token_count": 1611 }
414
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/windows/public/flutter_windows.h" #include <dxgi.h> #include <wrl/client.h> #include <thread> #include "flutter/fml/sync...
engine/shell/platform/windows/flutter_windows_unittests.cc/0
{ "file_path": "engine/shell/platform/windows/flutter_windows_unittests.cc", "repo_id": "engine", "token_count": 5220 }
415
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_MANAGER_H_ #define FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_MANAGER_H_ #include <windows.h> #include <atom...
engine/shell/platform/windows/keyboard_manager.h/0
{ "file_path": "engine/shell/platform/windows/keyboard_manager.h", "repo_id": "engine", "token_count": 2823 }
416
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/windows/settings_plugin.h" #include "flutter/shell/platform/common/json_message_codec.h" #include "flutter/shell/platform...
engine/shell/platform/windows/settings_plugin.cc/0
{ "file_path": "engine/shell/platform/windows/settings_plugin.cc", "repo_id": "engine", "token_count": 2178 }
417
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/windows/testing/flutter_windows_engine_builder.h" #include "flutter/fml/macros.h" #include "flutter/shell/platform/window...
engine/shell/platform/windows/testing/flutter_windows_engine_builder.cc/0
{ "file_path": "engine/shell/platform/windows/testing/flutter_windows_engine_builder.cc", "repo_id": "engine", "token_count": 1319 }
418
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_VIEW_MODIFIER_H_ #define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_VIEW_MODIFIER_H_ #include "flutter/fml/macr...
engine/shell/platform/windows/testing/view_modifier.h/0
{ "file_path": "engine/shell/platform/windows/testing/view_modifier.h", "repo_id": "engine", "token_count": 385 }
419
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/windows/window_proc_delegate_manager.h" #include <algorithm> #include "flutter/shell/platform/embedder/embedder.h" name...
engine/shell/platform/windows/window_proc_delegate_manager.cc/0
{ "file_path": "engine/shell/platform/windows/window_proc_delegate_manager.cc", "repo_id": "engine", "token_count": 624 }
420
# Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. _skia_root = "//flutter/third_party/skia" import("$_skia_root/gn/skia.gni") import("$_skia_root/modules/skparagraph/skparagraph.gni") import("$_skia_root/mod...
engine/skia/modules/skparagraph/BUILD.gn/0
{ "file_path": "engine/skia/modules/skparagraph/BUILD.gn", "repo_id": "engine", "token_count": 413 }
421
#!/usr/bin/env python3 # # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import argparse import platform import subprocess import shutil import sys import os from create_xcframework import create_xcframewo...
engine/sky/tools/create_ios_framework.py/0
{ "file_path": "engine/sky/tools/create_ios_framework.py", "repo_id": "engine", "token_count": 1531 }
422
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package dev.flutter.android_background_image; import android.content.Intent; import android.util.Log; import androidx.annotation.NonNull; import io.flutte...
engine/testing/android_background_image/android/app/src/main/java/dev/flutter/android_background_image/MainActivity.java/0
{ "file_path": "engine/testing/android_background_image/android/app/src/main/java/dev/flutter/android_background_image/MainActivity.java", "repo_id": "engine", "token_count": 543 }
423
{ "context": { "date": "2019-12-17 15:14:14", "num_cpus": 56, "mhz_per_cpu": 2594, "cpu_scaling_enabled": true, "library_build_type": "release" }, "benchmarks": [ { "name": "BM_PaintRecordInit", "iterations": 6749079, "real_time": 101, "cpu_time": 101, "time_u...
engine/testing/benchmark/example/txt_benchmarks.json/0
{ "file_path": "engine/testing/benchmark/example/txt_benchmarks.json", "repo_id": "engine", "token_count": 352 }
424
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:io'; import 'dart:typed_data'; import 'dart:ui'; import 'package:litetest/litetest.dart'; import 'package:path/path.dart...
engine/testing/dart/encoding_test.dart/0
{ "file_path": "engine/testing/dart/encoding_test.dart", "repo_id": "engine", "token_count": 3697 }
425
// Copyright 2022 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:ui'; import 'package:litetest/litetest.dart'; void main() { test('Picture construction invokes onCreate once', () async { int onCreate...
engine/testing/dart/picture_test.dart/0
{ "file_path": "engine/testing/dart/picture_test.dart", "repo_id": "engine", "token_count": 611 }
426
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/testing/dart_fixture.h" #include <utility> #include "flutter/fml/paths.h" namespace flutter::testing { DartFixture::DartFixture() ...
engine/testing/dart_fixture.cc/0
{ "file_path": "engine/testing/dart_fixture.cc", "repo_id": "engine", "token_count": 1308 }
427
<?xml version="1.0" encoding="UTF-8"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-3...
engine/testing/ios/IosUnitTests/App/Base.lproj/Main.storyboard/0
{ "file_path": "engine/testing/ios/IosUnitTests/App/Base.lproj/Main.storyboard", "repo_id": "engine", "token_count": 695 }
428
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:collection'; import 'dart:io' show stdout; import 'dart:isolate'; import 'test.dart'; /// A suite of tests, added with ...
engine/testing/litetest/lib/src/test_suite.dart/0
{ "file_path": "engine/testing/litetest/lib/src/test_suite.dart", "repo_id": "engine", "token_count": 1194 }
429
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package dev.flutter.scenariosui; import android.content.Intent; import androidx.annotation.NonNull; import androidx.test.filters.LargeTest; import android...
engine/testing/scenario_app/android/app/src/androidTest/java/dev/flutter/scenariosui/PlatformViewWithSurfaceViewHybridFallbackUiTest.java/0
{ "file_path": "engine/testing/scenario_app/android/app/src/androidTest/java/dev/flutter/scenariosui/PlatformViewWithSurfaceViewHybridFallbackUiTest.java", "repo_id": "engine", "token_count": 506 }
430
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package dev.flutter.scenarios; import static io.flutter.Build.API_LEVELS; import android.Manifest; import android.content.Context; import android.content...
engine/testing/scenario_app/android/app/src/main/java/dev/flutter/scenarios/TestActivity.java/0
{ "file_path": "engine/testing/scenario_app/android/app/src/main/java/dev/flutter/scenarios/TestActivity.java", "repo_id": "engine", "token_count": 2700 }
431
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:meta/meta.dart'; /// An overridable collection of values provided by the environment. @immutable final class Environment { /// Creates a...
engine/testing/scenario_app/bin/utils/environment.dart/0
{ "file_path": "engine/testing/scenario_app/bin/utils/environment.dart", "repo_id": "engine", "token_count": 406 }
432
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import "ScreenBeforeFlutter.h" #import "FlutterEngine+ScenariosTest.h" @implementation ScreenBeforeFlutter @synthesize engine = _engine; - (id)initWit...
engine/testing/scenario_app/ios/Scenarios/Scenarios/ScreenBeforeFlutter.m/0
{ "file_path": "engine/testing/scenario_app/ios/Scenarios/Scenarios/ScreenBeforeFlutter.m", "repo_id": "engine", "token_count": 836 }
433
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import <Flutter/Flutter.h> #import <XCTest/XCTest.h> #import "GoldenTestManager.h" @interface DarwinSystemFontTests : XCTestCase @end @implementation D...
engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/DarwinSystemFontTests.m/0
{ "file_path": "engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/DarwinSystemFontTests.m", "repo_id": "engine", "token_count": 282 }
434
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import <XCTest/XCTest.h> static const CGFloat kCompareAccuracy = 0.001; @interface UnobstructedPlatformViewTests : XCTestCase @end @implementation Uno...
engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/UnobstructedPlatformViewTests.m/0
{ "file_path": "engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/UnobstructedPlatformViewTests.m", "repo_id": "engine", "token_count": 5194 }
435
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:ui'; import 'channel_util.dart'; import 'scenario.dart'; /// Tries to draw some text in a bogus font. Should end up drawing in the /// syste...
engine/testing/scenario_app/lib/src/bogus_font_text.dart/0
{ "file_path": "engine/testing/scenario_app/lib/src/bogus_font_text.dart", "repo_id": "engine", "token_count": 524 }
436
import 'package:litetest/litetest.dart'; import '../bin/utils/adb_logcat_filtering.dart'; import 'src/fake_adb_logcat.dart'; void main() { /// Simulates the filtering of logcat output [lines]. Iterable<String> filter(Iterable<String> lines, {int? filterProcessId}) { if (lines.isEmpty) { throw StateError...
engine/testing/scenario_app/test/adb_log_filter_test.dart/0
{ "file_path": "engine/testing/scenario_app/test/adb_log_filter_test.dart", "repo_id": "engine", "token_count": 1681 }
437
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_TESTING_TEST_METAL_SURFACE_H_ #define FLUTTER_TESTING_TEST_METAL_SURFACE_H_ #include "flutter/fml/macros.h" #include "flutter/testing/test...
engine/testing/test_metal_surface.h/0
{ "file_path": "engine/testing/test_metal_surface.h", "repo_id": "engine", "token_count": 576 }
438
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_TESTING_THREAD_TEST_H_ #define FLUTTER_TESTING_THREAD_TEST_H_ #include <memory> #include <string> #include "flutter/fml/macros.h" #includ...
engine/testing/thread_test.h/0
{ "file_path": "engine/testing/thread_test.h", "repo_id": "engine", "token_count": 920 }
439
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_ACCESSIBILITY_AX_ACTION_HANDLER_BASE_H_ #define UI_ACCESSIBILITY_AX_ACTION_HANDLER_BASE_H_ #include "ax_export.h" #include "ax_tree_id.h" nam...
engine/third_party/accessibility/ax/ax_action_handler_base.h/0
{ "file_path": "engine/third_party/accessibility/ax/ax_action_handler_base.h", "repo_id": "engine", "token_count": 633 }
440
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_ACCESSIBILITY_AX_EXPORT_H_ #define UI_ACCESSIBILITY_AX_EXPORT_H_ // Defines AX_EXPORT so that functionality implemented by the // ui/accessibi...
engine/third_party/accessibility/ax/ax_export.h/0
{ "file_path": "engine/third_party/accessibility/ax/ax_export.h", "repo_id": "engine", "token_count": 293 }
441
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_ACCESSIBILITY_AX_RANGE_H_ #define UI_ACCESSIBILITY_AX_RANGE_H_ #include <memory> #include <ostream> #include <string> #include <utility> #incl...
engine/third_party/accessibility/ax/ax_range.h/0
{ "file_path": "engine/third_party/accessibility/ax/ax_range.h", "repo_id": "engine", "token_count": 6613 }
442
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ax_tree_id_registry.h" #include "ax_action_handler_base.h" #include "base/logging.h" namespace ui { // static AXTreeIDRegistry& AXTreeIDRegis...
engine/third_party/accessibility/ax/ax_tree_id_registry.cc/0
{ "file_path": "engine/third_party/accessibility/ax/ax_tree_id_registry.cc", "repo_id": "engine", "token_count": 1096 }
443
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_BASE_H_ #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_BASE_H_ #include <map> #include <string> #i...
engine/third_party/accessibility/ax/platform/ax_platform_node_base.h/0
{ "file_path": "engine/third_party/accessibility/ax/platform/ax_platform_node_base.h", "repo_id": "engine", "token_count": 6531 }
444
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ax/platform/ax_platform_node_win_unittest.h" #include <UIAutomationClient.h> #include <UIAutomationCoreApi.h> #include <filesystem> #include <...
engine/third_party/accessibility/ax/platform/ax_platform_node_textrangeprovider_win_unittest.cc/0
{ "file_path": "engine/third_party/accessibility/ax/platform/ax_platform_node_textrangeprovider_win_unittest.cc", "repo_id": "engine", "token_count": 133954 }
445
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_ACCESSIBILITY_PLATFORM_TEST_AX_NODE_WRAPPER_H_ #define UI_ACCESSIBILITY_PLATFORM_TEST_AX_NODE_WRAPPER_H_ #include <set> #include <string> #inc...
engine/third_party/accessibility/ax/platform/test_ax_node_wrapper.h/0
{ "file_path": "engine/third_party/accessibility/ax/platform/test_ax_node_wrapper.h", "repo_id": "engine", "token_count": 2881 }
446
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef ACCESSIBILITY_BASE_LOGGING_H_ #define ACCESSIBILITY_BASE_LOGGING_H_ #include <sstream> #include "macros.h" namespace base { class LogMessageVoi...
engine/third_party/accessibility/base/logging.h/0
{ "file_path": "engine/third_party/accessibility/base/logging.h", "repo_id": "engine", "token_count": 949 }
447
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_NUMERICS_SAFE_MATH_ARM_IMPL_H_ #define BASE_NUMERICS_SAFE_MATH_ARM_IMPL_H_ #include <cassert> #include <limits> #include <type_traits> #inc...
engine/third_party/accessibility/base/numerics/safe_math_arm_impl.h/0
{ "file_path": "engine/third_party/accessibility/base/numerics/safe_math_arm_impl.h", "repo_id": "engine", "token_count": 1645 }
448
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_WIN_DISPLAY_H_ #define BASE_WIN_DISPLAY_H_ #include <windows.h> #include <shellscalingapi.h> #include "base/base_export.h" namespace ...
engine/third_party/accessibility/base/win/display.h/0
{ "file_path": "engine/third_party/accessibility/base/win/display.h", "repo_id": "engine", "token_count": 182 }
449
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/win/variant_vector.h" #include <windows.foundation.h> #include <wrl/client.h> #include <cstddef> #include "base/stl_util.h" #include "ba...
engine/third_party/accessibility/base/win/variant_vector_unittest.cc/0
{ "file_path": "engine/third_party/accessibility/base/win/variant_vector_unittest.cc", "repo_id": "engine", "token_count": 19669 }
450
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Defines a simple integer rectangle class. The containment semantics // are array-like; that is, the coordinate (x, y) is considered to be // conta...
engine/third_party/accessibility/gfx/geometry/rect.h/0
{ "file_path": "engine/third_party/accessibility/gfx/geometry/rect.h", "repo_id": "engine", "token_count": 4729 }
451
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_GFX_GEOMETRY_VECTOR2D_CONVERSIONS_H_ #define UI_GFX_GEOMETRY_VECTOR2D_CONVERSIONS_H_ #include "vector2d.h" #include "vector2d_f.h" namesp...
engine/third_party/accessibility/gfx/geometry/vector2d_conversions.h/0
{ "file_path": "engine/third_party/accessibility/gfx/geometry/vector2d_conversions.h", "repo_id": "engine", "token_count": 304 }
452
# Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//build/toolchain/wasm.gni") # This toolchain is only to be used by the canvaskit target below. wasm_toolchain("canvaskit") { extra_toolchain_args ...
engine/third_party/canvaskit/BUILD.gn/0
{ "file_path": "engine/third_party/canvaskit/BUILD.gn", "repo_id": "engine", "token_count": 1454 }
453
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "tonic/dart_list.h" #include "tonic/logging/dart_error.h" namespace tonic { DartList::DartList(Dart_Handle dart_handle) : dart_handle_(dart_han...
engine/third_party/tonic/dart_list.cc/0
{ "file_path": "engine/third_party/tonic/dart_list.cc", "repo_id": "engine", "token_count": 578 }
454
// Copyright 2013 The Flutter Authors. 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_TONIC_FILE_LOADER_FILE_LOADER_H_ #define LIB_TONIC_FILE_LOADER_FILE_LOADER_H_ #include <memory> #include <set> #include <string> #include <vec...
engine/third_party/tonic/file_loader/file_loader.h/0
{ "file_path": "engine/third_party/tonic/file_loader/file_loader.h", "repo_id": "engine", "token_count": 786 }
455
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <fcntl.h> #include <sys/types.h> #include <string> #include <vector> #include "filesystem/scoped_temp_dir.h" #include "filesystem/unique_fd.h" #...
engine/third_party/tonic/filesystem/tests/file_descriptor_unittest.cc/0
{ "file_path": "engine/third_party/tonic/filesystem/tests/file_descriptor_unittest.cc", "repo_id": "engine", "token_count": 368 }
456
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/third_party/tonic/dart_state.h" #include "flutter/common/task_runners.h" #include "flutter/runtime/dart_vm_lifecycle.h" #include "flutter...
engine/third_party/tonic/tests/dart_state_unittest.cc/0
{ "file_path": "engine/third_party/tonic/tests/dart_state_unittest.cc", "repo_id": "engine", "token_count": 1597 }
457
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
engine/third_party/txt/BUILD.gn/0
{ "file_path": "engine/third_party/txt/BUILD.gn", "repo_id": "engine", "token_count": 2092 }
458
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/skia/include/ports/SkTypeface_win.h" #include "txt/platform.h" namespace txt { std::vector<std::string> GetDefaultFontFamilies() { ...
engine/third_party/txt/src/txt/platform_windows.cc/0
{ "file_path": "engine/third_party/txt/src/txt/platform_windows.cc", "repo_id": "engine", "token_count": 166 }
459
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gtest/gtest.h" #include <sstream> #include "txt/platform_mac.h" namespace txt { namespace testing { class PlatformMacTests : public ::testing...
engine/third_party/txt/tests/platform_mac_tests.cc/0
{ "file_path": "engine/third_party/txt/tests/platform_mac_tests.cc", "repo_id": "engine", "token_count": 347 }
460
//--------------------------------------------------------------------------------------------- // Copyright (c) 2022 Google LLC // Licensed under the MIT License. See License.txt in the project root for license information. //-------------------------------------------------------------------------------------------...
engine/third_party/web_locale_keymap/lib/web_locale_keymap/locale_keymap.dart/0
{ "file_path": "engine/third_party/web_locale_keymap/lib/web_locale_keymap/locale_keymap.dart", "repo_id": "engine", "token_count": 782 }
461
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // ignore_for_file: avoid_print import 'dart:io'; import 'package:args/args.dart'; import 'package:path/path.dart' as path; const int _kChar_A = 65; con...
engine/third_party/web_unicode/tool/unicode_sync_script.dart/0
{ "file_path": "engine/third_party/web_unicode/tool/unicode_sync_script.dart", "repo_id": "engine", "token_count": 4530 }
462
# Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. name: apicheck publish_to: none # Do not add any dependencies that require more than what is provided in # //third_party/dart/pkg or //third_party/dart/third...
engine/tools/api_check/pubspec.yaml/0
{ "file_path": "engine/tools/api_check/pubspec.yaml", "repo_id": "engine", "token_count": 1066 }
463
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Runs clang-tidy on files with changes. // // Basic Usage: // dart bin/main.dart --compile-commands <path to compile_commands.json> // dart bin/main.dart...
engine/tools/clang_tidy/bin/main.dart/0
{ "file_path": "engine/tools/clang_tidy/bin/main.dart", "repo_id": "engine", "token_count": 227 }
464
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert' show utf8; import 'dart:io'; String _basename(String path) { return path.split(Platform.pathSeparator).last; } String _generateDi...
engine/tools/dir_contents_diff/lib/dir_contents_diff.dart/0
{ "file_path": "engine/tools/dir_contents_diff/lib/dir_contents_diff.dart", "repo_id": "engine", "token_count": 1225 }
465
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:args/command_runner.dart'; import '../environment.dart'; /// The base class that all commands and subcommands should inherit from. abstra...
engine/tools/engine_tool/lib/src/commands/command.dart/0
{ "file_path": "engine/tools/engine_tool/lib/src/commands/command.dart", "repo_id": "engine", "token_count": 137 }
466
#!/usr/bin/env python3 # # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Copies paths, creates if they do not exist. """ import argparse import errno import json import os import platform import shutil...
engine/tools/fuchsia/copy_path.py/0
{ "file_path": "engine/tools/fuchsia/copy_path.py", "repo_id": "engine", "token_count": 536 }
467
# Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. dart_toolchain = "//flutter/tools/fuchsia/dart:dartlang" dart_root_gen_dir = get_label_info("//bogus($dart_toolchain)", "root_gen_dir") # In order to access ...
engine/tools/fuchsia/dart/toolchain.gni/0
{ "file_path": "engine/tools/fuchsia/dart/toolchain.gni", "repo_id": "engine", "token_count": 169 }
468
# Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//flutter/tools/executable_action.gni") import("//flutter/tools/fuchsia/dart/config.gni") import("//flutter/tools/fuchsia/dart/dart.gni") import("//fl...
engine/tools/fuchsia/flutter/internal/flutter_dart_component.gni/0
{ "file_path": "engine/tools/fuchsia/flutter/internal/flutter_dart_component.gni", "repo_id": "engine", "token_count": 4084 }
469
# Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Each toolchain must define "stamp" and "copy" tools, # but they are always the same in every toolchain. stamp_command = "touch {{output}}" stamp_description...
engine/tools/fuchsia/toolchain/default_tools.gni/0
{ "file_path": "engine/tools/fuchsia/toolchain/default_tools.gni", "repo_id": "engine", "token_count": 468 }
470