/external/antlr/antlr-3.4/runtime/Python/tests/ |
t042ast.py | 25 def parse(self, text, method, rArgs=[], **kwargs): member in class:t042ast 40 r = self.parse("1 + 2", 'r1') 48 r = self.parse("assert 2+3;", 'r2') 56 r = self.parse("assert 2+3 : 5;", 'r2') 64 r = self.parse("if 1 fooze", 'r3') 72 r = self.parse("if 1 fooze else fooze", 'r3') 80 r = self.parse("while 2 fooze", 'r4') 88 r = self.parse("return;", 'r5') 96 r = self.parse("return 2+3;", 'r5') 104 r = self.parse("3", 'r6' [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheBuilderSpecTest.java | 19 import static com.google.common.cache.CacheBuilderSpec.parse; 38 CacheBuilderSpec spec = parse(""); 51 CacheBuilderSpec spec = parse("initialCapacity=10"); 66 parse("initialCapacity=10, initialCapacity=20"); 74 CacheBuilderSpec spec = parse("maximumSize=9000"); 88 parse("maximumSize=10, maximumSize=20"); 96 CacheBuilderSpec spec = parse("maximumWeight=9000"); 110 parse("maximumWeight=10, maximumWeight=20"); 119 parse("maximumSize=10, maximumWeight=20"); 127 CacheBuilderSpec spec = parse("concurrencyLevel=32") [all...] |
/libcore/luni/src/main/java/javax/xml/parsers/ |
DocumentBuilder.java | 46 * implementation use a SAX parser to parse XML document into a 87 * Parse the content of the given <code>InputStream</code> as an XML 96 * @exception SAXException If any parse errors occur. 100 public Document parse(InputStream is) method in class:DocumentBuilder 107 return parse(in); 111 * Parse the content of the given <code>InputStream</code> as an 120 * @exception SAXException If any parse errors occur. 124 public Document parse(InputStream is, String systemId) method in class:DocumentBuilder 132 return parse(in); 136 * Parse the content of the given URI as an XML documen 148 public Document parse(String uri) method in class:DocumentBuilder 171 public Document parse(File f) throws SAXException, IOException { method in class:DocumentBuilder 199 public abstract Document parse(InputSource is) method in class:DocumentBuilder [all...] |
/external/jsilver/src/com/google/streamhtmlparser/ |
HtmlParserFactory.java | 115 * Returns an {@code HtmlParser} object ready to parse HTML input. 243 * The parsers are set to their proper states by making them parse 261 parserInDefaultAttr.parse("<xparsertag htmlparser="); 262 parserInDefaultAttrQ.parse("<xparsertag htmlparser=\""); 265 parserInUriAttrComplete.parse("<xparsertag src="); 266 parserInUriAttrQComplete.parse("<xparsertag src=\""); 273 parserInUriAttrPartial.parse("<xparsertag src=" + fakeUrlPrefix); 274 parserInUriAttrQPartial.parse("<xparsertag src=\"" + fakeUrlPrefix); 279 parserInJsAttr.parse("<xparsertag onmouse="); 280 parserInJsAttrQ.parse("<xparsertag onmouse=\"") [all...] |
/development/samples/NotePad/src/com/example/android/notepad/ |
NotePad.java | 84 public static final Uri CONTENT_URI = Uri.parse(SCHEME + AUTHORITY + PATH_NOTES); 91 = Uri.parse(SCHEME + AUTHORITY + PATH_NOTE_ID); 98 = Uri.parse(SCHEME + AUTHORITY + PATH_NOTE_ID + "/#"); 104 = Uri.parse(SCHEME + AUTHORITY + PATH_LIVE_FOLDER);
|
/external/icu/icu4c/source/tools/genrb/ |
parse.h | 9 * File parse.h 29 /* Parse a ResourceBundle text file */ 30 struct SRBRoot* parse(UCHARBUF *buf, const char* inputDir, const char* outputDir,
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/ |
GroupEntry.java | 22 public abstract void parse(ByteBuffer byteBuffer); method in class:GroupEntry
|
/external/parameter-framework/upstream/parameter/ |
Rule.h | 42 // Parse 43 virtual bool parse(CRuleParser &ruleParser, std::string &strError) = 0;
|
/external/testng/src/main/java/org/testng/xml/ |
IFileParser.java | 9 T parse(String filePath, InputStream is, boolean loadClasses) throws TestNGException; method in interface:IFileParser
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldDecimalFormatTestICU.java | 77 assertEquals(123, format.parse("xxxxxxxxx123.0").intValue()); 86 assertEquals(2, format.parse("\u00e72 o'clock").intValue()); 87 assertEquals(12, format.parse("12 o'clock").intValue()); 111 assertEquals(100, format.parse("1E+2").intValue()); 112 assertEquals(0.01f, format.parse("1E-2").floatValue()); 116 assertEquals(100, format.parse("1E2 m/s").intValue()); 120 assertEquals(0.00123f, format.parse("12.3E-4").floatValue()); 124 assertEquals(12345, format.parse("12.345E3").intValue()); 139 assertEquals(1234567890, format.parse("123,456,7890").intValue()); 142 assertEquals(1234567890, format.parse("123,456,7890").intValue()) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
AuthorizationParser.java | 45 * @param authorization Authorization message to parse 60 * parse the String message 64 public SIPHeader parse() throws ParseException { method in class:AuthorizationParser 65 dbg_enter("parse"); 69 super.parse(auth); 72 dbg_leave("parse");
|
ProxyAuthenticateParser.java | 44 * @param proxyAuthenticate message to parse 59 * parse the String message 63 public SIPHeader parse() throws ParseException { method in class:ProxyAuthenticateParser 66 super.parse(proxyAuthenticate); 84 ProxyAuthenticate pa= (ProxyAuthenticate) pap.parse();
|
ProxyAuthorizationParser.java | 45 * @param proxyAuthorization -- header to parse 60 * parse the String message 64 public SIPHeader parse() throws ParseException { method in class:ProxyAuthorizationParser 67 super.parse(proxyAuth); 86 ProxyAuthorization pa= (ProxyAuthorization) pap.parse(); 91 pap.parse();
|
WWWAuthenticateParser.java | 44 * @param wwwAuthenticate - message to parse 59 * parse the String message 63 public SIPHeader parse() throws ParseException { method in class:WWWAuthenticateParser 65 dbg_enter("parse"); 69 super.parse(wwwAuthenticate); 73 dbg_leave("parse");
|
/frameworks/base/core/tests/coretests/src/android/net/ |
UriTest.java | 45 parcelAndUnparcel(Uri.parse("foo:bob%20lee")); 76 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); 89 Uri.parse("foo:bob%20lee").getSchemeSpecificPart()); 91 Uri.parse("foo:bob%20lee").getEncodedSchemeSpecificPart()); 93 Uri.parse("foo:/bob%20lee").getEncodedPath()); 94 assertNull(Uri.parse("foo:bob%20lee").getPath()); 96 Uri.parse("foo:?bob%20lee").getEncodedQuery()); 97 assertNull(Uri.parse("foo:bar#?bob%20lee").getQuery()); 99 Uri.parse("foo:#bob%20lee").getEncodedFragment()); 104 assertTrue(Uri.parse("bob").isHierarchical()) [all...] |
/frameworks/native/cmds/installd/ |
file_parsing.h | 27 bool ParseFile(const std::string& strFile, std::function<bool (const std::string&)> parse) { 49 if (!parse(line)) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
ParseExceptionTest.java | 31 df.parse("HelloWorld"); 44 df.parse("1999HelloWorld");
|
/libcore/luni/src/main/java/org/xml/sax/ |
Parser.java | 29 * and to initiate a parse from a URI, or a character stream.</p> 36 * once the first parse has completed successfully, but it may not 37 * invoke the parse() methods recursively within a parse.</p> 62 * not request a locale change in the middle of a parse.</p> 84 * in the middle of a parse, and the SAX parser must begin using 103 * handler in the middle of a parse, and the SAX parser must 122 * middle of a parse, and the SAX parser must begin using the new 141 * middle of a parse, and the SAX parser must begin using the new 153 * Parse an XML document 179 public abstract void parse (InputSource source) method in interface:Parser 205 public abstract void parse (String systemId) method in interface:Parser [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
QuickResponse.java | 35 CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/quickresponse"); 36 ACCOUNT_ID_URI = Uri.parse(EmailContent.CONTENT_URI + "/quickresponse/account");
|
/external/proguard/src/proguard/util/ |
ListParser.java | 52 public StringMatcher parse(String regularExpression) method in class:ListParser 55 return parse(ListUtil.commaSeparatedList(regularExpression)); 65 public StringMatcher parse(List regularExpressions) method in class:ListParser 100 new NotMatcher(stringParser.parse(regularExpression.substring(1))) : 101 stringParser.parse(regularExpression); 124 StringMatcher matcher = parser.parse(args[0]);
|
/external/chromium-trace/catapult/third_party/Paste/tests/ |
test_httpheaders.py | 66 assert EXPIRES.parse(headers) > time.time() 67 assert EXPIRES.parse(headers) < time.time() + 60 93 assert ('bytes',[(0,300)]) == RANGE.parse("bytes=0-300") 94 assert ('bytes',[(0,300)]) == RANGE.parse("bytes = -300") 95 assert ('bytes',[(0,None)]) == RANGE.parse("bytes= -") 96 assert ('bytes',[(0,None)]) == RANGE.parse("bytes=0 - ") 97 assert ('bytes',[(300,None)]) == RANGE.parse(" BYTES=300-") 98 assert ('bytes',[(4,5),(6,7)]) == RANGE.parse(" Bytes = 4 - 5,6 - 07 ") 99 assert ('bytes',[(0,5),(7,None)]) == RANGE.parse(" bytes=-5,7-") 100 assert ('bytes',[(0,5),(7,None)]) == RANGE.parse(" bytes=-5,7-" [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
MediaTypeTest.java | 38 MediaType mediaType = MediaType.parse("text/plain;boundary=foo;charset=utf-8"); 43 assertTrue(mediaType.equals(MediaType.parse("text/plain;boundary=foo;charset=utf-8"))); 45 MediaType.parse("text/plain;boundary=foo;charset=utf-8").hashCode()); 91 MediaType mediaType = MediaType.parse( 98 MediaType mediaType = MediaType.parse("text/plain;a=1;b=2;charset=utf-8;c=3"); 105 MediaType mediaType = MediaType.parse( 111 MediaType mediaType = MediaType.parse("text/plain; charset=utf-8; charset=UTF-8"); 117 MediaType.parse("text/plain; charset=utf-8; charset=utf-16"); 124 MediaType mediaType = MediaType.parse("text/plain; charset=\"!@#$%^&*()\""); 133 MediaType mediaType = MediaType.parse("text/plain; charset=utf-wtf") [all...] |
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/provider/ |
TouristAttractions.java | 60 Uri.parse("https://lh5.googleusercontent.com/-7fb5ybQhUbo/VGLWjIL4RmI/AAAAAAAAACM/2jLe_msj_tk/w600-no/IMG_0049.JPG"), 61 Uri.parse("https://lh3.googleusercontent.com/-EFEw6s7mT6I/VGLkCH4Xt4I/AAAAAAAAADY/ZlznhaQvb8E/w600-no/DSC_2775.JPG"), 70 Uri.parse("https://lh6.googleusercontent.com/-ORRJtfLQlaw/VGLmQPv3n8I/AAAAAAAAAD8/2TzSCCPzl9k/w600-no/DSC04114.JPG"), 71 Uri.parse("https://lh4.googleusercontent.com/-ch9Kk-7pD68/VGLkCNh5niI/AAAAAAAAADc/ztxkRHWX-po/w600-no/DSC_2739.JPG"), 80 Uri.parse("https://lh5.googleusercontent.com/-qX43g6s92LY/VGLaTT3N35I/AAAAAAAAAC8/BbueQmch0Rw/w600-no/68001.jpg"), 81 Uri.parse("https://lh6.googleusercontent.com/-SQ6T1Ure6l8/VGLaTg2iGuI/AAAAAAAAACo/m6_RkTW2G1o/w600-no/IMG_20140201_082851.jpg"), 90 Uri.parse("https://lh4.googleusercontent.com/-wbNgVdUkBiE/VHe99hGVtNI/AAAAAAAAAFY/fAHfhchNLJw/w600-no/IMG_20141124_143747.jpg"), 91 Uri.parse("https://lh6.googleusercontent.com/-sjY_xlEOic4/VHe9-I4DD9I/AAAAAAAAAFI/Mt0VnjU7SxQ/w600-no/IMG_20141124_144008.jpg"), 100 Uri.parse("https://lh6.googleusercontent.com/-kypwDfnk674/VGLWpQPm4VI/AAAAAAAAAB0/SrfL0fE9DnE/w500-no/OI000020_2.jpg"), 101 Uri.parse("https://lh3.googleusercontent.com/-6_Ioko2ysgU/VHva2PjmRCI/AAAAAAAAAGM/cHjJC7ney4Q/w500-no/PC1900 (…) [all...] |
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/provider/ |
TouristAttractions.java | 60 Uri.parse("https://lh5.googleusercontent.com/-7fb5ybQhUbo/VGLWjIL4RmI/AAAAAAAAACM/2jLe_msj_tk/w600-no/IMG_0049.JPG"), 61 Uri.parse("https://lh3.googleusercontent.com/-EFEw6s7mT6I/VGLkCH4Xt4I/AAAAAAAAADY/ZlznhaQvb8E/w600-no/DSC_2775.JPG"), 70 Uri.parse("https://lh6.googleusercontent.com/-ORRJtfLQlaw/VGLmQPv3n8I/AAAAAAAAAD8/2TzSCCPzl9k/w600-no/DSC04114.JPG"), 71 Uri.parse("https://lh4.googleusercontent.com/-ch9Kk-7pD68/VGLkCNh5niI/AAAAAAAAADc/ztxkRHWX-po/w600-no/DSC_2739.JPG"), 80 Uri.parse("https://lh5.googleusercontent.com/-qX43g6s92LY/VGLaTT3N35I/AAAAAAAAAC8/BbueQmch0Rw/w600-no/68001.jpg"), 81 Uri.parse("https://lh6.googleusercontent.com/-SQ6T1Ure6l8/VGLaTg2iGuI/AAAAAAAAACo/m6_RkTW2G1o/w600-no/IMG_20140201_082851.jpg"), 90 Uri.parse("https://lh4.googleusercontent.com/-wbNgVdUkBiE/VHe99hGVtNI/AAAAAAAAAFY/fAHfhchNLJw/w600-no/IMG_20141124_143747.jpg"), 91 Uri.parse("https://lh6.googleusercontent.com/-sjY_xlEOic4/VHe9-I4DD9I/AAAAAAAAAFI/Mt0VnjU7SxQ/w600-no/IMG_20141124_144008.jpg"), 100 Uri.parse("https://lh6.googleusercontent.com/-kypwDfnk674/VGLWpQPm4VI/AAAAAAAAAB0/SrfL0fE9DnE/w500-no/OI000020_2.jpg"), 101 Uri.parse("https://lh3.googleusercontent.com/-6_Ioko2ysgU/VHva2PjmRCI/AAAAAAAAAGM/cHjJC7ney4Q/w500-no/PC1900 (…) [all...] |
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/provider/ |
TouristAttractions.java | 60 Uri.parse("https://lh5.googleusercontent.com/-7fb5ybQhUbo/VGLWjIL4RmI/AAAAAAAAACM/2jLe_msj_tk/w600-no/IMG_0049.JPG"), 61 Uri.parse("https://lh3.googleusercontent.com/-EFEw6s7mT6I/VGLkCH4Xt4I/AAAAAAAAADY/ZlznhaQvb8E/w600-no/DSC_2775.JPG"), 70 Uri.parse("https://lh6.googleusercontent.com/-ORRJtfLQlaw/VGLmQPv3n8I/AAAAAAAAAD8/2TzSCCPzl9k/w600-no/DSC04114.JPG"), 71 Uri.parse("https://lh4.googleusercontent.com/-ch9Kk-7pD68/VGLkCNh5niI/AAAAAAAAADc/ztxkRHWX-po/w600-no/DSC_2739.JPG"), 80 Uri.parse("https://lh5.googleusercontent.com/-qX43g6s92LY/VGLaTT3N35I/AAAAAAAAAC8/BbueQmch0Rw/w600-no/68001.jpg"), 81 Uri.parse("https://lh6.googleusercontent.com/-SQ6T1Ure6l8/VGLaTg2iGuI/AAAAAAAAACo/m6_RkTW2G1o/w600-no/IMG_20140201_082851.jpg"), 90 Uri.parse("https://lh4.googleusercontent.com/-wbNgVdUkBiE/VHe99hGVtNI/AAAAAAAAAFY/fAHfhchNLJw/w600-no/IMG_20141124_143747.jpg"), 91 Uri.parse("https://lh6.googleusercontent.com/-sjY_xlEOic4/VHe9-I4DD9I/AAAAAAAAAFI/Mt0VnjU7SxQ/w600-no/IMG_20141124_144008.jpg"), 100 Uri.parse("https://lh6.googleusercontent.com/-kypwDfnk674/VGLWpQPm4VI/AAAAAAAAAB0/SrfL0fE9DnE/w500-no/OI000020_2.jpg"), 101 Uri.parse("https://lh3.googleusercontent.com/-6_Ioko2ysgU/VHva2PjmRCI/AAAAAAAAAGM/cHjJC7ney4Q/w500-no/PC1900 (…) [all...] |