/prebuilts/gdb/linux-x86/lib/python2.7/email/ |
parser.py | 57 def parse(self, fp, headersonly=False): 83 return self.parse(StringIO(text), headersonly=headersonly) 89 def parse(self, fp, headersonly=True): 90 return Parser.parse(self, fp, True) 56 def parse(self, fp, headersonly=False): member in class:Parser 87 def parse(self, fp, headersonly=True): member in class:HeaderParser
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/compiler/ |
__init__.py | 6 parse(buf, mode="exec") -> AST 11 The same as parse(open(path)) 29 from compiler.transformer import parse, parseFile namespace
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
parser.py | 57 def parse(self, fp, headersonly=False): 83 return self.parse(StringIO(text), headersonly=headersonly) 89 def parse(self, fp, headersonly=True): 90 return Parser.parse(self, fp, True) 56 def parse(self, fp, headersonly=False): member in class:Parser 87 def parse(self, fp, headersonly=True): member in class:HeaderParser
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/compiler/ |
__init__.py | 6 parse(buf, mode="exec") -> AST 11 The same as parse(open(path)) 29 from compiler.transformer import parse, parseFile namespace
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
parser.py | 57 def parse(self, fp, headersonly=False): 83 return self.parse(StringIO(text), headersonly=headersonly) 89 def parse(self, fp, headersonly=True): 90 return Parser.parse(self, fp, True) 56 def parse(self, fp, headersonly=False): member in class:Parser 87 def parse(self, fp, headersonly=True): member in class:HeaderParser
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/ |
rewrites.rb | 8 def parse( grammar, rule, input, expect_errors = false ) method in class:TestASTViaRewriteRules 60 result = parse( <<-'END', :a, 'abc 34' ) 73 result = parse( <<-'END', :a, 'abc' ) 87 result = parse( <<-'END', :a, 'abc' ) 101 result = parse( <<-'END', :a, 'abc' ) 115 result = parse( <<-'END', :a, 'abc' ) 128 result = parse( <<-'END', :a, 'c' ) 142 result = parse( <<-'END', :a, 'ick' ) 156 result = parse( <<-'END', :a, 'abc' ) 171 result = parse( <<-'END', :a, 'abc 34' [all...] |
auto-ast.rb | 8 def parse( grammar, rule, input, expect_errors = false ) method in class:TestAutoAST 61 result = parse( <<-'END', :a, 'abc 34' ) 73 result = parse( <<-'END', :a, 'abc 34' ) 85 result = parse( <<-'END', :a, 'abc 34' ) 97 result = parse( <<-'END', :a, '34 abc' ) 109 result = parse( <<-'END', :a, 'abc 34 dag 4532' ) 122 result = parse( <<-'END', :a, 'a 1 b' ) 134 result = parse( <<-'END', :a, 'void foo;' ) 146 result = parse( <<-'END', :a, 'void foo;' ) 158 result = parse( <<-'END', :a, 'void foo;' [all...] |
/toolchain/binutils/binutils-2.25/gas/ |
Makefile.am | 51 IT_HDRS=itbl-parse.h $(srcdir)/itbl-ops.h 52 IT_SRCS=itbl-parse.c itbl-lex-wrapper.c $(srcdir)/itbl-ops.c 53 IT_DEPS=$(srcdir)/itbl-parse.y $(srcdir)/itbl-lex.l $(srcdir)/config/itbl-@target_cpu_type@.h 54 IT_OBJS=itbl-parse.@OBJEXT@ itbl-lex.@OBJEXT@ itbl-ops.@OBJEXT@ 364 EXTRA_DIST = m68k-parse.c itbl-parse.c itbl-parse.h itbl-lex.c \ 365 bfin-parse.c bfin-parse.h bfin-lex.c \ 366 rl78-parse.c rl78-parse.h [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
IntentFilter_AuthorityEntryTest.java | 55 Uri uri = Uri.parse("testUri"); 57 uri = Uri.parse("content://contacts/deleted_people"); 59 uri = Uri.parse("test"); 62 uri = Uri.parse("http://" + mHost); 66 uri = Uri.parse("http://" + mHost + ":90"); 70 uri = Uri.parse("http://" + mHost + ":80"); 74 uri = Uri.parse("http://" + mHost + ":80");
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_linkage.c | 48 struct tgsi_parse_context parse; local 72 tgsi_parse_init(&parse, tokens); 75 while(!tgsi_parse_end_of_tokens(&parse)) 77 tgsi_parse_token(&parse); 79 if(parse.FullToken.Token.Type == TGSI_TOKEN_TYPE_INSTRUCTION) 81 const struct tgsi_full_instruction *finst = &parse.FullToken.FullInstruction; 110 tgsi_parse_free(&parse);
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
IntentUtilitiesTests.java | 72 i = new Intent(Intent.ACTION_VIEW, Uri.parse( 80 Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "ACCOUNT_ID"))); 83 i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "MAILBOX_ID"))); 86 i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "MESSAGE_ID"))); 98 i = new Intent(Intent.ACTION_VIEW, Uri.parse("content://s/")); 102 i = new Intent(Intent.ACTION_VIEW, Uri.parse("content://s/?ACCOUNT_UUID=")); 106 i = new Intent(Intent.ACTION_VIEW, Uri.parse("content://s/?ACCOUNT_UUID=xyz"));
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/ |
MultiAttachmentLayoutTest.java | 81 "image/jpeg", Uri.parse("content://uri1"), 100, 100); 83 "image/jpeg", Uri.parse("content://uri2"), 100, 100); 93 "image/jpeg", Uri.parse("content://uri1"), 100, 100); 95 "image/jpeg", Uri.parse("content://uri2"), 100, 100); 97 "image/jpeg", Uri.parse("content://uri3"), 100, 100); 99 "image/jpeg", Uri.parse("content://uri4"), 100, 100); 101 "image/jpeg", Uri.parse("content://uri5"), 100, 100);
|
/external/caliper/caliper/src/test/java/com/google/caliper/bridge/ |
LogMessageParserTest.java | 60 assertTrue(parser.parse(line) instanceof GcLogMessage); 68 assertTrue(parser.parse(line) instanceof GcLogMessage); 74 parser.parse("[GC 987K->384K(62848K), 0.0012320 secs]")); 76 parser.parse("[Full GC 384K->288K(62848K), 0.0054550 secs]")); 78 parser.parse( 81 parser.parse( 89 assertTrue(parser.parse(line) instanceof HotspotLogMessage); 97 assertTrue(parser.parse(line) instanceof HotspotLogMessage); 105 assertTrue(parser.parse(line) instanceof VmOptionLogMessage); 113 assertTrue(parser.parse(line) instanceof VmOptionLogMessage) [all...] |
/external/chromium-trace/catapult/third_party/html5lib-python/utils/ |
spider.py | 10 import urllib.request, urllib.error, urllib.parse namespace 34 self.parse(content) 40 def parse(self, content): member in class:Spider 44 tree = p.parse(content) 76 url = urllib.parse.urldefrag(link.attrib['href'])[0] 87 splitURL = list(urllib.parse.urlsplit(url)) 91 splitURL[1] = urllib.parse.urlsplit(self.currentURL)[1] 92 newUrls.add(urllib.parse.urlunsplit(splitURL)) 114 robotURL = list(urllib.parse.urlsplit(url)[:2]) 116 robotURL = urllib.parse.urlunsplit(robotURL [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
DocumentBuilderTest.java | 92 * @see javax.xml.parsers.DocumentBuilder#parse(org.xml.sax.InputSource) 95 public Document parse(InputSource is) throws SAXException, IOException { method in class:DocumentBuilderTest.MockDocumentBuilder 229 Document d = db.parse(f); 234 * javax.xml.parsers.DocumentBuilder#parse(java.io.File) 235 * Case 1: Try to parse correct xml document. 236 * Case 2: Try to call parse() with null argument. 237 * Case 3: Try to parse a non-existent file. 238 * Case 4: Try to parse incorrect xml file. 245 Document d = db.parse(f); 260 // case 2: Try to call parse with null argumen [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
HttpCookieTest.java | 390 HttpCookie cookie1 = HttpCookie.parse("Set-Cookie:name=value;max-age=2;").get(0); 391 HttpCookie cookie2 = HttpCookie.parse("Set-Cookie:name=value;max-age=100;").get(0); 418 HttpCookie pastExpiryCookie = HttpCookie.parse(pastExpiryCookieHeader).get(0); 424 HttpCookie futureExpiryCookie = HttpCookie.parse(futureExpiryCookieHeader).get(0); 539 * java.net.HttpCookie#parse(String) for exception cases 544 HttpCookie.parse(null); 555 * href="http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/cookie/NetscapeDraftSpec.html#parse(java.lang.String,%20int,%20java.lang.String,%20boolean,%20java.lang.String)"> 556 * http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/cookie/NetscapeDraftSpec.html#parse(java.lang.String,%20int,%20java.lang.String,%20boolean,%20java.lang.String) 601 * java.net.HttpCookie#parse(String) for locales other than 608 .parse("Set-Cookie:name=test;expires=Thu, 30-Oct-2008 19:14:07 GMT;") [all...] |
/external/v8/test/mjsunit/ |
json.js | 91 // Parse 92 assertEquals({}, JSON.parse("{}")); 93 assertEquals({42:37}, JSON.parse('{"42":37}')); 94 assertEquals(null, JSON.parse("null")); 95 assertEquals(true, JSON.parse("true")); 96 assertEquals(false, JSON.parse("false")); 97 assertEquals("foo", JSON.parse('"foo"')); 98 assertEquals("f\no", JSON.parse('"f\\no"')); 100 JSON.parse('"\\b\\f\\n\\r\\t\\"\\u2028\\/\\\\"')); 101 assertEquals([1.1], JSON.parse("[1.1]")) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
VerifierDeviceIdentityTest.java | 175 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_1_ENCODED); 184 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_MAXVALUE_ENCODED); 191 VerifierDeviceIdentity.parse("AAAA-AAAA-AAAA-"); 200 VerifierDeviceIdentity.parse("----------------"); 209 VerifierDeviceIdentity.parse("AAAA-AAAA-AAAA-AA"); 218 VerifierDeviceIdentity.parse(TEST_OVERFLOW_ENCODED); 228 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_1_ENCODED_LOWERCASE); 230 assertEquals("Lowercase should parse to be the same as uppercase", id1, id2); 237 VerifierDeviceIdentity id1 = VerifierDeviceIdentity.parse(TEST_SUBSTITUTION_CORRECTED); 239 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_SUBSTITUTION_UNCORRECTED) [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
ParseBenchmark.java | 100 parser.parse(text); 122 void parse(String data) throws Exception; method in interface:ParseBenchmark.Parser 126 @Override public void parse(String data) throws Exception { method in class:ParseBenchmark.AndroidStreamParser 177 @Override public void parse(String data) throws Exception { method in class:ParseBenchmark.OrgJsonParser 189 @Override public void parse(String data) throws Exception { method in class:ParseBenchmark.GeneralXmlPullParser 201 @Override public void parse(String data) throws Exception { method in class:ParseBenchmark.XmlDomParser 203 .parse(new InputSource(new StringReader(data))); 208 @Override public void parse(String data) throws Exception { method in class:ParseBenchmark.XmlSaxParser 209 SAXParserFactory.newInstance().newSAXParser().parse(
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
GraphicsStatsMonitor.java | 208 String proc = JankStat.StatPattern.PACKAGE.parse(line); 214 Long since = Long.parseLong(JankStat.StatPattern.STATS_SINCE.parse(line)); 217 int total = Integer.valueOf(JankStat.StatPattern.TOTAL_FRAMES.parse(line)); 221 int janky = Integer.valueOf(JankStat.StatPattern.NUM_JANKY.parse(line)); 225 String parsed50 = JankStat.StatPattern.FRAME_TIME_50TH.parse(line); 233 int perc90 = Integer.valueOf(JankStat.StatPattern.FRAME_TIME_90TH.parse(line)); 236 int perc95 = Integer.valueOf(JankStat.StatPattern.FRAME_TIME_95TH.parse(line)); 239 int perc99 = Integer.valueOf(JankStat.StatPattern.FRAME_TIME_99TH.parse(line)); 242 String slowest = JankStat.StatPattern.SLOWEST_FRAMES_24H.parse(line); 247 int vsync = Integer.valueOf(JankStat.StatPattern.NUM_MISSED_VSYNC.parse(line)) [all...] |
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_scan.c | 55 struct tgsi_parse_context parse; local 64 if (tgsi_parse_init( &parse, tokens ) != TGSI_PARSE_OK) { 68 procType = parse.FullHeader.Processor.Processor; 78 while( !tgsi_parse_end_of_tokens( &parse ) ) { 82 tgsi_parse_token( &parse ); 84 switch( parse.FullToken.Token.Type ) { 88 = &parse.FullToken.FullInstruction; 146 = &parse.FullToken.FullDeclaration; 230 = &parse.FullToken.FullProperty; 266 tgsi_parse_free (&parse); 279 struct tgsi_parse_context parse; local [all...] |
/external/llvm/lib/Support/ |
regcomp.c | 61 * parse structure, passed up and down to avoid global variables and 64 struct parse { struct 78 static void p_ere(struct parse *, int); 79 static void p_ere_exp(struct parse *); 80 static void p_str(struct parse *); 81 static void p_bre(struct parse *, int, int); 82 static int p_simp_re(struct parse *, int); 83 static int p_count(struct parse *); 84 static void p_bracket(struct parse *); 85 static void p_b_term(struct parse *, cset *) [all...] |
/ndk/sources/host-tools/ndk-stack/regex/ |
regcomp.c | 52 * parse structure, passed up and down to avoid global variables and 55 struct parse { struct 69 static void p_ere(struct parse *, int); 70 static void p_ere_exp(struct parse *); 71 static void p_str(struct parse *); 72 static void p_bre(struct parse *, int, int); 73 static int p_simp_re(struct parse *, int); 74 static int p_count(struct parse *); 75 static void p_bracket(struct parse *); 76 static void p_b_term(struct parse *, cset *) [all...] |
/external/jcommander/src/test/java/com/beust/jcommander/ |
FinderTest.java | 20 jc.parse(new String[] { "--PARAM", "foo" }); 31 jc.parse("--CONFIGURE"); 44 jc.parse(new String[] { "--par", "foo" }); 57 jc.parse(new String[] { "--PAR", "foo" }); 72 jc.parse(new String[] { "--par", "foo" }); 88 jc.parse(new String[] { "--PAR", "foo" });
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
StatusLineTest.java | 27 @Test public void parse() throws IOException { method in class:StatusLineTest 31 StatusLine statusLine = StatusLine.parse("HTTP/1." + version + " " + code + " " + message); 40 StatusLine statusLine = StatusLine.parse("HTTP/1." + version + " " + code + " "); 54 StatusLine statusLine = StatusLine.parse("HTTP/1." + version + " " + code); 62 StatusLine statusLine = StatusLine.parse("ICY 200 OK"); 113 StatusLine.parse(statusLine);
|