Searched refs:opts (Results 1 - 25 of 582) sorted by path

1234567891011>>

/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/
H A DANTLRv3.g198 ( (opts=optionsSpec)? ':' )?
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dtask.rb141 case opts = options[ :compile_options ]
142 when Array then opts
143 else Shellwords.shellwords( opts.to_s )
146 case opts = options[ :java_options ]
147 when Array then opts
148 else Shellwords.shellwords( opts.to_s )
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
H A Dconstruction.rb373 def self.ast_test( opts, &special_test )
374 input = opts[ :input ]
375 rule = opts[ :rule ]
376 expected_tree = opts[ :ast ]
377 flag = opts[ :flag ]
378 args = opts[ :arguments ] || []
379 message = opts[ :message ] || rule.to_s #"should parse %p with rule %s and make tree %s" % [input, rule, expected_tree]
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-streams.rb404 def new_token(type, opts = {})
411 case opts
412 when Hash then fields.update(opts)
413 when String then fields[:text] = opts
H A Dtest-trees.rb302 def new_token(type, opts = {})
303 opts[:type] = type
304 CommonToken.create(opts)
446 def new_token(type, opts = {})
447 opts[:type] = type
448 CommonToken.create(opts)
782 def new_token(type, opts = {})
783 opts[:type] = type
784 CommonToken.create(opts)
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
H A DANTLR.g445 Map<String, Object> opts;
455 ( optionsSpec {opts = $optionsSpec.opts; grammar.setOptions(opts, $optionsSpec.start);}
498 optionsSpec returns [Map<String, Object> opts=new HashMap<String, Object>()]
499 : OPTIONS^ (option[$opts] SEMI!)+ RCURLY!
502 option[Map<String, Object> opts]
505 $opts.put($id.text, $optionValue.value);
585 ruleAltList[$optionsSpec.opts]
604 ((GrammarAST)$tree.getChild(0)).setBlockOptions($optionsSpec.opts);
[all...]
H A DANTLRv3.g193 ( (opts=optionsSpec)? ':' )?
H A DAssignTokenTypesWalker.g226 optionsSpec returns [Map<Object, Object> opts = new HashMap<Object, Object>()]
227 : ^( OPTIONS (option[$opts])+ )
230 option[Map<Object, Object> opts]
234 $opts.put(key, $optionValue.value);
H A DDefineGrammarItemsWalker.g210 Map<String, Object> opts=null;
213 : ^( RULE id=ID {opts = $RULE.getBlockOptions();}
230 grammar.defineRule($id.getToken(), $modifier.mod, opts, $start, $args, numAlts);
258 $b.start.setBlockOptions(opts);
477 Map<String, Object> opts = new HashMap<String, Object>();
478 opts.put("greedy", "false");
483 opts.put("k", 1);
485 block.setOptions(grammar,opts);
/external/blktrace/btt/
H A Dbno_plot.py62 (opts, args) = getopt.getopt(in_args, s_opts, l_opts)
68 for (o, a) in opts:
H A Dbtt_plot.py208 (opts, args) = getopt.getopt(args[1:], s_opts, l_opts)
213 for (o, a) in opts:
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_sock_thread.c117 int opts; local
118 opts = fcntl(s, F_GETFL);
119 if (opts<0) APPL_TRACE_ERROR("set blocking (%s)", strerror(errno));
121 opts &= ~O_NONBLOCK;
122 else opts |= O_NONBLOCK;
123 fcntl(s, F_SETFL, opts);
/external/chromium_org/android_webview/buildbot/
H A Ddeps_whitelist.py230 opts = parser.parse_args()
232 logging.getLogger().setLevel(logging.DEBUG if opts.verbose else logging.WARN)
235 blacklist = deps_whitelist.execute_method(opts.method, opts.path_to_deps)
237 if (opts.output_json):
241 with open(opts.output_json, 'w') as output_json_file:
/external/chromium_org/build/linux/
H A Drewrite_dirs.py22 def RewritePath(path, opts):
24 sysroot = opts.sysroot
25 prefix = opts.strip_prefix
35 def RewriteLine(line, opts):
47 args[i] = RewritePath(args[i], opts)
52 args[i] = prefix + RewritePath(args[i][len(prefix):], opts)
62 opts, args = parser.parse_args(argv[1:])
65 line = RewriteLine(line.strip(), opts)
/external/chromium_org/build/util/
H A Dlastchange.py258 opts, args = parser.parse_args(argv[1:])
260 out_file = opts.output
261 header = opts.header
271 if opts.source_dir:
272 src_dir = opts.source_dir
276 version_info = FetchVersionInfo(opts.default_lastchange, src_dir)
281 if opts.revision_only:
285 if not out_file and not opts.header:
292 GetHeaderContents(header, opts.version_macro,
/external/chromium_org/build/win/
H A Dreorder-imports.py50 opts, args = parser.parse_args()
52 if not opts.input or not opts.output:
54 return reorder_imports(opts.input, opts.output, opts.arch)
/external/chromium_org/chrome/browser/ui/sync/
H A Dprofile_signin_confirmation_helper.cc141 history::QueryOptions opts; local
142 opts.max_count = max_entries;
145 opts, local
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dintegration_test.py284 (opts, args) = parser.parse_args()
285 if not opts.all:
287 _REBASE = opts.rebase
288 _VERBOSE = opts.verbose
H A Dlink_converter.py78 opts, argv = parser.parse_args()
79 if opts.file:
80 _ConvertFile(opts.file, opts.out)
87 _ConvertFile(os.path.join(root, name), opts.out)
H A Dpreview.py78 (opts, argv) = parser.parse_args()
80 if opts.render:
81 if opts.render.find('#') >= 0:
82 (path, iterations) = opts.render.rsplit('#', 1)
85 path = opts.render
88 if opts.time:
99 if opts.time:
105 print('Starting previewserver on port %s' % opts.port)
109 print(' http://localhost:%s/extensions/' % opts.port)
113 print(' http://localhost:%s/apps/' % opts
[all...]
/external/chromium_org/chrome/tools/build/
H A Dappid.py22 def GenerateAppIdHeader(opts):
23 contents = GENERATED_APPID_INCLUDE_FILE_CONTENTS % opts.appid
26 ofp = open(opts.output_file, 'r')
33 open(opts.output_file, 'w').write(contents)
42 (opts, args) = parser.parse_args()
44 if opts.appid is None or not opts.output_file:
50 GenerateAppIdHeader(opts)
/external/chromium_org/components/policy/tools/
H A Dgenerate_policy_source.py140 (opts, args) = parser.parse_args()
162 GenerateFile(opts.header_path, _WritePolicyConstantHeader, sorted=True)
163 GenerateFile(opts.source_path, _WritePolicyConstantSource, sorted=True)
164 GenerateFile(opts.cloud_policy_proto_path, _WriteCloudPolicyProtobuf)
165 GenerateFile(opts.chrome_settings_proto_path, _WriteChromeSettingsProtobuf)
166 GenerateFile(opts.cloud_policy_decoder_path, _WriteCloudPolicyDecoder)
/external/chromium_org/content/renderer/p2p/
H A Dipc_socket_factory.cc671 int opts) {
673 if (opts & rtc::PacketSocketFactory::OPT_SSLTCP)
676 P2PSocketType type = (opts & rtc::PacketSocketFactory::OPT_STUN) ?
692 const std::string& user_agent, int opts) {
694 if (opts & rtc::PacketSocketFactory::OPT_SSLTCP) {
695 type = (opts & rtc::PacketSocketFactory::OPT_STUN) ?
697 } else if (opts & rtc::PacketSocketFactory::OPT_TLS) {
698 type = (opts & rtc::PacketSocketFactory::OPT_STUN) ?
701 type = (opts & rtc::PacketSocketFactory::OPT_STUN) ?
669 CreateServerTcpSocket( const rtc::SocketAddress& local_address, int min_port, int max_port, int opts) argument
688 CreateClientTcpSocket( const rtc::SocketAddress& local_address, const rtc::SocketAddress& remote_address, const rtc::ProxyInfo& proxy_info, const std::string& user_agent, int opts) argument
H A Dipc_socket_factory.h36 int opts) OVERRIDE;
42 int opts) OVERRIDE;

Completed in 557 milliseconds

1234567891011>>