/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
AnimationUtilsCompat.java | 70 XmlResourceParser parser = null; local 80 parser = context.getResources().getAnimation(id); 82 parser); 94 if (parser != null) parser.close(); 101 XmlPullParser parser) 108 int depth = parser.getDepth(); 110 while (((type = parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth) 117 AttributeSet attrs = Xml.asAttributeSet(parser); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapConvoListing.java | 144 XmlPullParser parser = Xml.newPullParser(); local 146 parser.setInput(xmlDocument, "UTF-8"); 149 while((type=parser.next()) != XmlPullParser.END_TAG 152 if (parser.getEventType() != XmlPullParser.START_TAG) { 156 String name = parser.getName(); 159 XmlUtils.skipCurrentTag(parser); 161 readConversations(parser); 170 * @param parser the Xml Parser currently pointing to an folder-listing tag. 175 private void readConversations(XmlPullParser parser) [all...] |
/external/autotest/site_utils/ |
kill_slow_queries.py | 29 parser = optparse.OptionParser(usage=usage) 30 parser.add_option('-u', '--user', default=DEFAULT_USER, 33 parser.add_option('-p', '--password', default=DEFAULT_PASSWD, 36 parser.add_option('-t', '--timeout', type=int, default=300, 39 parser.add_option('-m', '--mail', default=DEFAULT_MAIL, 42 options, args = parser.parse_args() 43 return parser, options, args 120 parser, options, args = parse_options() 122 parser.print_help()
|
prodcertstatus_checker.py | 20 parser = optparse.OptionParser() 21 parser.add_option('--expire_within', help='Send email if cert will expire ' 24 parser.add_option('--to', help='Comma separated Email notification TO ' 26 parser.add_option('--cc', help='Comma separated Email notification CC ' 28 options, _ = parser.parse_args()
|
restart_latest.py | 46 parser = optparse.OptionParser('usage: %prog [options]') 48 parser.add_option('-b', '--boards', dest='boards', 51 parser.add_option('-i', '--images', dest='images', 55 options = parser.parse_args()[0] 58 parser.error('The specified images directory (%s) does not exist. Please '
|
/external/deqp/framework/qphelper/ |
gen_release_info.py | 74 parser = argparse.ArgumentParser(description="Generate release info for build") 75 parser.add_argument('--name', dest='releaseName', default=None, help="Release name") 76 parser.add_argument('--id', dest='releaseId', default=None, help="Release ID (must be C integer literal)") 77 parser.add_argument('--git', dest='git', action='store_true', default=False, help="Development build, use git HEAD to identify") 78 parser.add_argument('--git-dir', dest='gitDir', default=None, help="Use specific git dir for extracting info") 79 parser.add_argument('--out', dest='out', default=None, help="Output file") 81 args = parser.parse_args() 85 parser.print_help() 90 parser.print_help()
|
/external/llvm/utils/ |
clang-parse-diagnostics-file | 8 parser = OptionParser("""\ 13 parser.add_option("-a", "--all", action="store_true", dest="all", 15 parser.add_option("-e", "--error", action="store_true", dest="error", 17 parser.add_option("-f", "--fatal", action="store_true", dest="fatal", 19 parser.add_option("-i", "--ignored", action="store_true", dest="ignored", 21 parser.add_option("-n", "--note", action="store_true", dest="note", 23 parser.add_option("-w", "--warning", action="store_true", dest="warning", 25 (opts, args) = parser.parse_args() 28 parser.error("invalid number of arguments")
|
/frameworks/base/tools/aapt2/tools/consumers/ |
positional_arguments.py | 19 parser = xml.parsers.expat.ParserCreate("utf-8") 20 locator = SubstitutionArgumentLocator(parser) 21 parser.returns_unicode = True 22 parser.StartElementHandler = locator.start_element 23 parser.EndElementHandler = locator.end_element 24 parser.CharacterDataHandler = locator.character_data 25 parser.Parse(input) 49 def __init__(self, parser): 51 self._parser = parser
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
VoiceMailConstants.java | 88 XmlPullParser parser = Xml.newPullParser(); local 89 parser.setInput(vmReader); 91 XmlUtils.beginDocument(parser, "voicemail"); 94 XmlUtils.nextElement(parser); 96 String name = parser.getName(); 102 String numeric = parser.getAttributeValue(null, "numeric"); 103 data[NAME] = parser.getAttributeValue(null, "carrier"); 104 data[NUMBER] = parser.getAttributeValue(null, "vmnumber"); 105 data[TAG] = parser.getAttributeValue(null, "vmtag"); 110 Rlog.w(LOG_TAG, "Exception in Voicemail parser " + e) [all...] |
/prebuilts/tools/common/google-java-format/ |
google-java-format-diff.py | 37 parser = argparse.ArgumentParser(description= 41 parser.add_argument('-i', action='store_true', default=False, 44 parser.add_argument('-p', metavar='NUM', default=0, 46 parser.add_argument('-regex', metavar='PATTERN', default=None, 49 parser.add_argument('-iregex', metavar='PATTERN', default=r'.*\.java', 52 parser.add_argument('-v', '--verbose', action='store_true', 54 parser.add_argument('-a', '--aosp', action='store_true', 56 parser.add_argument('--skip-sorting-imports', action='store_true', 58 args = parser.parse_args()
|
/build/make/tools/ |
generate-enforce-rro-android-manifest.py | 35 parser = argparse.ArgumentParser() 36 parser.add_argument( 39 parser.add_argument( 42 parser.add_argument( 45 return parser.parse_args()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableTestUtils.java | 56 public static void skipCurrentTag(XmlPullParser parser) 58 int outerDepth = parser.getDepth(); 60 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT 62 || parser.getDepth() > outerDepth)) { 69 * @param parser the XmlPullParser to use for the xml parsing. 75 public static AttributeSet getAttributeSet(XmlResourceParser parser, String searchedNodeName) 79 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT 82 String nodeName = parser.getName(); 86 int outerDepth = parser.getDepth(); 87 while ((type = parser.next()) != XmlPullParser.END_DOCUMEN 114 final XmlResourceParser parser = res.getXml(resId); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
hotshotmain.py | 41 parser = optparse.OptionParser(__doc__)
42 parser.disable_interspersed_args()
43 parser.add_option("-p", "--profile", action="store", default=PROFILE,
45 (options, args) = parser.parse_args(args)
48 parser.print_help("missing script to execute")
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/ |
rule-tracing.rb | 14 @parser::init { 19 @parser::members { 60 parser = Traced::Parser.new lexer 61 parser.a 68 parser.traces.should == [
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/ |
scopes.rb | 31 parser = SimpleScope::Parser.new lexer 32 parser.prog 179 parser = LotsaScopes::Parser.new lexer 180 parser.a 185 parser = LotsaScopes::Parser.new lexer 186 proc { parser.b( false ) }.should raise_error( ANTLR3::RecognitionError ) 191 parser = LotsaScopes::Parser.new lexe [all...] |
/external/compiler-rt/lib/lsan/ |
lsan.cc | 55 FlagParser parser; local 56 RegisterLsanFlags(&parser, f); 57 RegisterCommonFlags(&parser); 59 parser.ParseString(GetEnv("LSAN_OPTIONS")); 65 if (common_flags()->help) parser.PrintFlagDescriptions();
|
/external/freetype/src/cff/ |
cffparse.h | 5 /* CFF token stream parser (specification) */ 31 /* CFF uses constant parser stack size; */ 65 cff_parse_num( CFF_Parser parser, 69 cff_parser_init( CFF_Parser parser, 78 cff_parser_done( CFF_Parser parser ); variable 81 cff_parser_run( CFF_Parser parser, 103 typedef FT_Error (*CFF_Field_Reader)( CFF_Parser parser );
|
/external/harfbuzz_ng/util/ |
hb-ot-shape-closure.cc | 35 shape_closure_consumer_t (option_parser_t *parser) : 36 shaper (parser), 39 add_options (parser); 42 void add_options (struct option_parser_t *parser) 49 parser->add_group (entries,
|
/external/llvm/utils/git/ |
find-rev | 7 parser = OptionParser("usage: %prog [options] <repo> <revision>") 8 parser.add_option("", "--branch", dest="branch", 11 (opts, args) = parser.parse_args() 14 parser.error("invalid number of arguments") 21 parser.error("invalid revision argument (not an integer)")
|
/external/ltp/testcases/kernel/power_management/ |
pm_ilb_test.py | 22 parser = OptionParser(usage) 23 parser.add_option("-c", "--mc_level", dest="mc_level", 25 parser.add_option("-t", "--smt_level", dest="smt_level", 27 parser.add_option("-w", "--workload", dest="work_ld", 29 (options, args) = parser.parse_args()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
PAccessNetworkInfoParser.java | 30 package gov.nist.javax.sip.parser.ims; 40 import gov.nist.javax.sip.parser.HeaderParser; 41 import gov.nist.javax.sip.parser.Lexer; 42 import gov.nist.javax.sip.parser.ParametersParser; 43 import gov.nist.javax.sip.parser.TokenTypes; 47 * P-Access-Network-Info header parser.
|
/external/pdfium/core/fpdfapi/parser/ |
cpdf_simple_parser_unittest.cpp | 5 #include "core/fpdfapi/parser/cpdf_simple_parser.h" 9 #include "core/fpdfapi/parser/fpdf_parser_utility.h" 53 CPDF_SimpleParser parser(data.input, data.input_size); 54 CFX_ByteStringC word = parser.GetWord(); 90 CPDF_SimpleParser parser(data.input, data.input_size); 92 parser.FindTagParamFromStart(data.token, data.num_params)) 94 EXPECT_EQ(data.result_pos, parser.GetCurPos()) << " for case " << i;
|
/external/skia/infra/bots/assets/win_vulkan_sdk/ |
create_and_upload.py | 24 parser = argparse.ArgumentParser() 25 parser.add_argument('--gsutil') 26 parser.add_argument('--sdk_path', '-s', required=True) 27 parser.add_argument('--runtime_path', '-r', 30 args = parser.parse_args()
|
/external/toolchain-utils/automation/clients/ |
nightly.py | 15 parser = optparse.OptionParser() 16 parser.add_option('-c', 21 parser.add_option('-t', 26 parser.add_option('-b', 31 options = parser.parse_args(argv)[0]
|
/external/toolchain-utils/crosperf/ |
crosperf_unittest.py | 44 parser = argparse.ArgumentParser() 45 parser.add_argument('-l', 51 crosperf.SetupParserOptions(parser) 53 options, _ = parser.parse_known_args(argv) 60 options, _ = parser.parse_known_args(argv)
|