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

<<11121314151617181920>>

  /external/qemu/
qjson.c 15 #include "json-parser.h"
26 JSONMessageParser parser; member in struct:JSONParsingState
31 static void parse_json(JSONMessageParser *parser, QList *tokens)
33 JSONParsingState *s = container_of(parser, JSONParsingState, parser);
43 json_message_parser_init(&state.parser, parse_json);
44 json_message_parser_feed(&state.parser, string, strlen(string));
45 json_message_parser_flush(&state.parser);
46 json_message_parser_destroy(&state.parser);
  /external/webkit/Source/WebCore/html/parser/
HTMLParserScheduler.cpp 33 // defaultParserChunkSize is used to define how many tokens the parser will
38 // defaultParserTimeLimit is the seconds the parser will run in one write() call
57 // old LegacyHTMLDocumentParser to the token-based behavior of this parser.
63 HTMLParserScheduler::HTMLParserScheduler(HTMLDocumentParser* parser)
64 : m_parser(parser)
HTMLParserScheduler.h 61 static PassOwnPtr<HTMLParserScheduler> create(HTMLDocumentParser* parser)
63 return adoptPtr(new HTMLParserScheduler(parser));
67 // Inline as this is called after every token in the parser.
  /external/webkit/Source/WebCore/loader/
DocumentWriter.cpp 80 if (DocumentParser* parser = m_frame->document()->parser())
81 parser->append(source);
124 // then replace the document with one whose parser will ignore the incoming data (bug 39323)
205 DocumentParser* parser = m_frame->document()->parser(); local
206 if (parser)
207 parser->appendBytes(this, str, len, flush);
260 m_frame->document()->parser()->setDocumentWasLoadedAsPartOfNavigation();
  /external/webkit/Source/WebCore/wml/
WMLDocument.cpp 51 if (ScriptableDocumentParser* parser = this->scriptableDocumentParser()) {
52 if (!parser->wellFormed()) {
  /external/webkit/Source/WebCore/xml/
XPathExpression.cpp 48 Parser parser; local
50 expr->m_topExpression = parser.parseStatement(expression, resolver, ec);
  /external/webkit/Tools/Scripts/
check-webkit-style 89 parser = checker.check_webkit_style_parser()
90 (paths, options) = parser.parse(args)
  /frameworks/base/core/java/android/app/
WallpaperInfo.java 93 XmlResourceParser parser = null; local
95 parser = si.loadXmlMetaData(pm, WallpaperService.SERVICE_META_DATA);
96 if (parser == null) {
103 AttributeSet attrs = Xml.asAttributeSet(parser);
106 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT
110 String nodeName = parser.getName();
136 if (parser != null) parser.close();
  /frameworks/base/core/java/android/text/
AutoText.java 162 XmlResourceParser parser = r.getXml(com.android.internal.R.xml.autotext); local
170 XmlUtils.beginDocument(parser, "words");
175 XmlUtils.nextElement(parser);
177 String element = parser.getName();
182 String src = parser.getAttributeValue(null, "src");
183 if (parser.next() == XmlPullParser.TEXT) {
184 String dest = parser.getText();
206 parser.close();
  /frameworks/base/core/java/android/util/
TimeUtils.java 53 XmlResourceParser parser = r.getXml(com.android.internal.R.xml.time_zones_by_country); local
62 XmlUtils.beginDocument(parser, "timezones");
65 XmlUtils.nextElement(parser);
67 String element = parser.getName();
72 String code = parser.getAttributeValue(null, "code");
75 if (parser.next() == XmlPullParser.TEXT) {
76 String maybe = parser.getText();
109 parser.close();
  /packages/apps/Mms/src/com/android/mms/dom/smil/parser/
SmilXmlParser.java 18 package com.android.mms.dom.smil.parser;
31 import com.android.mms.dom.smil.parser.SmilContentHandler;
  /packages/apps/Settings/src/com/android/settings/
VoiceInputOutputSettings.java 187 XmlResourceParser parser = null; local
190 parser = si.loadXmlMetaData(mFragment.getPackageManager(),
192 if (parser == null) {
200 AttributeSet attrs = Xml.asAttributeSet(parser);
203 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT
207 String nodeName = parser.getName();
225 if (parser != null) parser.close();
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
DeviceInfoResultTest.java 42 // override parent to advance xml parser to correct tag
44 void parse(XmlPullParser parser) throws XmlPullParserException, IOException {
45 int eventType = parser.getEventType();
47 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(TAG)) {
48 super.parse(parser);
51 eventType = parser.next();
  /development/testrunner/test_defs/
xml_suite_helper.py 54 parser = None
56 parser = InstrumentationParser()
58 parser = NativeParser()
60 parser = HostParser()
64 test_suite = parser.Parse(element)
  /external/chromium/chrome/browser/history/
query_parser_unittest.cc 116 QueryParser parser; local
118 parser.ParseQuery(UTF8ToUTF16(data[i].query), &query_nodes.get());
121 parser.DoesQueryMatch(UTF8ToUTF16(data[i].text),
154 QueryParser parser; local
155 parser.ExtractQueryWords(UTF8ToUTF16(data[i].text), &results);
  /external/clang/utils/
SummarizeErrors 101 parser = OptionParser("usage: %prog [options] {inputs}")
102 parser.add_option("", "--ascending", dest="ascending",
105 parser.add_option("", "--truncate", dest="truncate",
108 (opts, args) = parser.parse_args()
111 parser.error('No inputs specified')
  /cts/tools/signature-tools/src/signature/converter/dex/
DexToSigConverter.java 312 GenericSignatureParser parser = new GenericSignatureParser(factory, local
314 parser.parseForClass(sigClass, getGenericSignature(dexClass));
315 sigClass.setTypeParameters(parser.formalTypeParameters);
320 sigClass.setSuperClass(parser.superclassType);
324 parser.interfaceTypes));
489 GenericSignatureParser parser = new GenericSignatureParser(factory, local
491 annotationField.setType(parser.parseNonGenericType(dexMethod
534 GenericSignatureParser parser = new GenericSignatureParser(factory, local
541 parser.parseForField(factory.getClass(declaringClassPackageName,
543 field.setType(parser.fieldType)
545 GenericSignatureParser parser = new GenericSignatureParser(factory, local
617 GenericSignatureParser parser = new GenericSignatureParser(factory, local
690 GenericSignatureParser parser = new GenericSignatureParser(factory, local
719 GenericSignatureParser parser = new GenericSignatureParser(factory, local
755 GenericSignatureParser parser = new GenericSignatureParser(factory, local
921 GenericSignatureParser parser = new GenericSignatureParser(factory, local
    [all...]
  /dalvik/dx/src/com/android/dx/command/dexer/
Main.java 873 * Command-line argument parser and access.
1064 ArgumentsParser parser = new ArgumentsParser(args); local
    [all...]
  /external/chromium/net/tools/testserver/
xmppserver_test.py 48 parser = xmppserver.StanzaParser(self)
49 parser.FeedString('<foo')
51 parser.FeedString('/><bar></bar>')
56 parser = xmppserver.StanzaParser(self)
57 parser.FeedString('<stream')
59 parser.FeedString(':stream foo="bar" xmlns:stream="baz">')
64 parser = xmppserver.StanzaParser(self)
65 parser.FeedString('<foo')
67 parser.FeedString(' bar="baz"')
68 parser.FeedString('><baz/><blah>meh</blah></foo>'
    [all...]
  /libcore/luni/src/main/native/
org_apache_harmony_xml_ExpatParser.cpp 100 * Data passed to parser handler method by the parser.
167 /** The Java parser object. */
198 static ParsingContext* toParsingContext(XML_Parser parser) {
199 return reinterpret_cast<ParsingContext*>(XML_GetUserData(parser));
530 // doesn't belong to a namespace, or when this parser's namespace
591 * on the Java parser.
632 * on the Java parser.
656 * on the Java parser. This may be called mutiple times with incremental pieces
669 * on the Java parser
962 XML_Parser parser; local
1007 XML_Parser parser = (XML_Parser) pointer; local
1059 XML_Parser parser = (XML_Parser) i; local
1070 XML_Parser parser = (XML_Parser) i; local
1087 XML_Parser parser = (XML_Parser) pointer; local
1099 XML_Parser parser = (XML_Parser) pointer; local
1114 XML_Parser parser = (XML_Parser) pointer; local
1130 XML_Parser parser = (XML_Parser) pointer; local
1146 XML_Parser parser = (XML_Parser) pointer; local
    [all...]
  /frameworks/base/core/java/android/content/pm/
RegisteredServicesCache.java 373 XmlResourceParser parser = null; local
375 parser = si.loadXmlMetaData(pm, mMetaDataName);
376 if (parser == null) {
380 AttributeSet attrs = Xml.asAttributeSet(parser);
383 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT
387 String nodeName = parser.getName();
406 if (parser != null) parser.close();
425 XmlPullParser parser = Xml.newPullParser(); local
426 parser.setInput(fis, null)
    [all...]
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
Adapters.java 501 XmlResourceParser parser = null; local
503 parser = context.getResources().getXml(id);
504 return createAdapterFromXml(context, parser, Xml.asAttributeSet(parser),
519 if (parser != null) parser.close();
524 * Generates an adapter using the specified XML parser. This method is responsible
526 * XML parser.
533 XmlPullParser parser, AttributeSet attrs, int id, Object[] parameters,
540 int depth = parser.getDepth()
634 XmlPullParser parser = mParser; local
723 final XmlPullParser parser = mParser; local
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TestResults.java 60 void parse(XmlPullParser parser) throws XmlPullParserException, IOException {
61 int eventType = parser.getEventType();
63 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(
65 mDeviceInfo.parse(parser);
67 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(
70 pkg.parse(parser);
77 eventType = parser.next();
  /external/emma/core/java12/com/vladium/jcd/parser/
ClassDefParser.java 9 package com.vladium.jcd.parser;
41 classParser parser = new classParser (new UDataInputStream (new ByteArrayIStream (bytes))); local
43 return parser.class_table ();
54 classParser parser = new classParser (new UDataInputStream (new ByteArrayIStream (bytes, length))); local
56 return parser.class_table ();
68 classParser parser = new classParser (new UDataInputStream (bytes)); local
70 return parser.class_table ();
  /external/icu4c/test/cintltst/
currtest.c 196 UNumberFormat* parser; local
204 parser = unum_open(UNUM_CURRENCY, NULL, -1, "en_US", NULL, &status);
212 result1 = unum_parseDoubleCurrency(parser, TEST_NUMBER, -1, &pos, buffer, &status);
214 unum_setTextAttribute(parser, UNUM_NEGATIVE_SUFFIX, NEG_SUFFIX, -1, &status);
215 unum_setTextAttribute(parser, UNUM_NEGATIVE_PREFIX, NEG_PREFIX, -1, &status);
222 result2 = unum_parseDoubleCurrency(parser, TEST_NUMBER, -1, &pos, buffer, &status);
227 unum_close(parser);

Completed in 978 milliseconds

<<11121314151617181920>>