| /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. */ 46 val options = utf8Options( in realisticOptionsTrie() constant 76 options.trieString(), in realisticOptionsTrie() 149 assertSelect("", -1, options) in realisticOptionsTrie() 150 assertSelect("a", -1, options) in realisticOptionsTrie() 151 assertSelect("eventListenerFactor", -1, options) in realisticOptionsTrie() 152 assertSelect("dnst", 19, options) in realisticOptionsTrie() 153 assertSelect("proxyproxy", 1, options) in realisticOptionsTrie() 154 assertSelect("prox", -1, options) in realisticOptionsTrie() 156 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/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/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/ImageMagick/scripts/ |
| D | xsnap | 110 # Proc Options creates the options window. 112 proc Options {} { 116 catch {destroy .options} 117 toplevel .options -class Options 118 wm title .options "Set Image Options" 119 wm group .options . 120 wm transient .options . 121 wm geometry .options \ 124 # Create options window frame. 126 frame .options.input_title [all …]
|
| /external/cronet/components/cronet/android/api/src/android/net/http/ |
| D | ExperimentalOptionsTranslatingHttpEngineBuilder.java | 27 * An implementation of IHttpEngineBuilder which handles translation of configuration options to 28 * json-based experimental options, if necessary. 47 public IHttpEngineBuilder 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() 60 if (!options.getAllowedQuicHosts().isEmpty()) { in setQuicOptions() 61 quicOptions.put("host_whitelist", String.join(",", options.getAllowedQuicHosts())); in setQuicOptions() 63 if (!options.getEnabledQuicVersions().isEmpty()) { in setQuicOptions() 64 quicOptions.put("quic_version", String.join(",", options.getEnabledQuicVersions())); in setQuicOptions() 66 if (!options.getConnectionOptions().isEmpty()) { in setQuicOptions() [all …]
|
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
| D | DumperOptionsTest.java | 33 DumperOptions options = new DumperOptions(); in testDefaultStyle() local 34 Yaml yaml = new Yaml(options); in testDefaultStyle() 39 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testDefaultStyle() 40 yaml = new Yaml(options); in testDefaultStyle() 43 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.SINGLE_QUOTED); in testDefaultStyle() 44 yaml = new Yaml(options); in testDefaultStyle() 47 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.PLAIN); in testDefaultStyle() 48 yaml = new Yaml(options); in testDefaultStyle() 53 options.setDefaultScalarStyle(null); in testDefaultStyle() 68 DumperOptions options = new DumperOptions(); in testDefaultFlowStyle() local [all …]
|
| /external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/ |
| D | ShadowNativeBitmapFactoryTest.java | 36 import android.graphics.BitmapFactory.Options; 87 private BitmapFactory.Options opt1; 89 private BitmapFactory.Options opt2; 99 opt1 = new BitmapFactory.Options(); in setup() 101 opt2 = new BitmapFactory.Options(); in setup() 197 BitmapFactory.Options options = new BitmapFactory.Options(); in testDecodeStream5() local 198 options.inPreferredConfig = ARGB_8888; in testDecodeStream5() 203 Bitmap bPng = BitmapFactory.decodeStream(iStreamPng, null, options); in testDecodeStream5() 211 Bitmap bWebP1 = BitmapFactory.decodeStream(iStreamWebP1, null, options); in testDecodeStream5() 222 Bitmap bWebP2 = BitmapFactory.decodeStream(iStreamWebp2, null, options); in testDecodeStream5() [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/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/angle/build/android/gyp/ |
| D | dex.py | 117 options = parser.parse_args(args) 119 if options.main_dex_rules_path and not options.multi_dex: 122 if options.force_enable_assertions and options.assertion_handler: 126 options.class_inputs = action_helpers.parse_gn_list(options.class_inputs) 127 options.class_inputs_filearg = action_helpers.parse_gn_list( 128 options.class_inputs_filearg) 129 options.bootclasspath = action_helpers.parse_gn_list(options.bootclasspath) 130 options.classpath = action_helpers.parse_gn_list(options.classpath) 131 options.dex_inputs = action_helpers.parse_gn_list(options.dex_inputs) 132 options.dex_inputs_filearg = action_helpers.parse_gn_list( [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/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/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/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/ImageMagick/Magick++/lib/ |
| D | Options.cpp | 6 // Implementation of Options 20 #include "Magick++/Options.h" 27 Magick::Options::Options(void) in Options() function in Magick::Options 45 Magick::Options::Options(const Options& options_) in Options() function in Magick::Options 53 Magick::Options::~Options() in ~Options() 65 void Magick::Options::adjoin(const bool flag_) in adjoin() 71 bool Magick::Options::adjoin(void) const in adjoin() 76 void Magick::Options::matteColor(const Color &matteColor_) in matteColor() 81 Magick::Color Magick::Options::matteColor(void) const in matteColor() 86 void Magick::Options::backgroundColor(const Color &color_) in backgroundColor() [all …]
|
| /external/tensorflow/tensorflow/python/profiler/ |
| D | model_analyzer.py | 37 # The following options are for 'advise' cmd. 55 def _build_options(options): argument 59 options: A dictionary of options. 65 opts.max_depth = options.get('max_depth', 10) 66 opts.min_bytes = options.get('min_bytes', 0) 67 opts.min_peak_bytes = options.get('min_peak_bytes', 0) 68 opts.min_residual_bytes = options.get('min_residual_bytes', 0) 69 opts.min_output_bytes = options.get('min_output_bytes', 0) 70 opts.min_micros = options.get('min_micros', 0) 71 opts.min_accelerator_micros = options.get('min_accelerator_micros', 0) [all …]
|
| /external/igt-gpu-tools/tests/i915/ |
| D | gem_stress.c | 120 struct option_struct options = { variable 158 *x = (tile*options.tile_size) % (buf->stride/sizeof(uint32_t)); in tile2xy() 159 *y = ((tile*options.tile_size) / (buf->stride/sizeof(uint32_t))) * options.tile_size; in tile2xy() 233 for (i = 0; i < options.tile_size; i++) { in cpucpy2d() 234 for (j = 0; j < options.tile_size; j++) { in cpucpy2d() 237 unsigned expect = logical_tile_no*options.tile_size*options.tile_size in cpucpy2d() 238 + i*options.tile_size + j; in cpucpy2d() 241 …t tile %i pos %i, read %i, expected %i, diff %i\n", logical_tile_no, i * options.tile_size + j, tm… in cpucpy2d() 242 igt_fail_on(options.trace_tile >= 0 && options.fail); in cpucpy2d() 249 igt_fail_on(failed && options.fail); in cpucpy2d() [all …]
|
| /external/cronet/build/android/gyp/ |
| D | dex.py | 144 options = parser.parse_args(args) 146 if options.main_dex_rules_path and not options.multi_dex: 149 if options.force_enable_assertions and options.assertion_handler: 153 options.class_inputs = action_helpers.parse_gn_list(options.class_inputs) 154 options.class_inputs_filearg = action_helpers.parse_gn_list( 155 options.class_inputs_filearg) 156 options.bootclasspath = action_helpers.parse_gn_list(options.bootclasspath) 157 options.classpath = action_helpers.parse_gn_list(options.classpath) 158 options.dex_inputs = action_helpers.parse_gn_list(options.dex_inputs) 159 options.dex_inputs_filearg = action_helpers.parse_gn_list( [all …]
|
| /external/rust/crates/textwrap/src/ |
| D | lib.rs | 29 //! use textwrap::{wrap, Options, WordSplitter}; 33 //! let options = Options::new(18).word_splitter(WordSplitter::Hyphenation(dictionary)); 34 //! assert_eq!(wrap(text, &options), 182 //! [`Options::with_termwidth`] constructor for details. 231 /// Holds configuration options for wrapping and filling text. 234 pub struct Options<'a> { struct 240 /// [`Options::initial_indent`] method. argument 243 /// [`Options::subsequent_indent`] method. argument 247 /// `self.width`. See the [`Options::break_words`] method. argument 262 impl<'a> From<&'a Options<'a>> for Options<'a> { argument [all …]
|