| /external/zstd/contrib/pzstd/test/ |
| D | OptionsTest.cpp | 9 #include "Options.h" 17 bool operator==(const Options &lhs, const Options &rhs) { in operator ==() 27 std::ostream &operator<<(std::ostream &out, const Options &opt) { in operator <<() 76 constexpr auto autoMode = Options::WriteMode::Auto; 79 #define EXPECT_SUCCESS(...) EXPECT_EQ(Options::Status::Success, __VA_ARGS__) 80 #define EXPECT_FAILURE(...) EXPECT_EQ(Options::Status::Failure, __VA_ARGS__) 81 #define EXPECT_MESSAGE(...) EXPECT_EQ(Options::Status::Message, __VA_ARGS__) 88 TEST(Options, ValidInputs) { in TEST() argument 90 Options options; in TEST() local 92 EXPECT_SUCCESS(options.parse(args.size(), args.data())); in TEST() [all …]
|
| /external/okio/okio/src/commonTest/kotlin/okio/ |
| D | CommonOptionsTest.kt | 25 /** Confirm that options prefers the first-listed option, not the longest or shortest one. */ 47 val options = utf8Options( in realisticOptionsTrie() constant 77 options.trieString(), in realisticOptionsTrie() 151 assertSelect("", -1, options) in realisticOptionsTrie() 152 assertSelect("a", -1, options) in realisticOptionsTrie() 153 assertSelect("eventListenerFactor", -1, options) in realisticOptionsTrie() 154 assertSelect("dnst", 19, options) in realisticOptionsTrie() 155 assertSelect("proxyproxy", 1, options) in realisticOptionsTrie() 156 assertSelect("prox", -1, options) in realisticOptionsTrie() 158 assertSelect("dispatcher", 0, options) in realisticOptionsTrie() [all …]
|
| /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/ |
| D | AgentOptionsTest.java | 40 AgentOptions options = new AgentOptions(); in testDefaults() local 41 assertEquals(AgentOptions.DEFAULT_DESTFILE, options.getDestfile()); in testDefaults() 42 assertTrue(options.getAppend()); in testDefaults() 43 assertEquals("*", options.getIncludes()); in testDefaults() 44 assertEquals("", options.getExcludes()); in testDefaults() 46 options.getExclClassloader()); in testDefaults() 47 assertFalse(options.getInclBootstrapClasses()); in testDefaults() 48 assertFalse(options.getInclNoLocationClasses()); in testDefaults() 49 assertNull(options.getSessionId()); in testDefaults() 50 assertTrue(options.getDumpOnExit()); in testDefaults() [all …]
|
| /external/libxml2/os400/libxmlrpg/ |
| D | xmlwriter.rpgle | 34 d uri * value options(*string) const char * 74 d version * value options(*string) const char * 75 d encoding * value options(*string) const char * 76 d standalone * value options(*string) const char * 100 d format * value options(*string: *nopass) const char * 101 d #vararg1 * value options(*string: *nopass) void * 102 d #vararg2 * value options(*string: *nopass) void * 103 d #vararg3 * value options(*string: *nopass) void * 104 d #vararg4 * value options(*string: *nopass) void * 105 d #vararg5 * value options(*string: *nopass) void * [all …]
|
| D | xmlstring.rpgle | 28 d cur * value options(*string) const xmlChar * 31 d cur * value options(*string) const xmlChar * 35 d cur * value options(*string) const char * 39 d cur * value options(*string) const char * 42 d str * value options(*string) const xmlChar * 47 d str * value options(*string) const xmlChar * 51 d str * value options(*string) const xmlChar * 52 d val * value options(*string) const xmlChar * 55 d str * value options(*string) const xmlChar * 56 d val * value options(*string) const xmlChar * [all …]
|
| /external/tensorflow/tensorflow/python/data/kernel_tests/ |
| D | options_test.py | 15 """Tests for `tf.data.Options`.""" 26 from tensorflow.python.data.ops import options as options_lib 37 return dataset.options() 44 self.assertEqual(options_lib.Options(), ds.options()) 48 options = options_lib.Options() 49 ds = dataset_ops.Dataset.range(0).with_options(options).cache() 50 self.assertEqual(options, ds.options()) 54 options = options_lib.Options() 55 options.autotune.enabled = True 56 ds = dataset_ops.Dataset.range(0).with_options(options).with_options( [all …]
|
| /external/grpc-grpc/test/cpp/client/ |
| D | credentials_test.cc | 123 grpc::experimental::StsCredentialsOptions options; in TEST() local 124 options.token_exchange_service_uri = "https://foo.com/exchange"; in TEST() 125 options.resource = "resource"; in TEST() 126 options.audience = "audience"; in TEST() 127 options.scope = "scope"; in TEST() 128 // options.requested_token_type explicitly not set. in TEST() 129 options.subject_token_path = "/foo/bar"; in TEST() 130 options.subject_token_type = "nice_token_type"; in TEST() 131 options.actor_token_path = "/foo/baz"; in TEST() 132 options.actor_token_type = "even_nicer_token_type"; in TEST() [all …]
|
| /external/android-nn-driver/test/1.2/ |
| D | Dilation.cpp | 15 DilationTestOptions options; variable 16 options.m_IsDepthwiseConvolution = false; 17 options.m_IsPaddingExplicit = true; 18 options.m_HasDilation = false; 20 DilationTestImpl<hal_1_2::HalPolicy>(options); 25 DilationTestOptions options; variable 26 options.m_IsDepthwiseConvolution = false; 27 options.m_IsPaddingExplicit = true; 28 options.m_HasDilation = true; 30 DilationTestImpl<hal_1_2::HalPolicy>(options); [all …]
|
| /external/libchrome/mojo/core/ |
| D | entrypoints.cc | 23 MojoResult MojoInitializeImpl(const struct MojoInitializeOptions* options) { in MojoInitializeImpl() argument 43 const MojoCreateMessagePipeOptions* options, in MojoCreateMessagePipeImpl() argument 46 return g_core->CreateMessagePipe(options, message_pipe_handle0, in MojoCreateMessagePipeImpl() 52 const MojoWriteMessageOptions* options) { in MojoWriteMessageImpl() argument 53 return g_core->WriteMessage(message_pipe_handle, message, options); in MojoWriteMessageImpl() 57 const MojoReadMessageOptions* options, in MojoReadMessageImpl() argument 59 return g_core->ReadMessage(message_pipe_handle, options, message); in MojoReadMessageImpl() 65 const MojoFuseMessagePipesOptions* options) { in MojoFuseMessagePipesImpl() argument 66 return g_core->FuseMessagePipes(handle0, handle1, options); in MojoFuseMessagePipesImpl() 69 MojoResult MojoCreateMessageImpl(const MojoCreateMessageOptions* options, in MojoCreateMessageImpl() argument [all …]
|
| /external/grpc-grpc/src/core/lib/security/credentials/tls/ |
| D | grpc_tls_credentials_options.cc | 42 grpc_tls_credentials_options* options) { in grpc_tls_credentials_options_copy() argument 43 GPR_ASSERT(options != nullptr); in grpc_tls_credentials_options_copy() 44 return new grpc_tls_credentials_options(*options); in grpc_tls_credentials_options_copy() 48 grpc_tls_credentials_options* options) { in grpc_tls_credentials_options_destroy() argument 49 delete options; in grpc_tls_credentials_options_destroy() 53 grpc_tls_credentials_options* options, in grpc_tls_credentials_options_set_cert_request_type() argument 55 GPR_ASSERT(options != nullptr); in grpc_tls_credentials_options_set_cert_request_type() 56 options->set_cert_request_type(type); in grpc_tls_credentials_options_set_cert_request_type() 60 grpc_tls_credentials_options* options, int verify_server_cert) { in grpc_tls_credentials_options_set_verify_server_cert() argument 61 GPR_ASSERT(options != nullptr); in grpc_tls_credentials_options_set_verify_server_cert() [all …]
|
| /external/tinyalsa_new/utils/ |
| D | optparse.h | 21 * options cannot be processed with getopt(). Most implementations 24 * subcommands and continuing parsing of options with another option 40 * Optparse also supports GNU-style long options with optparse_long(). 80 void optparse_init(struct optparse *options, char **argv); 92 int optparse(struct optparse *options, const char *optstring); 95 * Handles GNU-style long options in addition to getopt() options. 101 int optparse_long(struct optparse *options, 110 * function. That would be used to parse the options for the 115 char *optparse_arg(struct optparse *options); 125 optparse_error(struct optparse *options, const char *msg, const char *data) in optparse_error() argument [all …]
|
| /external/grpc-grpc/test/cpp/server/ |
| D | credentials_test.cc | 68 grpc::experimental::TlsServerCredentialsOptions options(certificate_provider); in TEST() local 69 options.watch_root_certs(); in TEST() 70 options.set_root_cert_name(kRootCertName); in TEST() 71 options.watch_identity_key_cert_pairs(); in TEST() 72 options.set_identity_cert_name(kIdentityCertName); in TEST() 73 options.set_cert_request_type( in TEST() 75 auto server_credentials = grpc::experimental::TlsServerCredentials(options); in TEST() 92 grpc::experimental::TlsServerCredentialsOptions options(certificate_provider); in TEST() local 93 options.watch_identity_key_cert_pairs(); in TEST() 94 options.set_identity_cert_name(kIdentityCertName); in TEST() [all …]
|
| /external/cronet/components/cronet/android/api/src/org/chromium/net/ |
| D | ExperimentalOptionsTranslatingCronetEngineBuilder.java | 22 * An implementation of ICronetEngineBuilder which handles translation of configuration options to 23 * json-based experimental options, if necessary. 47 public ICronetEngineBuilder setQuicOptions(QuicOptions options) { in setQuicOptions() argument 50 mDelegate.setQuicOptions(options); in setQuicOptions() 54 // If not, we'll have to work around it by modifying the experimental options JSON. in setQuicOptions() 62 if (!options.getQuicHostAllowlist().isEmpty()) { in setQuicOptions() 64 "host_whitelist", String.join(",", options.getQuicHostAllowlist())); in setQuicOptions() 66 if (!options.getEnabledQuicVersions().isEmpty()) { in setQuicOptions() 68 "quic_version", String.join(",", options.getEnabledQuicVersions())); in setQuicOptions() 70 if (!options.getConnectionOptions().isEmpty()) { in setQuicOptions() [all …]
|
| /external/libchrome/mojo/public/c/system/ |
| D | thunks.cc | 65 CoreLibraryInitializer(const MojoInitializeOptions* options) { in CoreLibraryInitializer() argument 69 if (options && options->struct_size >= sizeof(*options) && in CoreLibraryInitializer() 70 options->mojo_core_path) { in CoreLibraryInitializer() 71 base::StringPiece utf8_path(options->mojo_core_path, in CoreLibraryInitializer() 72 options->mojo_core_path_length); in CoreLibraryInitializer() 146 MojoResult MojoInitialize(const struct MojoInitializeOptions* options) { in MojoInitialize() argument 147 static base::NoDestructor<mojo::CoreLibraryInitializer> initializer(options); in MojoInitialize() 151 return INVOKE_THUNK(Initialize, options); in MojoInitialize() 168 MojoResult MojoCreateMessagePipe(const MojoCreateMessagePipeOptions* options, in MojoCreateMessagePipe() argument 171 return INVOKE_THUNK(CreateMessagePipe, options, message_pipe_handle0, in MojoCreateMessagePipe() [all …]
|
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
| D | DumperOptionsTest.java | 29 DumperOptions options = new DumperOptions(); in testDefaultStyle() local 30 Yaml yaml = new Yaml(options); in testDefaultStyle() 35 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testDefaultStyle() 36 yaml = new Yaml(options); in testDefaultStyle() 39 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.SINGLE_QUOTED); in testDefaultStyle() 40 yaml = new Yaml(options); in testDefaultStyle() 43 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.PLAIN); in testDefaultStyle() 44 yaml = new Yaml(options); in testDefaultStyle() 49 options.setDefaultScalarStyle(null); in testDefaultStyle() 64 DumperOptions options = new DumperOptions(); in testDefaultFlowStyle() local [all …]
|
| /external/protobuf/src/google/protobuf/compiler/cpp/ |
| D | helpers.h | 47 #include <google/protobuf/compiler/cpp/options.h> 64 inline std::string ProtobufNamespace(const Options& /* options */) { in ProtobufNamespace() argument 68 inline std::string MacroPrefix(const Options& /* options */) { in MacroPrefix() argument 72 inline std::string DeprecatedAttribute(const Options& /* options */, in DeprecatedAttribute() argument 74 return d->options().deprecated() ? "PROTOBUF_DEPRECATED " : ""; in DeprecatedAttribute() 77 inline std::string DeprecatedAttribute(const Options& /* options */, in DeprecatedAttribute() argument 79 return d->options().deprecated() ? "PROTOBUF_DEPRECATED_ENUM " : ""; in DeprecatedAttribute() 87 void SetCommonVars(const Options& options, 96 const Options& options, 99 bool GetBootstrapBasename(const Options& options, const std::string& basename, [all …]
|
| /external/libtextclassifier/native/utils/ |
| D | token-feature-extractor_test.cc | 38 TokenFeatureExtractorOptions options; in TEST_F() local 39 options.num_buckets = 1000; in TEST_F() 40 options.chargram_orders = std::vector<int>{1, 2, 3}; in TEST_F() 41 options.extract_case_feature = true; in TEST_F() 42 options.unicode_aware_features = false; in TEST_F() 43 options.extract_selection_mask_feature = true; in TEST_F() 44 TestingTokenFeatureExtractor extractor(options, &unilib_); in TEST_F() 108 TokenFeatureExtractorOptions options; in TEST_F() local 109 options.num_buckets = 1000; in TEST_F() 110 options.chargram_orders = std::vector<int>{}; in TEST_F() [all …]
|
| /external/toolchain-utils/ |
| D | build_chromeos.py | 140 options = parser.parse_args(argv[1:]) 142 if options.chromeos_root is None: 144 options.chromeos_root = os.path.expanduser(options.chromeos_root) 145 scripts_dir = os.path.join(options.chromeos_root, "src", "scripts") 152 if options.board is None: 155 if options.debug: 156 options.dev = True 158 build_packages_env = options.env 168 if options.rebuild: 173 options.chromeos_root, options.board [all …]
|
| /external/rust/crates/regex-automata/data/tests/fowler/ |
| D | basic.toml | 3 options = ['escaped'] 10 options = ['escaped'] 17 options = ['escaped'] 24 options = ['escaped'] 31 options = ['escaped'] 38 options = ['escaped'] 45 options = ['escaped'] 52 options = ['escaped'] 59 options = ['escaped'] 66 options = ['escaped'] [all …]
|
| /external/google-cloud-java/java-dns/src/main/java/com/google/cloud/dns/spi/v1/ |
| D | HttpDnsRpc.java | 47 private final DnsOptions options; field in HttpDnsRpc 59 RpcBatch.Callback<ManagedZonesListResponse> callback, Map<DnsRpc.Option, ?> options) { in addListZones() argument 61 listZonesCall(options).queue(batch, toJsonCallback(callback)); in addListZones() 69 ManagedZone zone, RpcBatch.Callback<ManagedZone> callback, Map<Option, ?> options) { in addCreateZone() argument 71 createZoneCall(zone, options).queue(batch, toJsonCallback(callback)); in addCreateZone() 79 String zoneName, RpcBatch.Callback<ManagedZone> callback, Map<Option, ?> options) { in addGetZone() argument 81 getZoneCall(zoneName, options).queue(batch, toJsonCallback(callback)); in addGetZone() 97 public void addGetProject(RpcBatch.Callback<Project> callback, Map<Option, ?> options) { in addGetProject() argument 99 getProjectCall(options).queue(batch, toJsonCallback(callback)); in addGetProject() 109 Map<DnsRpc.Option, ?> options) { in addListRecordSets() argument [all …]
|
| /external/cronet/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
| D | cpp_helpers.h | 64 inline std::string ProtobufNamespace(const Options& /* options */) { in ProtobufNamespace() argument 68 inline std::string MacroPrefix(const Options& /* options */) { in MacroPrefix() argument 72 inline std::string DeprecatedAttribute(const Options& /* options */, in DeprecatedAttribute() argument 74 return d->options().deprecated() ? "PROTOBUF_DEPRECATED " : ""; in DeprecatedAttribute() 77 inline std::string DeprecatedAttribute(const Options& /* options */, in DeprecatedAttribute() argument 79 return d->options().deprecated() ? "PROTOBUF_DEPRECATED_ENUM " : ""; in DeprecatedAttribute() 87 void SetCommonVars(const Options& options, 95 const Options& options, 98 bool GetBootstrapBasename(const Options& options, const std::string& basename, 100 bool MaybeBootstrap(const Options& options, GeneratorContext* generator_context, [all …]
|
| /external/rust/crates/darling_core/src/usage/ |
| D | lifetimes.rs | 5 use crate::usage::Options; 22 options: &Options, in uses_lifetimes() argument 27 fn uses_lifetimes_cloned(&self, options: &Options, lifetimes: &LifetimeSet) -> LifetimeSet { in uses_lifetimes_cloned() argument 28 self.uses_lifetimes(options, lifetimes) in uses_lifetimes_cloned() 43 options: &Options, in collect_lifetimes() argument 48 fn collect_lifetimes_cloned(self, options: &Options, lifetimes: &LifetimeSet) -> LifetimeSet; in collect_lifetimes_cloned() argument 58 options: &Options, in collect_lifetimes() argument 63 state.extend(value.uses_lifetimes(options, lifetimes)); in collect_lifetimes() 68 fn collect_lifetimes_cloned(self, options: &Options, lifetimes: &LifetimeSet) -> LifetimeSet { in collect_lifetimes_cloned() argument 69 self.collect_lifetimes(options, lifetimes) in collect_lifetimes_cloned() [all …]
|
| /external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/tls/ |
| D | grpc_tls_credentials_options.cc | 39 grpc_tls_credentials_options* options, in grpc_tls_credentials_options_set_cert_request_type() argument 41 GPR_ASSERT(options != nullptr); in grpc_tls_credentials_options_set_cert_request_type() 42 options->set_cert_request_type(type); in grpc_tls_credentials_options_set_cert_request_type() 46 grpc_tls_credentials_options* options, int verify_server_cert) { in grpc_tls_credentials_options_set_verify_server_cert() argument 47 GPR_ASSERT(options != nullptr); in grpc_tls_credentials_options_set_verify_server_cert() 48 options->set_verify_server_cert(verify_server_cert); in grpc_tls_credentials_options_set_verify_server_cert() 52 grpc_tls_credentials_options* options, in grpc_tls_credentials_options_set_certificate_provider() argument 54 GPR_ASSERT(options != nullptr); in grpc_tls_credentials_options_set_certificate_provider() 57 options->set_certificate_provider( in grpc_tls_credentials_options_set_certificate_provider() 62 grpc_tls_credentials_options* options) { in grpc_tls_credentials_options_watch_root_certs() argument [all …]
|
| /external/angle/build/android/gyp/ |
| D | dex.py | 107 options = parser.parse_args(args) 109 if options.force_enable_assertions and options.assertion_handler: 113 options.class_inputs = action_helpers.parse_gn_list(options.class_inputs) 114 options.class_inputs_filearg = action_helpers.parse_gn_list( 115 options.class_inputs_filearg) 116 options.bootclasspath = action_helpers.parse_gn_list(options.bootclasspath) 117 options.classpath = action_helpers.parse_gn_list(options.classpath) 118 options.dex_inputs = action_helpers.parse_gn_list(options.dex_inputs) 119 options.dex_inputs_filearg = action_helpers.parse_gn_list( 120 options.dex_inputs_filearg) [all …]
|
| /external/cronet/build/android/gyp/ |
| D | dex.py | 107 options = parser.parse_args(args) 109 if options.force_enable_assertions and options.assertion_handler: 113 options.class_inputs = action_helpers.parse_gn_list(options.class_inputs) 114 options.class_inputs_filearg = action_helpers.parse_gn_list( 115 options.class_inputs_filearg) 116 options.bootclasspath = action_helpers.parse_gn_list(options.bootclasspath) 117 options.classpath = action_helpers.parse_gn_list(options.classpath) 118 options.dex_inputs = action_helpers.parse_gn_list(options.dex_inputs) 119 options.dex_inputs_filearg = action_helpers.parse_gn_list( 120 options.dex_inputs_filearg) [all …]
|