Home
last modified time | relevance | path

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

12345678910>>...21

/external/qemu/android/
Dmain.c181 AndroidOptions opts[1]; in main() local
188 if ( android_parse_options( &argc, &argv, opts ) < 0 ) { in main()
196 handle_ui_options(opts); in main()
246 if (opts->version) { in main()
266 if (opts->snapshot_list) { in main()
267 if (opts->snapstorage == NULL) { in main()
269 avd = createAVD(opts, &inAndroidBuild); in main()
270 opts->snapstorage = avdInfo_getSnapStoragePath(avd); in main()
271 if (opts->snapstorage != NULL) { in main()
272 D("autoconfig: -snapstorage %s", opts->snapstorage); in main()
[all …]
Dmain-common.c139 parse_keyset(const char* keyset, AndroidOptions* opts) in parse_keyset() argument
166 p = bufprint(p, end, "%s" PATH_SEP "keysets" PATH_SEP "%s", opts->sysdir, keyset); in parse_keyset()
551 AndroidOptions* opts, in parse_skin_files() argument
610 if (opts->dynamic_skin) { in parse_skin_files()
734 AndroidOptions* opts) in init_sdl_ui() argument
747 if (!opts->no_window) in init_sdl_ui()
755 if (!opts->no_window) { in init_sdl_ui()
756 SDL_EnableUNICODE(!opts->raw_keys); in init_sdl_ui()
778 if ( qemulator_init(qemulator_get(), skinConfig, skinPath, win_x, win_y, opts) < 0 ) { in init_sdl_ui()
784 if (opts->onion) { in init_sdl_ui()
[all …]
Dmain-common.h37 void parse_keyset(const char* keyset, AndroidOptions* opts);
51 AndroidOptions* opts,
61 AndroidOptions* opts);
67 void sanitizeOptions( AndroidOptions* opts );
77 struct AvdInfo* createAVD(AndroidOptions* opts, int* inAndroidBuild);
83 AndroidOptions* opts );
94 AndroidOptions* opts, int inAndroidBuild);
99 void handle_ui_options( AndroidOptions* opts );
104 int attach_ui_to_core( AndroidOptions* opts );
/external/openssh/
Dauth-options.c95 auth_parse_options(struct passwd *pw, char *opts, char *file, u_long linenum) in auth_parse_options() argument
103 if (!opts) in auth_parse_options()
106 while (*opts && *opts != ' ' && *opts != '\t') { in auth_parse_options()
108 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
110 opts += strlen(cp); in auth_parse_options()
114 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
117 opts += strlen(cp); in auth_parse_options()
121 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
124 opts += strlen(cp); in auth_parse_options()
128 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
[all …]
/external/qemu/
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 …]
Dqemu-option.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 …]
Dblockdev.c47 QemuOpts *opts; in drive_add() local
53 opts = qemu_opts_parse(qemu_find_opts("drive"), optstr, 0); in drive_add()
54 if (!opts) { in drive_add()
58 qemu_opt_set(opts, "file", file); in drive_add()
59 return opts; in drive_add()
111 qemu_opts_del(dinfo->opts); in drive_uninit()
134 DriveInfo *drive_init(QemuOpts *opts, int default_to_scsi, int *fatal_error) in drive_init() argument
172 bus_id = qemu_opt_get_number(opts, "bus", 0); in drive_init()
173 unit_id = qemu_opt_get_number(opts, "unit", -1); in drive_init()
174 index = qemu_opt_get_number(opts, "index", -1); in drive_init()
[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 =
Dprune.h55 const PruneOptions &opts) { in ConvertPruneOptions() argument
59 Weight weight_threshold = *(opts.weight_threshold.GetWeight<Weight>()); in ConvertPruneOptions()
60 StateId state_threshold = opts.state_threshold; in ConvertPruneOptions()
63 if (opts.distance) { in ConvertPruneOptions()
64 distance = new vector<Weight>(opts.distance->size()); in ConvertPruneOptions()
65 for (unsigned i = 0; i < opts.distance->size(); ++i) { in ConvertPruneOptions()
66 (*distance)[i] = *((*opts.distance)[i].GetWeight<Weight>()); in ConvertPruneOptions()
72 opts.delta); in ConvertPruneOptions()
85 fst::PruneOptions<Arc, AnyArcFilter<Arc> > opts = in Prune() local
87 Prune(ofst, opts); in Prune()
[all …]
/external/chromium_org/third_party/skia/gyp/
Dopts.gyp19 # For about the same reason, we need to compile the ARM opts files
22 'target_name': 'opts',
31 '../src/opts',
49 '../src/opts/opts_check_SSE2.cpp',
50 '../src/opts/SkBitmapProcState_opts_SSE2.cpp',
51 '../src/opts/SkBitmapFilter_opts_SSE2.cpp',
52 '../src/opts/SkBlitRow_opts_SSE2.cpp',
53 '../src/opts/SkBlitRect_opts_SSE2.cpp',
54 '../src/opts/SkBlurImage_opts_SSE2.cpp',
55 '../src/opts/SkMorphology_opts_SSE2.cpp',
[all …]
/external/skia/gyp/
Dopts.gyp19 # For about the same reason, we need to compile the ARM opts files
22 'target_name': 'opts',
31 '../src/opts',
49 '../src/opts/opts_check_SSE2.cpp',
50 '../src/opts/SkBitmapProcState_opts_SSE2.cpp',
51 '../src/opts/SkBitmapFilter_opts_SSE2.cpp',
52 '../src/opts/SkBlitRow_opts_SSE2.cpp',
53 '../src/opts/SkBlitRect_opts_SSE2.cpp',
54 '../src/opts/SkBlurImage_opts_SSE2.cpp',
55 '../src/opts/SkMorphology_opts_SSE2.cpp',
[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/chromium_org/skia/
Dskia_library_opts.gyp25 # For about the same reason, we need to compile the ARM opts files
36 '../third_party/skia/src/opts',
47 '../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp',
48 '../third_party/skia/src/opts/SkBlitRect_opts_SSE2.cpp',
49 '../third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp',
50 '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp',
51 '../third_party/skia/src/opts/SkXfermode_opts_none.cpp',
52 '../third_party/skia/src/opts/SkBitmapFilter_opts_SSE2.cpp',
53 '../third_party/skia/src/opts/SkMorphology_opts_SSE2.cpp',
54 '../third_party/skia/src/opts/SkBlurImage_opts_SSE2.cpp',
[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/llvm/utils/lit/lit/
Dmain.py20 def __init__(self, opts, numTests, progressBar=None): argument
21 self.opts = opts
30 if self.opts.quiet and not test.result.isFailure:
44 elif self.opts.quiet:
46 elif self.opts.succinct:
55 if self.opts.succinct and not test.result.isFailure:
64 if test.result.isFailure and self.opts.showOutput:
251 (opts, args) = parser.parse_args()
256 if opts.numThreads is None:
262 opts.numThreads = lit.Util.detectCPUs()
[all …]
/external/harfbuzz_ng/contrib/python/scripts/
Dhbtestfont21 (opts, args) = p.parse_args()
23 if opts.font.lower().endswith(".ttf") :
27 fpat += opts.font + ":weight="
28 fpat += "bold" if opts.bold else "medium"
30 fpat += "italic" if opts.italic else "roman"
35 if opts.font.lower().endswith(".ttf") and opts.font != fname :
39 ft = harfbuzz.ft(fname, opts.size)
43 if (opts.lang or opts.script) : buffer.set_scriptlang(opts.script if opts.script else "", opts.lang…
45 if opts.feature :
46 for f in opts.feature :
[all …]
/external/chromium_org/tools/
Dbisect-perf-regression.py412 def __init__(self, opts): argument
419 if not opts.build_preference:
420 opts.build_preference = 'msvs'
422 if opts.build_preference == 'msvs':
427 SetBuildSystemDefault(opts.build_preference)
429 if not opts.build_preference:
431 opts.build_preference = 'ninja'
433 opts.build_preference = 'make'
435 SetBuildSystemDefault(opts.build_preference)
437 if not bisect_utils.SetupPlatformBuildEnvironment(opts):
[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/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 …]
/external/chromium_org/chrome/common/extensions/docs/server2/
Dpreview.py65 (opts, argv) = parser.parse_args()
67 if opts.render:
68 if opts.render.find('#') >= 0:
69 (path, iterations) = opts.render.rsplit('#', 1)
72 path = opts.render
75 if opts.time:
86 if opts.time:
92 print('Starting previewserver on port %s' % opts.port)
96 print(' http://localhost:%s/extensions/' % opts.port)
100 print(' http://localhost:%s/apps/' % opts.port)
[all …]

12345678910>>...21