/external/openfst/src/lib/ |
mapped-file.cc | 61 MappedFile* MappedFile::Map(istream* s, const FstReadOptions &opts, 64 if (opts.mode == FstReadOptions::MAP && spos >= 0 && 67 int fd = open(opts.source.c_str(), O_RDONLY); 83 << " from " << opts.source.c_str() << " to addr " << map; 93 if (opts.mode != FstReadOptions::READ) { 95 << opts.source << " could not be honored, reading instead.";
|
/external/webkit/Tools/Scripts/ |
clean-header-guards | 7 OptionParser.new do |opts| 8 opts.banner = "Usage: clean-header-guards [options]" 10 opts.on("--prefix [PREFIX]", "Append a header prefix to all guards") do |prefix|
|
/external/llvm/test/Scripts/ |
macho-dumpx | 64 def dumpmacho(path, opts): 99 dumpLoadCommand(f, i, opts) 106 def dumpLoadCommand(f, i, opts): 116 dumpSegmentLoadCommand(f, opts, False) 118 dumpSymtabCommand(f, opts) 120 dumpDysymtabCommand(f, opts) 122 dumpSegmentLoadCommand(f, opts, True) 136 def dumpSegmentLoadCommand(f, opts, is64Bit): 156 dumpSection(f, i, opts, is64Bit) 159 def dumpSymtabCommand(f, opts) [all...] |
/external/qemu/android/ |
qemulator.c | 22 static double get_default_scale( AndroidOptions* opts ); 48 AndroidOptions* opts = emulator->opts; local 50 if ( !emulator->window && !opts->no_window ) { 52 double scale = get_default_scale(emulator->opts); 102 if (emulator->opts->no_window) 136 AndroidOptions* opts ) 141 emulator->keyboard = skin_keyboard_create(opts->charmap, opts->raw_keys); 145 emulator->opts[0] = opts[0] [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
Animation.java | 98 ActivityOptions opts = ActivityOptions.makeCustomAnimation(Animation.this, 101 startActivity(new Intent(Animation.this, AlertDialogSamples.class), opts.toBundle()); 112 ActivityOptions opts = ActivityOptions.makeCustomAnimation(Animation.this, 115 startActivity(new Intent(Animation.this, AlertDialogSamples.class), opts.toBundle()); 123 ActivityOptions opts = ActivityOptions.makeScaleUpAnimation( 126 startActivity(new Intent(Animation.this, AlertDialogSamples.class), opts.toBundle()); 142 ActivityOptions opts = ActivityOptions.makeThumbnailScaleUpAnimation( 145 startActivity(new Intent(Animation.this, AlertDialogSamples.class), opts.toBundle());
|
/external/qemu/ |
qemu-char.c | 252 static CharDriverState *qemu_chr_open_null(QemuOpts *opts) 574 static CharDriverState *qemu_chr_open_android_modem(QemuOpts* opts) 580 static CharDriverState *qemu_chr_open_android_gps(QemuOpts* opts) 587 static CharDriverState *qemu_chr_open_android_kmsg(QemuOpts* opts) 592 static CharDriverState *qemu_chr_open_android_qemud(QemuOpts* opts) 695 static CharDriverState *qemu_chr_open_file_out(QemuOpts *opts) 699 TFR(fd_out = qemu_open(qemu_opt_get(opts, "path"), 706 static CharDriverState *qemu_chr_open_pipe(QemuOpts *opts) 710 const char *filename = qemu_opt_get(opts, "path"); 734 static CharDriverState *qemu_chr_open_fdpair(QemuOpts* opts) 2395 QemuOpts *opts; local 2649 QemuOpts *opts; local [all...] |
qemu-config.c | 509 QemuOpts *opts; local 523 opts = qemu_opts_find(list, id); 524 if (!opts) { 530 if (qemu_opt_set(opts, arg, str+offset+1) == -1) { 539 QemuOpts *opts; local 548 opts = qemu_opts_create(&qemu_global_opts, NULL, 0); 549 qemu_opt_set(opts, "driver", driver); 550 qemu_opt_set(opts, "property", property); 551 qemu_opt_set(opts, "value", str+offset+1); 568 static int config_write_opts(QemuOpts *opts, void *opaque 601 QemuOpts *opts = NULL; local [all...] |
/external/dropbear/ |
common-runopts.c | 32 runopts opts; /* GLOBAL */ variable
|
/external/e2fsprogs/lib/ext2fs/ |
io_manager.c | 22 errcode_t io_channel_set_options(io_channel channel, const char *opts) 29 if (!opts) 35 options = malloc(strlen(opts)+1); 38 strcpy(options, opts);
|
/external/emma/core/java12/com/vladium/emma/data/ |
mergeCommand.java | 64 final IOptsParser.IOpt [] opts = parsedopts.getOpts (); local 66 if (opts == null) // this means there were args parsing errors 77 for (int o = 0; o < opts.length; ++ o) 79 final IOptsParser.IOpt opt = opts [o]; 99 // process prefixed opts:
|
/external/openfst/src/bin/ |
fstdraw.cc | 80 fst::SymbolTableTextOptions opts; local 81 opts.allow_negative = FLAGS_allow_negative_labels; 84 isyms = SymbolTable::ReadText(FLAGS_isymbols, opts); 89 osyms = SymbolTable::ReadText(FLAGS_osymbols, opts);
|
fstprint.cc | 73 fst::SymbolTableTextOptions opts; local 74 opts.allow_negative = FLAGS_allow_negative_labels; 77 isyms = SymbolTable::ReadText(FLAGS_isymbols, opts); 82 osyms = SymbolTable::ReadText(FLAGS_osymbols, opts);
|
/external/openfst/src/script/ |
prune.cc | 26 void Prune(MutableFstClass *fst, const PruneOptions &opts) { 27 PruneArgs1 args(fst, opts); 34 const PruneOptions &opts) { 35 PruneArgs2 args(ifst, fst, opts);
|
/external/openfst/src/test/ |
fst_test.h | 242 FstWriteOptions opts; local 243 opts.source = aligned; 244 opts.align = true; 245 CHECK(fst.Write(ostr, opts)); 248 FstReadOptions opts; local 249 opts.mode = FstReadOptions::ReadMode("map"); 250 opts.source = aligned; 251 G *gfst = G::Read(istr, opts); 261 FstWriteOptions opts; local 262 opts.source = aligned 267 FstReadOptions opts; local [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
expanded-fst.h | 38 static ExpandedFst<A> *Read(istream &strm, const FstReadOptions &opts) { 39 FstReadOptions ropts(opts); 42 hdr = *opts.header; 44 if (!hdr.Read(strm, opts.source))
|
closure.h | 76 ClosureFstOptions(const RationalFstOptions &opts, ClosureType t) 77 : RationalFstOptions(opts), type(t) {} 106 ClosureFst(const Fst<A> &fst, const ClosureFstOptions &opts) 107 : RationalFst<A>(opts) { 108 Impl()->InitClosure(fst, opts.type);
|
/external/openfst/src/include/fst/ |
difference.h | 40 explicit DifferenceFstOptions(const CacheOptions &opts, 73 const CacheOptions &opts = CacheOptions()) { 91 const DifferenceFstOptions<A, M, F, T> &opts) { 95 ComposeFstOptions<A, R> copts(opts); 97 opts.matcher1); 99 MATCHER_REWRITE_ALWAYS, opts.matcher2); 162 const DifferenceOptions &opts = DifferenceOptions()) { 165 if (opts.filter_type == AUTO_FILTER) { 169 } else if (opts.filter_type == SEQUENCE_FILTER) { 173 } else if (opts.filter_type == ALT_SEQUENCE_FILTER) [all...] |
closure.h | 84 ClosureFstOptions(const RationalFstOptions &opts, ClosureType t) 85 : RationalFstOptions(opts), type(t) {} 114 ClosureFst(const Fst<A> &fst, const ClosureFstOptions &opts) 115 : RationalFst<A>(opts) { 116 GetImpl()->InitClosure(fst, opts.type);
|
fst.h | 206 static Fst<A> *Read(istream &strm, const FstReadOptions &opts) { 207 FstReadOptions ropts(opts); 210 hdr = *opts.header; 212 if (!hdr.Read(strm, opts.source)) 244 virtual bool Write(ostream &strm, const FstWriteOptions &opts) const { 677 // return the header. If opts.header is non-null, skip read-in and 678 // use the option value. If opts.[io]symbols is non-null, read-in 680 bool ReadHeader(istream &strm, const FstReadOptions& opts, 684 // If a opts.header is false, skip writing header. 685 // If opts.[io]symbols is false, skip writing those symbols [all...] |
compact-fst.h | 48 CompactFstOptions(const CacheOptions &opts) : CacheOptions(opts) {} 168 const FstReadOptions &opts, 172 bool Write(ostream &strm, const FstWriteOptions &opts) const; 363 const FstReadOptions &opts, 373 LOG(ERROR) << "CompactFst::Read: Alignment failed: " << opts.source; 378 data->states_region_ = MappedFile::Map(&strm, opts, b); 380 LOG(ERROR) << "CompactFst::Read: Read failed: " << opts.source; 393 LOG(ERROR) << "CompactFst::Read: Alignment failed: " << opts.source; 398 data->compacts_region_ = MappedFile::Map(&strm, opts, b) [all...] |
compose.h | 58 explicit ComposeFstOptions(const CacheOptions &opts, 61 : CacheOptions(opts), matcher1(mat1), matcher2(mat2), 89 explicit ComposeFstImplOptions(const CacheOptions &opts, 92 : CacheOptions(opts), matcher1(mat1), matcher2(mat2), 124 const CacheOptions &opts) 125 : CacheImpl<A>(opts) { 223 const ComposeFstImplOptions<M1, M2, F, T> &opts); 389 const ComposeFstImplOptions<M1, M2, F, T> &opts) 390 : ComposeFstImplBase<Arc>(fst1, fst2, opts), 391 filter_(opts.filter ? opts.filter [all...] |
/external/sepolicy/tools/ |
checkfc.c | 33 struct selinux_opt opts[] = { local 80 opts[1].value = contextFile; 82 sehnd = selabel_open(backend, opts, 2);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
ImageUtils.java | 105 final BitmapFactory.Options opts = new BitmapFactory.Options(); local 112 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize); 114 final Bitmap decodedBitmap = decodeStream(inputStream, null, opts); 153 * @param opts null-ok; Options that control downsampling and whether the 156 * decoded, or, if opts is non-null, if opts requested only the 157 * size be returned (in opts.outWidth and opts.outHeight) 159 public static Bitmap decodeStream(InputStream is, Rect outPadding, BitmapFactory.Options opts) { 179 final Bitmap originalBitmap = BitmapFactory.decodeStream(byteStream, outPadding, opts); 228 final BitmapFactory.Options opts = new BitmapFactory.Options(); local [all...] |
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/ |
webserver.rb | 152 optparse = OptionParser.new do|opts| 153 opts.banner = "Usage: webserver.rb [options]" 154 opts.on( '-p', '--port NUM', 'Listen on TCP port NUM' ) { |port| options[:port] = port } 155 opts.on( '-c', '--config PATH', 'Use PATH for configuration file' ) { |path| options[:config_path] = path } 156 opts.on( '-l', '--log PATH', 'Use PATH for log file' ) { |path| options[:log_path] = path } 157 opts.on( '-h', '--help', 'Display this screen' ) { puts opts; exit }
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/ |
antenv.cmd | 26 opts = '' 35 when abbrev('-opts', param, 4) then mode = 'o' 42 when mode = 'o' then opts = space(opts param, 1) 68 if opts\='' then interpret 'call "' || envset || '"' '"-D ANT_OPTS"' '"' || opts || '"'
|