/third_party/cef/tests/ceftests/ |
D | request_context_unittest.cc | 208 PopupTestHandler(bool same_origin, Mode mode) : mode_(mode) { in PopupTestHandler() 218 if (mode_ == MODE_TARGETED_LINK) { in RunTest() 221 } else if (mode_ == MODE_NOREFERRER_LINK) { in RunTest() 300 if (mode_ == MODE_WINDOW_OPEN) in OnBeforePopup() 317 if (mode_ == MODE_WINDOW_OPEN) { in LaunchPopup() 319 } else if (mode_ == MODE_TARGETED_LINK || mode_ == MODE_NOREFERRER_LINK) { in LaunchPopup() 390 Mode mode_; member in __anondfb7d4930111::PopupTestHandler 481 : mode_(test_mode), rc_mode_(rc_mode), rc_cache_path_(rc_cache_path) {} in PopupNavTestHandler() 491 if (mode_ == NAVIGATE_AFTER_CREATION) in RunTest() 528 if (mode_ == DESTROY_PARENT_DURING_CREATION || in OnBeforePopup() [all …]
|
D | resource_request_handler_unittest.cc | 70 return mode_ == DELAYED_OPEN || mode_ == DELAYED_ALL; in IsDelayedOpen() 74 return mode_ == DELAYED_READ || mode_ == DELAYED_ALL; in IsDelayedRead() 78 return mode_ == IMMEDIATE_OPEN || mode_ == IMMEDIATE_ALL; in IsImmediateOpen() 82 return mode_ == IMMEDIATE_READ || mode_ == IMMEDIATE_ALL; in IsImmediateRead() 92 : mode_(mode), in CallbackResourceHandler() 202 const Mode mode_; member in __anon97e6f3b30111::CallbackResourceHandler 490 : mode_(mode), custom_scheme_(custom_scheme), unhandled_(unhandled) {} in BasicResponseTest() 501 if (mode_ == ABORT_AFTER_CREATED) { in OnAfterCreated() 538 if (on_before_browse_ct_ == 0 || mode_ == RESTART_RESOURCE_RESPONSE) { in OnBeforeBrowse() 548 if (mode_ == ABORT_BEFORE_BROWSE) { in OnBeforeBrowse() [all …]
|
D | jsdialog_unittest.cc | 36 mode_(mode), in JSDialogTestHandler() 130 if (mode_ == MODE_SUPPRESS) { in OnJSDialog() 134 } else if (mode_ == MODE_RUN_IMMEDIATE) { in OnJSDialog() 137 } else if (mode_ == MODE_RUN_DELAYED) { in OnJSDialog() 160 if (mode_ == MODE_RUN_IMMEDIATE) { in OnBeforeUnloadDialog() 163 } else if (mode_ == MODE_RUN_DELAYED) { in OnBeforeUnloadDialog() 177 TestMode mode_; member in __anon2dbd28f30111::JSDialogTestHandler
|
D | pdf_viewer_unittest.cc | 59 : mode_(mode), url_(url) {} in PdfViewerTestHandler() 71 if (mode_ == GLOBAL_NO_HANDLER) { in RunTest() 75 } else if (mode_ == CUSTOM_NO_HANDLER) { in RunTest() 216 const Mode mode_; member in __anon800299510111::PdfViewerTestHandler
|
/third_party/cef/tests/cefclient/browser/ |
D | dialog_test.cc | 29 : mode_(FILE_DIALOG_OPEN), last_selected_filter_(0), pending_(false) {} in DialogState() 31 cef_file_dialog_mode_t mode_; member in client::dialog_test::__anon0e372bd50111::DialogState 54 if (dialog_state_->mode_ != FILE_DIALOG_OPEN_FOLDER) in OnFileDialogDismissed() 58 if (dialog_state_->mode_ == FILE_DIALOG_OPEN_FOLDER) { in OnFileDialogDismissed() 122 dialog_state_->mode_ = FILE_DIALOG_OPEN; in OnQuery() 125 dialog_state_->mode_ = FILE_DIALOG_OPEN_MULTIPLE; in OnQuery() 128 dialog_state_->mode_ = FILE_DIALOG_OPEN_FOLDER; in OnQuery() 131 dialog_state_->mode_ = static_cast<cef_file_dialog_mode_t>( in OnQuery() 139 if (dialog_state_->mode_ != FILE_DIALOG_OPEN_FOLDER) { in OnQuery() 156 dialog_state_->mode_, title, dialog_state_->last_file_, accept_filters, in OnQuery()
|
/third_party/boost/boost/beast/_experimental/unit_test/ |
D | match.hpp | 46 mode_t mode_; member in boost::beast::unit_test::selector 64 : mode_(mode) in selector() 67 if(mode_ == automatch && pattern.empty()) in selector() 68 mode_ = all; in selector() 75 switch(mode_) in operator ()() 81 mode_ = none; in operator ()() 88 mode_ = module; in operator ()() 96 mode_ = library; in operator ()()
|
/third_party/boost/libs/beast/include/boost/beast/_experimental/unit_test/ |
D | match.hpp | 46 mode_t mode_; member in boost::beast::unit_test::selector 64 : mode_(mode) in selector() 67 if(mode_ == automatch && pattern.empty()) in selector() 68 mode_ = all; in selector() 75 switch(mode_) in operator ()() 81 mode_ = none; in operator ()() 88 mode_ = module; in operator ()() 96 mode_ = library; in operator ()()
|
/third_party/boost/boost/format/ |
D | alt_sstream_impl.hpp | 39 if(sz != 0 && mode_ & (::std::ios_base::in | ::std::ios_base::out) ) { in str() 50 if(mode_ & ::std::ios_base::in) in str() 52 if(mode_ & ::std::ios_base::out) { in str() 54 if(mode_ & (::std::ios_base::app | ::std::ios_base::ate)) in str() 67 if(mode_ & ::std::ios_base::out && pptr() != NULL) in begin() 69 else if(mode_ & ::std::ios_base::in && gptr() != NULL) in begin() 78 if(mode_ & ::std::ios_base::out && pptr()) in size() 80 else if(mode_ & ::std::ios_base::in && gptr()) in size() 90 if(mode_ & ::std::ios_base::out && pptr()) in cur_size() 92 else if(mode_ & ::std::ios_base::in && gptr()) in cur_size() [all …]
|
/third_party/node/src/ |
D | node_zlib.cc | 140 inline void SetMode(node_zlib_mode mode) { mode_ = mode; } in SetMode() 170 node_zlib_mode mode_ = NONE; member in node::__anonb47e24fa0111::ZlibContext 188 inline void SetMode(node_zlib_mode mode) { mode_ = mode; } in SetMode() 194 node_zlib_mode mode_ = NONE; member in node::__anonb47e24fa0111::BrotliContext 731 mode_ = NONE; in Close() 736 CHECK_LE(mode_, UNZIP); in Close() 739 if (mode_ == DEFLATE || mode_ == GZIP || mode_ == DEFLATERAW) { in Close() 741 } else if (mode_ == INFLATE || mode_ == GUNZIP || mode_ == INFLATERAW || in Close() 742 mode_ == UNZIP) { in Close() 747 mode_ = NONE; in Close() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nn/ |
D | activation_grad_kernel.h | 46 if (mode_ == CUDNN_ACTIVATION_ELU || mode_ == CUDNN_ACTIVATION_CLIPPED_RELU) { in Launch() 72 mode_ = iter->second; in Init() 90 double coef = (mode_ == CUDNN_ACTIVATION_CLIPPED_RELU) ? ReLU6_UP_TURNING_POINT : 0.0; in Init() 91 if (mode_ == CUDNN_ACTIVATION_ELU) coef = 1.0; in Init() 93 … cudnnSetActivationDescriptor(activation_desc_, mode_, CUDNN_PROPAGATE_NAN, coef), in Init() 130 mode_ = CUDNN_ACTIVATION_SIGMOID; in ResetResource() 165 cudnnActivationMode_t mode_; variable
|
D | batch_norm_gpu_kernel.h | 70 …handle_, mode_, bn_ops_, &alpha, &beta, x_desc_, x, z_desc_, z, y_desc_, y, scale_bias_mean_var_de… in Launch() 77 … handle_, mode_, &alpha, &beta, x_desc_, x, y_desc_, y, scale_bias_mean_var_desc_, in Launch() 129 mode_ = CUDNN_BATCHNORM_PER_ACTIVATION; in Init() 131 mode_ = CUDNN_BATCHNORM_SPATIAL_PERSISTENT; in Init() 133 mode_ = CUDNN_BATCHNORM_SPATIAL; in Init() 154 mode_ = CUDNN_BATCHNORM_SPATIAL; in ResetResource() 219 … handle_, mode_, bn_ops_, x_desc_, z_desc_, y_desc_, scale_bias_mean_var_desc_, in InitSizeLists() 225 … handle_, mode_, bn_ops_, activation_desc_, x_desc_, &reserve_size_), in InitSizeLists() 304 cudnnBatchNormMode_t mode_; variable
|
D | mirror_pad_gpu_kernel.h | 35 mode_(0), in MirrorPadGpuFwdKernel() 59 …tput_shape_[dim_offset + 0], output_shape_[dim_offset + 1], num_paddings_, paddings, mode_, output, in Launch() 79 mode_ = 0; // reflected mirroring in Init() 81 mode_ = 1; // symmetric mirroring in Init() 131 if (mode_ == 1) { // symmetric in Init() 157 int mode_; variable
|
D | activation_gpu_kernel.h | 63 mode_ = iter->second; in Init() 81 double coef = (mode_ == CUDNN_ACTIVATION_CLIPPED_RELU) ? 6.0 : 0.0; in Init() 82 if (mode_ == CUDNN_ACTIVATION_ELU) { in Init() 87 … cudnnSetActivationDescriptor(activation_desc_, mode_, CUDNN_NOT_PROPAGATE_NAN, coef), in Init() 123 mode_ = CUDNN_ACTIVATION_SIGMOID; in ResetResource() 163 cudnnActivationMode_t mode_; variable
|
D | mirror_pad_grad_gpu_kernel.h | 35 mode_(0), in MirrorPadGpuBackKernel() 59 … output_shape_[3], input_shape_[2], input_shape_[3], num_paddings_, paddings, mode_, output, in Launch() 79 mode_ = 0; // reflected mirroring in Init() 81 mode_ = 1; // symmetric mirroring in Init() 146 if (mode_ == 1) { // symmetric in Init() 173 int mode_; variable
|
D | instance_norm_gpu_kernel.h | 39 mode_(CUDNN_BATCHNORM_SPATIAL), in InstanceNormGpuKernel() 91 …handle_, mode_, bn_ops_, &alpha, &beta, x_desc_, x_addr, z_desc_, z, y_desc_, y_addr, scale_bias_m… in Launch() 105 mode_ = CUDNN_BATCHNORM_SPATIAL_PERSISTENT; in Init() 157 …cudnnGetBatchNormalizationForwardTrainingExWorkspaceSize(handle_, mode_, bn_ops_, x_desc_, z_desc_… in InitSizeLists() 207 cudnnBatchNormMode_t mode_; variable
|
D | batch_norm_grad_gpu_kernel.h | 45 mode_(CUDNN_BATCHNORM_SPATIAL), in BatchNormGradGpuKernel() 103 … cudnnBatchNormalizationBackwardEx(handle_, mode_, bn_ops_, &alpha_data_diff, &beta_data_diff_, in Launch() 158 mode_ = CUDNN_BATCHNORM_PER_ACTIVATION; in Init() 160 mode_ = CUDNN_BATCHNORM_SPATIAL_PERSISTENT; in Init() 203 … handle_, mode_, bn_ops_, x_desc_, y_desc_, dy_desc_, dz_desc_, dx_desc_, in InitSizeLists() 317 cudnnBatchNormMode_t mode_; variable
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/ |
D | reduce_fp16.cc | 45 switch (mode_) { in Init() 56 MS_LOG(ERROR) << "Reduce unsupported reduce mode: " << mode_; in Init() 151 if (reduce_param->mode_ != ReduceMode_ReduceMean && reduce_param->mode_ != ReduceMode_ReduceMax && in CpuReduceFp16KernelCreator() 152 reduce_param->mode_ != ReduceMode_ReduceSum) { in CpuReduceFp16KernelCreator() 153 MS_LOG(ERROR) << "Reduce unsupported reduce mode: " << reduce_param->mode_; in CpuReduceFp16KernelCreator()
|
/third_party/boost/boost/beast/zlib/detail/ |
D | inflate_stream.ipp | 65 mode_ = HEAD; 100 if(/*wsize_ ||*/ (r.out.used() && mode_ < BAD && 101 (mode_ < CHECK || flush != Flush::finish))) 111 (mode_ == TYPE ? 128 : 0) + 112 (mode_ == LEN_ || mode_ == COPY_ ? 256 : 0); 122 mode_ = BAD; 125 if(mode_ == TYPE) 126 mode_ = TYPEDO; 130 switch(mode_) 133 mode_ = TYPEDO; [all …]
|
/third_party/boost/libs/beast/include/boost/beast/zlib/detail/ |
D | inflate_stream.ipp | 65 mode_ = HEAD; 100 if(/*wsize_ ||*/ (r.out.used() && mode_ < BAD && 101 (mode_ < CHECK || flush != Flush::finish))) 111 (mode_ == TYPE ? 128 : 0) + 112 (mode_ == LEN_ || mode_ == COPY_ ? 256 : 0); 122 mode_ = BAD; 125 if(mode_ == TYPE) 126 mode_ = TYPEDO; 130 switch(mode_) 133 mode_ = TYPEDO; [all …]
|
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/int8/ |
D | reduce_int8_coder.cc | 39 if (mode_ == static_cast<int>(schema::ReduceMode_ReduceMean)) { in CalculateQuantArgs() 57 if (mode_ == static_cast<int>(schema::ReduceMode_ReduceProd)) { in CalculateQuantArgs() 76 if (mode_ == static_cast<int>(schema::ReduceMode_ReduceSumSquare)) { in CalculateQuantArgs() 119 if (mode_ == static_cast<int>(schema::ReduceMode_ReduceMean)) { in GetQuantArgs() 124 if (mode_ == static_cast<int>(schema::ReduceMode_ReduceProd)) { in GetQuantArgs() 130 if (mode_ == static_cast<int>(schema::ReduceMode_ReduceSumSquare)) { in GetQuantArgs() 146 switch (mode_) { in Prepare() 178 MS_LOG(ERROR) << "Reduce unsupported reduce mode" << mode_; in Prepare()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/other/ |
D | iou_gpu_kernel.h | 31 …IOUGpuKernel() : gt_boxes_size_(0), anchor_boxes_size_(0), iou_size_(0), mode_(0), is_null_input_(… in IOUGpuKernel() 59 IOU(input_len_0 * input_len_1, gt_boxes_addr, anchor_boxes_addr, iou_addr, mode_, input_len_0, in Launch() 102 mode_ = 0; in Init() 104 mode_ = 1; in Init() 124 size_t mode_; variable
|
/third_party/boost/boost/nowide/ |
D | filebuf.hpp | 70 mode_(std::ios_base::openmode(0)) in basic_filebuf() 98 swap(mode_, rhs.mode_); in swap() 154 mode_ = mode; in open() 168 mode_ = std::ios_base::openmode(0); in close() 219 if(!(mode_ & std::ios_base::out)) in overflow() 274 if(!(mode_ & std::ios_base::in)) in underflow() 298 if(!(mode_ & std::ios_base::in)) in pbackfail() 458 std::ios::openmode mode_; member in boost::nowide::basic_filebuf
|
/third_party/boost/libs/locale/src/icu/ |
D | uconv.hpp | 205 if(mode_ == cvt_stop) in throw_if_needed() 229 mode_(mode) in icu_std_converter() 233 cpcvt_type mode_; member in boost::locale::impl_icu::icu_std_converter 258 if(mode_ == cvt_stop) in throw_if_needed() 302 mode_(mode) in icu_std_converter() 306 cpcvt_type mode_; member in boost::locale::impl_icu::icu_std_converter
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/ |
D | call_once.h | 112 explicit SchedulingHelper(base_internal::SchedulingMode mode) : mode_(mode) { in SchedulingHelper() 113 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in SchedulingHelper() 119 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in ~SchedulingHelper() 125 base_internal::SchedulingMode mode_;
|
/third_party/abseil-cpp/absl/base/ |
D | call_once.h | 112 explicit SchedulingHelper(base_internal::SchedulingMode mode) : mode_(mode) { in SchedulingHelper() 113 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in SchedulingHelper() 119 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in ~SchedulingHelper() 125 base_internal::SchedulingMode mode_;
|