/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/include/spirv-tools/ |
D | libspirv.hpp | 73 ValidatorOptions() : options_(spvValidatorOptionsCreate()) {} in ValidatorOptions() 74 ~ValidatorOptions() { spvValidatorOptionsDestroy(options_); } in ~ValidatorOptions() 76 operator spv_validator_options() const { return options_; } in operator spv_validator_options() 80 spvValidatorOptionsSetUniversalLimit(options_, limit_type, limit); in SetUniversalLimit() 84 spvValidatorOptionsSetRelaxStoreStruct(options_, val); in SetRelaxStructStore() 91 spvValidatorOptionsSetRelaxBlockLayout(options_, val); in SetRelaxBlockLayout() 97 spvValidatorOptionsSetUniformBufferStandardLayout(options_, val); in SetUniformBufferStandardLayout() 104 spvValidatorOptionsSetScalarBlockLayout(options_, val); in SetScalarBlockLayout() 110 spvValidatorOptionsSetWorkgroupScalarBlockLayout(options_, val); in SetWorkgroupScalarBlockLayout() 115 spvValidatorOptionsSetSkipBlockLayout(options_, val); in SetSkipBlockLayout() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/include/spirv-tools/ |
D | libspirv.hpp | 73 ValidatorOptions() : options_(spvValidatorOptionsCreate()) {} in ValidatorOptions() 74 ~ValidatorOptions() { spvValidatorOptionsDestroy(options_); } in ~ValidatorOptions() 76 operator spv_validator_options() const { return options_; } in operator spv_validator_options() 80 spvValidatorOptionsSetUniversalLimit(options_, limit_type, limit); in SetUniversalLimit() 84 spvValidatorOptionsSetRelaxStoreStruct(options_, val); in SetRelaxStructStore() 91 spvValidatorOptionsSetRelaxBlockLayout(options_, val); in SetRelaxBlockLayout() 97 spvValidatorOptionsSetUniformBufferStandardLayout(options_, val); in SetUniformBufferStandardLayout() 104 spvValidatorOptionsSetScalarBlockLayout(options_, val); in SetScalarBlockLayout() 110 spvValidatorOptionsSetWorkgroupScalarBlockLayout(options_, val); in SetWorkgroupScalarBlockLayout() 115 spvValidatorOptionsSetSkipBlockLayout(options_, val); in SetSkipBlockLayout() [all …]
|
/third_party/spirv-tools/include/spirv-tools/ |
D | libspirv.hpp | 73 ValidatorOptions() : options_(spvValidatorOptionsCreate()) {} in ValidatorOptions() 74 ~ValidatorOptions() { spvValidatorOptionsDestroy(options_); } in ~ValidatorOptions() 76 operator spv_validator_options() const { return options_; } in operator spv_validator_options() 80 spvValidatorOptionsSetUniversalLimit(options_, limit_type, limit); in SetUniversalLimit() 84 spvValidatorOptionsSetRelaxStoreStruct(options_, val); in SetRelaxStructStore() 91 spvValidatorOptionsSetRelaxBlockLayout(options_, val); in SetRelaxBlockLayout() 97 spvValidatorOptionsSetUniformBufferStandardLayout(options_, val); in SetUniformBufferStandardLayout() 104 spvValidatorOptionsSetScalarBlockLayout(options_, val); in SetScalarBlockLayout() 110 spvValidatorOptionsSetWorkgroupScalarBlockLayout(options_, val); in SetWorkgroupScalarBlockLayout() 115 spvValidatorOptionsSetSkipBlockLayout(options_, val); in SetSkipBlockLayout() [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_file.cc | 96 : file_(file), options_(options), scc_analyzer_(options) { in FileGenerator() 100 variables_["tablename"] = UniqueName("TableStruct", file_, options_); in FileGenerator() 102 UniqueName("file_level_metadata", file_, options_); in FileGenerator() 103 variables_["desc_table"] = DescriptorTableName(file_, options_); in FileGenerator() 105 UniqueName("file_level_enum_descriptors", file_, options_); in FileGenerator() 107 UniqueName("file_level_service_descriptors", file_, options_); in FileGenerator() 129 if (HasGenericServices(file_, options_)) { in FileGenerator() 188 format("#define $1$$ dllexport_decl$\n", FileDllExport(file_, options_)); in GenerateHeader() 205 NamespaceOpener ns(Namespace(file_, options_), format); in GenerateHeader() 249 if (!options_.proto_h) { in GenerateProtoHeader() [all …]
|
D | cpp_message.cc | 573 options_(options), in MessageGenerator() 587 SccInfoSymbol(scc_analyzer_->GetSCC(descriptor_), options_); in MessageGenerator() 589 variables_["superclass"] = SuperClassName(descriptor_, options_); in MessageGenerator() 594 if (!IsFieldUsed(field, options_)) { in MessageGenerator() 598 if (IsWeak(field, options_)) { in MessageGenerator() 605 message_layout_helper_->OptimizeLayout(&optimized_order_, options_); in MessageGenerator() 628 table_driven_ = TableDrivenParsingEnabled(descriptor_, options_); in MessageGenerator() 666 new EnumGenerator(descriptor_->enum_type(i), variables_, options_)); in AddGenerators() 671 new ExtensionGenerator(descriptor_->extension(i), options_)); in AddGenerators() 692 IsFieldUsed(field, options_)) { in GenerateFieldAccessorDeclarations() [all …]
|
D | cpp_message_field.cc | 107 if (!IsFieldUsed(descriptor_, options_)) { in GenerateAccessorDeclarations() 136 if (IsFieldUsed(descriptor_, options_)) { in GenerateAccessorDeclarations() 388 GOOGLE_CHECK(IsFieldUsed(descriptor_, options_)); in GenerateClearingCode() 406 GOOGLE_CHECK(IsFieldUsed(descriptor_, options_)); in GenerateMessageClearingCode() 425 GOOGLE_CHECK(IsFieldUsed(descriptor_, options_)); in GenerateMergingCode() 440 GOOGLE_CHECK(IsFieldUsed(descriptor_, options_)); in GenerateSwappingCode() 447 GOOGLE_CHECK(IsFieldUsed(descriptor_, options_)); in GenerateDestructorCode() 450 if (options_.opensource_runtime) { in GenerateDestructorCode() 463 GOOGLE_CHECK(IsFieldUsed(descriptor_, options_)); in GenerateConstructorCode() 471 GOOGLE_CHECK(IsFieldUsed(descriptor_, options_)); in GenerateCopyConstructorCode() [all …]
|
D | cpp_extension.cc | 61 : descriptor_(descriptor), options_(options) { in ExtensionGenerator() 85 type_traits_.append(PrimitiveTypeName(options_, descriptor_->cpp_type())); in ExtensionGenerator() 122 if (!options_.dllexport_decl.empty()) { in GenerateDeclaration() 123 qualifier = options_.dllexport_decl + " " + qualifier; in GenerateDeclaration() 142 if (options_.lite_implicit_weak_fields && in GenerateDefinition() 159 DefaultValue(options_, descriptor_)); in GenerateDefinition() 164 FieldMessageTypeName(descriptor_, options_) + "::default_instance()"; in GenerateDefinition() 166 default_str = DefaultValue(options_, descriptor_); in GenerateDefinition()
|
D | cpp_string_field.cc | 152 EffectiveStringCType(descriptor_, options_); in GenerateAccessorDeclarations() 168 if (!options_.opensource_runtime) { in GenerateAccessorDeclarations() 240 if (!options_.opensource_runtime) { in GenerateInlineAccessorDefinitions() 318 if (!options_.opensource_runtime) { in GenerateInlineAccessorDefinitions() 553 return !lite_ && !inlined_ && !options_.opensource_runtime; in MergeFromCodedStreamNeedsArena() 561 descriptor_, options_, false, in GenerateSerializeWithCachedSizesToArray() 658 if (!options_.opensource_runtime) { in GenerateInlineAccessorDefinitions() 762 if (!options_.opensource_runtime) { in GenerateInlineAccessorDefinitions() 870 EffectiveStringCType(descriptor_, options_); in GenerateAccessorDeclarations() 890 if (!options_.opensource_runtime) { in GenerateAccessorDeclarations() [all …]
|
D | cpp_enum.cc | 78 options_(options), in EnumGenerator() 108 DeprecatedAttribute(options_, descriptor_->value(i))); in GenerateDefinition() 151 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateDefinition() 159 if (!HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateDefinition() 170 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateDefinition() 180 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateDefinition() 203 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateGetEnumDescriptorSpecializations() 218 DeprecatedAttribute(options_, descriptor_->value(j)); in GenerateSymbolImports() 242 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateSymbolImports() 268 if (HasDescriptorMethods(descriptor_->file(), options_)) { in GenerateMethods() [all …]
|
/third_party/grpc/test/core/security/ |
D | tls_security_connector_test.cc | 97 options_ = grpc_tls_credentials_options_create()->Ref(); in SetUp() 124 grpc_tls_credentials_options_set_credential_reload_config(options_.get(), in SetOptions() 129 grpc_core::RefCountedPtr<grpc_tls_credentials_options> options_; member in grpc::testing::TlsSecurityConnectorTest 136 TlsFetchKeyMaterials(config_, *options_, true, &reload_status); in TEST_F() 138 options_->Unref(); in TEST_F() 144 TlsFetchKeyMaterials(config_, *options_, false, &reload_status); in TEST_F() 146 options_->Unref(); in TEST_F() 153 TlsFetchKeyMaterials(config_, *options_, true, &reload_status); in TEST_F() 156 options_->Unref(); in TEST_F() 163 TlsFetchKeyMaterials(config_, *options_, true, &reload_status); in TEST_F() [all …]
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/val/ |
D | val_validation_state_test.cpp | 109 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F() 110 EXPECT_EQ(32000u, options_->universal_limits_.max_struct_members); in TEST_F() 115 options_, spv_validator_limit_max_global_variables, 100u); in TEST_F() 116 EXPECT_EQ(100u, options_->universal_limits_.max_global_variables); in TEST_F() 121 options_, spv_validator_limit_max_local_variables, 100u); in TEST_F() 122 EXPECT_EQ(100u, options_->universal_limits_.max_local_variables); in TEST_F() 127 options_, spv_validator_limit_max_struct_depth, 100u); in TEST_F() 128 EXPECT_EQ(100u, options_->universal_limits_.max_struct_depth); in TEST_F() 133 options_, spv_validator_limit_max_switch_branches, 100u); in TEST_F() 134 EXPECT_EQ(100u, options_->universal_limits_.max_switch_branches); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/test/val/ |
D | val_validation_state_test.cpp | 189 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F() 190 EXPECT_EQ(32000u, options_->universal_limits_.max_struct_members); in TEST_F() 195 options_, spv_validator_limit_max_global_variables, 100u); in TEST_F() 196 EXPECT_EQ(100u, options_->universal_limits_.max_global_variables); in TEST_F() 201 options_, spv_validator_limit_max_local_variables, 100u); in TEST_F() 202 EXPECT_EQ(100u, options_->universal_limits_.max_local_variables); in TEST_F() 207 options_, spv_validator_limit_max_struct_depth, 100u); in TEST_F() 208 EXPECT_EQ(100u, options_->universal_limits_.max_struct_depth); in TEST_F() 213 options_, spv_validator_limit_max_switch_branches, 100u); in TEST_F() 214 EXPECT_EQ(100u, options_->universal_limits_.max_switch_branches); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_validation_state_test.cpp | 189 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F() 190 EXPECT_EQ(32000u, options_->universal_limits_.max_struct_members); in TEST_F() 195 options_, spv_validator_limit_max_global_variables, 100u); in TEST_F() 196 EXPECT_EQ(100u, options_->universal_limits_.max_global_variables); in TEST_F() 201 options_, spv_validator_limit_max_local_variables, 100u); in TEST_F() 202 EXPECT_EQ(100u, options_->universal_limits_.max_local_variables); in TEST_F() 207 options_, spv_validator_limit_max_struct_depth, 100u); in TEST_F() 208 EXPECT_EQ(100u, options_->universal_limits_.max_struct_depth); in TEST_F() 213 options_, spv_validator_limit_max_switch_branches, 100u); in TEST_F() 214 EXPECT_EQ(100u, options_->universal_limits_.max_switch_branches); in TEST_F() [all …]
|
/third_party/spirv-tools/test/val/ |
D | val_validation_state_test.cpp | 189 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F() 190 EXPECT_EQ(32000u, options_->universal_limits_.max_struct_members); in TEST_F() 195 options_, spv_validator_limit_max_global_variables, 100u); in TEST_F() 196 EXPECT_EQ(100u, options_->universal_limits_.max_global_variables); in TEST_F() 201 options_, spv_validator_limit_max_local_variables, 100u); in TEST_F() 202 EXPECT_EQ(100u, options_->universal_limits_.max_local_variables); in TEST_F() 207 options_, spv_validator_limit_max_struct_depth, 100u); in TEST_F() 208 EXPECT_EQ(100u, options_->universal_limits_.max_struct_depth); in TEST_F() 213 options_, spv_validator_limit_max_switch_branches, 100u); in TEST_F() 214 EXPECT_EQ(100u, options_->universal_limits_.max_switch_branches); in TEST_F() [all …]
|
D | val_limits_test.cpp | 182 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F() 196 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F() 291 options_, spv_validator_limit_max_switch_branches, 10u); in TEST_F() 322 options_, spv_validator_limit_max_switch_branches, 10u); in TEST_F() 375 options_, spv_validator_limit_max_function_args, 100u); in TEST_F() 391 options_, spv_validator_limit_max_function_args, 100u); in TEST_F() 450 options_, spv_validator_limit_max_global_variables, 50u); in TEST_F() 469 options_, spv_validator_limit_max_global_variables, 50u); in TEST_F() 505 options_, spv_validator_limit_max_local_variables, num_locals); in TEST_F() 534 options_, spv_validator_limit_max_local_variables, 5000u); in TEST_F() [all …]
|
/third_party/gn/src/gn/ |
D | path_output.cc | 20 options_.mode = escaping; in PathOutput() 74 EscapeStringToStream(out, file.value(), options_); in WriteFile() 108 EscapeStringToStream(out, file.value(), options_); in WriteDir() 116 options_); in WriteDir() 119 EscapeStringToStream(out, file.value(), options_); in WriteDir() 128 EscapeStringToStream(out, FilePathToUTF8(file), options_); in WriteFile() 133 if (options_.mode == ESCAPE_NINJA_COMMAND) { in WriteSourceRelativeString() 144 options_); in WriteSourceRelativeString() 149 EscapeStringToStream(out, str, options_); in WriteSourceRelativeString() 161 options_); in WritePathStr() [all …]
|
/third_party/grpc/src/core/lib/security/security_connector/tls/ |
D | tls_security_connector.cc | 113 options_(std::move(options)), in TlsChannelSecurityConnector() 130 options_->certificate_distributor(); in TlsChannelSecurityConnector() 132 if (options_->watch_root_cert()) { in TlsChannelSecurityConnector() 133 watched_root_cert_name = options_->root_cert_name(); in TlsChannelSecurityConnector() 136 if (options_->watch_identity_pair()) { in TlsChannelSecurityConnector() 137 watched_identity_cert_name = options_->identity_cert_name(); in TlsChannelSecurityConnector() 145 bool use_default_roots = !options_->watch_root_cert(); in TlsChannelSecurityConnector() 146 if (use_default_roots && !options_->watch_identity_pair()) { in TlsChannelSecurityConnector() 161 options_->certificate_distributor(); in ~TlsChannelSecurityConnector() 215 if (options_->server_verification_option() == GRPC_TLS_SERVER_VERIFICATION) { in check_peer() [all …]
|
/third_party/grpc/src/core/lib/gprpp/ |
D | thd.h | 95 : state_(other.state_), impl_(other.impl_), options_(other.options_) { in Thread() 98 other.options_ = Options(); in Thread() 113 options_ = other.options_; 116 other.options_ = Options(); 126 ~Thread() { GPR_ASSERT(!options_.joinable() || impl_ == nullptr); } in ~Thread() 169 Options options_; variable
|
/third_party/grpc/src/core/lib/security/credentials/alts/ |
D | alts_credentials.h | 42 const grpc_alts_credentials_options* options() const { return options_; } in options() 43 grpc_alts_credentials_options* mutable_options() { return options_; } in mutable_options() 47 grpc_alts_credentials_options* options_; 61 const grpc_alts_credentials_options* options() const { return options_; } in options() 62 grpc_alts_credentials_options* mutable_options() { return options_; } in mutable_options() 66 grpc_alts_credentials_options* options_;
|
D | alts_credentials.cc | 40 options_(grpc_alts_credentials_options_copy(options)), in grpc_alts_credentials() 44 grpc_alts_set_rpc_protocol_versions(&options_->rpc_versions); in grpc_alts_credentials() 48 grpc_alts_credentials_options_destroy(options_); in ~grpc_alts_credentials() 65 options_(grpc_alts_credentials_options_copy(options)), in grpc_alts_server_credentials() 69 grpc_alts_set_rpc_protocol_versions(&options_->rpc_versions); in grpc_alts_server_credentials() 79 grpc_alts_credentials_options_destroy(options_); in ~grpc_alts_server_credentials()
|
/third_party/boost/boost/iostreams/filter/ |
D | grep.hpp | 64 options_ &= ~f_initialized; in close() 69 if ((options_ & f_initialized) == 0) { in do_filter() 70 options_ |= f_initialized; in do_filter() 73 bool matches = (options_ & grep::whole_line) ? in do_filter() 76 if (options_ & grep::invert) in do_filter() 90 int options_; member in boost::iostreams::basic_grep_filter 104 options_(options), count_(0) in basic_grep_filter()
|
/third_party/grpc/src/core/lib/backoff/ |
D | backoff.cc | 50 : options_(options), in BackOff() 61 std::min(current_backoff_ * options_.multiplier(), in NextAttemptTime() 62 static_cast<double>(options_.max_backoff()))); in NextAttemptTime() 64 &rng_state_, -options_.jitter() * current_backoff_, in NextAttemptTime() 65 options_.jitter() * current_backoff_); in NextAttemptTime() 72 current_backoff_ = options_.initial_backoff(); in Reset()
|
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Type.cs | 129 options_ = other.options_.Clone(); in Type() 184 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> options_ = new … field in Google.Protobuf.WellKnownTypes.Type 190 get { return options_; } 237 if(!options_.Equals(other.options_)) return false; in Equals() 249 hash ^= options_.GetHashCode(); in GetHashCode() 274 options_.WriteTo(output, _repeated_options_codec); in WriteTo() 298 options_.WriteTo(ref output, _repeated_options_codec); in IBufferMessage.InternalWriteTo() 321 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize() 344 options_.Add(other.options_); in MergeFrom() 381 options_.AddEntriesFrom(input, _repeated_options_codec); in MergeFrom() [all …]
|
/third_party/flutter/engine/flutter/fml/ |
D | command_line.cc | 27 options_(options), in CommandLine() 29 for (size_t i = 0; i < options_.size(); i++) in CommandLine() 30 option_index_[options_[i].name] = i; in CommandLine() 53 *value = options_[index].value; in GetOptionValue() 60 for (const auto& option : options_) { in GetOptionValues() 73 return options_[index].value; in GetOptionValueWithDefault() 117 options_.push_back(CommandLine::Option(arg.substr(2u))); in ProcessArg() 121 options_.push_back(CommandLine::Option(arg.substr(2u, equals_pos - 2u), in ProcessArg() 129 return CommandLine(argv0_, options_, positional_args_); in Build()
|
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/acl/acl_vm/ |
D | acl_multi_graph_session.cc | 34 …explicit FirstGraphModeGuard(const std::shared_ptr<AclModelOptions> &options) : options_(options) { in CompileGraphImpl() 35 if (options_ != nullptr) { in CompileGraphImpl() 36 options_->SetFirstGraph(true); in CompileGraphImpl() 40 if (options_ != nullptr) { in CompileGraphImpl() 41 options_->SetFirstGraph(false); in CompileGraphImpl() 46 std::shared_ptr<AclModelOptions> options_; in CompileGraphImpl() member in mindspore::session::MultiGraphAclSession::CompileGraphImpl::FirstGraphModeGuard 60 model_converter_.set_options(options_); in CompileGraphImpl() 61 FirstGraphModeGuard guard(options_); in CompileGraphImpl() 71 auto ret = graph_cell.Load(options_->GetDeviceID()); in CompileGraphImpl()
|