/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
Node.java | 3 package org.apache.james.mime4j.field.address.parser;
|
Token.java | 17 package org.apache.james.mime4j.field.address.parser;
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
ContentTypeParserConstants.java | 17 package org.apache.james.mime4j.field.contenttype.parser;
|
Token.java | 17 package org.apache.james.mime4j.field.contenttype.parser;
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParserConstants.java | 17 package org.apache.james.mime4j.field.datetime.parser;
|
Token.java | 17 package org.apache.james.mime4j.field.datetime.parser;
|
/prebuilts/go/darwin-x86/test/bench/garbage/ |
Makefile | 6 parser\
|
/prebuilts/go/linux-x86/test/bench/garbage/ |
Makefile | 6 parser\
|
/system/extras/systrace_analysis/ |
analyze_trace.py | 24 # Create argument parser 25 parser = argparse.ArgumentParser() 26 parser.add_argument('systrace_file', metavar='SYSTRACE_FILE', help='systrace file to analyze') 27 parser.add_argument('-e', metavar='EVENT_LOG', help='android event log file') 28 args = parser.parse_args()
|
/system/tools/hidl/c2hal/test/ |
build_all.py | 42 parser = argparse.ArgumentParser() 43 parser.add_argument("path", help="location of headers to parse", type=str) 44 parser.add_argument("-g", help="enable opengl specific parsing", action="store_true") 46 return parser.parse_args()
|
/system/update_engine/scripts/ |
paycheck.py | 34 returned by the parser, `payload' is the name of the payload file 38 parser = optparse.OptionParser( 53 check_opts = optparse.OptionGroup(parser, 'Checking payload integrity') 85 parser.add_option_group(check_opts) 87 trace_opts = optparse.OptionGroup(parser, 'Applying payload') 94 parser.add_option_group(trace_opts) 96 trace_opts = optparse.OptionGroup(parser, 'Block tracing') 103 parser.add_option_group(trace_opts) 106 opts, args = parser.parse_args(argv) 110 parser.error('invalid argument to --type: %s' % opts.assert_type [all...] |
/tools/loganalysis/src/com/android/loganalysis/parser/ |
NoopParser.java | 16 package com.android.loganalysis.parser;
|
/external/autotest/site_utils/ |
team_extract.py | 22 parser = optparse.OptionParser() 23 parser.add_option('-r', '--root-person', help='initial person to follow', 25 parser.add_option('-o', '--output-file', help='output file (json)', 27 parser.add_option('-p', '--print-test', help='print the map as a test', 29 parser.add_option('-v', '--verbose', help='Show more output', 31 options, args = parser.parse_args() 34 parser.error('--root-person must be supplied')
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
flash_device.py | 25 parser = argparse.ArgumentParser() 26 parser.add_argument('build_path', help='Path to android build.') 27 parser.add_argument('-d', '--device', dest='devices', action='append', 29 parser.add_argument('-v', '--verbose', default=0, action='count', 31 parser.add_argument('-w', '--wipe', action='store_true', 33 parser.add_argument('--blacklist-file', help='Device blacklist file.') 34 args = parser.parse_args()
|
/external/chromium-trace/catapult/devil/devil/utils/ |
reset_usb.py | 89 parser = argparse.ArgumentParser() 90 parser.add_argument('-v', '--verbose', action='count') 91 parser.add_argument('-s', '--serial') 92 parser.add_argument('--bus', type=int) 93 parser.add_argument('--device', type=int) 94 args = parser.parse_args() 103 parser.error('Unable to determine target. '
|
/external/chromium-trace/catapult/telemetry/telemetry/ |
benchmark_runner.py | 110 parser = command.CreateParser() 111 command.AddCommandLineArgs(parser, None) 112 parser.print_help() 133 parser = options.CreateParser('%%prog %s %s' % (cls.Name(), cls.usage)) 134 return parser 137 def AddCommandLineArgs(cls, parser, _): 138 parser.add_option('-j', '--json-output-file', type='string') 139 parser.add_option('-n', '--num-shards', type='int', default=1) 142 def ProcessCommandLineArgs(cls, parser, args, environment): 149 parser.error('Must provide at most one benchmark name.' [all...] |
/external/libmojo/third_party/catapult/devil/devil/android/tools/ |
flash_device.py | 23 parser = argparse.ArgumentParser() 24 parser.add_argument('build_path', help='Path to android build.') 25 parser.add_argument('-d', '--device', dest='devices', action='append', 27 parser.add_argument('-v', '--verbose', default=0, action='count', 29 parser.add_argument('-w', '--wipe', action='store_true', 31 parser.add_argument('--blacklist-file', help='Device blacklist file.') 32 args = parser.parse_args()
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
reset_usb.py | 78 parser = argparse.ArgumentParser() 79 parser.add_argument('-v', '--verbose', action='count') 80 parser.add_argument('-s', '--serial') 81 parser.add_argument('--bus', type=int) 82 parser.add_argument('--device', type=int) 83 args = parser.parse_args() 92 parser.error('Unable to determine target. '
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
SpnOverride.java | 88 XmlPullParser parser = Xml.newPullParser(); local 89 parser.setInput(spnReader); 91 XmlUtils.beginDocument(parser, "spnOverrides"); 94 XmlUtils.nextElement(parser); 96 String name = parser.getName(); 101 String numeric = parser.getAttributeValue(null, "numeric"); 102 String data = parser.getAttributeValue(null, "spn"); 108 Rlog.w(LOG_TAG, "Exception in spn-conf parser " + e); 110 Rlog.w(LOG_TAG, "Exception in spn-conf parser " + e);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
PreferenceInflater.java | 75 private CameraPreference inflate(XmlPullParser parser) { 77 AttributeSet attrs = Xml.asAttributeSet(parser); 82 for (int type = parser.next(); 83 type != XmlPullParser.END_DOCUMENT; type = parser.next()) { 85 CameraPreference pref = newPreference(parser.getName(), args); 87 int depth = parser.getDepth(); 105 throw new InflateException(parser.getPositionDescription(), e);
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
AnimatorInflaterCompat.java | 128 XmlResourceParser parser = null; local 130 parser = resources.getAnimation(id); 131 animator = createAnimatorFromXml(context, resources, theme, parser, pathErrorScale); 146 if (parser != null) parser.close(); 343 XmlPullParser parser) { 344 long duration = TypedArrayUtils.getNamedInt(arrayAnimator, parser, "duration", 346 long startDelay = TypedArrayUtils.getNamedInt(arrayAnimator, parser, "startOffset", 348 int valueType = TypedArrayUtils.getNamedInt(arrayAnimator, parser, "valueType", 352 if (TypedArrayUtils.hasAttribute(parser, "valueFrom" [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
AutoInstallsLayout.java | 208 XmlResourceParser parser = mSourceRes.getXml(layoutId); local 209 beginDocument(parser, mRootTag); 210 final int depth = parser.getDepth(); 215 while (((type = parser.next()) != XmlPullParser.END_TAG || 216 parser.getDepth() > depth) && type != XmlPullParser.END_DOCUMENT) { 220 count += parseAndAddNode(parser, tagParserMap, screenIds); 229 protected void parseContainerAndScreen(XmlResourceParser parser, long[] out) { 230 if (HOTSEAT_CONTAINER_NAME.equals(getAttributeValue(parser, ATTR_CONTAINER))) { 233 long rank = Long.parseLong(getAttributeValue(parser, ATTR_RANK)); 238 out[1] = Long.parseLong(getAttributeValue(parser, ATTR_SCREEN)) [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/ |
actions.rb | 39 example "parser action execution" do 41 parser = ParserActions::Parser.new lexer 43 parser.declaration.should == 'foo' 55 @parser::members { 92 parser = AllKindsOfActions::Parser.new lexer 93 parser.prog 95 parser.output.should == <<-END.fixed_indent( 0 ) 142 parser = Finally::Parser.new lexe [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/parser/ |
ParserImplTest.java | 16 package org.yaml.snakeyaml.parser; 38 private void check(LinkedList<Event> etalonEvents, Parser parser) { 39 while (parser.checkEvent(null)) { 40 Event event = parser.getEvent(); 46 assertFalse("Must contain no more events: " + parser.getEvent(), parser.checkEvent(null)); 52 Parser parser = new ParserImpl(reader); local 66 check(etalonEvents, parser); 72 Parser parser = new ParserImpl(reader); local [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
packet.cc | 24 const RtpHeaderParser& parser) 32 valid_header_ = ParseHeader(parser); 39 const RtpHeaderParser& parser) 47 valid_header_ = ParseHeader(parser); 58 rtc::scoped_ptr<RtpHeaderParser> parser(RtpHeaderParser::Create()); 59 valid_header_ = ParseHeader(*parser); 73 rtc::scoped_ptr<RtpHeaderParser> parser(RtpHeaderParser::Create()); 74 valid_header_ = ParseHeader(*parser); 132 bool Packet::ParseHeader(const RtpHeaderParser& parser) { 133 bool valid_header = parser.Parse [all...] |