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.
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterMen... | engine/shell/platform/darwin/macos/framework/Source/FlutterMenuPluginTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterMenuPluginTest.mm",
"repo_id": "engine",
"token_count": 3491
} | 350 |
// 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/FlutterSurface.h"
#import <Metal/Metal.h>
@interface FlutterSurface () {
CGSize _size;
... | engine/shell/platform/darwin/macos/framework/Source/FlutterSurface.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterSurface.mm",
"repo_id": "engine",
"token_count": 1279
} | 351 |
// 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_FLUTTER_TIME_CONVERTER_MM_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTE... | engine/shell/platform/darwin/macos/framework/Source/FlutterTimeConverter.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterTimeConverter.mm",
"repo_id": "engine",
"token_count": 540
} | 352 |
// 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/FlutterView.h"
#import <Metal/Metal.h>
#import "flutter/testing/testing.h"
constexpr int64... | engine/shell/platform/darwin/macos/framework/Source/FlutterViewTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterViewTest.mm",
"repo_id": "engine",
"token_count": 579
} | 353 |
// 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_ENGINE_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_ENGINE_H_
#include <memory>
#include <unordere... | engine/shell/platform/embedder/embedder_engine.h/0 | {
"file_path": "engine/shell/platform/embedder/embedder_engine.h",
"repo_id": "engine",
"token_count": 1087
} | 354 |
// 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_platform_message_response.h"
#include "flutter/fml/make_copyable.h"
namespace flutter {
EmbedderPlatf... | engine/shell/platform/embedder/embedder_platform_message_response.cc/0 | {
"file_path": "engine/shell/platform/embedder/embedder_platform_message_response.cc",
"repo_id": "engine",
"token_count": 407
} | 355 |
// 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_GL_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_SURFACE_GL_H_
#include "flutter/fml/macros... | engine/shell/platform/embedder/embedder_surface_gl.h/0 | {
"file_path": "engine/shell/platform/embedder/embedder_surface_gl.h",
"repo_id": "engine",
"token_count": 1066
} | 356 |
// 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_CONFIG_BUILDER_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_CONFIG_BUILDER_H_
#include... | engine/shell/platform/embedder/tests/embedder_config_builder.h/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_config_builder.h",
"repo_id": "engine",
"token_count": 1602
} | 357 |
// 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_SOFTWARE_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_S... | engine/shell/platform/embedder/tests/embedder_test_compositor_software.h/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_test_compositor_software.h",
"repo_id": "engine",
"token_count": 369
} | 358 |
// 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_UNITTESTS_UTIL_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_UNITTESTS_UTIL_H_
#define ... | engine/shell/platform/embedder/tests/embedder_unittests_util.h/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_unittests_util.h",
"repo_id": "engine",
"token_count": 2777
} | 359 |
// 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.
part of zircon;
// ignore_for_file: native_function_body_in_non_sdk_code
// ignore_for_file: public_member_api_docs
@pragma('vm:entry-point')
base class ... | engine/shell/platform/fuchsia/dart-pkg/zircon/lib/src/handle_disposition.dart/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon/lib/src/handle_disposition.dart",
"repo_id": "engine",
"token_count": 387
} | 360 |
// 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 "system.h"
#include <array>
#include <fuchsia/io/cpp/fidl.h>
#include <lib/fdio/directory.h>
#include <lib/fdio/fd.h>
#include <lib/fdio/io.h>
#... | engine/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/system.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/system.cc",
"repo_id": "engine",
"token_count": 8886
} | 361 |
// 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.
library fuchsia_builtin;
import 'dart:async';
import 'dart:io';
import 'dart:_internal' show VMLibraryHooks;
// Corelib 'print' implementation.
void _pri... | engine/shell/platform/fuchsia/dart_runner/embedder/builtin.dart/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/embedder/builtin.dart",
"repo_id": "engine",
"token_count": 543
} | 362 |
// 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_jit_product_runner.cml/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/meta/dart_jit_product_runner.cml",
"repo_id": "engine",
"token_count": 334
} | 363 |
# dart_jit_runner
Contains the integration test for the Dart JIT runner.
### Running Tests
<!-- TODO(erkln): Replace steps once test runner script is updated to run Dart runner tests -->
#### Setup emulator and PM serve
```
fx set terminal.qemu-x64
ffx emu start --headless
fx serve
```
#### Prepare build files and ... | engine/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_jit_runner/README.md/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_jit_runner/README.md",
"repo_id": "engine",
"token_count": 560
} | 364 |
// 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/display_list/skia/dl_sk_canvas.h"
#include "flutter/fml/macros.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_... | engine/shell/platform/fuchsia/flutter/canvas_spy.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/canvas_spy.h",
"repo_id": "engine",
"token_count": 4267
} | 365 |
// 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 <ostream>
#include "focus_delegate.h"
namespace flutter_runner {
void FocusDelegate::WatchLoop(std::function<void(bool)> callback) {
if (watc... | engine/shell/platform/fuchsia/flutter/focus_delegate.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/focus_delegate.cc",
"repo_id": "engine",
"token_count": 2033
} | 366 |
// 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.
// Testing the stateful Fuchsia Input3 keyboard interactions. This test case
// is not intended to be exhaustive: it is intended to capture the tests that... | engine/shell/platform/fuchsia/flutter/keyboard_unittest.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/keyboard_unittest.cc",
"repo_id": "engine",
"token_count": 3210
} | 367 |
// 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 "task_runner_adapter.h"
#include <lib/async/cpp/task.h>
#include <lib/async/default.h>
#include <lib/zx/time.h>
#include "flutter/fml/message_lo... | engine/shell/platform/fuchsia/flutter/task_runner_adapter.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/task_runner_adapter.cc",
"repo_id": "engine",
"token_count": 643
} | 368 |
// 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_VIEW_REF_FOCUSED_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_TESTS_FAKES_VIEW_REF_FOCUSED_... | engine/shell/platform/fuchsia/flutter/tests/fakes/view_ref_focused.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/fakes/view_ref_focused.h",
"repo_id": "engine",
"token_count": 392
} | 369 |
# 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.
assert(is_fuchsia)
import("//flutter/tools/fuchsia/fuchsia_archive.gni")
import("//flutter/tools/fuchsia/gn-sdk/src/gn_configs.gni")
import("//flutter/tools/... | engine/shell/platform/fuchsia/flutter/tests/integration/mouse-input/BUILD.gn/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/mouse-input/BUILD.gn",
"repo_id": "engine",
"token_count": 1095
} | 370 |
# touch-input
`touch-input-test` exercises touch through a child view (in this case, the `touch-input-view` Dart component) and asserting
the precise location of the touch event. We validate a touch event as valid through two ways:
- By attaching the child view, injecting touch, and validating that the view reports th... | engine/shell/platform/fuchsia/flutter/tests/integration/touch-input/README.md/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/touch-input/README.md",
"repo_id": "engine",
"token_count": 1262
} | 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.
#include "screenshot.h"
#include <lib/zx/vmar.h>
#include <map>
#include <ostream>
#include <utility>
#include <vector>
#include "flutter/fml/logging.h"... | engine/shell/platform/fuchsia/flutter/tests/integration/utils/screenshot.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/utils/screenshot.cc",
"repo_id": "engine",
"token_count": 1588
} | 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.
#include <gtest/gtest.h>
#include <string>
#include "flutter/fml/task_runner.h"
#include "flutter/shell/common/thread_host.h"
#include "fml/make_copyable... | engine/shell/platform/fuchsia/flutter/vsync_waiter_unittest.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/vsync_waiter_unittest.cc",
"repo_id": "engine",
"token_count": 905
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_FILES_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_FILES_H_
#include <string>
n... | engine/shell/platform/fuchsia/runtime/dart/utils/files.h/0 | {
"file_path": "engine/shell/platform/fuchsia/runtime/dart/utils/files.h",
"repo_id": "engine",
"token_count": 378
} | 374 |
# Running the Fuchsia unit tests locally
These instructions assume you have set `$FUCHSIA_DIR` to your Fuchsia checkout
and `$ENGINE_DIR` to the `src/` folder of your Engine checkout. For example for
zsh, add these lines to your `~/.zprofile`:
```sh
export FUCHSIA_DIR=~/fuchsia
export ENGINE_DIR=~/engine/src
```
1. ... | engine/shell/platform/fuchsia/unit_tests.md/0 | {
"file_path": "engine/shell/platform/fuchsia/unit_tests.md",
"repo_id": "engine",
"token_count": 407
} | 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/glfw/event_loop.h"
#include <atomic>
#include <utility>
namespace flutter {
EventLoop::EventLoop(std::thread::id main_t... | engine/shell/platform/glfw/event_loop.cc/0 | {
"file_path": "engine/shell/platform/glfw/event_loop.cc",
"repo_id": "engine",
"token_count": 1363
} | 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.
#include "flutter/shell/platform/glfw/text_input_plugin.h"
#include <cstdint>
#include <iostream>
#include "flutter/shell/platform/common/json_method_cod... | engine/shell/platform/glfw/text_input_plugin.cc/0 | {
"file_path": "engine/shell/platform/glfw/text_input_plugin.cc",
"repo_id": "engine",
"token_count": 3484
} | 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.
#include "flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h"
#include "flutter/shell/platform/linux/fl_binary_messenger_private.h"
#... | engine/shell/platform/linux/fl_binary_messenger.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_binary_messenger.cc",
"repo_id": "engine",
"token_count": 7600
} | 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.
#include "flutter/shell/platform/linux/public/flutter_linux/fl_json_method_codec.h"
#include <gmodule.h>
#include "flutter/shell/platform/linux/public/fl... | engine/shell/platform/linux/fl_json_method_codec.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_json_method_codec.cc",
"repo_id": "engine",
"token_count": 3744
} | 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.
#include "flutter/shell/platform/linux/fl_keyboard_view_delegate.h"
G_DEFINE_INTERFACE(FlKeyboardViewDelegate,
fl_keyboard_view_delegat... | engine/shell/platform/linux/fl_keyboard_view_delegate.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_keyboard_view_delegate.cc",
"repo_id": "engine",
"token_count": 1205
} | 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.
#include "flutter/shell/platform/linux/public/flutter_linux/fl_pixel_buffer_texture.h"
#include <epoxy/gl.h>
#include <gmodule.h>
#include "flutter/shell... | engine/shell/platform/linux/fl_pixel_buffer_texture.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_pixel_buffer_texture.cc",
"repo_id": "engine",
"token_count": 1784
} | 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/linux/fl_scrolling_manager.h"
static constexpr int kMicrosecondsPerMillisecond = 1000;
struct _FlScrollingManager {
GO... | engine/shell/platform/linux/fl_scrolling_manager.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_scrolling_manager.cc",
"repo_id": "engine",
"token_count": 3348
} | 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 "flutter/shell/platform/linux/public/flutter_linux/fl_standard_method_codec.h"
#include "flutter/shell/platform/linux/fl_method_codec_private.h"
#... | engine/shell/platform/linux/fl_standard_method_codec_test.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_standard_method_codec_test.cc",
"repo_id": "engine",
"token_count": 6570
} | 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_LINUX_FL_TEXTURE_REGISTRAR_PRIVATE_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_TEXTURE_REGISTRAR_PRIVATE_H_
#include "flutte... | engine/shell/platform/linux/fl_texture_registrar_private.h/0 | {
"file_path": "engine/shell/platform/linux/fl_texture_registrar_private.h",
"repo_id": "engine",
"token_count": 475
} | 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_LINUX_PUBLIC_FLUTTER_LINUX_FL_DART_PROJECT_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_DART_PROJECT_H_
... | engine/shell/platform/linux/public/flutter_linux/fl_dart_project.h/0 | {
"file_path": "engine/shell/platform/linux/public/flutter_linux/fl_dart_project.h",
"repo_id": "engine",
"token_count": 1539
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_TEXTURE_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_TEXTURE_H_
#if !defin... | engine/shell/platform/linux/public/flutter_linux/fl_texture.h/0 | {
"file_path": "engine/shell/platform/linux/public/flutter_linux/fl_texture.h",
"repo_id": "engine",
"token_count": 489
} | 386 |
// 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.
// This file is a historical legacy, predating the proc table API. It has been
// updated to continue to work with the proc table, but new tests should not... | engine/shell/platform/linux/testing/mock_engine.cc/0 | {
"file_path": "engine/shell/platform/linux/testing/mock_engine.cc",
"repo_id": "engine",
"token_count": 8309
} | 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/shell/platform/linux/testing/mock_texture_registrar.h"
struct _FlMockTextureRegistrar {
GObject parent_instance;
FlTexture* texture;... | engine/shell/platform/linux/testing/mock_texture_registrar.cc/0 | {
"file_path": "engine/shell/platform/linux/testing/mock_texture_registrar.cc",
"repo_id": "engine",
"token_count": 1272
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_CLIENT_WRAPPER_INCLUDE_FLUTTER_DART_PROJECT_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_CLIENT_WRAPPER_INCLUDE_FLUTTER... | engine/shell/platform/windows/client_wrapper/include/flutter/dart_project.h/0 | {
"file_path": "engine/shell/platform/windows/client_wrapper/include/flutter/dart_project.h",
"repo_id": "engine",
"token_count": 1268
} | 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_WINDOWS_CURSOR_HANDLER_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_CURSOR_HANDLER_H_
#include <unordered_map>
#include "flut... | engine/shell/platform/windows/cursor_handler.h/0 | {
"file_path": "engine/shell/platform/windows/cursor_handler.h",
"repo_id": "engine",
"token_count": 777
} | 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.
#include "flutter/shell/platform/windows/egl/surface.h"
#include "flutter/shell/platform/windows/egl/egl.h"
namespace flutter {
namespace egl {
Surface:... | engine/shell/platform/windows/egl/surface.cc/0 | {
"file_path": "engine/shell/platform/windows/egl/surface.cc",
"repo_id": "engine",
"token_count": 689
} | 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.
#include "flutter/shell/platform/windows/flutter_project_bundle.h"
#include <filesystem>
#include "flutter/fml/logging.h"
#include "flutter/shell/platfor... | engine/shell/platform/windows/flutter_project_bundle.cc/0 | {
"file_path": "engine/shell/platform/windows/flutter_project_bundle.cc",
"repo_id": "engine",
"token_count": 1367
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_VIEW_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_VIEW_H_
#include <memory>
#include <... | engine/shell/platform/windows/flutter_windows_view.h/0 | {
"file_path": "engine/shell/platform/windows/flutter_windows_view.h",
"repo_id": "engine",
"token_count": 5415
} | 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 "keyboard_utils.h"
#include "flutter/fml/logging.h"
namespace flutter {
std::u16string EncodeUtf16(char32_t character) {
// Algorithm: https:... | engine/shell/platform/windows/keyboard_utils.cc/0 | {
"file_path": "engine/shell/platform/windows/keyboard_utils.cc",
"repo_id": "engine",
"token_count": 341
} | 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 "flutter/shell/platform/windows/settings_plugin.h"
#include "flutter/fml/macros.h"
#include "flutter/shell/platform/windows/task_runner.h"
#inclu... | engine/shell/platform/windows/settings_plugin_unittests.cc/0 | {
"file_path": "engine/shell/platform/windows/settings_plugin_unittests.cc",
"repo_id": "engine",
"token_count": 1277
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_DIRECT_MANIPULATION_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_DIRECT_MANIPULATION_H_
#inc... | engine/shell/platform/windows/testing/mock_direct_manipulation.h/0 | {
"file_path": "engine/shell/platform/windows/testing/mock_direct_manipulation.h",
"repo_id": "engine",
"token_count": 355
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WINDOWS_TEST_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WINDOWS_TEST_H_
#include <string>
#include ... | engine/shell/platform/windows/testing/windows_test.h/0 | {
"file_path": "engine/shell/platform/windows/testing/windows_test.h",
"repo_id": "engine",
"token_count": 466
} | 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.
#include "flutter/shell/platform/windows/window_proc_delegate_manager.h"
#include "gtest/gtest.h"
namespace flutter {
namespace testing {
namespace {
#i... | engine/shell/platform/windows/window_proc_delegate_manager_unittests.cc/0 | {
"file_path": "engine/shell/platform/windows/window_proc_delegate_manager_unittests.cc",
"repo_id": "engine",
"token_count": 3323
} | 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.
import 'dart:async';
import 'dart:convert';
import 'dart:io';
class ServiceClient {
Completer<dynamic>? isolateStartedId;
Completer<dynamic>? isolateP... | engine/shell/testing/observatory/service_client.dart/0 | {
"file_path": "engine/shell/testing/observatory/service_client.dart",
"repo_id": "engine",
"token_count": 1223
} | 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.
_skia_root = "//flutter/third_party/skia"
import("$_skia_root/gn/skia.gni")
import("$_skia_root/modules/skunicode/skunicode.gni")
declare_args() {
skia_us... | engine/skia/modules/skunicode/BUILD.gn/0 | {
"file_path": "engine/skia/modules/skunicode/BUILD.gn",
"repo_id": "engine",
"token_count": 1101
} | 400 |
#!/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 subprocess
import sys
import os
buildroot_dir = os.path.abspath(os.path.join(os.path.realpath(__file__), '..'... | engine/sky/tools/create_macos_gen_snapshots.py/0 | {
"file_path": "engine/sky/tools/create_macos_gen_snapshots.py",
"repo_id": "engine",
"token_count": 1154
} | 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_TESTING_ANDROID_NATIVE_ACTIVITY_GTEST_ACTIVITY_H_
#define FLUTTER_TESTING_ANDROID_NATIVE_ACTIVITY_GTEST_ACTIVITY_H_
#include "flutter/fml/... | engine/testing/android/native_activity/gtest_activity.h/0 | {
"file_path": "engine/testing/android/native_activity/gtest_activity.h",
"repo_id": "engine",
"token_count": 418
} | 402 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
android.builder.sdkDownload=false
| engine/testing/android_background_image/android/gradle.properties/0 | {
"file_path": "engine/testing/android_background_image/android/gradle.properties",
"repo_id": "engine",
"token_count": 41
} | 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.
name: flutter_engine_benchmark
publish_to: none
environment:
sdk: '>=3.2.0-0 <4.0.0'
# Do not add any dependencies that require more than what is provided ... | engine/testing/benchmark/pubspec.yaml/0 | {
"file_path": "engine/testing/benchmark/pubspec.yaml",
"repo_id": "engine",
"token_count": 967
} | 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.
// This is testing some of the named constants.
// ignore_for_file: use_named_constants
import 'dart:math' as math show sqrt;
import 'dart:math' show pi;
... | engine/testing/dart/geometry_test.dart/0 | {
"file_path": "engine/testing/dart/geometry_test.dart",
"repo_id": "engine",
"token_count": 8494
} | 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.
import 'dart:isolate';
import 'dart:ui';
import 'package:litetest/litetest.dart';
void main() {
test('Invalid isolate URI', () async {
bool threw =... | engine/testing/dart/isolate_test.dart/0 | {
"file_path": "engine/testing/dart/isolate_test.dart",
"repo_id": "engine",
"token_count": 373
} | 406 |
// Copyright 2024 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:ffi';
import 'dart:isolate';
import 'dart:ui';
import 'package:litetest/litetest.dart';
void main() {
test('PlatformI... | engine/testing/dart/platform_isolate_shutdown_test.dart/0 | {
"file_path": "engine/testing/dart/platform_isolate_shutdown_test.dart",
"repo_id": "engine",
"token_count": 381
} | 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.
#include "flutter/testing/dart_isolate_runner.h"
#include <utility>
#include "flutter/runtime/isolate_configuration.h"
namespace flutter {
namespace tes... | engine/testing/dart_isolate_runner.cc/0 | {
"file_path": "engine/testing/dart_isolate_runner.cc",
"repo_id": "engine",
"token_count": 2397
} | 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.
import 'dart:async';
import 'dart:collection';
import 'dart:isolate';
import 'package:async_helper/async_helper.dart';
import 'package:async_helper/async_... | engine/testing/litetest/test/litetest_test.dart/0 | {
"file_path": "engine/testing/litetest/test/litetest_test.dart",
"repo_id": "engine",
"token_count": 2531
} | 409 |
# Scenario App: Android Tests and Test Runner
End-to-end tests and test infrastructure for the Flutter engine on Android.
> [!IMPORTANT]
> There are several **known issues** with this test suite:
>
> - [#144407](https://github.com/flutter/flutter/issues/144407): "Newer Android"
> tests are missing expected cropping... | engine/testing/scenario_app/android/README.md/0 | {
"file_path": "engine/testing/scenario_app/android/README.md",
"repo_id": "engine",
"token_count": 5502
} | 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.
package dev.flutter.scenarios;
import android.content.Context;
import android.graphics.Color;
import android.view.Choreographer;
import android.view.View;... | engine/testing/scenario_app/android/app/src/main/java/dev/flutter/scenarios/TextPlatformViewFactory.java/0 | {
"file_path": "engine/testing/scenario_app/android/app/src/main/java/dev/flutter/scenarios/TextPlatformViewFactory.java",
"repo_id": "engine",
"token_count": 922
} | 411 |
import 'dart:io' as io;
import 'package:args/args.dart';
import 'package:engine_repo_tools/engine_repo_tools.dart';
import 'package:path/path.dart' as p;
import 'environment.dart';
/// Command line options and parser for the Android `scenario_app` test runner.
extension type const Options._(ArgResults _args) {
///... | engine/testing/scenario_app/bin/utils/options.dart/0 | {
"file_path": "engine/testing/scenario_app/bin/utils/options.dart",
"repo_id": "engine",
"token_count": 4897
} | 412 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<false/>
<key>UISceneConfigurations</key>
<dict... | engine/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/Info.plist/0 | {
"file_path": "engine/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/Info.plist",
"repo_id": "engine",
"token_count": 307
} | 413 |
// Copyright 2018 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 "TextPlatformView.h"
@protocol TestGestureRecognizerDelegate <NSObject>
- (void)gestureTouchesBegan;
- (void)gestureTouchesEnded;
@end
@interf... | engine/testing/scenario_app/ios/Scenarios/Scenarios/TextPlatformView.m/0 | {
"file_path": "engine/testing/scenario_app/ios/Scenarios/Scenarios/TextPlatformView.m",
"repo_id": "engine",
"token_count": 1615
} | 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.
#import "GoldenImage.h"
#import <XCTest/XCTest.h>
#import <os/log.h>
#include <sys/sysctl.h>
@interface GoldenImage ()
@end
@implementation GoldenImage... | engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenImage.m/0 | {
"file_path": "engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenImage.m",
"repo_id": "engine",
"token_count": 1476
} | 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.
import 'dart:ui';
import 'scenario.dart';
/// Shows a text that is shown in app extension.
class DarwinAppExtensionScenario extends Scenario {
/// Crea... | engine/testing/scenario_app/lib/src/darwin_app_extension_scenario.dart/0 | {
"file_path": "engine/testing/scenario_app/lib/src/darwin_app_extension_scenario.dart",
"repo_id": "engine",
"token_count": 423
} | 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.
import 'dart:io' as io;
// It's bad to import a file from `bin` into `tool`.
// However this tool is not very important, so delete it if necessary.
import... | engine/testing/scenario_app/tool/logcat_reader.dart/0 | {
"file_path": "engine/testing/scenario_app/tool/logcat_reader.dart",
"repo_id": "engine",
"token_count": 583
} | 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/testing/test_metal_surface_impl.h"
#include <Metal/Metal.h>
#include "flutter/fml/logging.h"
#include "flutter/fml/platform/darwin/scop... | engine/testing/test_metal_surface_impl.mm/0 | {
"file_path": "engine/testing/test_metal_surface_impl.mm",
"repo_id": "engine",
"token_count": 1588
} | 418 |
// 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.
#ifndef UI_ACCESSIBILITY_AX_ACTIVE_POPUP_H_
#define UI_ACCESSIBILITY_AX_ACTIVE_POPUP_H_
#include <optional>
#include "ax/ax_export.h"
#include "base/mac... | engine/third_party/accessibility/ax/ax_active_popup.h/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_active_popup.h",
"repo_id": "engine",
"token_count": 223
} | 419 |
// 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 UI_ACCESSIBILITY_AX_MODE_H_
#define UI_ACCESSIBILITY_AX_MODE_H_
#include <cstdint>
#include <ostream>
#include <string>
#include "ax_base_export... | engine/third_party/accessibility/ax/ax_mode.h/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_mode.h",
"repo_id": "engine",
"token_count": 1442
} | 420 |
// 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.
#include "ax_relative_bounds.h"
#include <cmath>
#include "ax_enum_util.h"
#include "base/string_utils.h"
using base::NumberToString;
namespace ui {
... | engine/third_party/accessibility/ax/ax_relative_bounds.cc/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_relative_bounds.cc",
"repo_id": "engine",
"token_count": 798
} | 421 |
// 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.
#ifndef UI_ACCESSIBILITY_AX_TREE_MANAGER_H_
#define UI_ACCESSIBILITY_AX_TREE_MANAGER_H_
#include "ax_export.h"
#include "ax_node.h"
#include "ax_tree.h"
... | engine/third_party/accessibility/ax/ax_tree_manager.h/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_tree_manager.h",
"repo_id": "engine",
"token_count": 622
} | 422 |
// 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_DELEGATE_H_
#define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_DELEGATE_H_
#include <cstdint>
#include... | engine/third_party/accessibility/ax/platform/ax_platform_node_delegate.h/0 | {
"file_path": "engine/third_party/accessibility/ax/platform/ax_platform_node_delegate.h",
"repo_id": "engine",
"token_count": 5489
} | 423 |
// 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 UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_UNITTEST_H_
#define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_UNITTEST_H_
#include "gtest/gtest.h"
#... | engine/third_party/accessibility/ax/platform/ax_platform_node_unittest.h/0 | {
"file_path": "engine/third_party/accessibility/ax/platform/ax_platform_node_unittest.h",
"repo_id": "engine",
"token_count": 953
} | 424 |
// 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_PLATFORM_UIA_REGISTRAR_WIN_H_
#define UI_ACCESSIBILITY_PLATFORM_UIA_REGISTRAR_WIN_H_
#include <objbase.h>
#include <uiautomation... | engine/third_party/accessibility/ax/platform/uia_registrar_win.h/0 | {
"file_path": "engine/third_party/accessibility/ax/platform/uia_registrar_win.h",
"repo_id": "engine",
"token_count": 562
} | 425 |
// 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_SHARED_IMPL_H_
#define BASE_NUMERICS_SAFE_MATH_SHARED_IMPL_H_
#include <cassert>
#include <climits>
#include <cmath>
#inc... | engine/third_party/accessibility/base/numerics/safe_math_shared_impl.h/0 | {
"file_path": "engine/third_party/accessibility/base/numerics/safe_math_shared_impl.h",
"repo_id": "engine",
"token_count": 3766
} | 426 |
// 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.
#include "base/win/enum_variant.h"
#include <wrl/client.h>
#include <algorithm>
#include "base/logging.h"
namespace base {
namespace win {
EnumVa... | engine/third_party/accessibility/base/win/enum_variant.cc/0 | {
"file_path": "engine/third_party/accessibility/base/win/enum_variant.cc",
"repo_id": "engine",
"token_count": 915
} | 427 |
# 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/common/config.gni")
source_set("gfx") {
visibility = [ "//flutter/third_party/accessibility/*" ]
include_dirs = [ "//flutter/third_part... | engine/third_party/accessibility/gfx/BUILD.gn/0 | {
"file_path": "engine/third_party/accessibility/gfx/BUILD.gn",
"repo_id": "engine",
"token_count": 698
} | 428 |
// 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_RECT_CONVERSIONS_H_
#define UI_GFX_GEOMETRY_RECT_CONVERSIONS_H_
#include "rect.h"
#include "rect_f.h"
namespace gfx {
// Re... | engine/third_party/accessibility/gfx/geometry/rect_conversions.h/0 | {
"file_path": "engine/third_party/accessibility/gfx/geometry/rect_conversions.h",
"repo_id": "engine",
"token_count": 693
} | 429 |
// 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 float vector class. This class is used to indicate a
// distance in two dimensions between two points. Subtracting two points sho... | engine/third_party/accessibility/gfx/geometry/vector2d_f.h/0 | {
"file_path": "engine/third_party/accessibility/gfx/geometry/vector2d_f.h",
"repo_id": "engine",
"token_count": 1350
} | 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.
_source_location = "//flutter/third_party/libjpeg-turbo/src"
if (current_cpu == "arm") {
import("//build/config/arm.gni")
}
if (is_fuchsia) {
import("//... | engine/third_party/libjpeg-turbo/BUILD.gn/0 | {
"file_path": "engine/third_party/libjpeg-turbo/BUILD.gn",
"repo_id": "engine",
"token_count": 3044
} | 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.
// This file adds defines about the platform we're currently building on.
// Operating System:
// OS_WIN / OS_MACOSX / OS_LINUX / OS_POSIX (MACOSX or L... | engine/third_party/tonic/common/build_config.h/0 | {
"file_path": "engine/third_party/tonic/common/build_config.h",
"repo_id": "engine",
"token_count": 1437
} | 432 |
// 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_message_handler.h"
#include "third_party/dart/runtime/include/dart_api.h"
#include "third_party/dart/runtime/include/dart_native_api.... | engine/third_party/tonic/dart_message_handler.cc/0 | {
"file_path": "engine/third_party/tonic/dart_message_handler.cc",
"repo_id": "engine",
"token_count": 1714
} | 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.
#include "tonic/file_loader/file_loader.h"
#include <iostream>
#include <memory>
#include <utility>
#include "tonic/common/macros.h"
#include "tonic/conv... | engine/third_party/tonic/file_loader/file_loader_posix.cc/0 | {
"file_path": "engine/third_party/tonic/file_loader/file_loader_posix.cc",
"repo_id": "engine",
"token_count": 446
} | 434 |
// Copyright 2021 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_isolate_runner.h"
#include "flutter/testing/fixture_test.h"
#include "tonic/dart_args.h"
#include "tonic/dart_wrappable.h"
... | engine/third_party/tonic/tests/ffi_native_unittest.cc/0 | {
"file_path": "engine/third_party/tonic/tests/ffi_native_unittest.cc",
"repo_id": "engine",
"token_count": 4682
} | 435 |
/*
* 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 t... | engine/third_party/txt/src/txt/paragraph.h/0 | {
"file_path": "engine/third_party/txt/src/txt/paragraph.h",
"repo_id": "engine",
"token_count": 2351
} | 436 |
//---------------------------------------------------------------------------------------------
// 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/test/layout_mapping_test.dart/0 | {
"file_path": "engine/third_party/web_locale_keymap/test/layout_mapping_test.dart",
"repo_id": "engine",
"token_count": 178
} | 437 |
# `build_bucket_golden_scraper`
Given logging on Flutter's CI, scrapes the log for golden file changes.
```shell
$ dart bin/main.dart <path to log file, which can be http or a file>
Wrote 3 golden file changes:
testing/resources/performance_overlay_gold_60fps.png
testing/resources/performance_overlay_gold_90fps.... | engine/tools/build_bucket_golden_scraper/README.md/0 | {
"file_path": "engine/tools/build_bucket_golden_scraper/README.md",
"repo_id": "engine",
"token_count": 909
} | 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.
import 'dart:convert' show LineSplitter, utf8;
import 'dart:io' as io;
import 'package:meta/meta.dart';
import 'package:path/path.dart' as path;
import 'p... | engine/tools/clang_tidy/lib/src/command.dart/0 | {
"file_path": "engine/tools/clang_tidy/lib/src/command.dart",
"repo_id": "engine",
"token_count": 1939
} | 439 |
// 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';
import 'dart:io';
import 'package:args/args.dart';
import 'package:kernel/const_finder.dart';
void main(List<String> args) {
fin... | engine/tools/const_finder/bin/main.dart/0 | {
"file_path": "engine/tools/const_finder/bin/main.dart",
"repo_id": "engine",
"token_count": 1449
} | 440 |
// 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:io' as io;
import 'package:litetest/litetest.dart';
import 'package:path/path.dart' as p;
void main() {
// Find a path to `dir_contents_di... | engine/tools/dir_contents_diff/test/dir_contents_diff_test.dart/0 | {
"file_path": "engine/tools/dir_contents_diff/test/dir_contents_diff_test.dart",
"repo_id": "engine",
"token_count": 1081
} | 441 |
// 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 '../dependencies.dart';
import 'command.dart';
import 'flags.dart';
/// The root 'fetch' command.
final class FetchCommand extends CommandBase {
... | engine/tools/engine_tool/lib/src/commands/fetch_command.dart/0 | {
"file_path": "engine/tools/engine_tool/lib/src/commands/fetch_command.dart",
"repo_id": "engine",
"token_count": 233
} | 442 |
// 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:io' as io;
import 'package:engine_repo_tools/engine_repo_tools.dart';
import 'package:litetest/litetest.dart';
import 'package:path/path.dart... | engine/tools/engine_tool/test/entry_point_test.dart/0 | {
"file_path": "engine/tools/engine_tool/test/entry_point_test.dart",
"repo_id": "engine",
"token_count": 437
} | 443 |
# 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/fuchsia/dart/toolchain.gni")
import("//flutter/tools/fuchsia/sdk/sdk_targets.gni")
import("//flutter/tools/fuchsia/toolchain/basic_too... | engine/tools/fuchsia/dart/BUILD.gn/0 | {
"file_path": "engine/tools/fuchsia/dart/BUILD.gn",
"repo_id": "engine",
"token_count": 263
} | 444 |
# 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/common/fuchsia_config.gni")
import("//flutter/tools/fuchsia/dart.gni")
import("$dart_src/build/dart/dart_action.gni")
template("dart_kernel... | engine/tools/fuchsia/dart_kernel.gni/0 | {
"file_path": "engine/tools/fuchsia/dart_kernel.gni",
"repo_id": "engine",
"token_count": 1082
} | 445 |
# 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/fuchsia/fuchsia_debug_symbols.gni")
import("//flutter/tools/fuchsia/fuchsia_libs.gni")
import("//flutter/tools/fuchsia/gn-sdk/src/cmc.... | engine/tools/fuchsia/fuchsia_archive.gni/0 | {
"file_path": "engine/tools/fuchsia/fuchsia_archive.gni",
"repo_id": "engine",
"token_count": 4553
} | 446 |
#!/usr/bin/env python3
# Copyright (c) 2013, the Flutter project 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 os
import platform
import subprocess
import sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__... | engine/tools/fuchsia/with_envs.py/0 | {
"file_path": "engine/tools/fuchsia/with_envs.py",
"repo_id": "engine",
"token_count": 743
} | 447 |
// 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:io' as io;
import 'package:githooks/githooks.dart';
Future<void> main(List<String> args) async {
io.exitCode = await run(args);
}
| engine/tools/githooks/bin/main.dart/0 | {
"file_path": "engine/tools/githooks/bin/main.dart",
"repo_id": "engine",
"token_count": 100
} | 448 |
@call vpython3 "%~dp0gn" %*
| engine/tools/gn.bat/0 | {
"file_path": "engine/tools/gn.bat",
"repo_id": "engine",
"token_count": 14
} | 449 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.