/cts/tests/SignatureTest/src/android/tests/sigtest/ |
SignatureTest.java | 81 public static final void beginDocument(XmlPullParser parser, String firstElementName) throws XmlPullParserException, IOException 84 while ((type=parser.next()) != XmlPullParser.START_TAG 91 if (!parser.getName().equals(firstElementName)) { 92 throw new XmlPullParserException("Unexpected start tag: found " + parser.getName() + 100 public void start(XmlPullParser parser) throws XmlPullParserException, IOException { 105 SignatureTest.beginDocument(parser, TAG_ROOT); 109 while ((type=parser.next()) != XmlPullParser.START_TAG 116 if (TAG_CLASS.equals(parser.getName()) 117 || TAG_INTERFACE.equals(parser.getName())) { 119 } else if (TAG_PACKAGE.equals(parser.getName())) [all...] |
SimpleSignatureTest.java | 122 private void beginDocument(XmlPullParser parser, String firstElementName) 125 while ((type=parser.next()) != XmlPullParser.START_TAG 132 if (!parser.getName().equals(firstElementName)) { 133 throw new XmlPullParserException("Unexpected start tag: found " + parser.getName() + 141 private void start(XmlPullParser parser) throws XmlPullParserException, IOException { 146 beginDocument(parser, TAG_ROOT); 150 while ((type=parser.next()) != XmlPullParser.START_TAG 157 if (TAG_CLASS.equals(parser.getName()) 158 || TAG_INTERFACE.equals(parser.getName())) { 160 } else if (TAG_PACKAGE.equals(parser.getName())) [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
PaintDrawableTest.java | 141 XmlResourceParser parser = getParser(); local 142 AttributeSet attr = getAtrributeSet(parser); 144 gotoTag(parser, "padding"); 153 assertTrue(paintDrawable.inflateTag("padding", getContext().getResources(), parser, attr)); 157 parser = getParser(); 158 attr = getAtrributeSet(parser); 160 assertFalse(new MyPaintDrawable().inflateTag("", getContext().getResources(), parser, 166 new MyPaintDrawable().inflateTag(null, getContext().getResources(), parser, attr); 174 gotoTag(parser, "padding"); 175 new MyPaintDrawable().inflateTag("padding", null, parser, attr) [all...] |
/cts/tools/signature-tools/test/signature/converter/dex/ |
GenericSignatureParserTest.java | 42 private GenericSignatureParser parser; field in class:GenericSignatureParserTest 48 parser = new GenericSignatureParser(new TypePool(), converter); 58 parser.parseForClass(sigClass, DexUtil.getGenericSignature(dexClass)); 60 assertEquals(1, parser.formalTypeParameters.size()); 61 assertEquals("T", parser.formalTypeParameters.get(0).getName()); 63 assertSame(sigClass, parser.formalTypeParameters.get(0).getGenericDeclaration()); 65 assertEquals(1, parser.formalTypeParameters.get(0).getUpperBounds().size()); 66 // IType type = parser.formalTypeParameters.get(0).getUpperBounds().get(0);
|
/libcore/dom/src/test/java/org/w3c/domts/ |
LSDocumentBuilderFactory.java | 24 * This class implements the generic parser and configuation 32 private final Object parser; field in class:LSDocumentBuilderFactory 53 * @param parser parser 54 * @throws DOMTestIncompatibleException if parser does not support setting 57 Object parser) throws 61 * Gets state of setting for parser 63 * @param parser parser 66 public abstract boolean hasSetting(Object parser); [all...] |
/libcore/xml/src/main/java/org/kxml2/kdom/ |
Document.java | 81 public void parse(XmlPullParser parser) 84 parser.require(XmlPullParser.START_DOCUMENT, null, null); 85 parser.nextToken (); 87 encoding = parser.getInputEncoding(); 88 standalone = (Boolean)parser.getProperty ("http://xmlpull.org/v1/doc/properties.html#xmldecl-standalone"); 90 super.parse(parser); 92 if (parser.getEventType() != XmlPullParser.END_DOCUMENT)
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyboardBuilder.java | 162 public Row(Resources res, KeyboardParams params, XmlPullParser parser, int y) { 164 TypedArray keyboardAttr = res.obtainAttributes(Xml.asAttributeSet(parser), 169 TypedArray keyAttr = res.obtainAttributes(Xml.asAttributeSet(parser), 293 final XmlPullParser parser = mResources.getXml(resId); local 295 while ((event = parser.next()) != XmlPullParser.END_DOCUMENT) { 297 final String tag = parser.getName(); 299 parseKeyboardAttributes(parser); 301 parseKeyboardContent(parser, false); 304 throw new IllegalStartTag(parser, TAG_KEYBOARD); 313 final XmlPullParser parser = res.getXml(resId) local [all...] |
/external/clang/tools/scan-view/ |
scan-view | 79 parser = OptionParser('usage: %prog [options] <results directory>') 80 parser.set_description(__doc__) 81 parser.add_option( 84 parser.add_option( 87 parser.add_option("--debug", dest="debug", default=0, 90 parser.add_option("--auto-reload", dest="autoReload", default=False, 93 parser.add_option("--no-browser", dest="startBrowser", default=True, 96 parser.add_option("--allow-all-hosts", dest="onlyServeLocal", default=True, 99 (options, args) = parser.parse_args() 102 parser.error('No results directory specified.' [all...] |
/sdk/ide_common/src/com/android/ide/common/resources/ |
IdResourceParser.java | 33 * Parser for scanning an id-generating resource file such as a layout or a menu 70 KXmlParser parser = new KXmlParser(); local 72 parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, true); 77 parser.setInput(input, "UTF-8"); //$NON-NLS-1$ 79 return parse(type, path, parser); 90 path, parser.getLineNumber(), message); 101 path, parser.getLineNumber(), message); 107 private boolean parse(ResourceType type, String path, KXmlParser parser) 114 int event = parser.next(); 116 for (int i = 0, n = parser.getAttributeCount(); i < n; i++) [all...] |
/external/dbus/bus/ |
config-parser.c | 2 /* config-parser.c XML-library-agnostic configuration file parser 25 #include "config-parser-common.h" 26 #include "config-parser.h" 80 * Parser for bus configuration file. 125 push_element (BusConfigParser *parser, 136 if (!_dbus_list_append (&parser->stack, e)) 157 pop_element (BusConfigParser *parser) 161 e = _dbus_list_pop_last (&parser->stack); 167 peek_element (BusConfigParser *parser) 364 BusConfigParser *parser; local 2727 BusConfigParser *parser; local 3075 BusConfigParser *parser; local [all...] |
/external/mesa3d/src/glsl/glcpp/ |
glcpp-parse.c | 1 /* A Bison parser, made by GNU Bison 2.4.3. */ 22 part or all of the Bison parser skeleton and distribute that work 24 parser generator using the skeleton or a modified version thereof 25 as a parser skeleton. Alternatively, if you modify or redistribute 26 the parser skeleton itself, you may (at your option) remove this 34 /* C LALR(1) parser skeleton written by Richard Stallman, by 35 simplifying the original so-called "semantic" parser. */ 110 yyerror (YYLTYPE *locp, glcpp_parser_t *parser, const char *error); 113 _define_object_macro (glcpp_parser_t *parser, 119 _define_function_macro (glcpp_parser_t *parser, 3390 glcpp_parser_t *parser; local [all...] |
/external/chromium/build/ |
apply_locales.py | 13 parser = optparse.OptionParser() 15 parser.set_usage(usage.replace('%s', '%prog')) 16 parser.add_option('-d', dest='dash_to_underscore', action="store_true", 20 (options, arglist) = parser.parse_args(argv)
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
SIPMessageListener.java | 29 package gov.nist.javax.sip.parser; 41 * This is called from the parser on successful message processing. 44 * @param msg SIP Message structure that is generated by the parser.
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
AddressHeaderParser.java | 30 package gov.nist.javax.sip.parser.ims; 33 import gov.nist.javax.sip.parser.AddressParser; 34 import gov.nist.javax.sip.parser.HeaderParser; 35 import gov.nist.javax.sip.parser.Lexer;
|
PCalledPartyIDParser.java | 30 package gov.nist.javax.sip.parser.ims; 36 import gov.nist.javax.sip.parser.Lexer; 37 import gov.nist.javax.sip.parser.TokenTypes; 38 import gov.nist.javax.sip.parser.AddressParametersParser; 41 * P-Called-Party-ID header parser
|
PPreferredIdentityParser.java | 30 package gov.nist.javax.sip.parser.ims; 34 import gov.nist.javax.sip.parser.Lexer; 35 import gov.nist.javax.sip.parser.TokenTypes; 39 import gov.nist.javax.sip.parser.AddressParametersParser; 42 * P-Preferred-Identity header parser.
|
PProfileKeyParser.java | 1 package gov.nist.javax.sip.parser.ims; 30 import gov.nist.javax.sip.parser.AddressParametersParser; 31 import gov.nist.javax.sip.parser.Lexer; 32 import gov.nist.javax.sip.parser.TokenTypes;
|
/external/skia/src/svg/ |
SkSVGFilter.cpp | 31 void SkSVGFilter::translate(SkSVGParser& parser, bool defState) { 32 // INHERITED::translate(parser, defState);
|
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/ |
DelegatingFieldParser.java | 24 private FieldParser defaultParser = new UnstructuredField.Parser();
27 * Sets the parser used for the field named <code>name</code>.
29 * @param parser the parser for fields named <code>name</code>
31 public void setFieldParser(final String name, final FieldParser parser) {
32 parsers.put(name.toLowerCase(), parser);
local 44 final FieldParser parser = getParser(name);
local 45 return parser.parse(name, body, raw);
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
BERSequenceParser.java | 10 BERSequenceParser(ASN1StreamParser parser) 12 this._parser = parser;
|
BERSetParser.java | 10 BERSetParser(ASN1StreamParser parser) 12 this._parser = parser;
|
DERSequenceParser.java | 10 DERSequenceParser(ASN1StreamParser parser) 12 this._parser = parser;
|
DERSetParser.java | 10 DERSetParser(ASN1StreamParser parser) 12 this._parser = parser;
|
/external/expat/xmlwf/ |
xmlfile.c | 56 XML_Parser parser; member in struct:__anon5544 61 reportError(XML_Parser parser, const XML_Char *filename) 63 enum XML_Error code = XML_GetErrorCode(parser); 68 XML_GetErrorLineNumber(parser), 69 XML_GetErrorColumnNumber(parser), 80 XML_Parser parser = ((PROCESS_ARGS *)args)->parser; local 82 if (XML_Parse(parser, (const char *)data, (int)size, 1) == XML_STATUS_ERROR) { 83 reportError(parser, filename); 131 externalEntityRefFilemap(XML_Parser parser, [all...] |
/external/webkit/Source/WebCore/page/ |
PageGroupLoadDeferrer.cpp | 54 if (DocumentParser* parser = frame->document()->parser()) 55 parser->suspendScheduledTasks(); 77 if (DocumentParser* parser = frame->document()->parser()) 78 parser->resumeScheduledTasks();
|