| /libcore/luni/src/main/java/java/text/ |
| MessageFormat.java | 126 * the result array returned by the {@code parse} methods. 308 * objs = mf.parse(result, new ParsePosition(0)); 320 * Object[] objs = mf.parse(forParsing, new ParsePosition(0)); 818 * the string to parse. 819 * @return the array of {@code Object} arguments resulting from the parse. 823 public Object[] parse(String string) throws ParseException { method in class:MessageFormat 825 Object[] result = parse(string, position); 827 throw new ParseException("Parse failure", position.getErrorIndex()); 841 * the string to parse. 848 * @return the array of objects resulting from the parse, or {@code null} i 851 public Object[] parse(String string, ParsePosition position) { method in class:MessageFormat 865 Object parse; local [all...] |
| /packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
| MimeMessage.java | 60 // particular, any adds/changes/deletes here must be echoed by changes in the parse() function. 112 * Parse the given InputStream using Apache Mime4J to build a MimeMessage. 119 parse(in); 122 protected void parse(InputStream in) throws IOException, MessagingException { method in class:MimeMessage 137 parser.parse(new EOLConvertingInputStream(in)); 160 DateTimeField field = (DateTimeField)Field.parse("Date: " 221 mTo = Address.parse(MimeUtility.unfold(getFirstHeader("To"))); 226 mCc = Address.parse(MimeUtility.unfold(getFirstHeader("CC"))); 231 mBcc = Address.parse(MimeUtility.unfold(getFirstHeader("BCC"))); 294 mFrom = Address.parse(list) [all...] |
| /cts/tests/tests/content/src/android/content/cts/ |
| ContentProviderTest.java | 73 Uri uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + 143 Uri uri = Uri.parse("content://browser/bookmarks"); 245 Uri uri = Uri.parse("content://test"); 272 Uri uri = Uri.parse("content://test"); 276 uri = Uri.parse("content://test"); 286 uri = Uri.parse("content://test");
|
| ContentResolverTest.java | 52 private static final Uri TABLE1_URI = Uri.parse("content://" + AUTHORITY + "/testtable1/"); 53 private static final Uri TABLE2_URI = Uri.parse("content://" + AUTHORITY + "/testtable2/"); 126 Uri invalidUri = Uri.parse("abc"); 202 final Uri uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + 209 final Uri invalidUri = Uri.parse("abc"); 231 Uri uri = Uri.parse(ContentResolver.SCHEME_FILE + "://" + 242 uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + 258 Uri invalidUri = Uri.parse("abc"); 280 Uri uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + 294 Uri invalidUri = Uri.parse("abc") [all...] |
| SearchRecentSuggestionsProviderTest.java | 36 private final static Uri TEST_URI = Uri.parse(AUTHORITY_HEAD + "/suggestions"); 104 final Uri contentUri = Uri.parse(uriStr);
|
| /external/icu4c/i18n/ |
| reldtfmt.cpp | 87 // Initialize the parent fCalendar, so that parse() works correctly. 180 void RelativeDateFormat::parse( const UnicodeString& text, function in class:RelativeDateFormat 184 // Can the fDateFormat parse it? 187 fDateFormat->parse(text,cal,aPos); 190 pos=aPos; // copy the sub parse 217 // parse failed 221 RelativeDateFormat::parse( const UnicodeString& text, function in class:RelativeDateFormat 223 // redefined here because the other parse() function hides this function's 225 return DateFormat::parse(text, pos); 229 RelativeDateFormat::parse(const UnicodeString& text, UErrorCode& status) cons function in class:RelativeDateFormat [all...] |
| /external/icu4c/test/intltest/ |
| dtifmtts.cpp | 216 //===== test format and parse ================== 259 dataerrln("ERROR: parse should set U_INVALID_FORMAT_ERROR - exitting"); [all...] |
| incaltst.cpp | 414 // Test simple parse/format with adopt 435 UDate otherDate = fmt->parse(expected, status); 439 errln("Parse incorrect of " + escape(expected) + " - wanted " + aDate + " but got " + otherDate + ", " + escape(str3)); 501 // Test simple parse/format with adopt 520 UDate otherDate = fmt->parse(expected, status); 524 fmt->parse(expected, *cal2, pp); 526 errln("Parse incorrect of " + expected + " - wanted " + aDate + " but got " + " = " + otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); 534 // Test parse with incomplete information 551 UDate otherDate = fmt->parse(expected, status); 555 fmt->parse(expected, *cal2, pp) [all...] |
| /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);
|
| /cts/tests/tests/net/src/android/net/cts/ |
| Uri_BuilderTest.java | 134 Uri uri = Uri.parse("http://google.com/p1?query#fragment"); 144 uri = Uri.parse("mailto:nobody");
|
| /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
| CtsApiCoverage.java | 105 * 2. For each provided APK, scan it using dexdeps, parse the output of dexdeps, and 146 xmlReader.parse(new InputSource(fileReader)); 170 xmlReader.parse(new InputSource(process.getInputStream()));
|
| /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
|
| /dalvik/dx/src/com/android/dx/command/annotool/ |
| Main.java | 75 void parse (String[] argArray) throws InvalidArgumentException { method in class:Main.Arguments 151 args.parse(argArray);
|
| /development/samples/ApiDemos/src/com/example/android/apis/content/ |
| ClipboardSample.java | 109 Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.android.com/")); 114 mClipboard.setPrimaryClip(ClipData.newRawUri("URI", Uri.parse("http://www.android.com/")));
|
| /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
| DerGeneralizedTimeEDTest.java | 84 myDate = sdf.parse("06.06.2004 00:00"); 155 parse("06.06.2004 00:00");
|
| /external/apache-http/src/org/apache/http/impl/cookie/ |
| BrowserCompatSpec.java | 103 public List<Cookie> parse(final Header header, final CookieOrigin origin) method in class:BrowserCompatSpec 150 return parse(elems, origin);
|
| NetscapeDraftSpec.java | 119 public List<Cookie> parse(final Header header, final CookieOrigin origin) method in class:NetscapeDraftSpec 144 return parse(new HeaderElement[] { parser.parseHeader(buffer, cursor) }, origin);
|
| /external/clang/bindings/python/tests/cindex/ |
| test_type.py | 22 tu = index.parse('t.c', unsaved_files = [('t.c',kInput)]) 86 tu = index.parse('t.c', unsaved_files = [('t.c',constarrayInput)])
|
| /external/e2fsprogs/lib/ss/ |
| ct_c.sed | 20 # A number sent to the output represents a parse error --- it will be 25 # an awk script to parse. 80 # First, parse out the subroutine name 84 # Next, parse out the help message, being careful to handle a quoted string 127 # Here we parse the list of options. 138 ERROR: parse error in options list
|
| /external/v8/test/mjsunit/ |
| date.js | 37 var date0 = Date.parse("Dec 25 1995 1:30"); 38 var date1 = Date.parse("Dec 25, 1995 1:30"); 39 var date2 = Date.parse("Dec 25 1995, 1:30"); 40 var date3 = Date.parse("Dec 25, 1995, 1:30");
|
| /external/webkit/PerformanceTests/SunSpider/ |
| sunspider-compare-results | 45 --parse-only Compare the parse-only benchmark results 52 'parse-only' => \$parseOnly, 57 $suite = "parse-only" if ($parseOnly);
|
| /frameworks/base/core/java/android/preference/ |
| RingtonePreference.java | 193 return !TextUtils.isEmpty(uriString) ? Uri.parse(uriString) : null; 218 onSaveRingtone(Uri.parse(defaultValue));
|
| /frameworks/base/core/java/android/provider/ |
| DrmStore.java | 86 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/images"); 91 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/audio");
|
| /frameworks/base/libs/utils/ |
| PropertyMap.cpp | 135 status = parser.parse(); 163 status_t PropertyMap::Parser::parse() { function in class:android::PropertyMap::Parser
|