/external/libnl/lib/route/sch/ |
htb.c | 75 struct tc_htb_glob opts; local 77 nla_memcpy(&opts, tb[TCA_HTB_INIT], sizeof(opts)); 78 d->qh_rate2quantum = opts.rate2quantum; 79 d->qh_defcls = opts.defcls; 113 struct tc_htb_opt opts; local 115 nla_memcpy(&opts, tb[TCA_HTB_PARMS], sizeof(opts)); 116 d->ch_prio = opts.prio; 117 rtnl_copy_ratespec(&d->ch_rate, &opts.rate) 232 struct tc_htb_glob opts; local 270 struct tc_htb_opt opts; local [all...] |
red.c | 58 struct tc_red_qopt *opts; local 75 opts = nla_data(tb[TCA_RED_PARMS]); 77 red->qr_limit = opts->limit; 78 red->qr_qth_min = opts->qth_min; 79 red->qr_qth_max = opts->qth_max; 80 red->qr_flags = opts->flags; 81 red->qr_wlog = opts->Wlog; 82 red->qr_plog = opts->Plog; 83 red->qr_scell_log = opts->Scell_log; 133 memset(&opts, 0, sizeof(opts)) [all...] |
sfq.c | 58 struct tc_sfq_qopt *opts; local 63 if (qdisc->q_opts->d_size < sizeof(*opts)) 70 opts = (struct tc_sfq_qopt *) qdisc->q_opts->d_data; 72 sfq->qs_quantum = opts->quantum; 73 sfq->qs_perturb = opts->perturb_period; 74 sfq->qs_limit = opts->limit; 75 sfq->qs_divisor = opts->divisor; 76 sfq->qs_flows = opts->flows; 111 struct tc_sfq_qopt opts; local 122 memset(&opts, 0, sizeof(opts)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
getopt.py | 52 """getopt(args, options[, long_options]) -> opts, args 78 opts = [] 88 opts, args = do_longs(opts, args[0][2:], longopts, args[1:]) 90 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 92 return opts, args 95 """getopt(args, options[, long_options]) -> opts, args 109 opts = [] 131 opts, args = do_longs(opts, args[0][2:], longopts, args[1:] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
getopt.py | 52 """getopt(args, options[, long_options]) -> opts, args 78 opts = [] 88 opts, args = do_longs(opts, args[0][2:], longopts, args[1:]) 90 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 92 return opts, args 95 """getopt(args, options[, long_options]) -> opts, args 109 opts = [] 131 opts, args = do_longs(opts, args[0][2:], longopts, args[1:] [all...] |
/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/llvm/utils/lit/lit/ |
main.py | 20 def __init__(self, opts, numTests, progressBar=None): 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( [all...] |
/external/qemu/util/ |
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...] |
/external/qemu/android/qemu-launcher/ |
emulator-qemu.cpp | 175 AndroidOptions opts[1]; local 177 if (android_parse_options(&argc, &argv, opts) < 0) { 233 if (opts->version) { 253 sanitizeOptions(opts); 258 AvdInfo* avd = createAVD(opts, &inAndroidBuild); 284 char* kernelFile = opts->kernel; 337 /* opts->ramdisk is never NULL (see createAVD) here */ 338 if (opts->ramdisk) { 339 reassign_string(&hw->disk_ramdisk_path, opts->ramdisk); 351 if (opts->partition_size) [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/closure_compiler/build/ |
inputs.py | 22 opts = parser.parse_args(args) 25 for file in opts.sources + opts.depends + opts.externs:
|
/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/qemu/include/qapi/ |
opts-visitor.h | 33 OptsVisitor *opts_visitor_new(const QemuOpts *opts);
|
/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...] |
/external/chromium_org/build/win/ |
reorder-imports.py | 50 opts, args = parser.parse_args() 52 if not opts.input or not opts.output: 54 return reorder_imports(opts.input, opts.output, opts.arch)
|
/external/chromium_org/third_party/cython/ |
python_flags.py | 28 opts = parser.parse_args() 35 if opts.libraries: 39 if not opts.gn and sys.platform in ['darwin', 'linux2']: 45 if opts.includes: 47 if opts.library_dirs: 51 if opts.gn:
|
/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/chromium_org/tools/git/ |
mffr.py | 116 opts, args = parser.parse_args() 117 if opts.use_default_glob and opts.user_supplied_globs: 122 from_file = opts.input_filename != "" 127 if not opts.force_unsafe_run: 141 if opts.use_default_glob: 143 elif opts.user_supplied_globs: 144 global_file_globs = opts.user_supplied_globs 148 if opts.input_filename == '': 153 f = open(opts.input_filename [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BitmapFactory_Delegate.java | 52 @Nullable Rect padding, @Nullable Options opts) { 57 if (opts != null) { 58 density = Density.getEnum(opts.inDensity); 59 if (opts.inPremultiplied) { 102 Rect padding, Options opts) { 103 opts.inBitmap = null; 108 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts) { 109 opts.inBitmap = null; 115 int length, Options opts) { 116 opts.inBitmap = null [all...] |