Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 25 of 645) sorted by relevance

12345678910>>...26

/external/qemu/android/
Dmain.c180 AndroidOptions opts[1]; in main() local
187 if ( android_parse_options( &argc, &argv, opts ) < 0 ) { in main()
195 handle_ui_options(opts); in main()
245 if (opts->version) { in main()
265 if (opts->snapshot_list) { in main()
266 if (opts->snapstorage == NULL) { in main()
268 avd = createAVD(opts, &inAndroidBuild); in main()
269 opts->snapstorage = avdInfo_getSnapStoragePath(avd); in main()
270 if (opts->snapstorage != NULL) { in main()
271 D("autoconfig: -snapstorage %s", opts->snapstorage); in main()
[all …]
Dmain-common.c176 void sanitizeOptions( AndroidOptions* opts ) in sanitizeOptions() argument
182 if (opts->image != NULL) { in sanitizeOptions()
183 if (opts->system != NULL) { in sanitizeOptions()
184 if (opts->sysdir != NULL) { in sanitizeOptions()
192 opts->sysdir = opts->system; in sanitizeOptions()
193 opts->system = opts->image; in sanitizeOptions()
194 opts->image = NULL; in sanitizeOptions()
196 else if (opts->system != NULL && path_is_dir(opts->system)) { in sanitizeOptions()
197 if (opts->sysdir != NULL) { in sanitizeOptions()
206 opts->sysdir = opts->system; in sanitizeOptions()
[all …]
/external/chromium_org/tools/auto_bisect/
Dbuilder.py24 def __init__(self, opts): argument
34 if not opts.build_preference:
35 opts.build_preference = 'msvs'
37 if opts.build_preference == 'msvs':
43 if opts.goma_dir:
44 opts.goma_dir = opts.goma_dir.encode('string_escape')
45 SetBuildSystemDefault(opts.build_preference, opts.use_goma,
46 opts.goma_dir)
48 if not opts.build_preference:
50 opts.build_preference = 'ninja'
[all …]
/external/chromium_org/third_party/skia/gyp/
Dopts.gyp1 # Gyp file for opts projects
20 # For about the same reason, we need to compile the ARM opts files
23 'target_name': 'opts',
33 '../src/opts',
53 '../src/opts/opts_check_x86.cpp',
54 '../src/opts/SkBitmapProcState_opts_SSE2.cpp',
55 '../src/opts/SkBitmapFilter_opts_SSE2.cpp',
56 '../src/opts/SkBlitRow_opts_SSE2.cpp',
57 '../src/opts/SkBlitRect_opts_SSE2.cpp',
58 '../src/opts/SkBlurImage_opts_SSE2.cpp',
[all …]
/external/chromium_org/tools/gn/
Descape_unittest.cc9 EscapeOptions opts; in TEST() local
10 opts.mode = ESCAPE_NINJA; in TEST()
11 std::string result = EscapeString("asdf: \"$\\bar", opts, NULL); in TEST()
16 EscapeOptions opts; in TEST() local
17 opts.mode = ESCAPE_NINJA_COMMAND; in TEST()
18 opts.platform = ESCAPE_PLATFORM_WIN; in TEST()
21 EXPECT_EQ("foo\\bar", EscapeString("foo\\bar", opts, NULL)); in TEST()
25 EXPECT_EQ("\"foo\\$ bar\"", EscapeString("foo\\ bar", opts, &needs_quoting)); in TEST()
30 opts.inhibit_quoting = true; in TEST()
31 EXPECT_EQ("foo\\$ bar", EscapeString("foo\\ bar", opts, &needs_quoting)); in TEST()
[all …]
/external/skia/gyp/
Dopts.gyp1 # Gyp file for opts projects
20 # For about the same reason, we need to compile the ARM opts files
23 'target_name': 'opts',
33 '../src/opts',
51 '../src/opts/opts_check_x86.cpp',
52 '../src/opts/SkBitmapProcState_opts_SSE2.cpp',
53 '../src/opts/SkBitmapFilter_opts_SSE2.cpp',
54 '../src/opts/SkBlitRow_opts_SSE2.cpp',
55 '../src/opts/SkBlitRect_opts_SSE2.cpp',
56 '../src/opts/SkBlurImage_opts_SSE2.cpp',
[all …]
/external/qemu/util/
Dqemu-sockets-android.c80 int inet_listen_opts(QemuOpts *opts, int port_offset) in inet_listen_opts() argument
92 const char* socket_fd = qemu_opt_get(opts, "socket"); in inet_listen_opts()
98 if ((qemu_opt_get(opts, "host") == NULL) || in inet_listen_opts()
99 (qemu_opt_get(opts, "port") == NULL)) { in inet_listen_opts()
103 pstrcpy(port, sizeof(port), qemu_opt_get(opts, "port")); in inet_listen_opts()
104 addr = qemu_opt_get(opts, "host"); in inet_listen_opts()
106 to = qemu_opt_get_number(opts, "to", 0); in inet_listen_opts()
107 if (qemu_opt_get_bool(opts, "ipv4", 0)) in inet_listen_opts()
109 if (qemu_opt_get_bool(opts, "ipv6", 0)) in inet_listen_opts()
179 qemu_opt_set(opts, "host", uaddr); in inet_listen_opts()
[all …]
Dqemu-option.c515 QemuOpts *opts; member
527 static QemuOpt *qemu_opt_find(QemuOpts *opts, const char *name) in qemu_opt_find() argument
531 QTAILQ_FOREACH_REVERSE(opt, &opts->head, QemuOptHead, next) { in qemu_opt_find()
539 const char *qemu_opt_get(QemuOpts *opts, const char *name) in qemu_opt_get() argument
541 QemuOpt *opt = qemu_opt_find(opts, name); in qemu_opt_get()
545 int qemu_opt_get_bool(QemuOpts *opts, const char *name, int defval) in qemu_opt_get_bool() argument
547 QemuOpt *opt = qemu_opt_find(opts, name); in qemu_opt_get_bool()
555 uint64_t qemu_opt_get_number(QemuOpts *opts, const char *name, uint64_t defval) in qemu_opt_get_number() argument
557 QemuOpt *opt = qemu_opt_find(opts, name); in qemu_opt_get_number()
565 uint64_t qemu_opt_get_size(QemuOpts *opts, const char *name, uint64_t defval) in qemu_opt_get_size() argument
[all …]
Dqemu-sockets.c124 int inet_listen_opts(QemuOpts *opts, int port_offset) in inet_listen_opts() argument
139 const char* socket_fd = qemu_opt_get(opts, "socket"); in inet_listen_opts()
145 if ((qemu_opt_get(opts, "host") == NULL) || in inet_listen_opts()
146 (qemu_opt_get(opts, "port") == NULL)) { in inet_listen_opts()
150 pstrcpy(port, sizeof(port), qemu_opt_get(opts, "port")); in inet_listen_opts()
151 addr = qemu_opt_get(opts, "host"); in inet_listen_opts()
153 to = qemu_opt_get_number(opts, "to", 0); in inet_listen_opts()
154 if (qemu_opt_get_bool(opts, "ipv4", 0)) in inet_listen_opts()
156 if (qemu_opt_get_bool(opts, "ipv6", 0)) in inet_listen_opts()
224 qemu_opt_set(opts, "host", uaddr); in inet_listen_opts()
[all …]
/external/openfst/src/include/fst/script/
Dshortest-path.h60 const ShortestPathOptions &opts = args->arg4; in ShortestPath() local
67 *(opts.weight_threshold.GetWeight<Weight>()); in ShortestPath()
69 switch (opts.queue_type) { in ShortestPath()
75 queue, ArcFilter(), opts.nshortest, opts.unique, in ShortestPath()
76 opts.has_distance, opts.delta, opts.first_path, in ShortestPath()
77 weight_threshold, opts.state_threshold); in ShortestPath()
87 queue, ArcFilter(), opts.nshortest, opts.unique, in ShortestPath()
88 opts.has_distance, opts.delta, opts.first_path, in ShortestPath()
89 weight_threshold, opts.state_threshold); in ShortestPath()
99 queue, ArcFilter(), opts.nshortest, opts.unique, in ShortestPath()
[all …]
Drmepsilon.h67 const RmEpsilonOptions &opts) { in RmEpsilonHelper() argument
72 *(opts.weight_threshold.GetWeight<Weight>()); in RmEpsilonHelper()
74 switch (opts.queue_type) { in RmEpsilonHelper()
78 &queue, opts.delta, opts.connect, weight_thresh, in RmEpsilonHelper()
79 opts.state_threshold); in RmEpsilonHelper()
86 &queue, opts.delta, opts.connect, weight_thresh, in RmEpsilonHelper()
87 opts.state_threshold); in RmEpsilonHelper()
94 &queue, opts.delta, opts.connect, weight_thresh, in RmEpsilonHelper()
95 opts.state_threshold); in RmEpsilonHelper()
103 &queue, opts.delta, opts.connect, weight_thresh, in RmEpsilonHelper()
[all …]
Drandgen.h41 const RandGenOptions<RandArcSelection> &opts = args->arg4; in RandGen() local
43 if (opts.arc_selector == UNIFORM_ARC_SELECTOR) { in RandGen()
46 ropts(arc_selector, opts.max_length, in RandGen()
47 opts.npath, opts.weighted); in RandGen()
49 } else if (opts.arc_selector == FAST_LOG_PROB_ARC_SELECTOR) { in RandGen()
52 ropts(arc_selector, opts.max_length, in RandGen()
53 opts.npath, opts.weighted); in RandGen()
58 ropts(arc_selector, opts.max_length, in RandGen()
59 opts.npath, opts.weighted); in RandGen()
67 const RandGenOptions<RandArcSelection> &opts =
/external/qemu/android/qemu-launcher/
Demulator-qemu.cpp175 AndroidOptions opts[1]; in main() local
177 if (android_parse_options(&argc, &argv, opts) < 0) { in main()
233 if (opts->version) { in main()
253 sanitizeOptions(opts); in main()
258 AvdInfo* avd = createAVD(opts, &inAndroidBuild); in main()
284 char* kernelFile = opts->kernel; in main()
338 if (opts->ramdisk) { in main()
339 reassign_string(&hw->disk_ramdisk_path, opts->ramdisk); in main()
351 if (opts->partition_size) { in main()
353 long sizeMB = strtol(opts->partition_size, &end, 0); in main()
[all …]
/external/chromium_org/skia/
Dskia_library_opts.gyp25 # For about the same reason, we need to compile the ARM opts files
38 '../third_party/skia/src/opts',
52 '../third_party/skia/src/opts/SkBitmapFilter_opts_SSE2.cpp',
53 '../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp',
54 '../third_party/skia/src/opts/SkBlitRect_opts_SSE2.cpp',
55 '../third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp',
56 '../third_party/skia/src/opts/SkBlurImage_opts_SSE2.cpp',
57 '../third_party/skia/src/opts/SkMorphology_opts_SSE2.cpp',
58 '../third_party/skia/src/opts/SkTextureCompression_opts_none.cpp',
59 '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp',
[all …]
/external/libnl/lib/route/sch/
Dhtb.c75 struct tc_htb_glob opts; in htb_qdisc_msg_parser() local
77 nla_memcpy(&opts, tb[TCA_HTB_INIT], sizeof(opts)); in htb_qdisc_msg_parser()
78 d->qh_rate2quantum = opts.rate2quantum; in htb_qdisc_msg_parser()
79 d->qh_defcls = opts.defcls; in htb_qdisc_msg_parser()
113 struct tc_htb_opt opts; in htb_class_msg_parser() local
115 nla_memcpy(&opts, tb[TCA_HTB_PARMS], sizeof(opts)); in htb_class_msg_parser()
116 d->ch_prio = opts.prio; in htb_class_msg_parser()
117 rtnl_copy_ratespec(&d->ch_rate, &opts.rate); in htb_class_msg_parser()
118 rtnl_copy_ratespec(&d->ch_ceil, &opts.ceil); in htb_class_msg_parser()
119 d->ch_rbuffer = rtnl_tc_calc_bufsize(opts.buffer, opts.rate.rate); in htb_class_msg_parser()
[all …]
Dred.c58 struct tc_red_qopt *opts; in red_msg_parser() local
75 opts = nla_data(tb[TCA_RED_PARMS]); in red_msg_parser()
77 red->qr_limit = opts->limit; in red_msg_parser()
78 red->qr_qth_min = opts->qth_min; in red_msg_parser()
79 red->qr_qth_max = opts->qth_max; in red_msg_parser()
80 red->qr_flags = opts->flags; in red_msg_parser()
81 red->qr_wlog = opts->Wlog; in red_msg_parser()
82 red->qr_plog = opts->Plog; in red_msg_parser()
83 red->qr_scell_log = opts->Scell_log; in red_msg_parser()
133 memset(&opts, 0, sizeof(opts)); in red_get_opts()
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dbuiltin-record.c66 struct perf_record_opts opts; member
200 struct perf_record_opts *opts = &rec->opts; in perf_record__open() local
203 perf_evlist__config(evlist, opts); in perf_record__open()
215 perf_evsel__open_strerror(pos, &opts->target, in perf_record__open()
229 if (perf_evlist__mmap(evlist, opts->mmap_pages, false) < 0) { in perf_record__open()
235 "(current value: %d)\n", opts->mmap_pages); in perf_record__open()
237 } else if (!is_power_of_2(opts->mmap_pages) && in perf_record__open()
238 (opts->mmap_pages != UINT_MAX)) { in perf_record__open()
274 if (!rec->opts.pipe_output) { in perf_record__exit()
356 struct perf_record_opts *opts = &rec->opts; in __cmd_record() local
[all …]
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dsignalbar.cpp30 QStyleOptionProgressBar opts; in paint() local
43 opts.minimum = -95; in paint()
44 opts.maximum = -35; in paint()
45 if (signal < opts.minimum) in paint()
46 opts.progress = opts.minimum; in paint()
47 else if (signal > opts.maximum) in paint()
48 opts.progress = opts.maximum; in paint()
50 opts.progress = signal; in paint()
52 opts.text = QString::number(signal) + " dBm"; in paint()
53 opts.textVisible = true; in paint()
[all …]
/external/llvm/utils/lit/lit/
Dmain.py20 def __init__(self, opts, numTests, progressBar=None): argument
21 self.opts = opts
30 elif self.opts.quiet:
32 elif self.opts.succinct:
38 if self.opts.incremental:
46 (self.opts.quiet or self.opts.succinct):
58 if test.result.code.isFailure and self.opts.showOutput:
232 (opts, args) = parser.parse_args()
234 if opts.show_version:
241 if opts.numThreads is None:
[all …]
/external/mesa3d/
Dcommon.py77 def AddOptions(opts): argument
86 opts.Add(EnumOption('build', 'build type', 'debug',
88 opts.Add(BoolOption('verbose', 'verbose output', 'no'))
89 opts.Add(EnumOption('machine', 'use machine-specific assembly code', default_machine,
91 opts.Add(EnumOption('platform', 'target platform', host_platform,
93 opts.Add(BoolOption('embedded', 'embedded build', 'no'))
94 opts.Add('toolchain', 'compiler toolchain', default_toolchain)
95 opts.Add(BoolOption('gles', 'EXPERIMENTAL: enable OpenGL ES support', 'no'))
96 opts.Add(BoolOption('llvm', 'use LLVM', default_llvm))
97 opts.Add(BoolOption('openmp', 'EXPERIMENTAL: compile with openmp (swrast)', 'no'))
[all …]
/external/chromium_org/third_party/mesa/src/
Dcommon.py77 def AddOptions(opts): argument
86 opts.Add(EnumOption('build', 'build type', 'debug',
88 opts.Add(BoolOption('verbose', 'verbose output', 'no'))
89 opts.Add(EnumOption('machine', 'use machine-specific assembly code', default_machine,
91 opts.Add(EnumOption('platform', 'target platform', host_platform,
93 opts.Add(BoolOption('embedded', 'embedded build', 'no'))
94 opts.Add('toolchain', 'compiler toolchain', default_toolchain)
95 opts.Add(BoolOption('gles', 'EXPERIMENTAL: enable OpenGL ES support', 'no'))
96 opts.Add(BoolOption('llvm', 'use LLVM', default_llvm))
97 opts.Add(BoolOption('openmp', 'EXPERIMENTAL: compile with openmp (swrast)', 'no'))
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/build/make/
Drtcd.pl13 my %opts = ();
27 \%opts,
34 if (!defined($opts{$opt})) {
47 open CONFIG_FILE, $opts{config} or
48 die "Error opening config file '$opts{config}': $!\n";
201 my $include_guard = uc($opts{sym})."_H_";
225 void $opts{sym}(void);
362 if ($opts{arch} eq 'x86') {
365 } elsif ($opts{arch} eq 'x86_64') {
370 } elsif ($opts{arch} eq 'mips32' || $opts{arch} eq 'mips64') {
[all …]
/external/clang/utils/
DFuzzTest127 if opts.verbose:
132 if opts.log_dir:
133 stdout_log_path = os.path.join(opts.log_dir, '%s.out' % index)
134 stderr_log_path = os.path.join(opts.log_dir, '%s.err' % index)
143 test_result = (exit_code == opts.expected_exit_code or
144 exit_code in opts.extra_exit_codes)
151 if not opts.log_all and test_result:
157 elif not opts.succinct:
162 global opts
268 (opts, args) = parser.parse_args()
[all …]
/external/qemu/include/qemu/
Doption.h107 const char *qemu_opt_get(QemuOpts *opts, const char *name);
108 int qemu_opt_get_bool(QemuOpts *opts, const char *name, int defval);
109 uint64_t qemu_opt_get_number(QemuOpts *opts, const char *name, uint64_t defval);
110 uint64_t qemu_opt_get_size(QemuOpts *opts, const char *name, uint64_t defval);
111 int qemu_opt_set(QemuOpts *opts, const char *name, const char *value);
113 int qemu_opt_foreach(QemuOpts *opts, qemu_opt_loopfunc func, void *opaque,
119 void qemu_opts_loc_restore(QemuOpts *opts);
122 const char *qemu_opts_id(QemuOpts *opts);
123 void qemu_opts_del(QemuOpts *opts);
124 int qemu_opts_validate(QemuOpts *opts, const QemuOptDesc *desc);
[all …]
/external/ppp/pppd/include/net/
Dppp-comp.h203 #define MPPE_OPTS_TO_CI(opts, ci) \ argument
208 if (opts & MPPE_OPT_STATEFUL) \
217 if (opts & MPPE_OPT_128) \
219 if (opts & MPPE_OPT_40) \
225 #define MPPE_CI_TO_OPTS(ci, opts) \ argument
229 opts = 0; \
233 opts |= MPPE_OPT_STATEFUL; \
237 opts |= MPPE_OPT_128; \
239 opts |= MPPE_OPT_40; \
243 opts |= MPPE_OPT_56; \
[all …]

12345678910>>...26