Home
last modified time | relevance | path

Searched refs:settings_ (Results 1 – 25 of 92) sorted by relevance

1234

/third_party/cef/tests/ceftests/
Durlrequest_unittest.cc577 : settings_(settings), destroy_callback_(std::move(destroy_callback)) {} in RequestSchemeHandlerOld()
587 VerifyNormalRequest(settings_, request, false); in ProcessRequest()
592 response_data_ = settings_->response_data; in ProcessRequest()
603 GetNormalResponse(settings_, response); in GetResponseHeaders()
637 RequestRunSettings* settings_; member in __anon2283f3400111::RequestSchemeHandlerOld
653 : settings_(settings), destroy_callback_(std::move(destroy_callback)) {} in RequestSchemeHandler()
664 VerifyNormalRequest(settings_, request, false); in Open()
669 response_data_ = settings_->response_data; in Open()
686 GetNormalResponse(settings_, response); in GetResponseHeaders()
745 RequestRunSettings* settings_; member in __anon2283f3400111::RequestSchemeHandler
[all …]
Dlife_span_unittest.cc34 : settings_(settings), executing_delay_close_(false) { in LifeSpanTestHandler()
46 if (settings_.add_onunload_handler) { in RunTest()
73 if (!settings_.allow_do_close) { in DoClose()
78 return !settings_.allow_do_close; in DoClose()
109 if (!settings_.accept_before_unload_dialog) { in OnBeforeUnloadDialog()
115 callback->Continue(settings_.accept_before_unload_dialog, CefString()); in OnBeforeUnloadDialog()
125 if (settings_.add_onunload_handler) { in OnLoadEnd()
132 CloseBrowser(browser, settings_.force_close); in OnLoadEnd()
174 Settings settings_; member in __anon6a4901750111::LifeSpanTestHandler
/third_party/cef/libcef/browser/views/
Dbox_layout_impl.cc53 : settings_(settings) {} in CefBoxLayoutImpl()
57 settings_.horizontal ? views::BoxLayout::Orientation::kHorizontal in CreateLayout()
59 gfx::Insets(settings_.inside_border_vertical_spacing, in CreateLayout()
60 settings_.inside_border_horizontal_spacing), in CreateLayout()
61 settings_.between_child_spacing); in CreateLayout()
64 settings_.main_axis_alignment)); in CreateLayout()
67 settings_.cross_axis_alignment)); in CreateLayout()
69 settings_.inside_border_insets.top, settings_.inside_border_insets.left, in CreateLayout()
70 settings_.inside_border_insets.bottom, in CreateLayout()
71 settings_.inside_border_insets.right)); in CreateLayout()
[all …]
/third_party/jsoncpp/src/test_lib_json/
Dfuzz.cpp31 builder.settings_["failIfExtra"] = hash_settings & (1 << 0); in LLVMFuzzerTestOneInput()
32 builder.settings_["allowComments_"] = hash_settings & (1 << 1); in LLVMFuzzerTestOneInput()
33 builder.settings_["strictRoot_"] = hash_settings & (1 << 2); in LLVMFuzzerTestOneInput()
34 builder.settings_["allowDroppedNullPlaceholders_"] = hash_settings & (1 << 3); in LLVMFuzzerTestOneInput()
35 builder.settings_["allowNumericKeys_"] = hash_settings & (1 << 4); in LLVMFuzzerTestOneInput()
36 builder.settings_["allowSingleQuotes_"] = hash_settings & (1 << 5); in LLVMFuzzerTestOneInput()
37 builder.settings_["failIfExtra_"] = hash_settings & (1 << 6); in LLVMFuzzerTestOneInput()
38 builder.settings_["rejectDupKeys_"] = hash_settings & (1 << 7); in LLVMFuzzerTestOneInput()
39 builder.settings_["allowSpecialFloats_"] = hash_settings & (1 << 8); in LLVMFuzzerTestOneInput()
40 builder.settings_["collectComments"] = hash_settings & (1 << 9); in LLVMFuzzerTestOneInput()
[all …]
/third_party/cef/libcef/common/alloy/
Dalloy_main_delegate.cc74 : runner_(runner), settings_(settings), application_(application) { in AlloyMainDelegate()
104 if (settings_->command_line_args_disabled) { in BasicStartupComplete()
114 bool no_sandbox = settings_->no_sandbox ? true : false; in BasicStartupComplete()
116 if (settings_->browser_subprocess_path.length > 0) { in BasicStartupComplete()
118 base::FilePath(CefString(&settings_->browser_subprocess_path)); in BasicStartupComplete()
132 if (settings_->framework_dir_path.length > 0) { in BasicStartupComplete()
134 base::FilePath(CefString(&settings_->framework_dir_path)); in BasicStartupComplete()
139 if (settings_->main_bundle_path.length > 0) { in BasicStartupComplete()
141 base::FilePath(CefString(&settings_->main_bundle_path)); in BasicStartupComplete()
150 if (settings_->user_agent.length > 0) { in BasicStartupComplete()
[all …]
/third_party/cef/libcef/common/chrome/
Dchrome_main_delegate_cef.cc43 settings_(settings), in ChromeMainDelegateCef()
71 if (settings_->command_line_args_disabled) { in BasicStartupComplete()
81 bool no_sandbox = settings_->no_sandbox ? true : false; in BasicStartupComplete()
87 if (settings_->user_agent.length > 0) { in BasicStartupComplete()
90 CefString(&settings_->user_agent).ToString()); in BasicStartupComplete()
91 } else if (settings_->user_agent_product.length > 0) { in BasicStartupComplete()
94 CefString(&settings_->user_agent_product).ToString()); in BasicStartupComplete()
97 if (settings_->locale.length > 0) { in BasicStartupComplete()
99 CefString(&settings_->locale).ToString()); in BasicStartupComplete()
104 if (settings_->javascript_flags.length > 0) { in BasicStartupComplete()
[all …]
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Dcomponent.cc95 settings_ = flutter::SettingsFromCommandLine( in Application()
222 settings_.vm_snapshot_data_path = "pkg/data/vm_snapshot_data.bin"; in Application()
223 settings_.vm_snapshot_instr_path = "pkg/data/vm_snapshot_instructions.bin"; in Application()
224 settings_.isolate_snapshot_data_path = in Application()
226 settings_.isolate_snapshot_instr_path = in Application()
239 settings_.vm_snapshot_data_path = in Application()
241 settings_.vm_snapshot_instr_path = in Application()
243 settings_.isolate_snapshot_data_path = in Application()
245 settings_.isolate_snapshot_instr_path = in Application()
257 settings_.enable_observatory = false; in Application()
[all …]
Dengine.cc53 settings_(std::move(settings)), in Engine()
185 settings_.verbose_logging = true; in Engine()
187 settings_.advisory_script_uri = thread_label_; in Engine()
189 settings_.advisory_script_entrypoint = thread_label_; in Engine()
191 settings_.root_isolate_create_callback = in Engine()
194 settings_.root_isolate_shutdown_callback = in Engine()
204 auto vm = flutter::DartVMRef::Create(settings_); in Engine()
218 settings_, // shell launch settings in Engine()
251 settings_, task_runners.GetIOTaskRunner()); in Engine()
/third_party/cef/libcef/browser/
Dcontext.cc323 settings_ = settings; in Initialize()
339 NormalizePathAndSet(settings_.root_cache_path, "root_cache_path"); in Initialize()
341 NormalizeCachePathAndSet(settings_.cache_path, root_cache_path); in Initialize()
343 CefString(&settings_.root_cache_path) = cache_path.value(); in Initialize()
347 NormalizePathAndSet(settings_.browser_subprocess_path, in Initialize()
349 NormalizePathAndSet(settings_.framework_dir_path, "framework_dir_path"); in Initialize()
350 NormalizePathAndSet(settings_.main_bundle_path, "main_bundle_path"); in Initialize()
351 NormalizePathAndSet(settings_.user_data_path, "user_data_path"); in Initialize()
352 NormalizePathAndSet(settings_.resources_dir_path, "resources_dir_path"); in Initialize()
353 NormalizePathAndSet(settings_.locales_dir_path, "locales_dir_path"); in Initialize()
[all …]
Dbrowser_context.cc173 : settings_(settings), weak_ptr_factory_(this) { in CefBrowserContext()
186 cache_path_ = base::FilePath(CefString(&settings_.cache_path)); in Initialize()
193 if (settings_.cookieable_schemes_list.length > 0 || in Initialize()
194 settings_.cookieable_schemes_exclude_defaults) { in Initialize()
196 MakeSupportedSchemes(CefString(&settings_.cookieable_schemes_list), in Initialize()
197 !settings_.cookieable_schemes_exclude_defaults); in Initialize()
/third_party/gn/src/gn/
Dbuilder_unittest.cc76 settings_(&build_settings_, std::string()), in BuilderTest()
77 scope_(&settings_) { in BuilderTest()
79 settings_.set_toolchain_label(Label(SourceDir("//tc/"), "default")); in BuilderTest()
80 settings_.set_default_toolchain_label(settings_.toolchain_label()); in BuilderTest()
84 Toolchain* tc = new Toolchain(&settings_, settings_.toolchain_label()); in DefineToolchain()
94 Settings settings_; member in gn_builder_unittest::BuilderTest
99 SourceDir toolchain_dir = settings_.toolchain_label().dir(); in TEST_F()
100 std::string toolchain_name = settings_.toolchain_label().name(); in TEST_F()
110 Target* a = new Target(&settings_, a_label); in TEST_F()
122 builder_.GetRecord(settings_.toolchain_label()); in TEST_F()
[all …]
Dninja_create_bundle_target_writer.cc102 OutputFile(settings_->build_settings(), in Run()
103 target_->bundle_data().GetBundleRootDirOutput(settings_))); in Run()
119 path_output_.WriteFile(out_, settings_->build_settings()->python_path()); in WriteCodeSigningRuleDefinition()
159 settings_, target_, target_->bundle_data(), source_file, in WriteCopyBundleFileRuleSteps()
166 out_ << ": " << GetNinjaRulePrefixForToolchain(settings_) in WriteCopyBundleFileRuleSteps()
188 OutputFile(settings_->build_settings(), in WriteCompileAssetsCatalogStep()
196 OutputFile(settings_->build_settings(), in WriteCompileAssetsCatalogStep()
210 out_ << ": " << GetNinjaRulePrefixForToolchain(settings_) in WriteCompileAssetsCatalogStep()
235 out_ << ": " << GetNinjaRulePrefixForToolchain(settings_) in WriteCompileAssetsCatalogStep()
293 out_ << ": " << GetNinjaRulePrefixForToolchain(settings_) in WriteCompileAssetsCatalogInputDepsStamp()
[all …]
Dninja_action_target_writer.cc69 settings_, target_->action_values().outputs(), &output_files); in Run()
89 settings_->default_toolchain_label()); in Run()
145 path_output_.WriteFile(out_, settings_->build_settings()->python_path()); in WriteRuleDefinition()
160 settings_->default_toolchain_label()); in WriteRuleDefinition()
204 target_, settings_, sources[i], in WriteSourceRules()
208 target_, settings_, sources[i], in WriteSourceRules()
219 settings_->default_toolchain_label()); in WriteSourceRules()
231 target_, settings_, target_->action_values().outputs(), source, in WriteOutputFilesForBuildLine()
245 target_, settings_, target_->action_values().depfile(), source)); in WriteDepfile()
251 if (settings_->build_settings()->ninja_required_version() >= in WriteDepfile()
Danalyzer_unittest.cc51 settings_(&build_settings_, std::string()), in AnalyzerTest()
55 settings_.set_toolchain_label(Label(SourceDir("//tc/"), "default")); in AnalyzerTest()
56 settings_.set_default_toolchain_label(settings_.toolchain_label()); in AnalyzerTest()
57 tc_dir_ = settings_.toolchain_label().dir(); in AnalyzerTest()
58 tc_name_ = settings_.toolchain_label().name(); in AnalyzerTest()
70 return std::make_unique<Target>(&settings_, label); in MakeTarget()
82 return std::make_unique<Config>(&settings_, label); in MakeConfig()
88 return std::make_unique<Pool>(&settings_, label); in MakePool()
108 Settings settings_; member in gn_analyzer_unittest::AnalyzerTest
439 Toolchain* toolchain = new Toolchain(&settings_, settings_.toolchain_label());
Dninja_toolchain_writer.cc33 : settings_(settings), in NinjaToolchainWriter()
36 path_output_(settings_->build_settings()->build_dir(), in NinjaToolchainWriter()
37 settings_->build_settings()->root_path_utf8(), in NinjaToolchainWriter()
44 std::string rule_prefix = GetNinjaRulePrefixForToolchain(settings_); in Run()
115 tool->pool().ptr->GetNinjaName(settings_->default_toolchain_label()); in WriteToolRule()
Dninja_target_writer.cc36 : settings_(target->settings()), in NinjaTargetWriter()
39 path_output_(settings_->build_settings()->build_dir(), in NinjaTargetWriter()
40 settings_->build_settings()->root_path_utf8(), in NinjaTargetWriter()
217 settings_->build_settings()->root_path_utf8(), ESCAPE_NINJA_COMMAND); in WriteCCompilerVars()
233 settings_->build_settings()->root_path_utf8(), ESCAPE_NINJA_COMMAND); in WriteCCompilerVars()
330 settings_->build_settings()->root_path_utf8(), ESCAPE_NINJA_COMMAND); in WriteCCompilerVars()
450 OutputFile(settings_->build_settings(), *input_deps_sources[0])}; in WriteInputDepsStampAndGetDep()
460 outs.push_back(OutputFile(settings_->build_settings(), *source)); in WriteInputDepsStampAndGetDep()
485 out_ << ": " << GetNinjaRulePrefixForToolchain(settings_) in WriteInputDepsStampAndGetDep()
508 out_ << ": " << GetNinjaRulePrefixForToolchain(settings_) in WriteStampForTarget()
Dninja_rust_binary_target_writer.cc174 OutputFile(settings_->build_settings(), e.second.source_file())); in Run()
234 deps->push_back(OutputFile(settings_->build_settings(), source)); in AppendSourcesAndInputsToImplicitDeps()
237 deps->push_back(OutputFile(settings_->build_settings(), data)); in AppendSourcesAndInputsToImplicitDeps()
246 OutputFile(settings_->build_settings(), source)); in WriteSourcesAndInputs()
250 path_output_.WriteFile(out_, OutputFile(settings_->build_settings(), data)); in WriteSourcesAndInputs()
328 rust_lib.AsSourceFile(settings_->build_settings()).GetDir()); in WriteExternsAndDeps()
352 nonrustdep.AsSourceFile(settings_->build_settings()).GetDir()); in WriteExternsAndDeps()
Dninja_binary_target_writer.cc38 rule_prefix_(GetNinjaRulePrefixForToolchain(settings_)) {} in NinjaBinaryTargetWriter()
72 OutputFile(settings_->build_settings(), *inputs[0])}; in WriteInputsStampAndGetDep()
77 outs.push_back(OutputFile(settings_->build_settings(), *source)); in WriteInputsStampAndGetDep()
92 out_ << ": " << GetNinjaRulePrefixForToolchain(settings_) in WriteInputsStampAndGetDep()
330 settings_->build_settings()->root_path_utf8(), in WriteLibrarySearchPath()
345 settings_->build_settings()->root_path_utf8(), ESCAPE_NINJA_COMMAND); in WriteLibrarySearchPath()
374 path_output_.current_dir(), settings_->build_settings()->root_path_utf8(), in WriteLibs()
415 path_output_.current_dir(), settings_->build_settings()->root_path_utf8(), in WriteSwiftModules()
Dtest_with_scope.h34 Settings* settings() { return &settings_; } in settings()
35 const Settings* settings() const { return &settings_; } in settings()
75 Settings settings_; variable
/third_party/flutter/engine/flutter/runtime/
Ddart_vm.cc255 : settings_(vm_data->GetSettings()), in DartVM()
282 if (!settings_.temp_directory_path.empty()) {
283 dart::bin::SetSystemTempDirectory(settings_.temp_directory_path.c_str());
296 ProfilingFlags(settings_.enable_dart_profiling)) {
309 bool enable_asserts = !settings_.disable_dart_asserts;
324 EnsureDebuggedIOS(settings_);
340 if (settings_.start_paused) {
344 if (settings_.disable_service_auth_codes) {
349 if (settings_.endless_trace_buffer || settings_.trace_startup) {
356 if (settings_.trace_systrace) {
[all …]
/third_party/flutter/engine/flutter/shell/platform/ohos/
Dohos_shell_holder.cc30 : settings_(std::move(settings)) in OhosShellHolder()
40 if (!settings_.platform_as_ui_thread) { in OhosShellHolder()
43 if (!settings_.use_system_render_thread) { in OhosShellHolder()
46 if (settings_.use_io_thread) { in OhosShellHolder()
74 PlatformTaskRunnerAdapter::CurrentTaskRunner(settings_.use_current_event_runner); in OhosShellHolder()
81 if (settings_.platform_as_ui_thread) { in OhosShellHolder()
86 if (!settings_.use_system_render_thread) { in OhosShellHolder()
91 if (settings_.use_io_thread) { in OhosShellHolder()
106 settings_, // settings in OhosShellHolder()
145 return settings_; in GetSettings()
/third_party/cef/tests/cefclient/browser/
Dosr_render_handler_win.cc16 : settings_(settings), in OsrRenderHandlerWin()
31 if (browser_ && settings_.external_begin_frame_enabled) { in SetBrowser()
45 CHECK_GT(settings_.begin_frame_rate, 0); in Invalidate()
46 const float delay_us = (1.0 / double(settings_.begin_frame_rate)) * 1000000.0; in Invalidate()
52 if (begin_frame_pending_ && !settings_.external_begin_frame_enabled) { in TriggerBeginFrame()
76 if (settings_.external_begin_frame_enabled && browser_) { in TriggerBeginFrame()
Dosr_renderer.cc44 : settings_(settings), in OsrRenderer()
67 glClearColor(float(CefColorGetR(settings_.background_color)) / 255.0f, in Initialize()
68 float(CefColorGetG(settings_.background_color)) / 255.0f, in Initialize()
69 float(CefColorGetB(settings_.background_color)) / 255.0f, in Initialize()
192 if (settings_.show_update_rect && !update_rect_.IsEmpty()) { in Render()
310 if (settings_.show_update_rect) in OnPaint()
/third_party/flutter/engine/flutter/shell/common/
Dengine.cc46 settings_(std::move(settings)), in Engine()
65 settings_.advisory_script_uri, // advisory script uri in Engine()
66 settings_.advisory_script_entrypoint, // advisory script entrypoint in Engine()
67 settings_.idle_notification_callback, // idle notification callback in Engine()
68 settings_.isolate_create_callback, // isolate create callback in Engine()
69 settings_.isolate_shutdown_callback // isolate shutdown callback in Engine()
98 if (settings_.use_test_fonts) { in UpdateAssetManager()
142 if (settings_.root_isolate_create_callback) { in Run()
143 settings_.root_isolate_create_callback(); in Run()
146 if (settings_.root_isolate_shutdown_callback) { in Run()
[all …]
/third_party/grpc/test/cpp/thread_manager/
Dthread_manager_test.cc66 settings_(settings), in TestThreadManager()
77 std::chrono::milliseconds(settings_.work_duration_ms)); in DoWork()
94 TestThreadManagerSettings settings_; member in grpc::__anon518edd840111::TestThreadManager
105 if (call_num >= settings_.max_poll_calls) { in PollForWork()
112 std::chrono::milliseconds(settings_.poll_duration_ms)); in PollForWork()

1234