/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
SimpleDateFormatTest.java | 525 // java.text.SimpleDateFormat.parse(java.lang.String, 643 pFormat.parse("14 GMT-23"); 648 pFormat.parse("14 GMT+23"); 661 pFormat.parse("14 GMT+24:00"); [all...] |
/external/icu/icu4c/source/test/intltest/ |
numrgts.cpp | 58 public Number parse(String text, ParsePosition parsePosition) 62 /* Just use one of the parse functions */ 63 virtual void parse( const UnicodeString& /* text */, function in class:MyNumberFormatTest 70 virtual void parse( const UnicodeString& text, function in class:MyNumberFormatTest 74 NumberFormat::parse(text, result, status); 421 nfcommon->parse(stringValue, result, status); 422 failure(status, "nfcommon->parse", Locale::getUS()); 445 format->parse(UnicodeString("0"), result, status); 446 failure(status, "format->parse", Locale::getUS()); 581 * DecimalFormat.parse returns wrong valu [all...] |
incaltst.cpp | 411 // Test simple parse/format with adopt 432 UDate otherDate = fmt->parse(expected, status); 436 errln("Parse incorrect of " + escape(expected) + " - wanted " + aDate + " but got " + otherDate + ", " + escape(str3)); 498 // Test simple parse/format with adopt 517 UDate otherDate = fmt->parse(expected, status); 521 fmt->parse(expected, *cal2, pp); 523 errln("Parse incorrect of " + expected + " - wanted " + aDate + " but got " + " = " + otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); 531 // Test parse with incomplete information 548 UDate otherDate = fmt->parse(expected, status); 552 fmt->parse(expected, *cal2, pp) [all...] |
/cts/tests/app/src/android/app/cts/ |
DownloadManagerTest.java | 135 long id = mDownloadManager.enqueue(new Request(Uri.parse("http://www.example.com"))); 168 long id = mDownloadManager.enqueue(new Request(Uri.parse("https://www.example.com"))); 385 return Uri.parse(mWebServer.getTestDownloadUrl("cts-good-download", 0)); 389 return Uri.parse(mWebServer.getBaseUri() + "/nosuchurl"); 393 return Uri.parse(mWebServer.getTestDownloadUrl("cts-minimum-download", 398 return Uri.parse(mWebServer.getAssetUrl(asset));
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
DataObjectUnitTests.java | 58 Uri tel = Uri.parse("tel:555-TEST"); 136 Uri.parse("tel:555-TEST"), 140 assertEquals(Uri.parse("tel:555-TEST"), request.getAddress()); 154 assertEquals(Uri.parse("tel:555-TEST"), parcelRequest.getAddress()); 234 Uri originalAddress = Uri.parse("http://www.google.com"); 235 Uri gatewayAddress = Uri.parse("http://www.google.com");
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
JapaneseTest.java | 157 Date aDate = format.parse("1.1.9", pos); // after the start of heisei accession. Jan 1, 1H wouldn't work because it is actually showa 64 174 // Test parse with missing era (should default to current era, heisei) 175 // Test parse with incomplete information 176 logln("Testing parse w/ just year..."); 184 aDate = fmt.parse(samplestr); 189 fmt.parse(samplestr, cal2, pp); 190 logln("cal2 after 1 parse:"); 200 errln("parse "+ samplestr + " of 'y' as Japanese Calendar, expected year " + expectYear + 208 // Test parse with incomplete information 233 otherDate = fmt.parse(expected) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
JapaneseTest.java | 153 Date aDate = format.parse("1.1.9", pos); // after the start of heisei accession. Jan 1, 1H wouldn't work because it is actually showa 64 170 // Test parse with missing era (should default to current era, heisei) 171 // Test parse with incomplete information 172 logln("Testing parse w/ just year..."); 180 aDate = fmt.parse(samplestr); 185 fmt.parse(samplestr, cal2, pp); 186 logln("cal2 after 1 parse:"); 196 errln("parse "+ samplestr + " of 'y' as Japanese Calendar, expected year " + expectYear + 204 // Test parse with incomplete information 229 otherDate = fmt.parse(expected) [all...] |
/external/mesa3d/src/glsl/ |
Android.gen.mk | 36 glcpp/glcpp-parse.c 82 $(intermediates)/glcpp/glcpp-parse.c: $(LOCAL_PATH)/glcpp/glcpp-parse.y
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
SafeSaxTest.java | 103 Xml.parse(xml, root.getContentHandler()); 120 Xml.parse(xml, root.getContentHandler()); 138 Xml.parse(xml, root.getContentHandler()); 175 Xml.parse(inputStream, Xml.Encoding.UTF_8, new YouTubeContentHandler(videoAdapter)); 183 Xml.parse(inputStream, Xml.Encoding.UTF_8, newContentHandler(videoAdapter)); 191 Xml.parse(inputStream, Xml.Encoding.UTF_8, contentHandler);
|
/frameworks/support/tests/java/android/support/v4/content/ |
FileProviderTest.java | 115 strat.getFileForUri(Uri.parse("content://authority/tag/file.test")).getPath()); 119 Uri.parse("content://authority/tag/subdir/file.test")).getPath()); 127 strat.getFileForUri(Uri.parse("content://authority/tag/../file.test")); 143 strat.getFileForUri(Uri.parse(expected)).getPath()); 152 Uri.parse("content://authority/tag/file.txt?extra=foo")).getPath()); 167 strat.getFileForUri(Uri.parse(expected)).getPath());
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
BluetoothMapContentTest.java | 103 Uri tmpEmailUri = Uri.parse("content://com.android.email.bluetoothprovider/"); 106 mEmailMessagesUri = Uri.parse(mEmailUri + BluetoothMapContract.TABLE_MESSAGE); 107 mEmailFolderUri = Uri.parse(mEmailUri + BluetoothMapContract.TABLE_FOLDER); 108 mEmailAccountUri = Uri.parse(tmpEmailUri + BluetoothMapContract.TABLE_ACCOUNT); 200 Uri uri = Uri.parse(mEmailMessagesUri + "/" + id 238 Uri uri = Uri.parse(mEmailMessagesUri + "/" + id + "/" 662 // Uri mUri = mResolver.insert(Uri.parse("content://sms"), item); 665 mResolver.bulkInsert(Uri.parse("content://sms"), values); 680 Uri mUri = mResolver.insert(Uri.parse("content://sms"), item); 694 Uri mUri = mResolver.insert(Uri.parse("content://sms"), item) [all...] |
/cts/tests/tests/ndef/src/android/ndef/cts/ |
NdefTest.java | 314 NdefRecord.createUri(Uri.parse("http://www.nfc.com"))).toByteArray()); 415 // parse an AAR 485 assertEquals(Uri.parse("http://www.android.com"), 489 assertEquals(Uri.parse("http://www.android.com"), 492 assertEquals(Uri.parse("http://www.android.com"), 497 assertEquals(Uri.parse("http://www.android.com"), 502 assertEquals(Uri.parse("http://www.android.com"), 507 assertEquals(Uri.parse("vnd.android.nfc://ext/com.foo.bar:type"), 510 assertEquals(Uri.parse("http://www.android.com"),
|
/cts/tests/tests/security/src/android/security/cts/ |
BrowserTest.java | 144 List<Intent> intents = createAllIntents(Uri.parse("http://www.google.com")); 243 return createAllIntents(Uri.parse(javascript));
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TestCase.java | 106 void parse(XmlPullParser parser) throws XmlPullParserException, IOException { method in class:TestCase 116 test.parse(parser);
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
MemberListParser.java | 35 /** {@code non-null;} the class file to parse from */ 51 /** {@code null-ok;} parse observer, if any */ 57 * @param cf {@code non-null;} the class file to parse from 95 * Sets the parse observer for this instance. 104 * Runs {@link #parse} if it has not yet been run successfully. 108 parse(); method 172 private void parse() { method in class:MemberListParser
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarSpelunker.java | 74 public void parse() throws IOException { method in class:GrammarSpelunker 244 g.parse();
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
ProperBigFractionFormat.java | 130 * @param source the string to parse 135 public BigFraction parse(final String source, final ParsePosition pos) { method in class:ProperBigFractionFormat 136 // try to parse improper BigFraction 137 BigFraction ret = super.parse(source, pos); 144 // parse whitespace 147 // parse whole 157 // parse whitespace 160 // parse numerator 176 // parse '/' 196 // parse whitespac [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
DerGeneralizedTimeEDTest.java | 85 myDate = sdf.parse("06.06.2004 00:00"); 158 parse("06.06.2004 00:00");
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
BrowserCompatSpec.java | 108 public List<Cookie> parse(final Header header, final CookieOrigin origin) method in class:BrowserCompatSpec 155 return parse(elems, origin);
|
NetscapeDraftSpec.java | 124 public List<Cookie> parse(final Header header, final CookieOrigin origin) method in class:NetscapeDraftSpec 149 return parse(new HeaderElement[] { parser.parseHeader(buffer, cursor) }, origin);
|
/external/autotest/cli/ |
host.py | 133 def parse(self): member in class:host_list 138 (options, leftover) = super(host_list, self).parse([label_info]) 266 def parse(self): member in class:host_jobs 268 (options, leftover) = super(host_jobs, self).parse() 350 def parse(self): member in class:host_mod 352 (options, leftover) = super(host_mod, self).parse() 448 def parse(self): member in class:host_create 456 (options, leftover) = super(host_create, self).parse([label_info,
|
/external/autotest/tko/ |
site_parse.py | 25 # Existing parse behavior is kept completely intact. If the site parser is not 35 from autotest_lib.tko import models, parse, utils as tko_utils namespace 164 parse.main() 212 # Parse failure reason for this test.
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1UTCTime.java | 180 return dateF.parse(getTime()); 200 return dateF.parse(getAdjustedTime());
|
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
byterange.py | 70 def parse(cls, header): member in class:Range 72 Parse the header; may return None if header is invalid 129 def parse(cls, value): member in class:ContentRange 131 Parse the header. May return None if it cannot parse.
|
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/static/ |
jquery.url.js | 88 function parse(parts, parent, key, val) { 113 parse(parts, obj, part, val); 117 parse(parts, obj, part, val); 127 parse(parts, parent, 'base', val);
|