/external/tensorflow/tensorflow/compiler/aot/ |
benchmark_test.cc | 31 Options options; local 32 options.max_iters = 1; 34 Benchmark(options, [&] { add.Run(); }, &stats1); 37 options.max_iters = 5; 39 Benchmark(options, [&] { add.Run(); }, &stats5);
|
/external/tensorflow/tensorflow/core/common_runtime/ |
session_test.cc | 26 SessionOptions options; local 27 options.target = "invalid target"; 29 EXPECT_EQ(nullptr, tensorflow::NewSession(options)); 32 Status s = tensorflow::NewSession(options, &session); 37 "No session factory registered for the given session options")); 46 bool AcceptsOptions(const SessionOptions& options) override { 47 return StringPiece(options.target).starts_with("fake"); 50 Session* NewSession(const SessionOptions& options) override { 64 SessionOptions options; local 65 options.target = "fakesession" [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
svd_op_impl.h | 83 int options = 0; // Don't compute singular vectors; variable 85 options = full_matrices_ ? Eigen::ComputeFullU | Eigen::ComputeFullV 88 Eigen::BDCSVD<Matrix> svd(inputs[0], options);
|
/external/tensorflow/tensorflow/core/lib/io/ |
record_reader_writer_test.cc | 45 io::RecordWriterOptions options; local 46 options.zlib_options.output_buffer_size = buf_size; 47 io::RecordWriter writer(file.get(), options); 57 io::RecordReaderOptions options; local 58 options.zlib_options.input_buffer_size = buf_size; 59 io::RecordReader reader(read_file.get(), options); 81 io::RecordWriterOptions options; local 82 options.compression_type = io::RecordWriterOptions::ZLIB_COMPRESSION; 83 options.zlib_options.output_buffer_size = buf_size; 84 io::RecordWriter writer(file.get(), options); 94 io::RecordReaderOptions options; local [all...] |
/external/valgrind/auxprogs/ |
gen-mdg | 45 # using command-line options. 61 usage: gen-mdg [options] 63 options: label
|
/external/webrtc/webrtc/modules/desktop_capture/ |
mouse_cursor_monitor_unittest.cc | 86 DesktopCaptureOptions options = DesktopCaptureOptions::CreateDefault(); local 90 WindowCapturer::Create(options));
|
/external/zopfli/src/zopfli/ |
lz77.h | 63 const ZopfliOptions* options; member in struct:ZopfliBlockState
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
ActivityOptionsCompat.java | 34 final ActivityOptions options = ActivityOptions.makeBasic(); local 35 options.setLaunchWindowingMode(WINDOWING_MODE_SPLIT_SCREEN_PRIMARY); 36 options.setSplitScreenCreateMode(dockTopLeft 39 return options;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
SafeActivityOptionsTest.java | 42 final SafeActivityOptions options = new SafeActivityOptions(opts1); local 43 final ActivityOptions result = options.mergeActivityOptions(opts1, opts2);
|
ActivityLaunchParamsModifierTests.java | 43 * Tests for exercising resizing bounds due to activity options. 82 null /*activity*/, null /*source*/, null /*options*/, mCurrent, mResult)); 84 // No specified activity options should be ignored 86 mActivity, null /*source*/, null /*options*/, mCurrent, mResult)); 89 final ActivityOptions options = ActivityOptions.makeBasic(); local 91 mActivity, null /*source*/, options /*options*/, mCurrent, mResult)); 97 mActivity, null /*source*/, options /*options*/, mCurrent, mResult)); 104 mActivity, null /*source*/, options /*options*/, mCurrent, mResult)) 135 ActivityOptions options = ActivityOptions.makeBasic(); local [all...] |
/frameworks/base/tools/aapt2/format/binary/ |
XmlFlattener_test.cpp | 59 const XmlFlattenerOptions& options = {}) { 63 XmlFlattener flattener(&buffer, options); 302 XmlFlattenerOptions options; local 303 ASSERT_TRUE(Flatten(doc.get(), &tree, options)); 370 XmlFlattenerOptions options; local 371 ASSERT_TRUE(Flatten(doc.get(), &tree, options)); 452 XmlFlattenerOptions options; local 453 options.keep_raw_values = false; 456 ASSERT_TRUE(Flatten(doc.get(), &tree, options)); 475 XmlFlattenerOptions options; local 496 XmlFlattenerOptions options; local 516 XmlFlattenerOptions options; local [all...] |
/frameworks/base/tools/aapt2/split/ |
TableSplitter_test.cpp | 41 TableSplitterOptions options; local 42 options.preferred_densities.push_back(ConfigDescription::DENSITY_XHIGH); 43 TableSplitter splitter({}, options); 79 TableSplitterOptions options; local 80 options.preferred_densities.push_back(ConfigDescription::DENSITY_LOW); 81 options.preferred_densities.push_back(ConfigDescription::DENSITY_XXXHIGH); 82 TableSplitter splitter({}, options);
|
/toolchain/binutils/binutils-2.27/binutils/ |
objdump.h | 36 /* Return TRUE if these options can be applied to ABFD. */ 40 options whose SELECTED field is set. */ 43 /* List of options. Terminated by a NULL name. */ 44 struct objdump_private_option *options; member in struct:objdump_private_desc
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zfile/ |
ApkZFileCreatorFactory.java | 30 * Options for the {@link ZFileOptions} to use in all APKs. 33 private final ZFileOptions options; field in class:ApkZFileCreatorFactory 38 * @param options the options to use for all instances created 40 public ApkZFileCreatorFactory(@Nonnull ZFileOptions options) { 41 this.options = options; 49 return new ApkZFileCreator(creationData, options);
|
/external/guava/guava-tests/test/com/google/common/io/ |
TestInputStream.java | 37 private final ImmutableSet<TestOption> options; field in class:TestInputStream 40 public TestInputStream(InputStream in, TestOption... options) throws IOException { 41 this(in, Arrays.asList(options)); 44 public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException { 46 this.options = ImmutableSet.copyOf(options); 78 return options.contains(TestOption.AVAILABLE_ALWAYS_ZERO) ? 0 : in.available(); 89 throwIf(options.contains(option));
|
TestOutputStream.java | 36 private final ImmutableSet<TestOption> options; field in class:TestOutputStream 39 public TestOutputStream(OutputStream out, TestOption... options) throws IOException { 40 this(out, Arrays.asList(options)); 43 public TestOutputStream(OutputStream out, Iterable<TestOption> options) throws IOException { 45 this.options = ImmutableSet.copyOf(options); 75 throwIf(options.contains(option));
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/ |
AgentOptionsTest.java | 39 AgentOptions options = new AgentOptions(); local 40 assertEquals(AgentOptions.DEFAULT_DESTFILE, options.getDestfile()); 41 assertTrue(options.getAppend()); 42 assertEquals("*", options.getIncludes()); 43 assertEquals("", options.getExcludes()); 45 options.getExclClassloader()); 46 assertFalse(options.getInclBootstrapClasses()); 47 assertFalse(options.getInclNoLocationClasses()); 48 assertNull(options.getSessionId()); 49 assertTrue(options.getDumpOnExit()) 64 AgentOptions options = new AgentOptions(""); local 70 AgentOptions options = new AgentOptions((String) null); local 92 AgentOptions options = new AgentOptions(properties); local 112 AgentOptions options = new AgentOptions(new Properties()); local 118 AgentOptions options = new AgentOptions("destfile=\/var\/test.exec"); local 124 AgentOptions options = new AgentOptions(); local 132 AgentOptions options = new AgentOptions("append=true"); local 138 AgentOptions options = new AgentOptions("append=false"); local 144 AgentOptions options = new AgentOptions(); local 152 AgentOptions options = new AgentOptions(); local 160 AgentOptions options = new AgentOptions( local 167 AgentOptions options = new AgentOptions(); local 176 AgentOptions options = new AgentOptions("includes=org.*:com.*"); local 182 AgentOptions options = new AgentOptions(); local 190 AgentOptions options = new AgentOptions("excludes=*Test"); local 196 AgentOptions options = new AgentOptions(); local 204 AgentOptions options = new AgentOptions("inclbootstrapclasses=true"); local 210 AgentOptions options = new AgentOptions("inclbootstrapclasses=false"); local 216 AgentOptions options = new AgentOptions(); local 224 AgentOptions options = new AgentOptions(); local 232 AgentOptions options = new AgentOptions("inclnolocationclasses=true"); local 238 AgentOptions options = new AgentOptions("inclnolocationclasses=false"); local 244 AgentOptions options = new AgentOptions(); local 252 AgentOptions options = new AgentOptions(); local 260 AgentOptions options = new AgentOptions("sessionid=testsession"); local 266 AgentOptions options = new AgentOptions(); local 274 AgentOptions options = new AgentOptions("dumponexit=false"); local 280 AgentOptions options = new AgentOptions(); local 287 AgentOptions options = new AgentOptions("output=tcpserver"); local 293 AgentOptions options = new AgentOptions(); local 300 AgentOptions options = new AgentOptions(); local 312 AgentOptions options = new AgentOptions(); local 318 AgentOptions options = new AgentOptions("port=1234"); local 324 AgentOptions options = new AgentOptions(); local 336 AgentOptions options = new AgentOptions(); local 342 AgentOptions options = new AgentOptions("address=remotehost"); local 348 AgentOptions options = new AgentOptions(); local 355 AgentOptions options = new AgentOptions(); local 378 AgentOptions options = new AgentOptions("classdumpdir=target\/dump"); local 384 AgentOptions options = new AgentOptions(); local 392 AgentOptions options = new AgentOptions("jmx=true"); local 398 AgentOptions options = new AgentOptions(); local 405 AgentOptions options = new AgentOptions(); local 415 AgentOptions options = new AgentOptions(); local 427 AgentOptions options = new AgentOptions(); local 439 AgentOptions options = new AgentOptions(); local 450 AgentOptions options = new AgentOptions(); local 462 AgentOptions options = new AgentOptions(); local 475 AgentOptions options = new AgentOptions( local [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/serializer/ |
AnchorGeneratorTest.java | 46 DumperOptions options = new DumperOptions(); local 47 Yaml yaml2 = new Yaml(options); 48 options.setAnchorGenerator(new Gener(3));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
WorkLockActivityController.java | 68 final ActivityOptions options = ActivityOptions.makeBasic(); local 69 options.setLaunchTaskId(taskId); 70 options.setTaskOverlay(true, false /* canResume */); 72 final int result = startActivityAsUser(intent, options.toBundle(), UserHandle.USER_CURRENT); 90 private int startActivityAsUser(Intent intent, Bundle options, int userId) { 102 options /*options*/,
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
InstrumentSpec.java | 41 private SortedMap<String, String> options; field in class:InstrumentSpec 47 this.options = Maps.newTreeMap(); 52 this.options = Maps.newTreeMap(builder.options); 59 public ImmutableSortedMap<String, String> options() { method in class:InstrumentSpec 60 return ImmutableSortedMap.copyOf(options); 69 && this.options.equals(that.options); 80 .putObject(options, StringMapFunnel.INSTANCE) 93 .add("options", options 99 private final SortedMap<String, String> options = Maps.newTreeMap(); field in class:InstrumentSpec.Builder [all...] |
/external/desugar/java/com/google/devtools/common/options/ |
Options.java | 15 package com.google.devtools.common.options; 17 import com.google.devtools.common.options.OptionsParser.ConstructionException; 22 * Interface for parsing options from a single options specification class. 24 * The {@link Options#parse(Class, String...)} method in this class has no clear 33 * System.err.print("Error parsing options: " + e.getMessage()); 34 * System.err.print(options.getUsage()); 43 * @see OptionsParser for parsing options from multiple options specification classes. 45 public class Options<O extends OptionsBase> 102 private O options; field in class:Options [all...] |
/external/turbine/javatests/com/google/turbine/options/ |
TurbineOptionsTest.java | 17 package com.google.turbine.options; 82 TurbineOptions options = local 85 assertThat(options.outputFile()).isEqualTo("out.jar"); 86 assertThat(options.sourceJars()) 89 assertThat(options.processors()) 92 assertThat(options.processorPath()).containsExactly("libproc1.jar", "libproc2.jar").inOrder(); 93 assertThat(options.classPath()).containsExactly("lib1.jar", "lib2.jar").inOrder(); 94 assertThat(options.bootClassPath()).containsExactly("rt.jar", "zipfs.jar").inOrder(); 95 assertThat(options.javacOpts()).containsExactly("-source", "8", "-target", "8").inOrder(); 96 assertThat(options.sources()).containsExactly("Source1.java", "Source2.java") 122 TurbineOptions options = local 147 TurbineOptions options = local 168 TurbineOptions options = local 188 TurbineOptions options = TurbineOptionsParser.parse(Arrays.asList(lines)); local 207 TurbineOptions options = TurbineOptionsParser.parse(Arrays.asList(lines)); local 223 TurbineOptions options = local [all...] |
/libcore/ojluni/src/main/java/jdk/net/ |
Sockets.java | 41 * Defines static methods to set and get socket options defined by the 42 * {@link java.net.SocketOption} interface. All of the standard options defined 45 * or platform specific options supported by each socket type. 48 * the complete set of options available (per socket type) on the 51 * When a security manager is installed, some non-standard socket options 62 options = new HashMap<>(); field in class:Sockets 156 * options. 329 * given socket type. This set may include standard options and also 330 * non standard extended options. 338 Set<SocketOption<?>> set = options.get(socketType) 346 Set<SocketOption<?>> options = supportedOptions(type); local [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
DeviceSelectionOptionsTest.java | 81 DeviceSelectionOptions options = getDeviceSelectionOptionsWithEnvVar(DEVICE_ENV_SERIAL); local 83 assertEquals(1, options.getSerials(mMockDevice).size()); 84 assertTrue(options.getSerials(mMockDevice).contains(DEVICE_ENV_SERIAL)); 85 assertFalse(options.getSerials(mMockDevice).contains(DEVICE_SERIAL)); 91 DeviceSelectionOptions options = getDeviceSelectionOptionsWithEnvVar(DEVICE_ENV_SERIAL); local 92 options.setNullDeviceRequested(true); 95 assertEquals(0, options.getSerials(device).size()); 96 assertTrue(options.matches(device)); 104 DeviceSelectionOptions options = getDeviceSelectionOptionsWithEnvVar(DEVICE_ENV_SERIAL); local 105 options.addSerial(DEVICE_SERIAL) 119 DeviceSelectionOptions options = getDeviceSelectionOptionsWithEnvVar(null); local [all...] |
/art/dexlayout/ |
dexlayout_main.cc | 77 Options options; local 78 options.dump_ = true; 79 options.verbose_ = true; 90 options.show_annotations_ = true; 93 options.build_dex_ir_ = true; 96 options.checksum_only_ = true; 99 options.disassemble_ = true; 102 options.exports_only_ = true; 105 options.show_file_headers_ = true [all...] |