/external/qemu/hw/ |
msmouse.h | 2 CharDriverState *qemu_chr_open_msmouse(QemuOpts *opts);
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
signalbar.cpp | 36 QStyleOptionProgressBar opts; local 49 opts.minimum = -95; 50 opts.maximum = -35; 51 if (signal < opts.minimum) 52 opts.progress = opts.minimum; 53 else if (signal > opts.maximum) 54 opts.progress = opts.maximum; 56 opts.progress = signal [all...] |
/external/qemu/android/ |
main-common.h | 37 void parse_keyset(const char* keyset, AndroidOptions* opts); 51 AndroidOptions* opts, 61 AndroidOptions* opts); 67 void sanitizeOptions( AndroidOptions* opts ); 71 * opts - Options passed to the main() 77 struct AvdInfo* createAVD(AndroidOptions* opts, int* inAndroidBuild); 83 AndroidOptions* opts ); 89 * opts - Options passed to the main() 94 AndroidOptions* opts, int inAndroidBuild); 99 void handle_ui_options( AndroidOptions* opts ); [all...] |
main.c | 181 AndroidOptions opts[1]; local 188 if ( android_parse_options( &argc, &argv, opts ) < 0 ) { 196 handle_ui_options(opts); 246 if (opts->version) { 266 if (opts->snapshot_list) { 267 if (opts->snapstorage == NULL) { 269 avd = createAVD(opts, &inAndroidBuild); 270 opts->snapstorage = avdInfo_getSnapStoragePath(avd); 271 if (opts->snapstorage != NULL) { 272 D("autoconfig: -snapstorage %s", opts->snapstorage) [all...] |
main-common.c | 138 parse_keyset(const char* keyset, AndroidOptions* opts) 165 p = bufprint(p, end, "%s" PATH_SEP "keysets" PATH_SEP "%s", opts->sysdir, keyset); 341 AndroidOptions* opts, 514 AndroidOptions* opts) 527 if (!opts->no_window) 535 if (!opts->no_window) { 536 SDL_EnableUNICODE(!opts->raw_keys); 558 if ( qemulator_init(qemulator_get(), skinConfig, skinPath, win_x, win_y, opts) < 0 ) { 564 if (opts->onion) { 565 SkinImage* onion = skin_image_find_simple( opts->onion ) [all...] |
/external/openssh/ |
auth-options.c | 95 auth_parse_options(struct passwd *pw, char *opts, char *file, u_long linenum) 103 if (!opts) 106 while (*opts && *opts != ' ' && *opts != '\t') { 108 if (strncasecmp(opts, cp, strlen(cp)) == 0) { 110 opts += strlen(cp); 114 if (strncasecmp(opts, cp, strlen(cp)) == 0) { 117 opts += strlen(cp); 121 if (strncasecmp(opts, cp, strlen(cp)) == 0) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
BitmapFactory.java | 290 * @param opts null-ok; Options that control downsampling and whether the 293 * decoded, or, if opts is non-null, if opts requested only the 294 * size be returned (in opts.outWidth and opts.outHeight) 296 public static Bitmap decodeFile(String pathName, Options opts) { 301 bm = decodeStream(stream, null, opts); 334 InputStream is, Rect pad, Options opts) { 336 if (opts == null) { 337 opts = new Options() [all...] |
/external/qemu/ |
qemu_socket.h | 12 int inet_listen_opts(QemuOpts *opts, int port_offset); 15 int inet_connect_opts(QemuOpts *opts); 17 int inet_dgram_opts(QemuOpts *opts); 20 int unix_listen_opts(QemuOpts *opts); 22 int unix_connect_opts(QemuOpts *opts);
|
qemu-sockets-android.c | 80 int inet_listen_opts(QemuOpts *opts, int port_offset) 92 const char* socket_fd = qemu_opt_get(opts, "socket"); 98 if ((qemu_opt_get(opts, "host") == NULL) || 99 (qemu_opt_get(opts, "port") == NULL)) { 103 pstrcpy(port, sizeof(port), qemu_opt_get(opts, "port")); 104 addr = qemu_opt_get(opts, "host"); 106 to = qemu_opt_get_number(opts, "to", 0); 107 if (qemu_opt_get_bool(opts, "ipv4", 0)) 109 if (qemu_opt_get_bool(opts, "ipv6", 0)) 179 qemu_opt_set(opts, "host", uaddr) 446 QemuOpts *opts; local 474 QemuOpts *opts; local 557 QemuOpts *opts; local 586 QemuOpts *opts; local [all...] |
qemu-option.c | 515 QemuOpts *opts; member in struct:QemuOpt 527 static QemuOpt *qemu_opt_find(QemuOpts *opts, const char *name) 531 QTAILQ_FOREACH_REVERSE(opt, &opts->head, QemuOptHead, next) { 539 const char *qemu_opt_get(QemuOpts *opts, const char *name) 541 QemuOpt *opt = qemu_opt_find(opts, name); 545 int qemu_opt_get_bool(QemuOpts *opts, const char *name, int defval) 547 QemuOpt *opt = qemu_opt_find(opts, name); 555 uint64_t qemu_opt_get_number(QemuOpts *opts, const char *name, uint64_t defval) 557 QemuOpt *opt = qemu_opt_find(opts, name); 565 uint64_t qemu_opt_get_size(QemuOpts *opts, const char *name, uint64_t defval 655 QemuOpts *opts; local 686 QemuOpts *opts = NULL; local 717 QemuOpts *opts, *next_opts; local 732 QemuOpts *opts; local 826 QemuOpts *opts; local 895 QemuOpts *opts; local 965 QemuOpts *opts; local [all...] |
qemu-option.h | 107 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...] |
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/openfst/src/include/fst/script/ |
shortest-path.h | 60 const ShortestPathOptions &opts = args->arg4; local 67 *(opts.weight_threshold.GetWeight<Weight>()); 69 switch (opts.queue_type) { 75 queue, ArcFilter(), opts.nshortest, opts.unique, 76 opts.has_distance, opts.delta, opts.first_path, 77 weight_threshold, opts.state_threshold); 87 queue, ArcFilter(), opts.nshortest, opts.unique [all...] |
randgen.h | 41 const RandGenOptions<RandArcSelection> &opts = args->arg4; local 43 if (opts.arc_selector == UNIFORM_ARC_SELECTOR) { 46 ropts(arc_selector, opts.max_length, 47 opts.npath, opts.weighted); 49 } else if (opts.arc_selector == FAST_LOG_PROB_ARC_SELECTOR) { 52 ropts(arc_selector, opts.max_length, 53 opts.npath, opts.weighted); 58 ropts(arc_selector, opts.max_length [all...] |
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 =
|
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/bluetooth/bluez/tools/ |
parser.y | 45 struct rfcomm_opts *opts; 85 opts = NULL; 92 opts = &rfcomm_opts[$1]; 94 opts = NULL; 105 if (opts) 106 opts->bind = $2; 110 if (opts) 111 bacpy(&opts->bdaddr, $2); 115 if (opts) 116 opts->channel = $2 [all...] |
/external/chromium/build/linux/ |
rewrite_dirs.py | 22 def RewritePath(path, opts): 24 sysroot = opts.sysroot 25 prefix = opts.strip_prefix 34 def RewriteLine(line, opts): 46 args[i] = RewritePath(args[i], opts) 51 args[i] = prefix + RewritePath(args[i][len(prefix):], opts) 60 opts, args = parser.parse_args(argv[1:]) 63 line = RewriteLine(line.strip(), opts)
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BitmapFactory_Delegate.java | 47 /*package*/ static Bitmap finishDecode(Bitmap bm, Rect outPadding, Options opts) { 48 if (bm == null || opts == null) { 52 final int density = opts.inDensity; 58 final int targetDensity = opts.inTargetDensity; 59 if (targetDensity == 0 || density == targetDensity || density == opts.inScreenDensity) { 66 if (opts.inScaled && isNinePatch == false) { 89 Rect padding, Options opts) { 90 return nativeDecodeStream(is, storage, padding, opts, false, 1.f); 95 Rect padding, Options opts, boolean applyScale, float scale) { 101 if (opts != null) [all...] |
/frameworks/base/core/java/android/app/ |
ActivityOptions.java | 154 ActivityOptions opts = new ActivityOptions(); local 155 opts.mPackageName = context.getPackageName(); 156 opts.mAnimationType = ANIM_CUSTOM; 157 opts.mCustomEnterResId = enterResId; 158 opts.mCustomExitResId = exitResId; 159 opts.setListener(handler, listener); 160 return opts; 209 ActivityOptions opts = new ActivityOptions(); local 210 opts.mPackageName = source.getContext().getPackageName(); 211 opts.mAnimationType = ANIM_SCALE_UP 294 ActivityOptions opts = new ActivityOptions(); local [all...] |
/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/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 struct selinux_opt *opts, unsigned nopts); 34 static inline int selabel_is_validate_set(struct selinux_opt *opts, unsigned n) 37 if (opts[n].type == SELABEL_OPT_VALIDATE) 38 return !!opts[n].value; 65 struct selinux_opt *opts, unsigned nopts) 83 rec->validating = selabel_is_validate_set(opts, nopts); 85 if ((*initfuncs[backend])(rec, opts, nopts)) {
|