/external/qemu/hw/ |
msmouse.h | 2 CharDriverState *qemu_chr_open_msmouse(QemuOpts *opts);
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
signalbar.cpp | 30 QStyleOptionProgressBar opts; local 43 opts.minimum = -95; 44 opts.maximum = -35; 45 if (signal < opts.minimum) 46 opts.progress = opts.minimum; 47 else if (signal > opts.maximum) 48 opts.progress = opts.maximum; 50 opts.progress = signal [all...] |
/packages/apps/Gallery2/src/com/android/photos/data/ |
BitmapDecoder.java | 50 BitmapFactory.Options opts = getOptions(); local 55 opts.inJustDecodeBounds = true; 57 BitmapFactory.decodeStream(in, null, opts); 59 opts.inJustDecodeBounds = false; 61 Bitmap reuseBitmap = pool.get(opts.outWidth, opts.outHeight); 62 opts.inBitmap = reuseBitmap; 63 Bitmap decodedBitmap = BitmapFactory.decodeStream(in, null, opts); 73 release(opts); 82 BitmapFactory.Options opts = getOptions() local 105 BitmapFactory.Options opts = sOptions.acquire(); local [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 | 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/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 | 292 * @param opts null-ok; Options that control downsampling and whether the 295 * decoded, or, if opts is non-null, if opts requested only the 296 * size be returned (in opts.outWidth and opts.outHeight) 298 public static Bitmap decodeFile(String pathName, Options opts) { 303 bm = decodeStream(stream, null, opts); 337 InputStream is, Rect pad, Options opts) { 339 if (opts == null) { 340 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 =
|
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 =
|
/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 293 ActivityOptions opts = new ActivityOptions(); local [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...] |
/external/llvm/utils/lit/lit/ |
main.py | 21 def __init__(self, opts, numTests, progressBar=None): 22 self.opts = opts 31 if self.opts.quiet and not test.result.isFailure: 45 elif self.opts.quiet: 47 elif self.opts.succinct: 56 if self.opts.succinct and not test.result.isFailure: 65 if test.result.isFailure and self.opts.showOutput: 240 (opts, args) = parser.parse_args() 245 if opts.numThreads is None [all...] |