HomeSort by relevance Sort by last modified time
    Searched refs:parser (Results 201 - 225 of 974) sorted by null

1 2 3 4 5 6 7 891011>>

  /development/testrunner/
runtest.py 92 parser = optparse.OptionParser(usage=self._RUNTEST_USAGE)
94 parser.add_option("-l", "--list-tests", dest="only_list_tests",
97 parser.add_option("-b", "--skip-build", dest="skip_build", default=False,
99 parser.add_option("-j", "--jobs", dest="make_jobs",
102 parser.add_option("-n", "--skip_execute", dest="preview", default=False,
105 parser.add_option("-r", "--raw-mode", dest="raw_mode", default=False,
108 parser.add_option("-a", "--suite-assign", dest="suite_assign_mode",
112 parser.add_option("-v", "--verbose", dest="verbose", default=False,
115 parser.add_option("-w", "--wait-for-debugger", dest="wait_for_debugger",
118 parser.add_option("-c", "--test-class", dest="test_class"
    [all...]
  /external/expat/xmlwf/
xmlwin32url.cxx 14 processURL(XML_Parser parser, IMoniker *baseMoniker, const XML_Char *url);
125 reportError(XML_Parser parser)
127 int code = XML_GetErrorCode(parser);
131 XML_GetBase(parser),
132 XML_GetErrorLineNumber(parser),
133 XML_GetErrorColumnNumber(parser),
137 XML_GetBase(parser), code);
224 Callback::Callback(XML_Parser parser, IMoniker *baseMoniker,
226 : parser_(parser),
258 openStream(XML_Parser parser,
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/model/
ExternalAccountType.java 104 final XmlResourceParser parser = serviceInfo.loadXmlMetaData(pm, local
106 if (parser == null) continue;
107 inflate(context, parser);
212 * Inflate this {@link AccountType} from the given parser. This may only
215 protected void inflate(Context context, XmlPullParser parser) {
216 final AttributeSet attrs = Xml.asAttributeSet(parser);
220 while ((type = parser.next()) != XmlPullParser.START_TAG
229 String rootTag = parser.getName();
238 int attributeCount = parser.getAttributeCount();
240 String attr = parser.getAttributeName(i)
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
LayoutInflaterTest.java 160 XmlResourceParser parser = null; local
168 parser = ai.loadXmlMetaData(mContext.getPackageManager(),
171 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT
174 String nodeName = parser.getName();
178 int outerDepth = parser.getDepth();
179 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT
180 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) {
184 nodeName = parser.getName();
186 attrs = Xml.asAttributeSet(parser);
188 XmlUtils.skipCurrentTag(parser);
376 XmlResourceParser parser = getContext().getResources().getLayout( local
435 XmlResourceParser parser = getContext().getResources().getLayout( local
513 XmlResourceParser parser = null; local
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TestCase.java 102 * @param parser the {@link XmlPullParser}. Expected to be pointing at start
106 void parse(XmlPullParser parser) throws XmlPullParserException, IOException {
107 if (!parser.getName().equals(TAG)) {
109 "invalid XML: Expected %s tag but received %s", TAG, parser.getName()));
111 setName(getAttribute(parser, "name"));
112 int eventType = parser.next();
114 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(Test.TAG)) {
116 test.parse(parser);
118 } else if (eventType == XmlPullParser.END_TAG && parser.getName().equals(TAG)) {
121 eventType = parser.next()
    [all...]
  /external/skia/src/ports/
FontHostConfiguration_android.cpp 34 * The FamilyData structure is passed around by the parser so that each handler can read these
39 parser(parserRef), families(familiesRef), currentTag(NO_TAG) {};
41 XML_Parser *parser; // The expat parser doing the work member in struct:FamilyData
103 XML_SetCharacterDataHandler(*familyData->parser, textHandler);
124 XML_SetCharacterDataHandler(*familyData->parser, NULL);
132 XML_Parser parser = XML_ParserCreate(NULL); local
133 FamilyData *familyData = new FamilyData(&parser, families);
134 XML_SetUserData(parser, familyData);
135 XML_SetElementHandler(parser, startElementHandler, endElementHandler)
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
PowerProfile.java 161 XmlResourceParser parser = context.getResources().getXml(id); local
167 XmlUtils.beginDocument(parser, TAG_DEVICE);
170 XmlUtils.nextElement(parser);
172 String element = parser.getName();
183 arrayName = parser.getAttributeValue(null, ATTR_NAME);
186 if (!parsingArray) name = parser.getAttributeValue(null, ATTR_NAME);
187 if (parser.next() == XmlPullParser.TEXT) {
188 String power = parser.getText();
210 parser.close();
  /frameworks/base/graphics/java/android/graphics/drawable/
MipmapDrawable.java 131 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs)
134 super.inflate(r, parser, attrs);
138 final int innerDepth = parser.getDepth() + 1;
140 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT
141 && ((depth = parser.getDepth()) >= innerDepth
147 if (depth > innerDepth || !parser.getName().equals("item")) {
163 while ((type = parser.next()) == XmlPullParser.TEXT) {
167 parser.getPositionDescription()
171 dr = Drawable.createFromXmlInner(r, parser, attrs);
  /bionic/libc/unistd/
sysconf.c 366 LineParser parser[1]; local
370 if (line_parser_init(parser, "/proc/cpuinfo") < 0)
373 while ((p = line_parser_gets(parser))) {
384 LineParser parser[1]; local
388 if (line_parser_init(parser, "/proc/stat") < 0)
391 while ((p = line_parser_gets(parser))) {
401 LineParser parser[1]; local
404 if (line_parser_init(parser, "/proc/meminfo") < 0)
407 while ((p = line_parser_gets(parser))) {
410 line_parser_done(parser);
420 LineParser parser[1]; local
    [all...]
  /external/dbus/bus/
config-loader-expat.c 25 #include "config-parser.h"
33 BusConfigParser *parser; member in struct:__anon5125
48 if (!bus_config_parser_content (context->parser,
107 if (!bus_config_parser_start_element (context->parser,
132 if (!bus_config_parser_end_element (context->parser,
169 BusConfigParser *parser; local
175 parser = NULL;
212 parser = bus_config_parser_new (&dirname, is_toplevel, parent);
213 if (parser == NULL)
218 context.parser = parser
    [all...]
  /frameworks/base/core/java/android/content/res/
ColorStateList.java 115 public static ColorStateList createFromXml(Resources r, XmlPullParser parser)
118 AttributeSet attrs = Xml.asAttributeSet(parser);
121 while ((type=parser.next()) != XmlPullParser.START_TAG
129 return createFromXmlInner(r, parser, attrs);
132 /* Create from inside an XML document. Called on a parser positioned at
136 private static ColorStateList createFromXmlInner(Resources r, XmlPullParser parser,
141 final String name = parser.getName();
147 parser.getPositionDescription() + ": invalid drawable tag " + name);
150 colorStateList.inflate(r, parser, attrs);
173 private void inflate(Resources r, XmlPullParser parser, AttributeSet attrs
    [all...]
  /frameworks/base/services/java/com/android/server/
PreferredComponent.java 48 public boolean onReadTag(String tagName, XmlPullParser parser)
86 public PreferredComponent(Callbacks callbacks, XmlPullParser parser)
89 mShortComponent = parser.getAttributeValue(null, "name");
94 String matchStr = parser.getAttributeValue(null, "match");
96 String setCountStr = parser.getAttributeValue(null, "set");
105 int outerDepth = parser.getDepth();
107 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT
109 || parser.getDepth() > outerDepth)) {
115 String tagName = parser.getName();
117 // + parser.getDepth() + " tag=" + tagName)
    [all...]
  /libcore/luni/src/test/java/libcore/xml/
SimpleParserTest.java 39 private SAXParser parser; field in class:SimpleParserTest
60 parser = factory.newSAXParser();
61 parser.getXMLReader().setContentHandler(contentHandler);
76 parser = null;
152 SAXParser parser = factory.newSAXParser(); local
153 parser.getXMLReader().setContentHandler(contentHandler);
155 parser.parse(getClass().getResourceAsStream("/SimpleParserTest.xml"),
179 SAXParser parser = factory.newSAXParser(); local
180 parser.getXMLReader().setContentHandler(contentHandler);
181 parser.parse(getClass().getResourceAsStream("/SimpleParserTest.xml")
    [all...]
  /packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/address/
Builder.java 26 import org.apache.james.mime4j.field.address.parser.ASTaddr_spec;
27 import org.apache.james.mime4j.field.address.parser.ASTaddress;
28 import org.apache.james.mime4j.field.address.parser.ASTaddress_list;
29 import org.apache.james.mime4j.field.address.parser.ASTangle_addr;
30 import org.apache.james.mime4j.field.address.parser.ASTdomain;
31 import org.apache.james.mime4j.field.address.parser.ASTgroup_body;
32 import org.apache.james.mime4j.field.address.parser.ASTlocal_part;
33 import org.apache.james.mime4j.field.address.parser.ASTmailbox;
34 import org.apache.james.mime4j.field.address.parser.ASTname_addr;
35 import org.apache.james.mime4j.field.address.parser.ASTphrase;
    [all...]
  /frameworks/base/core/java/android/app/admin/
DeviceAdminInfo.java 225 XmlResourceParser parser = null; local
227 parser = ai.loadXmlMetaData(pm, DeviceAdminReceiver.DEVICE_ADMIN_META_DATA);
228 if (parser == null) {
235 AttributeSet attrs = Xml.asAttributeSet(parser);
238 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT
242 String nodeName = parser.getName();
256 int outerDepth = parser.getDepth();
257 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT
258 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) {
262 String tagName = parser.getName()
    [all...]
  /external/apache-http/src/org/apache/http/message/
BasicHeaderElementIterator.java 54 private final HeaderValueParser parser; field in class:BasicHeaderElementIterator
65 final HeaderValueParser parser) {
69 if (parser == null) {
70 throw new IllegalArgumentException("Parser may not be null");
73 this.parser = parser;
115 HeaderElement e = this.parser.parseHeaderElement(this.buffer, this.cursor);
  /external/clang/lib/Parse/
ParsePragma.h 21 class Parser;
74 Parser &parser; member in class:clang::PragmaUnusedHandler
76 PragmaUnusedHandler(Sema &A, Parser& p)
77 : PragmaHandler("unused"), Actions(A), parser(p) {}
95 Parser &parser; member in class:clang::PragmaOpenCLExtensionHandler
97 PragmaOpenCLExtensionHandler(Sema &S, Parser& p) :
98 PragmaHandler("EXTENSION"), Actions(S), parser(p) {}
106 Parser &parser member in class:clang::PragmaFPContractHandler
    [all...]
  /external/clang/tools/scan-build/
set-xcode-analyzer 43 parser = OptionParser('usage: %prog [options]')
44 parser.set_description(__doc__)
45 parser.add_option("--use-checker-build", dest="path",
47 parser.add_option("--use-xcode-clang", action="store_const",
50 (options, args) = parser.parse_args()
52 parser.error("You must specify a version of Clang to use for static analysis. Specify '-h' for details")
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
StateListDrawableTest.java 202 XmlResourceParser parser = getResourceParser(R.xml.selector_correct); local
205 mStateListDrawable.inflate(mResources, parser, Xml.asAttributeSet(parser));
225 parser = getResourceParser(R.xml.selector_missing_selector_attrs);
226 mStateListDrawable.inflate(mResources, parser, Xml.asAttributeSet(parser));
242 parser = getResourceParser(R.xml.selector_missing_item_drawable);
244 mStateListDrawable.inflate(mResources, parser, Xml.asAttributeSet(parser));
258 + "parser or attrs is out of bounds"
260 XmlResourceParser parser = getResourceParser(R.xml.level_list_correct); local
307 XmlResourceParser parser = getInstrumentation().getTargetContext().getResources().getXml( local
    [all...]
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
XmlDocumentProvider.java 176 XmlPullParser parser = null; local
181 parser = getUriXmlPullParser(url);
187 parser = getResourceXmlPullParser(resourceUri);
191 if (parser != null) {
194 xmlCursor.parseWith(parser);
211 * Creates an XmlPullParser for the provided URL. Can be overloaded to provide your own parser.
216 XmlPullParser parser = null; local
220 parser = factory.newPullParser();
243 parser.setInput(inputStream, null);
249 return parser;
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
RegisteredComponentCache.java 167 XmlResourceParser parser = null; local
169 parser = ai.loadXmlMetaData(pm, mMetaDataName);
170 if (parser == null) {
175 parser, info, components); local
179 if (parser != null) parser.close();
183 void parseTechLists(Resources res, String packageName, XmlPullParser parser,
186 int eventType = parser.getEventType();
188 eventType = parser.next();
193 eventType = parser.next()
    [all...]
  /external/markdown/markdown/
blockprocessors.py 5 This parser handles basic parsing of Markdown blocks. It doesn't concern itself
25 test passes, the parser will call the processors ``run`` method.
29 def __init__(self, parser=None):
30 self.parser = parser
63 As the parser loops through processors, it will call the ``test`` method
83 When the parser determines the appropriate type of a block, the parser
122 not self.parser.state.isstate('detabbed') and \
134 self.parser.state.set('detabbed'
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/cdma/
EriManager.java 157 XmlPullParser parser = null; local
165 parser = Xml.newPullParser();
166 parser.setInput(stream, null);
170 parser = null;
172 if (DBG) Log.d(LOG_TAG, "loadEriFileFromXml: no parser for alternate file");
173 parser = null;
176 if (parser == null) {
178 parser = r.getXml(com.android.internal.R.xml.eri);
182 XmlUtils.beginDocument(parser, "EriFile");
184 parser.getAttributeValue(null, "VersionNumber"))
    [all...]
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
TelephonyProvider.java 109 XmlResourceParser parser = r.getXml(com.android.internal.R.xml.apns); local
111 XmlUtils.beginDocument(parser, "apns");
112 int publicversion = Integer.parseInt(parser.getAttributeValue(null, "version"));
118 parser.close();
154 XmlResourceParser parser = r.getXml(com.android.internal.R.xml.apns); local
157 XmlUtils.beginDocument(parser, "apns");
158 publicversion = Integer.parseInt(parser.getAttributeValue(null, "version"));
159 loadApns(db, parser);
163 parser.close();
236 * @param parser the parse
    [all...]
  /bionic/libc/kernel/tools/
find_users.py 48 def parse_file(path, parser):
49 parser.parseFile(path)

Completed in 1602 milliseconds

1 2 3 4 5 6 7 891011>>