/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapDecode.java | 71 BitmapFactory.Options opts = new BitmapFactory.Options(); local 74 opts.inJustDecodeBounds = true; 75 bm = BitmapFactory.decodeStream(is, null, opts); 77 // now opts.outWidth and opts.outHeight are the dimension of the 80 opts.inJustDecodeBounds = false; // this will request the bm 81 opts.inSampleSize = 4; // scaled down by 4 82 bm = BitmapFactory.decodeStream(is, null, opts);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/ |
ant.cmd | 57 opts = value('ANT_OPTS',,env) 68 cmd = java opts lcp '-jar' ANT_HOME ||'\lib\ant-launcher.jar' settings args antarg 72 java opts lcp entry settings args antarg
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBitmapFactory.java | 61 public static Bitmap decodeStream(InputStream is, Rect outPadding, BitmapFactory.Options opts) { 62 return create(is.toString().replaceFirst("stream for ", ""), opts); 105 List<String> opts = new ArrayList<String>(); local 107 if (options.inJustDecodeBounds) opts.add("inJustDecodeBounds"); 108 if (options.inSampleSize > 1) opts.add("inSampleSize=" + options.inSampleSize); 110 return Join.join(", ", opts);
|
/external/openfst/src/include/fst/ |
symbol-table.h | 101 const SymbolTableTextOptions &opts = SymbolTableTextOptions()); 104 const SymbolTableReadOptions& opts); 251 const SymbolTableTextOptions &opts = SymbolTableTextOptions()) { 252 SymbolTableImpl* impl = SymbolTableImpl::ReadText(strm, name, opts); 261 const SymbolTableTextOptions &opts = SymbolTableTextOptions()) { 267 return ReadText(strm, filename, opts); 274 const SymbolTableReadOptions& opts) { 275 SymbolTableImpl* impl = SymbolTableImpl::Read(strm, opts); 284 SymbolTableReadOptions opts; local 285 opts.source = source [all...] |
mapped-file.h | 58 // The file name must also be provided in the FstReadOptions as opts.source 61 static MappedFile* Map(istream* s, const FstReadOptions& opts, size_t size);
|
randequivalent.h | 36 // paths (as specified by the RandGenOptions 'opts') in these FSTs. 46 const RandGenOptions<ArcSelector> &opts, 74 RandGen(fst, &path, opts); 128 opts(uniform_selector, path_length); 129 return RandEquivalent(fst1, fst2, num_paths, delta, opts, error);
|
shortest-path.h | 69 // state to each state in 'ifst'. 'opts' is used to specify options 81 ShortestPathOptions<Arc, Queue, ArcFilter> &opts) { 98 Queue *state_queue = opts.state_queue; 99 StateId source = opts.source == kNoStateId ? ifst.Start() : opts.source; 105 if (opts.nshortest != 1) { 111 if (opts.weight_threshold != Weight::Zero() || 112 opts.state_threshold != kNoStateId) { 152 if (opts.first_path) 392 // 'ifst'. 'opts' is used to specify options such as the number o [all...] |
shortest-distance.h | 80 const ShortestDistanceOptions<Arc, Queue, ArcFilter> &opts, 82 : fst_(fst), distance_(distance), state_queue_(opts.state_queue), 83 arc_filter_(opts.arc_filter), delta_(opts.delta), 84 first_path_(opts.first_path), retain_(retain), source_id_(0), 226 // This computes the shortest distance from the 'opts.source' state to 247 const ShortestDistanceOptions<Arc, Queue, ArcFilter> &opts) { 250 sd_state(fst, distance, opts, false); 251 sd_state.ShortestDistance(opts.source); 292 opts(&state_queue, arc_filter) [all...] |
determinize.h | 337 explicit DeterminizeFstOptions(const CacheOptions &opts, 341 : CacheOptions(opts), delta(del), subsequential_label(lab), 375 const DeterminizeFstOptions<A, D, F, T> &opts) 376 : CacheImpl<A>(opts), fst_(fst.Copy()) { 380 opts.subsequential_label != 0); 474 const DeterminizeFstOptions<A, D, F, T> &opts) 475 : DeterminizeFstImplBase<A>(fst, opts), 476 delta_(opts.delta), 479 filter_(opts.filter ? opts.filter : new F()) 812 DeterminizeFstOptions<A, D, F, T> opts; local [all...] |
const-fst.h | 90 static ConstFstImpl<A, U> *Read(istream &strm, const FstReadOptions &opts); 205 const FstReadOptions &opts) { 208 if (!impl->ReadHeader(strm, opts, kMinFileVersion, &hdr)) { 221 LOG(ERROR) << "ConstFst::Read: Alignment failed: " << opts.source; 227 impl->states_region_ = MappedFile::Map(&strm, opts, b); 229 LOG(ERROR) << "ConstFst::Read: Read failed: " << opts.source; 236 LOG(ERROR) << "ConstFst::Read: Alignment failed: " << opts.source; 242 impl->arcs_region_ = MappedFile::Map(&strm, opts, b); 244 LOG(ERROR) << "ConstFst::Read: Read failed: " << opts.source; 282 static ConstFst<A, U> *Read(istream &strm, const FstReadOptions &opts) { [all...] |
edit-fst.h | 95 const FstReadOptions &opts); 97 bool Write(ostream &strm, const FstWriteOptions &opts) const { 99 FstWriteOptions edits_opts(opts); 106 LOG(ERROR) << "EditFstData::Write: write failed: " << opts.source; 337 const FstReadOptions &opts) { 341 FstReadOptions edits_opts(opts); 362 LOG(ERROR) << "EditFst::Read: read failed: " << opts.source; 481 const FstReadOptions &opts); 483 bool Write(ostream &strm, const FstWriteOptions &opts) const { 487 FstWriteOptions header_opts(opts); [all...] |
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/ |
browser_harness.rb | 353 optparse = OptionParser.new do |opts| 354 opts.banner = "Usage: browser_harness.rb [options] -- <browser path> <browser options>" 355 opts.on( '-t', '--test NUM', 'Test to start at' ) { |test_num| options[:test_num] = test_num.to_i } 356 opts.on( '-p', '--port NUM', 'Listen on TCP port NUM (random)' ) { |port| options[:port] = port.to_i } 357 opts.on( '-c', '--config PATH', 'Use PATH for configuration file' ) { |path| options[:config_path] = path } 358 opts.on( '-d', '--testdir PATH', 'Use PATH to save testcases (/tmp)' ) { |path| options[:test_dir] = path } 359 opts.on( '-l', '--logdir PATH', 'Use PATH to save logs (/tmp)' ) { |path| options[:log_dir] = path } 360 opts.on( '-w', '--watchdog NUM', 'How many seconds to wait for pages to load (45s)' ) { |sec| options[:watchdog_timer] = sec.to_i } 361 opts.on( '-r', '--random', 'Generate test numbers pseudo-randomly' ) { options[:random_mode] = true } 362 opts.on( '-s', '--scan NUM', 'How often to check for new log data (5s)' ) { |sec| options[:scan_timer] (…) [all...] |
/external/e2fsprogs/misc/ |
fsck.h | 44 char *opts; member in struct:fs_info
|
e2initrd_helper.c | 57 char *opts; member in struct:fs_info 235 char *dev, *device, *mntpnt, *type, *opts, *freq, *passno, *cp; local 244 opts = parse_word(&cp); 257 parse_escape(opts); 271 fs->opts = string_copy(opts ? opts : ""); 290 if (fs->opts) 291 fs->opts = 0;
|
/external/emma/core/java12/com/vladium/emma/report/ |
reportCommand.java | 66 final IOptsParser.IOpt [] opts = parsedopts.getOpts (); local 68 if (opts == null) // this means there were args parsing errors 79 for (int o = 0; o < opts.length; ++ o) 81 final IOptsParser.IOpt opt = opts [o]; 105 // process prefixed opts:
|
/external/llvm/utils/ |
findmisopt | 67 opts="$outdir/${name}.opt.s" 77 # optimizations that opt -std-compile-opts and gccld run, in the same order. 78 opt_switches=`llvm-as < /dev/null -o - | opt -std-compile-opts -disable-output -debug-pass=Arguments 2>&1 | sed 's/Pass Arguments: //'` 106 llc "$optbc" -o "$opts" -f || exit 107 gcc "$opts" -o "$optprog" $ldflags || exit
|
/external/openfst/src/bin/ |
fstsymbols.cc | 81 fst::SymbolTableTextOptions opts; local 82 opts.allow_negative = FLAGS_allow_negative_labels; 87 fst->SetInputSymbols(SymbolTable::ReadText(FLAGS_isymbols, opts)); 92 fst->SetOutputSymbols(SymbolTable::ReadText(FLAGS_osymbols, opts));
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
difference.h | 67 const DifferenceFstOptions<T> &opts) 70 ComposeFstOptions<T | COMPOSE_FST2_RHO>(opts)) { 130 const DifferenceOptions &opts = DifferenceOptions()) { 134 if (opts.connect)
|
intersect.h | 61 const IntersectFstOptions<T> &opts) 62 : ComposeFst<A>(fst1, fst2, ComposeFstOptions<T>(opts)) { 120 const IntersectOptions &opts = IntersectOptions()) { 124 if (opts.connect)
|
shortest-distance.h | 63 const ShortestDistanceOptions<Arc, Queue, ArcFilter> &opts, 65 : fst_(fst.Copy()), distance_(distance), state_queue_(opts.state_queue), 66 arc_filter_(opts.arc_filter), 67 delta_(opts.delta), retain_(retain) { 183 // This computes the shortest distance from the 'opts.source' state to 202 const ShortestDistanceOptions<Arc, Queue, ArcFilter> &opts) { 205 sd_state(fst, distance, opts, false); 206 sd_state.ShortestDistance(opts.source); 240 opts(&state_queue, arc_filter); 241 ShortestDistance(fst, distance, opts); [all...] |
/external/openfst/src/lib/ |
symbol-table.cc | 44 const SymbolTableTextOptions &opts) { 52 string separator = opts.fst_field_separator + "\n"; 69 (!opts.allow_negative && key < 0) || key == -1) { 161 const SymbolTableReadOptions& opts) { 201 if (IsInRange(opts.string_hash_ranges, key)) { 250 const SymbolTableTextOptions &opts) const { 251 if (opts.fst_field_separator.empty()) { 258 if (iter.Value() < 0 && !opts.allow_negative && !once_only) { 262 line << iter.Symbol() << opts.fst_field_separator[0] << iter.Value()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
dhdu.c | 614 miniopt_t opts; local 618 miniopt_init(&opts, "pktgen", "", FALSE); 620 while ((opt_err = miniopt(&opts, argv)) != -1) { 626 argv += opts.consumed; 628 if (!opts.good_int && opts.opt != 'd') { 629 fprintf(stderr, "invalid integer %s\n", opts.valstr); 634 switch (opts.opt) { 636 pktgen.freq = opts.uval; 639 pktgen.count = opts.uval 955 miniopt_t opts; local [all...] |
/external/clang/utils/analyzer/ |
CmpRuns.py | 143 def loadResults(path, opts, root = "", deleteEmpty=True): 144 return loadResultsFromSingleRun(SingleRunInfo(path, root, opts.verboseLog), 251 def dumpScanBuildResultsDiff(dirA, dirB, opts, deleteEmpty=True): 253 resultsA = loadResults(dirA, opts, opts.rootA, deleteEmpty) 254 resultsB = loadResults(dirB, opts, opts.rootB, deleteEmpty) 257 if opts.verboseLog: 258 auxLog = open(opts.verboseLog, "wb") 313 (opts, args) = parser.parse_args( [all...] |
/external/libsepol/tests/ |
libsepol-tests.c | 85 struct option opts[] = { local 91 while ((i = getopt_long(argc, argv, "vi", opts, NULL)) != -1) {
|
/external/llvm/utils/git/ |
find-rev | 11 (opts, args) = parser.parse_args() 24 p = subprocess.Popen(['git', 'rev-list', opts.branch, '--pretty'],
|