| /libcore/luni/src/main/java/java/util/ |
| Date.java | 42 // Used by parse() 143 * the String to parse. 149 milliseconds = parse(string); 350 private static int parse(String string, String[] array) { method in class:Date 365 * the String to parse. 371 public static long parse(String string) { method in class:Date 497 if (parse(text, weekdays) != -1) {/* empty */ 498 } else if (month == -1 && (month = parse(text, months)) != -1) {/* empty */
|
| /libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
| DocumentBuilderImpl.java | 91 public Document parse(InputSource source) throws SAXException, IOException { method in class:DocumentBuilderImpl 128 parse(parser, document, document, XmlPullParser.END_DOCUMENT); method 177 private void parse(KXmlParser parser, DocumentImpl document, Node node, method in class:DocumentBuilderImpl 254 * the proper info and attributes. We then invoke parse() 295 parse(parser, document, element, XmlPullParser.END_TAG); method 321 parse(parser, document, element, XmlPullParser.END_TAG); method
|
| /libcore/luni/src/test/java/libcore/java/text/ |
| OldNumberFormatTest.java | 37 assertEquals(new Long(-36), format.parse("-36")); 48 assertEquals(new Long(-36), format.parse("-36")); 58 assertEquals(new Long(-36), format.parse("36-")); 834 public Number parse(String source, ParsePosition parsePosition) { method in class:OldNumberFormatTest.MyNumberFormat [all...] |
| /cts/tests/tests/provider/src/android/provider/cts/ |
| MediaStore_Images_MediaTest.java | 134 mRowsAdded.add(Uri.parse(stringUrl)); 148 mRowsAdded.add(Uri.parse(stringUrl)); 151 c = Media.query(mContentResolver, Uri.parse(stringUrl), 177 c = Media.query(mContentResolver, Uri.parse(stringUrl), 212 mRowsAdded.add(Uri.parse(stringUrl)); 214 Cursor c = Media.query(mContentResolver, Uri.parse(stringUrl), new String[] { Media.DATA }, 370 Cursor c = mContentResolver.query(Uri.parse(stringUrl), new String[]{ Media._ID }, null,
|
| SettingsTest.java | 116 Uri uri = Uri.parse("content://settings/bluetooth_devices"); 200 Uri uri = Uri.parse("content://settings/" + table); 241 uri = Uri.parse("content://settings/" + goodtable);
|
| Settings_NameValueTableTest.java | 84 Uri uri = Uri.parse("content://authority/path");
|
| /cts/tests/tests/content/src/android/content/cts/ |
| ContextWrapperTest.java | 486 Uri uri = Uri.parse("content://ctstest"); 504 Uri uri = Uri.parse("content://ctstest"); 608 Uri uri = Uri.parse("contents://ctstest"); 805 Uri uri = Uri.parse("content://ctstest"); 820 mContextWrapper.grantUriPermission("com.android.mms", Uri.parse("contents://ctstest"), 848 Uri uri = Uri.parse("content://ctstest"); 865 Uri uri = Uri.parse("content://ctstest"); [all...] |
| /external/icu4c/test/intltest/ |
| msfmrgts.cpp | 201 Formattable *objs = messageFormatter->parse(tempBuffer, pp, count); 203 // errln("Parse failed with more than expected arguments"); 242 errln("Parse failed on object " + objs[i].getString(temp1) + " at index : " + i); 290 fmt->parse(str, pos, count); 305 f->parse("are negative", obj, pos); 307 errln(UnicodeString("Parse with \"are negative\" failed, at ") + pos.getErrorIndex()); 310 f->parse("are no or fraction ", obj, pos); 312 errln(UnicodeString("Parse with \"are no or fraction\" failed, at ") + pos.getErrorIndex()); 315 f->parse("go postal", obj, pos); 317 errln(UnicodeString("Parse with \"go postal\" failed, at ") + pos.getErrorIndex()) [all...] |
| /external/llvm/include/llvm/Support/ |
| CommandLine.h | 624 // parse - Return true on error. 625 bool parse(Option &O, StringRef ArgName, StringRef Arg, DataType &V) { function in class:llvm::cl::parser 717 // parse - Return true on error. 718 bool parse(Option &O, StringRef ArgName, StringRef Arg, bool &Val); 746 // parse - Return true on error. 747 bool parse(Option &O, StringRef ArgName, StringRef Arg, boolOrDefault &Val); 771 // parse - Return true on error. 772 bool parse(Option &O, StringRef ArgName, StringRef Arg, int &Val); 793 // parse - Return true on error. 794 bool parse(Option &O, StringRef ArgName, StringRef Arg, unsigned &Val) 879 bool parse(Option &, StringRef, StringRef Arg, std::string &Value) { function in class:llvm::cl::parser 903 bool parse(Option &, StringRef, StringRef Arg, char &Value) { function in class:llvm::cl::parser [all...] |
| /external/webkit/Source/WebCore/svg/ |
| SVGAnimationElement.cpp | 63 static void parseKeyTimes(const String& parse, Vector<float>& result, bool verifyOrder) 67 parse.split(';', parseList); 88 static void parseKeySplines(const String& parse, Vector<UnitBezier>& result) 91 if (parse.isEmpty()) 93 const UChar* cur = parse.characters(); 94 const UChar* end = cur + parse.length();
|
| /libcore/luni/src/test/java/libcore/xml/ |
| DomTest.java | 134 document = builder.parse(new InputSource(new StringReader(xml))); 189 @KnownFailure("Dalvik doesn't parse entity declarations") 191 assertNotNull("This implementation does not parse entity declarations", sp); 198 @KnownFailure("Dalvik doesn't parse notations") 200 assertNotNull("This implementation does not parse notations", png); 655 .parse(new InputSource(new StringReader(xml))) 669 .parse(new InputSource(new StringReader(xml))) [all...] |
| /dalvik/dx/src/com/android/dx/cf/direct/ |
| DirectClassFile.java | 147 /** {@code null-ok;} parse observer, if any */ 209 * Sets the parse observer for this instance. 373 * Runs {@link #parse} if it has not yet been run to cover up to 378 parse(); method 383 * Runs {@link #parse} if it has not yet been run successfully. 387 parse(); method 394 private void parse() { method in class:DirectClassFile 518 * that's what signals a successful parse of the first part of 580 * @param observer {@code null-ok;} parse observer to use, if any
|
| /external/antlr/src/org/antlr/runtime/tree/ |
| TreeWizard.java | 69 /** When using %label:TOKENNAME in a tree for parse(), we must 310 public boolean parse(Object t, String pattern, Map labels) { method in class:TreeWizard 323 public boolean parse(Object t, String pattern) { method in class:TreeWizard 324 return parse(t, pattern, null); 327 /** Do the work for parse. Check to see if the t2 pattern fits the
|
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
| URLTest.java | 1252 public void parse(URL url, String spec, int start, int end) { method in class:URLTest.MyURLStreamHandler [all...] |
| /external/icu4c/i18n/unicode/ |
| smpdtfmt.h | 31 * \brief C++ API: Format and parse dates in a language-independent manner. 158 * // Parse the previous string back into a Date. 160 * UDate currentTime_2 = formatter->parse(dateString, pp ); 195 * parse "1234". In other words, the leftmost field of the run is flexible, 196 * while the others keep a fixed width. If the parse fails anywhere in the run, 198 * parsed again. This is repeated until either the parse succeeds or the 199 * leftmost field is one character in length. If the parse still fails at that 200 * point, the parse of the run fails. 520 * Parse a date/time string beginning at the given parse position. Fo [all...] |
| /external/iptables/extensions/ |
| libxt_SET.c | 375 .parse = set_target_parse_v0, 390 .parse = set_target_parse_v1, 405 .parse = set_target_parse_v2,
|
| /external/skia/src/animator/ |
| SkDisplayEvent.cpp | 276 bool SkXMLParser::parse(SkStream& ) { return false; } function in class:SkXMLParser 287 bool SkXMLParser::parse(char const*, unsigned long ) { return false; } function in class:SkXMLParser 288 bool SkXMLParser::parse(SkDOM const&, SkDOMNode const* ) { return false; } function in class:SkXMLParser
|
| /frameworks/opt/calendar/tests/src/com/android/calendarcommon/ |
| RRuleTest.java | 103 dtstart.parse(dtstartStr); 111 rangeStart.parse(advanceTo); 112 rangeEnd.parse(endAt); [all...] |
| /libcore/luni/src/main/java/java/lang/ |
| Long.java | 176 long result = parse(string, i, base, negative); 353 return parse(string, i, radix, negative); 356 private static long parse(String string, int offset, int radix, boolean negative) { method in class:Long
|
| /libcore/luni/src/main/java/libcore/net/http/ |
| ResponseHeaders.java | 142 servedDate = HttpDate.parse(value); 144 expires = HttpDate.parse(value); 146 lastModified = HttpDate.parse(value);
|
| /packages/apps/Contacts/src/com/android/contacts/editor/ |
| EventFieldEditorView.java | 169 final Date date2 = kind.dateFormatWithoutYear.parse(oldValue, position); 207 Date date1 = kind.dateFormatWithYear.parse(oldValue, position); 218 final Date date2 = kind.dateFormatWithoutYear.parse(oldValue, position);
|
| /cts/tests/tests/security/src/android/security/cts/ |
| BrowserTest.java | 148 Uri uri = Uri.parse(javascript);
|
| /cts/tests/tests/util/src/android/util/cts/ |
| XmlEncodingTest.java | 95 Xml.parse(new ByteArrayInputStream(sourceStr.getBytes(STR_US_ASCII)), 127 Xml.parse(new ByteArrayInputStream(sourceStr.getBytes(STR_UTF_8)), 159 Xml.parse(new ByteArrayInputStream(sourceStr.getBytes(STR_UTF_16)), 191 Xml.parse(new ByteArrayInputStream(sourceStr.getBytes(STR_ISO_8859_1)),
|
| /cts/tools/utils/ |
| android_api_description_splitter.py | 86 self.doc = xml.dom.minidom.parse(xmlfile)
|
| /dalvik/dx/src/com/android/dx/command/dump/ |
| Main.java | 96 bytes = HexParser.parse(src);
|