/external/v8/tools/ |
try_perf.py | 59 parser = argparse.ArgumentParser(description='') 60 parser.add_argument('benchmarks', nargs='+', help='The benchmarks to run.') 61 parser.add_argument('--extra-flags', default='', 63 parser.add_argument('-r', '--revision', type=str, default=None, 68 parser.add_argument( 71 options = parser.parse_args()
|
/prebuilts/eclipse/maven/apache-maven-3.2.1/lib/ |
jsoup-1.7.2.jar | |
/prebuilts/tools/common/m2/repository/org/jsoup/jsoup/1.6.3/ |
jsoup-1.6.3.jar | |
/frameworks/base/tools/aapt2/ |
ResourceParser.cpp | 155 xml::XmlPullParser* parser, std::string* out_raw_string, StyleString* out_style_string, 176 while (xml::XmlPullParser::IsGoodEvent(parser->Next())) { 177 const xml::XmlPullParser::Event event = parser->event(); 180 if (parser->element_namespace().empty()) { 182 std::string span_name = parser->element_name(); 183 const auto end_attr_iter = parser->end_attributes(); 184 for (auto attr_iter = parser->begin_attributes(); attr_iter != end_attr_iter; ++attr_iter) { 193 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) 201 } else if (parser->element_namespace() == sXliffNamespaceUri) { 202 if (parser->element_name() == "g") [all...] |
/external/freetype/src/psaux/ |
psobjs.c | 276 /***** T1 PARSER *****/ 508 ps_parser_skip_PS_token( PS_Parser parser ) 514 FT_Byte* cur = parser->cursor; 515 FT_Byte* limit = parser->limit; 578 /* is handled by the test `cur == parser->cursor' below */ 586 if ( cur < limit && cur == parser->cursor ) 597 parser->error = error; 598 parser->cursor = cur; 603 ps_parser_skip_spaces( PS_Parser parser ) 605 skip_spaces( &parser->cursor, parser->limit ) [all...] |
/external/pdfium/third_party/freetype/src/psaux/ |
psobjs.c | 276 /***** T1 PARSER *****/ 508 ps_parser_skip_PS_token( PS_Parser parser ) 514 FT_Byte* cur = parser->cursor; 515 FT_Byte* limit = parser->limit; 578 /* is handled by the test `cur == parser->cursor' below */ 586 if ( cur < limit && cur == parser->cursor ) 600 parser->error = error; 601 parser->cursor = cur; 606 ps_parser_skip_spaces( PS_Parser parser ) 608 skip_spaces( &parser->cursor, parser->limit ) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_sax.py | 9 # don't try to test this module if we cannot create a parser 165 # Creating a parser should succeed - it should fall back 356 parser = make_parser() 357 parser.setFeature(feature_namespaces, True) 360 parser.setContentHandler(gen) 361 parser.parse(test_xml) 465 parser = create_parser() 469 parser.setContentHandler(xmlgen) 470 parser.parse(open(TEST_XMLFILE)) 480 parser = create_parser( [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_sax.py | 9 # don't try to test this module if we cannot create a parser 165 # Creating a parser should succeed - it should fall back 356 parser = make_parser() 357 parser.setFeature(feature_namespaces, True) 360 parser.setContentHandler(gen) 361 parser.parse(test_xml) 465 parser = create_parser() 469 parser.setContentHandler(xmlgen) 470 parser.parse(open(TEST_XMLFILE)) 480 parser = create_parser( [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_sax.py | 9 # don't try to test this module if we cannot create a parser 165 # Creating a parser should succeed - it should fall back 356 parser = make_parser() 357 parser.setFeature(feature_namespaces, True) 360 parser.setContentHandler(gen) 361 parser.parse(test_xml) 465 parser = create_parser() 469 parser.setContentHandler(xmlgen) 470 parser.parse(open(TEST_XMLFILE)) 480 parser = create_parser( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_sax.py | 9 # don't try to test this module if we cannot create a parser 165 # Creating a parser should succeed - it should fall back 356 parser = make_parser() 357 parser.setFeature(feature_namespaces, True) 360 parser.setContentHandler(gen) 361 parser.parse(test_xml) 465 parser = create_parser() 469 parser.setContentHandler(xmlgen) 470 parser.parse(open(TEST_XMLFILE)) 480 parser = create_parser( [all...] |
/frameworks/base/core/java/android/preference/ |
GenericInflater.java | 233 * @param parser XML dom node containing the description of the 240 public T inflate(XmlPullParser parser, P root) { 241 return inflate(parser, root, root != null); 262 XmlResourceParser parser = getContext().getResources().getXml(resource); local 264 return inflate(parser, root, attachToRoot); 266 parser.close(); 279 * @param parser XML dom node containing the description of the 291 public T inflate(XmlPullParser parser, P root, 294 final AttributeSet attrs = Xml.asAttributeSet(parser); 301 while ((type = parser.next()) != parser.START_TA [all...] |
/frameworks/base/core/java/android/transition/ |
TransitionInflater.java | 77 XmlResourceParser parser = mContext.getResources().getXml(resource); local 79 return createTransitionFromXml(parser, Xml.asAttributeSet(parser), null); 86 parser.getPositionDescription() 91 parser.close(); 106 XmlResourceParser parser = mContext.getResources().getXml(resource); local 108 return createTransitionManagerFromXml(parser, Xml.asAttributeSet(parser), sceneRoot); 115 parser.getPositionDescription() 120 parser.close() [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/lib/ |
astlib.c | 112 static ScanAST *stringparser_parse_tree(StringParser *parser);
113 static ScanAST *stringparser_parse_element(StringParser *parser);
647 StringParser parser;
local 651 stringparser_init(&parser, &lex);
652 t = stringparser_parse_tree(&parser);
653 *num_labels = parser.num_labels;
659 stringparser_match(StringParser *parser, int token)
661 stringparser_match(parser, token)
662 StringParser *parser;
666 if ( parser->token != token ) sorcerer_panic("bad tree in ast_scan()"); [all...] |
/external/autotest/client/bin/ |
test_config.py | 17 Base class of the configuration parser 31 # Base Parser 32 self.parser = ConfigParser() 38 self.parser.readfp(self.cfg) 44 self.parser.read(self.cfg) 49 self.parser.read(self.cfg) 57 self.parser.readfp(self.cfg) 72 if not self.parser.has_option(section, option): 79 return self.parser.get(section, option) 88 if not self.parser.has_section(section) [all...] |
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/ |
SoapFault12.java | 60 public void parse(XmlPullParser parser) throws IOException, XmlPullParserException 62 parseSelf(parser); 70 private void parseSelf(XmlPullParser parser) throws IOException, XmlPullParserException { 71 parser.require(XmlPullParser.START_TAG, SoapEnvelope.ENV2003, "Fault"); 73 while (parser.nextTag() == XmlPullParser.START_TAG) { 74 String name = parser.getName(); 75 parser.nextTag(); 78 this.Code.parse(parser); 81 this.Reason.parse(parser); 84 this.Node.parse(parser); [all...] |
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
SimpleInflater.java | 48 XmlResourceParser parser = null; local 50 parser = mContext.getResources().getLayout(menuRes); 51 AttributeSet attrs = Xml.asAttributeSet(parser); 53 parseMenu(parser, attrs); 59 if (parser != null) parser.close(); 63 private void parseMenu(XmlPullParser parser, AttributeSet attrs) 65 int eventType = parser.getEventType(); 73 tagName = parser.getName(); 76 eventType = parser.next() [all...] |
/prebuilts/tools/common/m2/repository/net/java/dev/javacc/javacc/5.0/ |
javacc-5.0.jar | |
/build/soong/cc/ |
test_gen_stub_libs.py | 154 parser = gsl.SymbolFileParser(input_file) 155 self.assertIsNone(parser.current_line) 157 self.assertEqual('foo', parser.next_line().strip()) 158 self.assertEqual('foo', parser.current_line.strip()) 160 self.assertEqual('bar', parser.next_line().strip()) 161 self.assertEqual('bar', parser.current_line.strip()) 163 self.assertEqual('qux', parser.next_line().strip()) 164 self.assertEqual('qux', parser.current_line.strip()) 166 self.assertEqual('', parser.next_line()) 167 self.assertEqual('', parser.current_line [all...] |
/external/toolchain-utils/ |
build_chrome_browser.py | 23 def Usage(parser, message): 25 parser.print_help() 34 parser = argparse.ArgumentParser() 35 parser.add_argument('--chromeos_root', 38 parser.add_argument('--version', dest='version') 39 parser.add_argument('--clean', 45 parser.add_argument('--env', 49 parser.add_argument('--ebuild_version', 52 parser.add_argument('--cflags', 56 parser.add_argument('--cxxflags' [all...] |
/frameworks/base/core/java/android/content/res/ |
FontResourcesParser.java | 35 * Parser for xml type font resources. 115 public static @Nullable FamilyResourceEntry parse(XmlPullParser parser, Resources resources) 118 while ((type=parser.next()) != XmlPullParser.START_TAG 126 return readFamilies(parser, resources); 129 private static @Nullable FamilyResourceEntry readFamilies(XmlPullParser parser, 131 parser.require(XmlPullParser.START_TAG, null, "font-family"); 132 String tag = parser.getName(); 135 return readFamily(parser, resources); 137 skip(parser); 143 private static @Nullable FamilyResourceEntry readFamily(XmlPullParser parser, [all...] |
/frameworks/support/compat/java/android/support/v4/content/res/ |
FontResourcesParserCompat.java | 45 * Parser for xml type font resources. 143 public static @Nullable FamilyResourceEntry parse(XmlPullParser parser, Resources resources) 146 while ((type = parser.next()) != XmlPullParser.START_TAG 154 return readFamilies(parser, resources); 157 private static @Nullable FamilyResourceEntry readFamilies(XmlPullParser parser, 159 parser.require(XmlPullParser.START_TAG, null, "font-family"); 160 String tag = parser.getName(); 162 return readFamily(parser, resources); 164 skip(parser); 169 private static @Nullable FamilyResourceEntry readFamily(XmlPullParser parser, [all...] |
/external/freetype/src/cff/ |
cffparse.c | 5 /* CFF token stream parser (body) */ 41 cff_parser_init( CFF_Parser parser, 53 FT_ZERO( parser ); 56 parser->top = parser->stack; 58 parser->object_code = code; 59 parser->object = object; 60 parser->library = library; 61 parser->num_designs = num_designs; 62 parser->num_axes = num_axes [all...] |
/external/clang/tools/clang-format/ |
clang-format-diff.py | 35 parser = argparse.ArgumentParser(description= 39 parser.add_argument('-i', action='store_true', default=False, 41 parser.add_argument('-p', metavar='NUM', default=0, 43 parser.add_argument('-regex', metavar='PATTERN', default=None, 46 parser.add_argument('-iregex', metavar='PATTERN', default= 51 parser.add_argument('-sort-includes', action='store_true', default=False, 53 parser.add_argument('-v', '--verbose', action='store_true', 55 parser.add_argument('-style', 58 parser.add_argument('-binary', default='clang-format', 60 args = parser.parse_args( [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_flags.cc | 94 explicit FlagHandlerInclude(FlagParser *parser, bool ignore_missing) 95 : parser_(parser), ignore_missing_(ignore_missing) {} 108 void RegisterIncludeFlags(FlagParser *parser, CommonFlags *cf) { 110 FlagHandlerInclude(parser, /*ignore_missing*/ false); 111 parser->RegisterHandler("include", fh_include, 114 FlagHandlerInclude(parser, /*ignore_missing*/ true); 115 parser->RegisterHandler( 120 void RegisterCommonFlags(FlagParser *parser, CommonFlags *cf) { 122 RegisterFlag(parser, #Name, Description, &cf->Name); 126 RegisterIncludeFlags(parser, cf) [all...] |
/external/expat/tests/benchmark/ |
benchmark.c | 27 XML_Parser parser; local 74 parser = XML_ParserCreateNS(NULL, '!'); 76 parser = XML_ParserCreate(NULL); 90 if (!XML_Parse (parser, XMLBufPtr, parseBufferSize, isFinal)) { 93 XML_ErrorString (XML_GetErrorCode (parser)), 94 XML_GetCurrentLineNumber (parser), 95 XML_GetCurrentColumnNumber (parser)); 97 XML_ParserFree (parser); 104 XML_ParserReset(parser, NULL); 108 XML_ParserFree (parser); [all...] |