HomeSort by relevance Sort by last modified time
    Searched refs:opts (Results 26 - 50 of 735) sorted by null

12 3 4 5 6 7 8 91011>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_getopt.py 47 opts, args = getopt.do_shorts([], 'a', 'a', [])
48 self.assertEqual(opts, [('-a', '')])
51 opts, args = getopt.do_shorts([], 'a1', 'a:', [])
52 self.assertEqual(opts, [('-a', '1')])
55 #opts, args = getopt.do_shorts([], 'a=1', 'a:', [])
56 #self.assertEqual(opts, [('-a', '1')])
59 opts, args = getopt.do_shorts([], 'a', 'a:', ['1'])
60 self.assertEqual(opts, [('-a', '1')])
63 opts, args = getopt.do_shorts([], 'a', 'a:', ['1', '2'])
64 self.assertEqual(opts, [('-a', '1')]
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_getopt.py 47 opts, args = getopt.do_shorts([], 'a', 'a', [])
48 self.assertEqual(opts, [('-a', '')])
51 opts, args = getopt.do_shorts([], 'a1', 'a:', [])
52 self.assertEqual(opts, [('-a', '1')])
55 #opts, args = getopt.do_shorts([], 'a=1', 'a:', [])
56 #self.assertEqual(opts, [('-a', '1')])
59 opts, args = getopt.do_shorts([], 'a', 'a:', ['1'])
60 self.assertEqual(opts, [('-a', '1')])
63 opts, args = getopt.do_shorts([], 'a', 'a:', ['1', '2'])
64 self.assertEqual(opts, [('-a', '1')]
    [all...]
  /external/qemu/android/
main-common.c 139 parse_keyset(const char* keyset, AndroidOptions* opts)
166 p = bufprint(p, end, "%s" PATH_SEP "keysets" PATH_SEP "%s", opts->sysdir, keyset);
551 AndroidOptions* opts,
610 if (opts->dynamic_skin) {
734 AndroidOptions* opts)
747 if (!opts->no_window)
755 if (!opts->no_window) {
756 SDL_EnableUNICODE(!opts->raw_keys);
778 if ( qemulator_init(qemulator_get(), skinConfig, skinPath, win_x, win_y, opts) < 0 ) {
784 if (opts->onion)
    [all...]
  /external/chromium_org/tools/
prepare-bisect-perf-regression.py 52 (opts, args) = parser.parse_args()
54 if not opts.working_directory:
60 return bisect_utils.CreateBisectDirectoryAndSetupDepot(opts)
  /external/qemu/
qemu-sockets.c 124 int inet_listen_opts(QemuOpts *opts, int port_offset)
139 const char* socket_fd = qemu_opt_get(opts, "socket");
145 if ((qemu_opt_get(opts, "host") == NULL) ||
146 (qemu_opt_get(opts, "port") == NULL)) {
150 pstrcpy(port, sizeof(port), qemu_opt_get(opts, "port"));
151 addr = qemu_opt_get(opts, "host");
153 to = qemu_opt_get_number(opts, "to", 0);
154 if (qemu_opt_get_bool(opts, "ipv4", 0))
156 if (qemu_opt_get_bool(opts, "ipv6", 0))
224 qemu_opt_set(opts, "host", uaddr)
501 QemuOpts *opts; local
529 QemuOpts *opts; local
624 QemuOpts *opts; local
653 QemuOpts *opts; local
    [all...]
blockdev.c 47 QemuOpts *opts; local
53 opts = qemu_opts_parse(qemu_find_opts("drive"), optstr, 0);
54 if (!opts) {
58 qemu_opt_set(opts, "file", file);
59 return opts;
111 qemu_opts_del(dinfo->opts);
134 DriveInfo *drive_init(QemuOpts *opts, int default_to_scsi, int *fatal_error)
172 bus_id = qemu_opt_get_number(opts, "bus", 0);
173 unit_id = qemu_opt_get_number(opts, "unit", -1);
174 index = qemu_opt_get_number(opts, "index", -1)
    [all...]
  /external/openfst/src/include/fst/script/
rmepsilon.h 67 const RmEpsilonOptions &opts) {
72 *(opts.weight_threshold.GetWeight<Weight>());
74 switch (opts.queue_type) {
78 &queue, opts.delta, opts.connect, weight_thresh,
79 opts.state_threshold);
86 &queue, opts.delta, opts.connect, weight_thresh,
87 opts.state_threshold);
94 &queue, opts.delta, opts.connect, weight_thresh
172 const RmEpsilonOptions &opts = args->arg3; local
    [all...]
prune.h 50 // If the original opts.distance is not NULL, a new distance will be
55 const PruneOptions &opts) {
59 Weight weight_threshold = *(opts.weight_threshold.GetWeight<Weight>());
60 StateId state_threshold = opts.state_threshold;
63 if (opts.distance) {
64 distance = new vector<Weight>(opts.distance->size());
65 for (unsigned i = 0; i < opts.distance->size(); ++i) {
66 (*distance)[i] = *((*opts.distance)[i].GetWeight<Weight>());
72 opts.delta);
85 fst::PruneOptions<Arc, AnyArcFilter<Arc> > opts local
100 fst::PruneOptions<Arc, AnyArcFilter<Arc> > opts = local
    [all...]
determinize.h 49 const DeterminizeOptions &opts = args->arg3; local
52 detargs.delta = opts.delta;
54 *(opts.weight_threshold.GetWeight<typename Arc::Weight>());
55 detargs.state_threshold = opts.state_threshold;
56 detargs.subsequential_label = opts.subsequential_label;
62 const DeterminizeOptions &opts =
disambiguate.h 49 const DisambiguateOptions &opts = args->arg3; local
52 detargs.delta = opts.delta;
54 *(opts.weight_threshold.GetWeight<typename Arc::Weight>());
55 detargs.state_threshold = opts.state_threshold;
56 detargs.subsequential_label = opts.subsequential_label;
62 const DisambiguateOptions &opts =
randequivalent.h 56 const RandGenOptions<RandArcSelection> &opts = args->args.arg6; local
59 if (opts.arc_selector == UNIFORM_ARC_SELECTOR) {
62 ropts(arc_selector, opts.max_length, opts.npath);
66 } else if (opts.arc_selector == FAST_LOG_PROB_ARC_SELECTOR) {
69 ropts(arc_selector, opts.max_length, opts.npath);
76 ropts(arc_selector, opts.max_length, opts.npath);
98 fst::script::RandArcSelection> &opts);
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
mbo_getopt.h 19 int mbo_getopt(int argc, char* const *argv, const mbo_opt_struct opts[], char **optarg, int *optind, int show_err);
mbo_getopt.c 44 int mbo_getopt(int argc, char* const *argv, const mbo_opt_struct opts[], char **optarg, int *optind, int show_err)
84 if (opts[opts_idx].opt_char == '-')
89 else if (opts[opts_idx].opt_name && !strcmp(&argv[*optind][2], opts[opts_idx].opt_name))
97 arg_start = 2 + strlen(opts[opts_idx].opt_name);
120 if (opts[opts_idx].opt_char == '-')
137 else if (argv[*optind][optchr] == opts[opts_idx].opt_char)
144 if (opts[opts_idx].need_param)
167 return opts[opts_idx].opt_char;
188 return opts[opts_idx].opt_char
    [all...]
  /external/harfbuzz_ng/contrib/python/
setup.py 13 (opts, args) = parser.parse_args()
18 """ % opts.build)
29 Extension("harfbuzz", ["lib/harfbuzz.pyx"], libraries=["harfbuzz"], library_dirs=["../../%s/src/.libs" % opts.build], include_dirs=["/usr/include/freetype2", "../../src", "../../%s/src" % opts.build]),
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
randgen.h 118 const RandGenOptions<ArcSelector> &opts) {
121 if (opts.npath == 0 || opts.max_length == 0 || ifst.Start() == kNoStateId)
124 if (opts.source == kNoStateId) { // first call
129 RandGenOptions<ArcSelector> nopts(opts);
135 if (ifst.NumArcs(opts.source) == 0 &&
136 ifst.Final(opts.source) == Weight::Zero()) // Non-coaccessible
139 size_t n = opts.arc_selector(ifst, opts.source);
140 if (n == ifst.NumArcs(opts.source)) { // Take 'super-final' transitio
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
BitmapUtil.java 46 final BitmapFactory.Options opts = new BitmapFactory.Options(); local
47 opts.inJustDecodeBounds = true;
48 BitmapFactory.decodeByteArray(src, 0, src.length, opts);
49 if (opts.mCancel || opts.outWidth == -1 || opts.outHeight == -1) {
52 opts.inSampleSize = Math.min(opts.outWidth / w, opts.outHeight / h);
53 opts.inJustDecodeBounds = false
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/p2p/base/
packetsocketfactory.h 52 int opts) = 0;
58 const ProxyInfo& proxy_info, const std::string& user_agent, int opts) = 0;
  /external/ppp/pppd/include/net/
ppp-comp.h 178 /* unsupported opts */
202 /* Build a CI from mppe opts (see RFC 3078) */
203 #define MPPE_OPTS_TO_CI(opts, ci) \
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) \
229 opts = 0; \
233 opts |= MPPE_OPT_STATEFUL; \
237 opts |= MPPE_OPT_128;
    [all...]
  /external/libselinux/src/
label.c 20 const struct selinux_opt *opts,
35 static inline int selabel_is_validate_set(const struct selinux_opt *opts,
39 if (opts[n].type == SELABEL_OPT_VALIDATE)
40 return !!opts[n].value;
67 const struct selinux_opt *opts,
86 rec->validating = selabel_is_validate_set(opts, nopts);
88 if ((*initfuncs[backend])(rec, opts, nopts)) {
label_internal.h 20 int selabel_file_init(struct selabel_handle *rec, const struct selinux_opt *opts,
22 int selabel_media_init(struct selabel_handle *rec, const struct selinux_opt *opts,
24 int selabel_x_init(struct selabel_handle *rec, const struct selinux_opt *opts,
27 const struct selinux_opt *opts, unsigned nopts) hidden;
29 const struct selinux_opt *opts, unsigned nopts) hidden;
  /external/harfbuzz_ng/contrib/python/scripts/
hbtestfont 21 (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 if opts.lang else ""
    [all...]
  /external/llvm/utils/Misc/
zkill 92 if opts.debug:
112 if opts.debug:
138 global opts
202 (opts, args) = parser.parse_args()
204 if opts.listSignals:
213 signal = kSignals[opts.signalName]
215 if opts.verbose:
237 if opts.execName is not None:
239 if re_full_match(opts.execName,
241 if opts.execPath is not None
    [all...]
  /external/openfst/src/include/fst/
intersect.h 39 explicit IntersectFstOptions(const CacheOptions &opts,
42 : ComposeFstOptions<A, M, F, T>(opts, mat1, mat2, filt, sttable) { }
71 const CacheOptions opts = CacheOptions()) {
74 SetImpl(CreateBase(fst1, fst2, opts));
83 const IntersectFstOptions<A, M, F, T> &opts) {
86 SetImpl(CreateBase1(fst1, fst2, opts));
145 const IntersectOptions &opts = IntersectOptions()) {
148 if (opts.filter_type == AUTO_FILTER) {
152 } else if (opts.filter_type == SEQUENCE_FILTER) {
156 } else if (opts.filter_type == ALT_SEQUENCE_FILTER)
    [all...]
  /system/core/toolbox/
insmod.c 53 char opts[1024]; local
69 opts[0] = '\0';
72 char *end = opts + sizeof(opts) - 1;
73 char *ptr = opts;
85 ret = init_module(file, size, opts);
  /external/chromium_org/content/renderer/p2p/
ipc_socket_factory.h 36 int opts) OVERRIDE;
42 int opts) OVERRIDE;

Completed in 1236 milliseconds

12 3 4 5 6 7 8 91011>>