/third_party/cef/tests/ceftests/views/ |
D | test_window_delegate.cc | 77 if (config_->window_origin.IsEmpty()) in OnWindowCreated() 83 if (!config_->window_origin.IsEmpty()) { in OnWindowCreated() 84 EXPECT_EQ(config_->window_origin.x, client_bounds.x); in OnWindowCreated() 85 EXPECT_EQ(config_->window_origin.y, client_bounds.y); in OnWindowCreated() 93 if (config_->frameless) { in OnWindowCreated() 94 EXPECT_EQ(config_->window_size, client_bounds.width); in OnWindowCreated() 95 EXPECT_EQ(config_->window_size, client_bounds.height); in OnWindowCreated() 105 if (!config_->on_window_created.is_null()) in OnWindowCreated() 106 std::move(config_->on_window_created).Run(window); in OnWindowCreated() 108 if (config_->close_window) { in OnWindowCreated() [all …]
|
/third_party/grpc/src/core/lib/security/credentials/ssl/ |
D | ssl_credentials.cc | 55 gpr_free(config_.pem_root_certs); in ~grpc_ssl_credentials() 56 grpc_tsi_ssl_pem_key_cert_pairs_destroy(config_.pem_key_cert_pair, 1); in ~grpc_ssl_credentials() 57 if (config_.verify_options.verify_peer_destruct != nullptr) { in ~grpc_ssl_credentials() 58 config_.verify_options.verify_peer_destruct( in ~grpc_ssl_credentials() 59 config_.verify_options.verify_peer_callback_userdata); in ~grpc_ssl_credentials() 84 this->Ref(), std::move(call_creds), &config_, target, in create_security_connector() 98 config_.pem_root_certs = gpr_strdup(pem_root_certs); in build_config() 102 config_.pem_key_cert_pair = static_cast<tsi_ssl_pem_key_cert_pair*>( in build_config() 104 config_.pem_key_cert_pair->cert_chain = in build_config() 106 config_.pem_key_cert_pair->private_key = in build_config() [all …]
|
D | ssl_credentials.h | 51 grpc_ssl_config config_; variable 90 const grpc_ssl_server_config& config() const { return config_; } in config() 98 grpc_ssl_server_config config_; variable
|
/third_party/mindspore/mindspore/lite/micro/coder/generator/ |
D | generator.cc | 53 this->config_ = Configurator::GetInstance(); in Generator() 57 this->net_src_file_path_ = config_->code_path() + kSourcePath; in Generator() 58 this->net_main_file_path_ = config_->code_path() + kBenchmarkPath; in Generator() 68 if (config_->support_parallel()) { in CodeNetRunFunc() 82 CodeCMakeNetLibrary(ofs, ctx_, config_); in CodeSourceCMakeFile() 89 {config_->code_path() + "/" + "CMakeLists.txt", bench_cmake_lists_txt}, in CodeStaticContent() 101 if (config_->support_parallel()) { in CodeStaticContent() 104 if (config_->debug_mode()) { in CodeStaticContent() 126 if (config_->support_parallel()) { in CodeSessionImplement() 129 CodeSessionCompileGraph(ofs, ctx_, config_); in CodeSessionImplement() [all …]
|
/third_party/cef/tests/ceftests/ |
D | dialog_unittest.cc | 50 if (handler_->config_.callback_cancel) { in OnFileDialogDismissed() 54 EXPECT_EQ(handler_->config_.selected_accept_filter, in OnFileDialogDismissed() 56 TestStringVectorEqual(handler_->config_.callback_paths, file_paths); in OnFileDialogDismissed() 69 explicit DialogTestHandler(const TestConfig& config) : config_(config) {} in DialogTestHandler() 85 config_.mode, config_.title, config_.default_file_name, in OnLoadEnd() 86 config_.accept_types, config_.selected_accept_filter, in OnLoadEnd() 91 if (config_.callback_cancel) in ExecuteCallback() 94 callback->Continue(config_.selected_accept_filter, in ExecuteCallback() 95 config_.callback_paths); in ExecuteCallback() 111 EXPECT_EQ(config_.mode, mode); in OnFileDialog() [all …]
|
D | display_unittest.cc | 270 ConsoleTestHandler(const TestConfig& config) : config_(config) {} in ConsoleTestHandler() 275 config_.source, in RunTest() 276 CreateResourceContent(config_.message, config_.function, config_.line), in RunTest() 280 CreateBrowser(config_.source); in RunTest() 294 browser->GetMainFrame()->ExecuteJavaScript("printMessage()", config_.source, in OnLoadingStateChange() 303 EXPECT_EQ(config_.level, level); in OnConsoleMessage() 304 EXPECT_EQ(config_.expected_message, message.ToString()); in OnConsoleMessage() 305 EXPECT_EQ(config_.source, source.ToString()); in OnConsoleMessage() 306 EXPECT_EQ(config_.line, line); in OnConsoleMessage() 328 TestConfig config_; member in __anon5e39f8fa0311::ConsoleTestHandler
|
/third_party/ninja/src/ |
D | clean_test.cc | 31 BuildConfig config_; member 33 config_.verbosity = BuildConfig::QUIET; in SetUp() 48 Cleaner cleaner(&state_, config_, &fs_); in TEST_F() 79 config_.dry_run = true; in TEST_F() 80 Cleaner cleaner(&state_, config_, &fs_); in TEST_F() 111 Cleaner cleaner(&state_, config_, &fs_); in TEST_F() 142 config_.dry_run = true; in TEST_F() 143 Cleaner cleaner(&state_, config_, &fs_); in TEST_F() 176 Cleaner cleaner(&state_, config_, &fs_); in TEST_F() 209 config_.dry_run = true; in TEST_F() [all …]
|
D | clean.h | 74 return (config_.verbosity != BuildConfig::QUIET in IsVerbose() 75 && (config_.verbosity == BuildConfig::VERBOSE || config_.dry_run)); in IsVerbose() 104 const BuildConfig& config_; member
|
D | build.cc | 80 : config_(config), in BuildStatus() 87 if (config_.verbosity != BuildConfig::NORMAL) in BuildStatus() 129 if (config_.verbosity == BuildConfig::QUIET) in BuildEdgeFinished() 294 if (config_.verbosity == BuildConfig::QUIET) in PrintStatus() 297 bool force_full_command = config_.verbosity == BuildConfig::VERBOSE; in PrintStatus() 669 explicit RealCommandRunner(const BuildConfig& config) : config_(config) {} in RealCommandRunner() 677 const BuildConfig& config_; member 697 return (int)subproc_number < config_.parallelism in CanRunMore() 698 && ((subprocs_.running_.empty() || config_.max_load_average <= 0.0f) in CanRunMore() 699 || GetLoadAverage() < config_.max_load_average); in CanRunMore() [all …]
|
/third_party/cef/libcef/browser/ |
D | request_context_impl.cc | 275 if (config_.is_global && other_impl->config_.is_global) in IsSame() 286 return (config_.unique_id == other_impl->config_.unique_id); in IsSame() 298 CefRefPtr<CefRequestContext> pending_other = config_.other; in IsSharingWith() 305 pending_other = other_impl->config_.other; in IsSharingWith() 314 if (config_.settings.cache_path.length > 0 && in IsSharingWith() 315 other_impl->config_.settings.cache_path.length > 0) { in IsSharingWith() 317 base::FilePath(CefString(&config_.settings.cache_path)) == in IsSharingWith() 318 base::FilePath(CefString(&other_impl->config_.settings.cache_path))); in IsSharingWith() 325 return config_.is_global; in IsGlobal() 329 return config_.handler; in GetHandler() [all …]
|
/third_party/grpc/test/core/security/ |
D | tls_security_connector_test.cc | 98 config_ = grpc_tls_key_materials_config_create()->Ref(); in SetUp() 100 void TearDown() override { config_->Unref(); } in TearDown() 128 void SetKeyMaterialsConfig() { SetKeyMaterials(config_.get()); } in SetKeyMaterialsConfig() 130 grpc_core::RefCountedPtr<grpc_tls_key_materials_config> config_; member in grpc::testing::TlsSecurityConnectorTest 136 TlsFetchKeyMaterials(config_, *options_, true, &reload_status); in TEST_F() 144 TlsFetchKeyMaterials(config_, *options_, false, &reload_status); in TEST_F() 153 TlsFetchKeyMaterials(config_, *options_, true, &reload_status); in TEST_F() 163 TlsFetchKeyMaterials(config_, *options_, true, &reload_status); in TEST_F() 174 TlsFetchKeyMaterials(config_, *options_, true, &reload_status); in TEST_F() 185 TlsFetchKeyMaterials(config_, *options_, true, &reload_status); in TEST_F() [all …]
|
/third_party/cef/tests/cefclient/browser/ |
D | root_window_views.cc | 39 config_ = std::move(config); in Init() 41 if (config_->initially_hidden && !config_->source_bounds.IsEmpty()) { in Init() 43 initial_bounds_ = config_->source_bounds; in Init() 46 initial_bounds_ = config_->bounds; in Init() 49 CreateClientHandler(config_->url); in Init() 53 InitOnUIThread(settings, config_->url, delegate_->GetRequestContext(this)); in Init() 70 config_ = std::make_unique<RootWindowConfig>(); in InitAsPopup() 71 config_->with_controls = with_controls; in InitAsPopup() 182 return config_->with_extension; in WithExtension() 187 return config_->with_controls; in WithControls() [all …]
|
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/xds/ |
D | xds_cluster_impl.cc | 251 RefCountedPtr<XdsClusterImplLbConfig> config_; member in grpc_core::__anon93b706d90111::XdsClusterImplLb 282 xds_cluster_impl_lb->config_->max_concurrent_requests()), in Picker() 283 drop_config_(xds_cluster_impl_lb->config_->drop_config()), in Picker() 428 const bool is_initial_update = config_ == nullptr; in UpdateLocked() 429 auto old_config = std::move(config_); in UpdateLocked() 430 config_ = std::move(args.config); in UpdateLocked() 433 if (config_->lrs_load_reporting_server_name().has_value()) { in UpdateLocked() 435 config_->lrs_load_reporting_server_name().value(), in UpdateLocked() 436 config_->cluster_name(), config_->eds_service_name()); in UpdateLocked() 439 config_->cluster_name(), config_->eds_service_name()); in UpdateLocked() [all …]
|
D | lrs.cc | 145 RefCountedPtr<LrsLbConfig> config_; member in grpc_core::__anonbac676690111::LrsLb 243 auto old_config = std::move(config_); in UpdateLocked() 244 config_ = std::move(args.config); in UpdateLocked() 247 config_->lrs_load_reporting_server_name() != in UpdateLocked() 249 config_->cluster_name() != old_config->cluster_name() || in UpdateLocked() 250 config_->eds_service_name() != old_config->eds_service_name() || in UpdateLocked() 251 *config_->locality_name() != *old_config->locality_name()) { in UpdateLocked() 253 config_->lrs_load_reporting_server_name(), config_->cluster_name(), in UpdateLocked() 254 config_->eds_service_name(), config_->locality_name()); in UpdateLocked() 307 update_args.config = config_->child_policy(); in UpdateChildPolicyLocked()
|
D | eds.cc | 167 if (!config_->eds_service_name().empty()) { in GetEdsResourceName() 168 return config_->eds_service_name(); in GetEdsResourceName() 170 return config_->cluster_name(); in GetEdsResourceName() 178 return {config_->cluster_name(), config_->eds_service_name()}; in GetLrsClusterKey() 191 RefCountedPtr<EdsLbConfig> config_; member in grpc_core::__anona97502f40111::EdsLb 413 if (config_ != nullptr) { in ShutdownLocked() 440 auto old_config = std::move(config_); in UpdateLocked() 441 config_ = std::move(args.config); in UpdateLocked() 463 if (is_initial_update || config_->lrs_load_reporting_server_name() != in UpdateLocked() 466 if (config_->lrs_load_reporting_server_name().has_value()) { in UpdateLocked() [all …]
|
/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/ |
D | ssl_client.cc | 45 std::unique_ptr<Configuration> config_ = in InitSSL() local 47 MS_EXCEPTION_IF_NULL(config_); in InitSSL() 48 if (!config_->Initialize()) { in InitSSL() 54 std::string path = CommUtil::ParseConfig(*config_, kClientCertPath); in InitSSL() 87 std::string ca_path = CommUtil::ParseConfig(*config_, kCaCertPath); in InitSSL() 93 std::string crl_path = CommUtil::ParseConfig(*(config_), kCrlPath); in InitSSL() 110 std::string default_cipher_list = CommUtil::ParseConfig(*config_, kCipherList); in InitSSL() 141 StartCheckCertTime(*config_, cert); in InitSSL()
|
D | ssl_http.cc | 49 std::unique_ptr<Configuration> config_ = in InitSSL() local 51 MS_EXCEPTION_IF_NULL(config_); in InitSSL() 52 if (!config_->Initialize()) { in InitSSL() 58 std::string path = CommUtil::ParseConfig(*(config_), kServerCertPath); in InitSSL() 82 std::string default_cipher_list = CommUtil::ParseConfig(*config_, kCipherList); in InitSSL()
|
D | ssl_wrapper.cc | 56 std::unique_ptr<Configuration> config_ = in InitSSL() local 58 MS_EXCEPTION_IF_NULL(config_); in InitSSL() 59 if (!config_->Initialize()) { in InitSSL() 65 std::string path = CommUtil::ParseConfig(*(config_), kServerCertPath); in InitSSL() 91 std::string default_cipher_list = CommUtil::ParseConfig(*config_, kCipherList); in InitSSL() 100 std::string crl_path = CommUtil::ParseConfig(*(config_), kCrlPath); in InitSSL() 108 std::string ca_path = CommUtil::ParseConfig(*config_, kCaCertPath); in InitSSL() 143 StartCheckCertTime(*config_, cert, client_ca); in InitSSL()
|
/third_party/vk-gl-cts/framework/platform/ohos/rosen_context/ |
D | rosen_context_impl.cpp | 191 ret = eglChooseConfig(eglDisplay_, &frameBufferAttribs[0], &config_, 1, &count); in SetConfig() 199 eglGetConfigAttrib(eglDisplay_, config_, EGL_RED_SIZE, &red); in SetConfig() 200 eglGetConfigAttrib(eglDisplay_, config_, EGL_GREEN_SIZE, &green); in SetConfig() 201 eglGetConfigAttrib(eglDisplay_, config_, EGL_BLUE_SIZE, &blue); in SetConfig() 202 eglGetConfigAttrib(eglDisplay_, config_, EGL_ALPHA_SIZE, &alpha); in SetConfig() 203 eglGetConfigAttrib(eglDisplay_, config_, EGL_DEPTH_SIZE, &depth); in SetConfig() 204 eglGetConfigAttrib(eglDisplay_, config_, EGL_STENCIL_SIZE, &stencil); in SetConfig() 205 eglGetConfigAttrib(eglDisplay_, config_, EGL_SAMPLES, &samples); in SetConfig() 206 ShowConfig(config_); in SetConfig() 313 … eglSurface_ = eglCreateWindowSurface(eglDisplay_, config_, nativeWindow_, &surfaceAttribs[0]); in InitEglSurface() [all …]
|
/third_party/mindspore/mindspore/ccsrc/fl/server/ |
D | iteration_metrics.cc | 27 config_ = std::make_unique<ps::core::FileConfiguration>(config_file_path_); in Initialize() 28 MS_EXCEPTION_IF_NULL(config_); in Initialize() 29 if (!config_->Initialize()) { in Initialize() 36 if (!config_->Exists(kMetrics)) { in Initialize() 40 std::string value = config_->Get(kMetrics, ""); in Initialize()
|
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/priority/ |
D | priority.cc | 225 RefCountedPtr<PriorityLbConfig> config_; member in grpc_core::__anonb263286d0111::PriorityLb 271 const std::string& child_name = config_->priorities()[current_priority_]; in ExitIdleLocked() 291 const std::string& child_name = config_->priorities()[current_priority_]; in UpdateLocked() 300 config_ = std::move(args.config); in UpdateLocked() 311 auto config_it = config_->children().find(child_name); in UpdateLocked() 312 if (config_it == config_->children().end()) { in UpdateLocked() 327 for (uint32_t priority = 0; priority < config_->priorities().size(); in GetChildPriorityLocked() 329 if (config_->priorities()[priority] == child_name) return priority; in GetChildPriorityLocked() 418 for (uint32_t priority = 0; priority < config_->priorities().size(); in TryNextPriorityLocked() 421 const std::string& child_name = config_->priorities()[priority]; in TryNextPriorityLocked() [all …]
|
/third_party/mindspore/mindspore/lite/micro/coder/generator/inference/ |
D | inference_generator.cc | 39 if (config_->target() != kARM32M) { in CodeNetHFile() 56 if (config_->support_parallel()) { in CodeNetCFile() 59 if (config_->debug_mode()) { in CodeNetCFile()
|
/third_party/flutter/engine/flutter/shell/platform/android/ |
D | android_context_gl.cc | 131 display, config_, in CreateWindowSurface() 145 surface_ = eglCreatePbufferSurface(display, config_, attribs); in CreatePBufferSurface() 153 config_(nullptr), in AndroidContextGL() 165 std::tie(success, config_) = ChooseEGLConfiguration(environment_->Display()); in AndroidContextGL() 176 environment_->Display(), config_, in AndroidContextGL()
|
/third_party/mindspore/mindspore/ccsrc/ps/core/ |
D | worker_node.cc | 44 config_ = std::make_unique<FileConfiguration>(PSContext::instance()->config_file_path()); in Initialize() 45 MS_EXCEPTION_IF_NULL(config_); in Initialize() 46 if (!config_->Initialize()) { in Initialize()
|
D | server_node.cc | 44 config_ = std::make_unique<FileConfiguration>(PSContext::instance()->config_file_path()); in Initialize() 45 MS_EXCEPTION_IF_NULL(config_); in Initialize() 46 if (!config_->Initialize()) { in Initialize()
|