/external/llvm/utils/ |
H A D | clang-parse-diagnostics-file | 25 (opts, args) = parser.parse_args() 32 if opts.error: 34 if opts.fatal: 36 if opts.ignored: 38 if opts.note: 40 if opts.warning: 77 if levels[d.get('level')] or opts.all]
|
/external/qemu/distrib/libselinux/src/ |
H A D | label.c | 20 const struct selinux_opt *opts, 35 static inline int selabel_is_validate_set(const struct selinux_opt *opts, argument 39 if (opts[n].type == SELABEL_OPT_VALIDATE) 40 return !!opts[n].value; 67 const struct selinux_opt *opts, 86 rec->validating = selabel_is_validate_set(opts, nopts); 88 if ((*initfuncs[backend])(rec, opts, nopts)) { 66 selabel_open(unsigned int backend, const struct selinux_opt *opts, unsigned nopts) argument
|
/external/chromium_org/third_party/mesa/src/ |
H A D | SConstruct | 33 opts = Variables('config.py') 34 common.AddOptions(opts) 37 options = opts, 44 #opts.Save('config.py', env) 60 Help(opts.GenerateHelpText(env)) 100 options = opts,
|
/external/chromium_org/tools/json_to_struct/ |
H A D | json_to_struct.py | 188 (opts, args) = parser.parse_args() 190 if not opts.schema: 196 if opts.destdir: 197 output_root = os.path.join(os.path.normpath(opts.destdir), shortroot) 201 if opts.destbase: 202 basepath = os.path.normpath(opts.destbase) 206 schema = _Load(opts.schema) 209 head = HEAD % (datetime.now().year, opts.schema, description_filename) 210 _GenerateH(basepath, output_root, head, opts.namespace, schema, description) 211 _GenerateCC(basepath, output_root, head, opts [all...] |
/external/lldb/utils/test/ |
H A D | disasm.py | 163 opts, args = parser.parse_args() 165 gdb_commands = opts.gdb_commands 166 gdb_options = opts.gdb_options 168 if not opts.executable: 171 executable = opts.executable 173 if not opts.function: 176 function = opts.function 178 llvm_mc = opts.llvm_mc if opts.llvm_mc else which('llvm-mc') 185 llvm_mc_options = opts [all...] |
H A D | run-until-faulted.py | 92 opts, args = parser.parse_args() 94 lldb_command = which(opts.lldb_command) 96 if not opts.exe: 99 exe = opts.exe 101 exe_options = opts.exe_options
|
/external/mesa3d/ |
H A D | SConstruct | 33 opts = Variables('config.py') 34 common.AddOptions(opts) 37 options = opts, 44 #opts.Save('config.py', env) 60 Help(opts.GenerateHelpText(env)) 100 options = opts,
|
/external/openfst/src/include/fst/script/ |
H A D | 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...] |
H A D | fst-class.h | 56 virtual bool Write(ostream &ostr, const FstWriteOptions &opts) const = 0; 121 virtual bool Write(ostream &ostr, const FstWriteOptions &opts) const { 122 return impl_->Write(ostr, opts); 153 const FstReadOptions &opts) { 154 if (!opts.header) { 158 const FstHeader &hdr = *opts.header; 161 return ReadTypedFst<MutableFstClass, MutableFst<Arc> >(stream, opts); 163 return ReadTypedFst<FstClass, Fst<Arc> >(stream, opts); 210 virtual bool Write(ostream &ostr, const FstWriteOptions &opts) const { 211 return impl_->Write(ostr, opts); 152 Read(istream &stream, const FstReadOptions &opts) argument 252 ReadTypedFst(istream &stream, const FstReadOptions &opts) argument 293 Read(istream &stream, const FstReadOptions &opts) argument 353 Read(istream &stream, const FstReadOptions &opts) argument [all...] |
/external/clang/utils/ABITest/ |
H A D | ABITestGen.py | 480 (opts, args) = parser.parse_args() 482 if not opts.useRandomSeed: 483 random.seed(opts.seed) 487 if opts.useBuiltins: 489 if opts.useChar: ints.append(('char',1)) 490 if opts.useShort: ints.append(('short',2)) 491 if opts.useInt: ints.append(('int',4)) 493 if opts.useLong: ints.append(('long',4)) 494 if opts.useLongLong: ints.append(('long long',8)) 495 if opts [all...] |
/external/chromium_org/tools/git/ |
H A D | for-all-touched-files.py | 100 opts, args = parser.parse_args() 106 extensions = opts.extensions 107 if opts.cpp_only: 110 ForAllTouchedFiles(opts.branch, extensions, opts.token, args[0])
|
/external/chromium_org/tools/json_schema_compiler/ |
H A D | features_compiler.py | 67 (opts, filenames) = parser.parse_args() 73 result = _GenerateSchema(filenames[0], opts.root, opts.destdir, 74 opts.namespace) 75 if not opts.destdir:
|
/external/chromium_org/third_party/skia/src/images/ |
H A D | SkDecodingImageGenerator.cpp | 213 const SkDecodingImageGenerator::Options& opts) { 222 decoder->setSampleSize(opts.fSampleSize); 223 decoder->setRequireUnpremultipliedColors(opts.fRequireUnpremul); 233 if (opts.fUseRequestedColorType && (opts.fRequestedColorType != info.colorType())) { 234 if (!bitmap.canCopyTo(opts.fRequestedColorType)) { 235 SkASSERT(bitmap.colorType() != opts.fRequestedColorType); 238 info = info.makeColorType(opts.fRequestedColorType); 241 if (opts.fRequireUnpremul && info.alphaType() != kOpaque_SkAlphaType) { 252 opts 210 CreateDecodingImageGenerator( SkData* data, SkStreamRewindable* stream, const SkDecodingImageGenerator::Options& opts) argument 259 Create( SkData* data, const SkDecodingImageGenerator::Options& opts) argument 272 Create( SkStreamRewindable* stream, const SkDecodingImageGenerator::Options& opts) argument [all...] |
/external/skia/src/images/ |
H A D | SkDecodingImageGenerator.cpp | 218 const SkDecodingImageGenerator::Options& opts) { 227 decoder->setSampleSize(opts.fSampleSize); 228 decoder->setRequireUnpremultipliedColors(opts.fRequireUnpremul); 238 if (opts.fUseRequestedColorType && (opts.fRequestedColorType != info.colorType())) { 239 if (!bitmap.canCopyTo(opts.fRequestedColorType)) { 240 SkASSERT(bitmap.colorType() != opts.fRequestedColorType); 243 info.fColorType = opts.fRequestedColorType; 246 if (opts.fRequireUnpremul && info.fAlphaType != kOpaque_SkAlphaType) { 251 opts 215 CreateDecodingImageGenerator( SkData* data, SkStreamRewindable* stream, const SkDecodingImageGenerator::Options& opts) argument 258 Create( SkData* data, const SkDecodingImageGenerator::Options& opts) argument 271 Create( SkStreamRewindable* stream, const SkDecodingImageGenerator::Options& opts) argument [all...] |
/external/openfst/src/include/fst/ |
H A D | prune.h | 93 // the weight of the shortest path Times() 'opts.weight_threshold'. 94 // When 'opts.state_threshold != kNoStateId', the resulting transducer 95 // will restricted further to have at most 'opts.state_threshold' 101 const PruneOptions<Arc, ArcFilter> &opts) { 117 if (!opts.distance) { 119 ShortestDistance(*fst, &tmp, true, opts.delta); 121 const vector<Weight> *fdistance = opts.distance ? opts.distance : &tmp; 123 if ((opts.state_threshold == 0) || 136 Weight limit = Times((*fdistance)[fst->Start()], opts 100 Prune(MutableFst<Arc> *fst, const PruneOptions<Arc, ArcFilter> &opts) argument 217 Prune(const Fst<Arc> &ifst, MutableFst<Arc> *ofst, const PruneOptions<Arc, ArcFilter> &opts) argument [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | fst.h | 149 static Fst<A> *Read(istream &strm, const FstReadOptions &opts) { argument 150 FstReadOptions ropts(opts); 153 hdr = *opts.header; 155 if (!hdr.Read(strm, opts.source)) 182 virtual bool Write(ostream &strm, const FstWriteOptions &opts) const { 456 // If opts.header is non-null, skip read-in and use the option value. 457 // If opts.[io]symbols is non-null, read-in but use the option value. 458 bool ReadHeaderAndSymbols(istream &strm, const FstReadOptions& opts, argument 460 if (opts.header) 461 *hdr = *opts 500 WriteHeaderAndSymbols(ostream &strm, const FstWriteOptions& opts, int version, FstHeader *hdr) const argument [all...] |
/external/iptables/extensions/ |
H A D | libip6t_dst.c | 18 " --dst-opts TYPE[:LEN][,TYPE[:LEN]...]\n" 27 {.name = "dst-opts", .id = O_DSTOPTS, .type = XTTYPE_STRING}, 56 parse_options(const char *optsstr, uint16_t *opts) argument 81 opts[i] = (parse_opts_num(cp, "opt") & 0xFF) << 8; 83 if (opts[i] == 0) 86 opts[i] |= parse_opts_num(range, "length") & 0xFF; 88 opts[i] |= (0x00FF); 91 printf("opts str: %s %s\n", cp, range); 92 printf("opts opt: %04X\n", opts[ [all...] |
H A D | libip6t_hbh.c | 20 " --hbh-opts TYPE[:LEN][,TYPE[:LEN]...] \n" 29 {.name = "hbh-opts", .id = O_HBH_OPTS, .type = XTTYPE_STRING}, 58 parse_options(const char *optsstr, uint16_t *opts) argument 77 opts[i] = (parse_opts_num(cp, "opt") & 0xFF) << 8; 79 if (opts[i] == 0) 81 opts[i] |= parse_opts_num(range, "length") & 0xFF; 83 opts[i] |= (0x00FF); 87 printf("opts str: %s %s\n", cp, range); 88 printf("opts opt: %04X\n", opts[ [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
H A D | 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/libnl/lib/route/sch/ |
H A D | fifo.c | 105 struct tc_fifo_qopt opts; local 116 memset(&opts, 0, sizeof(opts)); 117 opts.limit = fifo->qf_limit; 119 if (nlmsg_append(msg, &opts, sizeof(opts), NL_DONTPAD) < 0)
|
H A D | tbf.c | 70 struct tc_tbf_qopt opts; local 73 nla_memcpy(&opts, tb[TCA_TBF_PARMS], sizeof(opts)); 74 tbf->qt_limit = opts.limit; 75 tbf->qt_mpu = opts.rate.mpu; 77 rtnl_copy_ratespec(&tbf->qt_rate, &opts.rate); 78 tbf->qt_rate_txtime = opts.buffer; 79 bufsize = rtnl_tc_calc_bufsize(nl_ticks2us(opts.buffer), 80 opts.rate.rate); 83 rtnl_copy_ratespec(&tbf->qt_peakrate, &opts 156 struct tc_tbf_qopt opts; local [all...] |
/external/openfst/src/bin/ |
H A D | fstrelabel.cc | 75 SymbolTableTextOptions opts; 76 opts.allow_negative = FLAGS_allow_negative_labels; 81 : SymbolTable::ReadText(FLAGS_isymbols, opts); 84 : SymbolTable::ReadText(FLAGS_relabel_isymbols, opts); 89 : SymbolTable::ReadText(FLAGS_osymbols, opts); 92 : SymbolTable::ReadText(FLAGS_relabel_osymbols, opts);
|
/external/openfst/src/lib/ |
H A D | mapped-file.cc | 61 MappedFile* MappedFile::Map(istream* s, const FstReadOptions &opts, argument 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/chromium_org/tools/ |
H A D | run-bisect-perf-regression.py | 247 opts = _CreateBisectOptionsFromConfig(config) 248 b = bisect_perf_regression.BisectPerformanceMetrics(None, opts) 260 opts.command, opts.metric, reset_on_first_run=True, results_label='Patch') 289 opts.command, opts.metric, upload_on_last_run=True, results_label='ToT') 521 opts, _ = parser.parse_args() 525 if opts.path_to_config: 526 config_path = opts.path_to_config 533 if not opts [all...] |
/external/libvpx/libvpx/build/make/ |
H A D | rtcd.pl | 13 my %opts = (); 27 \%opts, 34 if (!defined($opts{$opt})) { 47 open CONFIG_FILE, $opts{config} or 48 die "Error opening config file '$opts{config}': $!\n"; 201 my $include_guard = uc($opts{sym})."_H_"; 223 void $opts{sym}(void); 357 if ($opts{arch} eq 'x86') { 360 } elsif ($opts{arch} eq 'x86_64') { 365 } elsif ($opts{arc [all...] |