/libcore/luni/src/test/java/tests/api/javax/xml/parsers/ |
DocumentBuilderFactoryTest.java | 322 // Expected, since Android doesn't have a validating parser. 377 DocumentBuilder parser = null; local 380 parser = dbf.newDocumentBuilder(); 382 parser.setErrorHandler(errorHandler); 384 Document document = parser.parse(getClass().getResourceAsStream( 395 parser.setErrorHandler(null); 408 parser = dbf.newDocumentBuilder(); 410 parser.setErrorHandler(errorHandler); 412 Document document = parser.parse(getClass().getResourceAsStream( 425 parser.setErrorHandler(null) 440 DocumentBuilder parser = null; local 543 DocumentBuilder parser = dbf.newDocumentBuilder(); local 566 DocumentBuilder parser = dbf.newDocumentBuilder(); local 592 DocumentBuilder parser = dbf.newDocumentBuilder(); local 611 DocumentBuilder parser = dbf.newDocumentBuilder(); local 635 DocumentBuilder parser = dbf.newDocumentBuilder(); local 654 DocumentBuilder parser = dbf.newDocumentBuilder(); local [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/ |
AddressListParserTokenManager.java | 17 package org.apache.james.mime4j.field.address.parser;
|
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/ |
ContentTypeParserTokenManager.java | 17 package org.apache.james.mime4j.field.contenttype.parser;
|
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParserTokenManager.java | 17 package org.apache.james.mime4j.field.datetime.parser;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
argp.h | 129 actual option parser), but rather an arbitrary piece of documentation that 175 The third case is where every parser returned ARGP_KEY_UNKNOWN for an 181 function returned an error value), then the parser is called with 185 parser receiving this key returns success, the fact is recorded, and the 187 argument, a parser function decrements the NEXT field of the state it's 192 /* There are remaining arguments not parsed by any parser, which may be found 195 otherwise, the parser should adjust STATE->next to reflect any arguments 237 argp_parser_t parser; 293 /* The child parser. */ 346 the number of children for the current parser. * 235 argp_parser_t parser; member in struct:argp [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
argp.h | 129 actual option parser), but rather an arbitrary piece of documentation that 175 The third case is where every parser returned ARGP_KEY_UNKNOWN for an 181 function returned an error value), then the parser is called with 185 parser receiving this key returns success, the fact is recorded, and the 187 argument, a parser function decrements the NEXT field of the state it's 192 /* There are remaining arguments not parsed by any parser, which may be found 195 otherwise, the parser should adjust STATE->next to reflect any arguments 237 argp_parser_t parser; 293 /* The child parser. */ 346 the number of children for the current parser. * 235 argp_parser_t parser; member in struct:argp [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
argp.h | 129 actual option parser), but rather an arbitrary piece of documentation that 175 The third case is where every parser returned ARGP_KEY_UNKNOWN for an 181 function returned an error value), then the parser is called with 185 parser receiving this key returns success, the fact is recorded, and the 187 argument, a parser function decrements the NEXT field of the state it's 192 /* There are remaining arguments not parsed by any parser, which may be found 195 otherwise, the parser should adjust STATE->next to reflect any arguments 237 argp_parser_t parser; 293 /* The child parser. */ 346 the number of children for the current parser. * 235 argp_parser_t parser; member in struct:argp [all...] |
/frameworks/base/core/java/android/preference/ |
PreferenceActivity.java | 747 XmlResourceParser parser = null; local 749 parser = getResources().getXml(resid); 750 AttributeSet attrs = Xml.asAttributeSet(parser); 753 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT 758 String nodeName = parser.getName(); 762 + nodeName + " at " + parser.getPositionDescription()); 767 final int outerDepth = parser.getDepth(); 768 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT 769 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { 774 nodeName = parser.getName() [all...] |
/frameworks/base/services/java/com/android/server/ |
WallpaperManagerService.java | 946 XmlPullParser parser = Xml.newPullParser(); local [all...] |
/frameworks/base/services/java/com/android/server/am/ |
UsageStatsService.java | 366 XmlPullParser parser = Xml.newPullParser(); local 367 parser.setInput(fis, null); 368 int eventType = parser.getEventType(); 370 eventType = parser.next(); 372 String tagName = parser.getName(); 376 eventType = parser.next(); 378 tagName = parser.getName(); 379 int depth = parser.getDepth(); 381 pkg = parser.getAttributeValue(null, "name"); 383 String comp = parser.getAttributeValue(null, "name") [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
VideoEditorProject.java | 1183 final XmlPullParser parser = Xml.newPullParser(); local [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
ResourcesTest.java | 89 final XmlPullParser parser = mResources.getXml(R.xml.test_color); local 90 XmlUtils.beginDocument(parser, "resources"); 91 final AttributeSet set = Xml.asAttributeSet(parser); 373 XmlResourceParser parser = mResources.getXml(R.xml.extra); local 374 XmlUtils.beginDocument(parser, "tag"); 377 mResources.parseBundleExtras(parser, b); 384 XmlResourceParser parser = mResources.getXml(R.xml.extra); local 386 XmlUtils.beginDocument(parser, "tag"); 388 mResources.parseBundleExtra("test", parser, b);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AutoCompleteTextViewTest.java | 101 XmlPullParser parser; local 107 parser = mActivity.getResources().getXml(R.layout.simple_dropdown_item_1line); 108 AttributeSet attributeSet = Xml.asAttributeSet(parser); 113 parser = mActivity.getResources().getXml(R.layout.framelayout_layout); 114 attributeSet = Xml.asAttributeSet(parser);
|
GalleryTest.java | 83 XmlPullParser parser = getActivity().getResources().getXml(R.layout.gallery_test); local 84 AttributeSet attrs = Xml.asAttributeSet(parser); 166 XmlPullParser parser = getActivity().getResources().getXml(R.layout.gallery_test); local 167 WidgetTestUtils.beginDocument(parser, "LinearLayout"); 168 AttributeSet attrs = Xml.asAttributeSet(parser);
|
ImageViewTest.java | 113 XmlPullParser parser = mActivity.getResources().getXml(R.layout.imageview_layout); local 114 AttributeSet attrs = Xml.asAttributeSet(parser);
|
LinearLayoutTest.java | 59 XmlPullParser parser = mContext.getResources().getXml(R.layout.linearlayout_layout); local 60 AttributeSet attrs = Xml.asAttributeSet(parser); 182 // XmlPullParser parser = mContext.getResources().getXml(R.layout.linearlayout_layout); 183 // AttributeSet attrs = Xml.asAttributeSet(parser);
|
ListViewTest.java | 77 XmlPullParser parser = mActivity.getResources().getXml(R.layout.listview_layout); local 78 mAttributeSet = Xml.asAttributeSet(parser);
|
ScrollViewTest.java | 85 XmlPullParser parser = mActivity.getResources().getLayout(R.layout.scrollview_layout); local 86 AttributeSet attrs = Xml.asAttributeSet(parser);
|
/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...] |
/development/samples/Home/src/com/example/android/home/ |
Home.java | 285 final XmlPullParser parser = Xml.newPullParser(); local 286 parser.setInput(favReader); 288 beginDocument(parser, TAG_FAVORITES); 293 nextElement(parser); 295 String name = parser.getName(); 300 final String favoritePackage = parser.getAttributeValue(null, TAG_PACKAGE); 301 final String favoriteClass = parser.getAttributeValue(null, TAG_CLASS); 323 private static void beginDocument(XmlPullParser parser, String firstElementName) 327 while ((type = parser.next()) != XmlPullParser.START_TAG && 336 if (!parser.getName().equals(firstElementName)) [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
Profiler.java | 35 /** Using the debug event interface, track what is happening in the parser 119 /** Ack, should not store parser; can't do remote stuff. Well, we pass 122 public DebugParser parser = null; field in class:Profiler 151 public Profiler(DebugParser parser) { 152 this.parser = parser; 216 int startingLookaheadIndex = parser.getTokenStream().index(); 217 TokenStream input = parser.getTokenStream(); 279 /** The parser is in a decision if the decision depth > 0. This 308 // int thisRefIndex = parser.getTokenStream().index() [all...] |
/external/bluetooth/glib/gio/ |
gcontenttype.c | 565 MimeParser *parser = user_data; local 577 parser->current_lang_level = language_level (lang); 578 parser->current_type = MIME_TAG_TYPE_COMMENT; 581 parser->current_type = MIME_TAG_TYPE_OTHER; 591 MimeParser *parser = user_data; local 593 parser->current_type = MIME_TAG_TYPE_OTHER; 603 MimeParser *parser = user_data; local 605 if (parser->current_type == MIME_TAG_TYPE_COMMENT && 606 parser->current_lang_level > parser->comment_lang_level 623 GMarkupParser parser = { local [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 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/icu4c/i18n/ |
rbt_pars.cpp | 254 * RuleBasedTransliterator.Parser.parseRule(). 290 TransliteratorParser& parser; member in class:RuleHalf 295 RuleHalf(TransliteratorParser& parser); 315 UBool isValidOutput(TransliteratorParser& parser); 321 UBool isValidInput(TransliteratorParser& parser); 327 return parser.syntaxError(code, rule, start, status); 337 parser(p) 429 buf.append(parser.parseSet(rule, pp, status)); 445 if (!parser.checkVariableRange(escaped)) { 484 if (!parser.checkVariableRange(buf.charAt(iq))) [all...] |
/external/llvm/include/llvm/Support/ |
CommandLine.h | 492 // parser class - Parameterizable parser for different data types. By default, 494 // you would expect. The default parser, used for data types that are not 500 // not need replicated for every instance of the generic parser. This also 595 // Default parser implementation - This implementation depends on having a 598 // command line option for -help. Because this is a simple mapping parser, the 602 class parser : public generic_parser_base { class in namespace:llvm::cl 701 // basic_parser - The real basic parser is just a template wrapper that provides 712 // parser<bool> 715 class parser<bool> : public basic_parser<bool> class in namespace:llvm::cl 746 class parser<boolOrDefault> : public basic_parser<boolOrDefault> { class in namespace:llvm::cl 771 class parser<int> : public basic_parser<int> { class in namespace:llvm::cl 793 class parser<unsigned> : public basic_parser<unsigned> { class in namespace:llvm::cl 814 class parser<unsigned long long> : public basic_parser<unsigned long long> { class in namespace:llvm::cl 836 class parser<double> : public basic_parser<double> { class in namespace:llvm::cl 857 class parser<float> : public basic_parser<float> { class in namespace:llvm::cl 878 class parser<std::string> : public basic_parser<std::string> { class in namespace:llvm::cl 902 class parser<char> : public basic_parser<char> { class in namespace:llvm::cl [all...] |