HomeSort by relevance Sort by last modified time
    Searched refs:parser (Results 126 - 150 of 4871) sorted by null

1 2 3 4 56 7 8 91011>>

  /cts/tests/tests/widget/src/android/widget/cts/util/
XmlUtils.java 48 public static void skipCurrentTag(XmlPullParser parser)
50 int outerDepth = parser.getDepth();
52 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT
54 || parser.getDepth() > outerDepth)) {
710 XmlPullParser parser = Xml.newPullParser(); local
711 parser.setInput(in, StandardCharsets.UTF_8.name());
712 return (HashMap<String, ?>) readValueXml(parser, new String[1]);
731 XmlPullParser parser = Xml.newPullParser(); local
732 parser.setInput(in, StandardCharsets.UTF_8.name());
733 return (ArrayList)readValueXml(parser, new String[1])
754 XmlPullParser parser = Xml.newPullParser(); local
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
basic.rb 11 @parser::init {
16 @parser::members {
36 # to build a parser, this is the standard chain of calls to prepare the input
40 parser = Identifiers::Parser.new( tokens )
42 parser.document
44 parser.reported_errors.should be_empty
45 parser.identifiers.should == %w(blah_de_blah)
52 parser = Identifiers::Parser.new( lexer
    [all...]
  /external/autotest/client/bin/
autotest 24 parser = OptionParser(usage='Usage: %prog [options] <control-file>') variable
26 parser.add_option("-a", "--args", dest='args',
29 parser.add_option("-c", "--continue", dest="cont", action="store_true",
32 parser.add_option("-t", "--tag", dest="tag", type="string", default="default",
35 parser.add_option("-H", "--harness", dest="harness", type="string", default='',
38 parser.add_option("-P", "--harness_args", dest="harness_args", type="string", default='',
41 parser.add_option("-U", "--user", dest="user", type="string",
44 parser.add_option("-l", "--external_logging", dest="log", action="store_true",
47 parser.add_option('--verbose', dest='verbose', action='store_true',
50 parser.add_option('--quiet', dest='verbose', action='store_false'
    [all...]
  /external/chromium-trace/catapult/devil/devil/utils/
update_mapping.py 26 parser = argparse.ArgumentParser(usage=usage, description=desc)
27 parser.add_argument('-o', '--output', dest='out_file',
30 parser.add_argument('-u', '--hub', dest='hub_types',
35 options = parser.parse_args()
  /external/chromium-trace/catapult/telemetry/telemetry/internal/util/
command_line.py 21 def AddCommandLineArgs(cls, parser):
25 def ProcessCommandLineArgs(cls, parser, args):
28 We pass in parser so we can call parser.error()."""
51 parser = argparse.ArgumentParser()
52 cls.AddCommandLineArgs(parser)
53 args = parser.parse_args(args=args)
54 cls.ProcessCommandLineArgs(parser, args)
68 def AddCommandLineArgs(cls, parser, environment):
73 def ProcessCommandLineArgs(cls, parser, args, environment)
    [all...]
  /external/libmojo/third_party/catapult/devil/devil/utils/
update_mapping.py 26 parser = argparse.ArgumentParser(usage=usage, description=desc)
27 parser.add_argument('-o', '--output', dest='out_file',
30 parser.add_argument('-u', '--hub', dest='hub_types',
35 options = parser.parse_args()
  /external/parameter-framework/upstream/xmlserializer/
XmlUtil.cpp 31 #include <libxml/parser.h>
  /external/skia/infra/bots/assets/android_sdk/
create.py 31 parser = argparse.ArgumentParser()
32 parser.add_argument('--android_sdk_root')
33 parser.add_argument('--target_dir', '-t', required=True)
34 args = parser.parse_args()
  /external/skia/infra/bots/assets/linux_vulkan_intel_driver_debug/
create.py 26 parser = argparse.ArgumentParser()
27 parser.add_argument('--target_dir', '-t', required=True)
28 parser.add_argument('--lib_path', '-l', required=True)
29 args = parser.parse_args()
  /external/skia/infra/bots/assets/linux_vulkan_intel_driver_release/
create.py 26 parser = argparse.ArgumentParser()
27 parser.add_argument('--target_dir', '-t', required=True)
28 parser.add_argument('--lib_path', '-l', required=True)
29 args = parser.parse_args()
  /external/skia/infra/bots/assets/linux_vulkan_sdk/
create.py 28 parser = argparse.ArgumentParser()
29 parser.add_argument('--target_dir', '-t', required=True)
30 parser.add_argument('--sdk_path', '-s', required=True)
31 args = parser.parse_args()
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/parser/
Production.java 16 package org.yaml.snakeyaml.parser;
  /hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp2/parser/
viddec_mpeg2_frame_attr.c 5 * stored in the parser context into frame attributes in the workload.
55 /* Get MPEG2 Parser context */
56 struct viddec_mpeg2_parser *parser = (struct viddec_mpeg2_parser *) ctxt; local
67 /* Populate attributes from parser context */
69 attrs->cont_size.height = ((parser->info.seq_ext.vertical_size_extension << 12)
70 | parser->info.seq_hdr.vertical_size_value);
71 attrs->cont_size.width = ((parser->info.seq_ext.horizontal_size_extension << 12)
72 | parser->info.seq_hdr.horizontal_size_value);
75 attrs->mpeg2.repeat_first_field = parser->info.pic_cod_ext.repeat_first_field;
78 attrs->mpeg2.temporal_ref = parser->info.pic_hdr.temporal_reference
    [all...]
  /system/media/audio_utils/spdif/
DTSFrameScanner.cpp 80 BitFieldParser parser(&mHeaderBuffer[mSyncLength]);
84 (void) /* uint32_t ftype = */ parser.readBits(1);
85 (void) /* uint32_t deficit = */ parser.readBits(5); // "short"
86 uint32_t cpf = parser.readBits(1);
87 uint32_t nblks = parser.readBits(7);
88 uint32_t fsize = parser.readBits(14);
89 (void) /* uint32_t amode = */ parser.readBits(6);
90 uint32_t sfreq = parser.readBits(4);
92 ALOG_ASSERT((mSyncLength + ((parser.getBitCursor() + 7) >> 3))
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/
expat.h 155 XML_SetElementDeclHandler(XML_Parser parser,
175 XML_SetAttlistDeclHandler(XML_Parser parser,
192 XML_SetXmlDeclHandler(XML_Parser parser,
202 /* Constructs a new parser; encoding is the encoding specified by the
208 /* Constructs a new parser and namespace processor. Element type
223 /* Constructs a new parser using the memory management suite referred to
225 suite. If namespaceSeparator is non-NULL it creates a parser with
229 All further memory operations used for the created parser will come from
237 /* Prepare a parser object to be re-used. This is particularly
240 All handlers are cleared from the parser, except for the
650 XML_DefaultCurrent(XML_Parser parser); variable
690 XML_UseParserAsHandlerArg(XML_Parser parser); variable
726 XML_GetBase(XML_Parser parser); variable
735 XML_GetSpecifiedAttributeCount(XML_Parser parser); variable
743 XML_GetIdAttributeIndex(XML_Parser parser); variable
765 XML_GetAttributeInfo(XML_Parser parser); variable
833 XML_ResumeParser(XML_Parser parser); variable
924 XML_GetErrorCode(XML_Parser parser); variable
942 XMLPARSEAPI(XML_Size) XML_GetCurrentLineNumber(XML_Parser parser); variable
943 XMLPARSEAPI(XML_Size) XML_GetCurrentColumnNumber(XML_Parser parser); variable
944 XMLPARSEAPI(XML_Index) XML_GetCurrentByteIndex(XML_Parser parser); variable
950 XML_GetCurrentByteCount(XML_Parser parser); variable
988 XML_ParserFree(XML_Parser parser); variable
    [all...]
  /external/expat/lib/
expat.h 155 XML_SetElementDeclHandler(XML_Parser parser,
175 XML_SetAttlistDeclHandler(XML_Parser parser,
192 XML_SetXmlDeclHandler(XML_Parser parser,
202 /* Constructs a new parser; encoding is the encoding specified by the
208 /* Constructs a new parser and namespace processor. Element type
223 /* Constructs a new parser using the memory management suite referred to
225 suite. If namespaceSeparator is non-NULL it creates a parser with
229 All further memory operations used for the created parser will come from
237 /* Prepare a parser object to be re-used. This is particularly
240 All handlers are cleared from the parser, except for th
650 XML_DefaultCurrent(XML_Parser parser); variable
690 XML_UseParserAsHandlerArg(XML_Parser parser); variable
726 XML_GetBase(XML_Parser parser); variable
735 XML_GetSpecifiedAttributeCount(XML_Parser parser); variable
743 XML_GetIdAttributeIndex(XML_Parser parser); variable
765 XML_GetAttributeInfo(XML_Parser parser); variable
833 XML_ResumeParser(XML_Parser parser); variable
922 XML_GetErrorCode(XML_Parser parser); variable
940 XMLPARSEAPI(XML_Size) XML_GetCurrentLineNumber(XML_Parser parser); variable
941 XMLPARSEAPI(XML_Size) XML_GetCurrentColumnNumber(XML_Parser parser); variable
942 XMLPARSEAPI(XML_Index) XML_GetCurrentByteIndex(XML_Parser parser); variable
948 XML_GetCurrentByteCount(XML_Parser parser); variable
989 XML_ParserFree(XML_Parser parser); variable
    [all...]
  /frameworks/base/core/java/android/view/animation/
AnimationUtils.java 105 XmlResourceParser parser = null; local
107 parser = context.getResources().getAnimation(id);
108 return createAnimationFromXml(context, parser);
120 if (parser != null) parser.close();
124 private static Animation createAnimationFromXml(Context c, XmlPullParser parser)
127 return createAnimationFromXml(c, parser, null, Xml.asAttributeSet(parser));
130 private static Animation createAnimationFromXml(Context c, XmlPullParser parser,
137 int depth = parser.getDepth()
183 XmlResourceParser parser = null; local
305 XmlResourceParser parser = null; local
335 XmlResourceParser parser = null; local
    [all...]
  /packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/
CarrierConfigTest.java 32 public void check(XmlPullParser parser) throws XmlPullParserException, IOException {
33 PersistableBundle b = DefaultCarrierConfigService.readConfigFromXml(parser,
46 public void check(XmlPullParser parser) throws XmlPullParserException, IOException {
48 while (((event = parser.next()) != XmlPullParser.END_DOCUMENT)) {
50 && "carrier_config".equals(parser.getName())) {
51 for (int i = 0; i < parser.getAttributeCount(); ++i) {
52 String attribute = parser.getAttributeName(i);
64 + "' at " + parser.getPositionDescription());
81 public void check(XmlPullParser parser) throws XmlPullParserException, IOException {
83 while (((event = parser.next()) != XmlPullParser.END_DOCUMENT))
146 XmlPullParser parser = factory.newPullParser(); local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/
expat.h 155 XML_SetElementDeclHandler(XML_Parser parser,
175 XML_SetAttlistDeclHandler(XML_Parser parser,
192 XML_SetXmlDeclHandler(XML_Parser parser,
202 /* Constructs a new parser; encoding is the encoding specified by the
208 /* Constructs a new parser and namespace processor. Element type
223 /* Constructs a new parser using the memory management suite referred to
225 suite. If namespaceSeparator is non-NULL it creates a parser with
229 All further memory operations used for the created parser will come from
237 /* Prepare a parser object to be re-used. This is particularly
240 All handlers are cleared from the parser, except for the
650 XML_DefaultCurrent(XML_Parser parser); variable
690 XML_UseParserAsHandlerArg(XML_Parser parser); variable
726 XML_GetBase(XML_Parser parser); variable
735 XML_GetSpecifiedAttributeCount(XML_Parser parser); variable
743 XML_GetIdAttributeIndex(XML_Parser parser); variable
810 XML_ResumeParser(XML_Parser parser); variable
890 XML_GetErrorCode(XML_Parser parser); variable
908 XMLPARSEAPI(XML_Size) XML_GetCurrentLineNumber(XML_Parser parser); variable
909 XMLPARSEAPI(XML_Size) XML_GetCurrentColumnNumber(XML_Parser parser); variable
910 XMLPARSEAPI(XML_Index) XML_GetCurrentByteIndex(XML_Parser parser); variable
916 XML_GetCurrentByteCount(XML_Parser parser); variable
954 XML_ParserFree(XML_Parser parser); variable
    [all...]
  /external/markdown/markdown/
commandline.py 45 parser = optparse.OptionParser(usage="%prog INPUTFILE [options]")
46 parser.add_option("-f", "--file", dest="filename", default=sys.stdout,
49 parser.add_option("-e", "--encoding", dest="encoding",
51 parser.add_option("-q", "--quiet", default = CRITICAL,
54 parser.add_option("-v", "--verbose",
57 parser.add_option("-s", "--safe", dest="safe", default=False,
60 parser.add_option("-o", "--output_format", dest="output_format",
63 parser.add_option("--noisy",
66 parser.add_option("-x", "--extension", action="append", dest="extensions",
69 (options, args) = parser.parse_args(
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
ConversationUtils.java 43 XmlResourceParser parser = context.getResources().getXml(resource); local
49 int eventType = parser.getEventType();
52 if (parser.getName().equals("conversation")) {
59 } else if (parser.getName().equals("page")) {
61 for (int i=0; i < parser.getAttributeCount(); i++) {
62 final int value = parser.getAttributeResourceValue(i, -1);
64 if (parser.getAttributeName(i).equals("image")) {
67 if (parser.getAttributeName(i).equals("text")) {
70 if (parser.getAttributeName(i).equals("title")) {
78 eventType = parser.next();
    [all...]
  /external/toolchain-utils/binary_search_tool/cros_pkg/
create_cleanup_script.py 19 def Usage(parser, msg):
21 parser.print_help()
42 parser = argparse.ArgumentParser()
43 parser.add_argument(
49 parser.add_argument(
56 parser.add_argument(
63 parser.add_argument(
68 options = parser.parse_args(argv[1:])
72 Usage(parser, 'If --tree_existed is False, cannot have '
76 Usage(parser, '--old_link and --renamed_tree are incompatible options.'
    [all...]
  /tools/repohooks/tools/
clang-format.py 40 """Return a command line parser."""
41 parser = argparse.ArgumentParser(description=__doc__)
42 parser.add_argument('--clang-format', default='clang-format',
44 parser.add_argument('--git-clang-format', default='git-clang-format',
46 parser.add_argument('--style', metavar='STYLE', type=str,
48 parser.add_argument('--extensions', metavar='EXTENSIONS', type=str,
51 parser.add_argument('--fix', action='store_true',
54 scope = parser.add_mutually_exclusive_group(required=True)
61 parser.add_argument('files', type=str, nargs='*',
64 return parser
    [all...]
  /external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/
parser_unittest.py 26 import mojom.parse.parser as parser
30 """Tests |parser.Parse()|."""
44 self.assertEquals(parser.Parse(source, "my_file.mojom"), expected)
54 self.assertEquals(parser.Parse(source, "my_file.mojom"), expected)
65 parser.ParseError,
67 parser.Parse(source, "my_file.mojom")
80 parser.ParseError,
82 parser.Parse(source1, "my_file.mojom")
97 parser.ParseError
    [all...]
  /frameworks/support/transition/src/android/support/transition/
TransitionInflater.java 68 XmlResourceParser parser = mContext.getResources().getXml(resource); local
70 return createTransitionFromXml(parser, Xml.asAttributeSet(parser), null);
75 parser.getPositionDescription() + ": " + e.getMessage(), e);
77 parser.close();
90 XmlResourceParser parser = mContext.getResources().getXml(resource); local
92 return createTransitionManagerFromXml(parser, Xml.asAttributeSet(parser), sceneRoot);
99 parser.getPositionDescription()
104 parser.close()
    [all...]

Completed in 1816 milliseconds

1 2 3 4 56 7 8 91011>>