/external/chromium_org/tools/json_to_struct/ |
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.namespace, schema, description [all...] |
/external/mesa3d/ |
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/clang/utils/ABITest/ |
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.useUnsigned: [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/ |
setup.py | 81 opts = ReadSetup("python-setup.txt") variable 82 incldir, cppflags = ParseCPPFlags(opts["includes"]) 83 sources = ParseSources(opts["sources"], opts["srcdir"].strip()) 85 if opts["gcc"].strip() == "yes":
|
/external/chromium_org/tools/git/ |
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/clang/bindings/python/examples/cindex/ |
cindex-dump.py | 25 if not opts.showIDs: 40 if opts.maxDepth is not None and depth >= opts.maxDepth: 62 global opts 72 (opts, args) = parser.parse_args()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapRegionDecoderTest.java | 165 Options opts = new BitmapFactory.Options(); local 169 opts.inSampleSize = SAMPLESIZES[j]; 170 opts.inPreferredConfig = COLOR_CONFIGS[k]; 175 Bitmap wholeImage = BitmapFactory.decodeStream(is2, null, opts); 178 compareRegionByRegion(decoder, opts, mMseMarginWebPConfigRgb565, 181 compareRegionByRegion(decoder, opts, mMseMargin, wholeImage); 190 Options opts = new BitmapFactory.Options(); local 194 opts.inSampleSize = SAMPLESIZES[j]; 195 opts.inPreferredConfig = COLOR_CONFIGS[k]; 196 opts.inBitmap = null 220 Options opts = new BitmapFactory.Options(); local 246 Options opts = new BitmapFactory.Options(); local 299 BitmapFactory.Options opts = new BitmapFactory.Options(); local [all...] |
/external/clang/include/clang/Rewrite/Core/ |
Rewriter.h | 173 RewriteOptions opts = RewriteOptions()) const; 175 RewriteOptions opts = RewriteOptions()) const; 218 RewriteOptions opts = RewriteOptions()); 222 RewriteOptions opts = RewriteOptions()) { 223 return RemoveText(range.getBegin(), getRangeSize(range, opts), opts); 227 bool RemoveText(SourceRange range, RewriteOptions opts = RewriteOptions()) { 228 return RemoveText(range.getBegin(), getRangeSize(range, opts), opts);
|
/external/iptables/extensions/ |
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) 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[i]) [all...] |
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) 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[i]) [all...] |
/external/openfst/src/include/fst/ |
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.weight_threshold) [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
fst.h | 149 static Fst<A> *Read(istream &strm, const FstReadOptions &opts) { 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, 460 if (opts.header) 461 *hdr = *opts.header [all...] |
/external/chromium_org/tools/ |
bisect_utils.py | 171 def RunGClientAndCreateConfig(opts, custom_deps=None, cwd=None): 175 opts: The options parsed from the command line through parse_args(). 192 if opts.target_platform == 'android': 241 def SetupGitDepot(opts): 246 opts: The options parsed from the command line through parse_args(). 254 if opts.output_buildbot_annotations: 259 if not RunGClientAndCreateConfig(opts): 275 if opts.output_buildbot_annotations: 330 def SetupAndroidBuildEnvironment(opts): 334 opts: The options parsed from the command line through parse_args() [all...] |
/external/llvm/tools/llvm-readobj/ |
llvm-readobj.cpp | 48 namespace opts { namespace 131 } // namespace opts 206 if (opts::FileHeaders) 208 if (opts::Sections) 210 if (opts::Relocations) 212 if (opts::Symbols) 214 if (opts::DynamicSymbols) 216 if (opts::UnwindInfo) 218 if (opts::DynamicTable) 220 if (opts::NeededLibraries [all...] |
/external/openfst/src/include/fst/script/ |
shortest-distance.h | 104 const ShortestDistanceOptions &opts = args->arg3; local 108 switch (opts.arc_filter_type) { 114 queue, AnyArcFilter<Arc>(), opts.source, opts.delta); 125 queue, EpsilonArcFilter<Arc>(), opts.source, opts.delta); 136 queue, InputEpsilonArcFilter<Arc>(), opts.source, opts.delta); 148 queue, OutputEpsilonArcFilter<Arc>(), opts.source, opts.delta) 164 const ShortestDistanceOptions &opts = args->arg3; local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ThumbnailLoadTask.java | 117 final BitmapFactory.Options opts = new BitmapFactory.Options(); local 118 opts.inJustDecodeBounds = true; 119 opts.inDensity = DisplayMetrics.DENSITY_LOW; 121 BitmapFactory.decodeFileDescriptor(fd.getFileDescriptor(), null, opts); local 122 if (isCancelled() || opts.outWidth == -1 || opts.outHeight == -1) { 126 opts.inJustDecodeBounds = false; 130 final int wDivider = Math.max(opts.outWidth / mWidth, 1); 131 final int hDivider = Math.max(opts.outHeight / mHeight, 1); 132 opts.inSampleSize = Math.min(wDivider, hDivider) [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
opts.h | 237 bool (*handler) (struct gcc_options *opts, 303 extern void init_options_struct (struct gcc_options *opts, 310 extern void decode_options (struct gcc_options *opts, 316 extern int option_enabled (int opt_idx, void *opts); 319 extern void set_option (struct gcc_options *opts, 323 extern void *option_flag_var (int opt_index, struct gcc_options *opts); 324 bool handle_generated_option (struct gcc_options *opts, 335 extern void read_cmdline_option (struct gcc_options *opts, 346 struct gcc_options *opts, 356 extern bool common_handle_option (struct gcc_options *opts, [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
opts.h | 237 bool (*handler) (struct gcc_options *opts, 303 extern void init_options_struct (struct gcc_options *opts, 310 extern void decode_options (struct gcc_options *opts, 316 extern int option_enabled (int opt_idx, void *opts); 319 extern void set_option (struct gcc_options *opts, 323 extern void *option_flag_var (int opt_index, struct gcc_options *opts); 324 bool handle_generated_option (struct gcc_options *opts, 335 extern void read_cmdline_option (struct gcc_options *opts, 346 struct gcc_options *opts, 356 extern bool common_handle_option (struct gcc_options *opts, [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
opts.h | 237 bool (*handler) (struct gcc_options *opts, 303 extern void init_options_struct (struct gcc_options *opts, 310 extern void decode_options (struct gcc_options *opts, 316 extern int option_enabled (int opt_idx, void *opts); 319 extern void set_option (struct gcc_options *opts, 323 extern void *option_flag_var (int opt_index, struct gcc_options *opts); 324 bool handle_generated_option (struct gcc_options *opts, 335 extern void read_cmdline_option (struct gcc_options *opts, 346 struct gcc_options *opts, 356 extern bool common_handle_option (struct gcc_options *opts, [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
opts.h | 237 bool (*handler) (struct gcc_options *opts, 303 extern void init_options_struct (struct gcc_options *opts, 310 extern void decode_options (struct gcc_options *opts, 316 extern int option_enabled (int opt_idx, void *opts); 319 extern void set_option (struct gcc_options *opts, 323 extern void *option_flag_var (int opt_index, struct gcc_options *opts); 324 bool handle_generated_option (struct gcc_options *opts, 335 extern void read_cmdline_option (struct gcc_options *opts, 346 struct gcc_options *opts, 356 extern bool common_handle_option (struct gcc_options *opts, [all...] |
/external/chromium_org/third_party/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/openfst/src/bin/ |
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/ |
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.";
|
/prebuilts/python/darwin-x86/2.7.5/bin/ |
python-config | 17 opts, args = getopt.getopt(sys.argv[1:], '', valid_opts) 21 if not opts: 27 opt_flags = [flag for (flag, val) in opts]
|
python2-config | 17 opts, args = getopt.getopt(sys.argv[1:], '', valid_opts) 21 if not opts: 27 opt_flags = [flag for (flag, val) in opts]
|