/external/webkit/LayoutTests/fast/js/resources/ |
D | JSON-parse.js | 5 return jsonObject.parse(); 9 return jsonObject.parse(''); 13 return jsonObject.parse('1'); 16 return jsonObject.parse('-1'); 19 return jsonObject.parse('Infinity'); 23 return jsonObject.parse('NaN'); 27 return jsonObject.parse('null'); 30 return jsonObject.parse('undefined'); 34 return jsonObject.parse('{}'); 37 return jsonObject.parse('({})'); [all …]
|
/external/bluetooth/bluez/audio/ |
D | gstsbcparse.c | 64 GstSbcParse *parse = GST_SBC_PARSE(gst_pad_get_parent(pad)); in sbc_parse_chain() local 70 if (parse->buffer) { in sbc_parse_chain() 73 buffer = gst_buffer_span(parse->buffer, 0, buffer, in sbc_parse_chain() 74 GST_BUFFER_SIZE(parse->buffer) in sbc_parse_chain() 76 gst_buffer_unref(parse->buffer); in sbc_parse_chain() 78 parse->buffer = NULL; in sbc_parse_chain() 88 consumed = sbc_parse(&parse->new_sbc, data + offset, in sbc_parse_chain() 93 if (parse->first_parsing || (memcmp(&parse->sbc, in sbc_parse_chain() 94 &parse->new_sbc, sizeof(sbc_t)) != 0)) { in sbc_parse_chain() 96 memcpy(&parse->sbc, &parse->new_sbc, sizeof(sbc_t)); in sbc_parse_chain() [all …]
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
D | LevelTest.java | 112 assertSame(Level.SEVERE, Level.parse("SEVERE")); in testParse_PredefinedConstStrings() 113 assertSame(Level.WARNING, Level.parse("WARNING")); in testParse_PredefinedConstStrings() 114 assertSame(Level.INFO, Level.parse("INFO")); in testParse_PredefinedConstStrings() 115 assertSame(Level.CONFIG, Level.parse("CONFIG")); in testParse_PredefinedConstStrings() 116 assertSame(Level.FINE, Level.parse("FINE")); in testParse_PredefinedConstStrings() 117 assertSame(Level.FINER, Level.parse("FINER")); in testParse_PredefinedConstStrings() 118 assertSame(Level.FINEST, Level.parse("FINEST")); in testParse_PredefinedConstStrings() 119 assertSame(Level.OFF, Level.parse("OFF")); in testParse_PredefinedConstStrings() 120 assertSame(Level.ALL, Level.parse("ALL")); in testParse_PredefinedConstStrings() 128 Level.parse("SEVERe"); in testParse_IllegalConstString() [all …]
|
/external/v8/test/mjsunit/ |
D | json.js | 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]")); 102 assertEquals([1], JSON.parse("[1.0]")); [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
D | wpa_ft.c | 295 struct wpa_ft_ies *parse) in wpa_ft_parse_ftie() argument 299 parse->ftie = ie; in wpa_ft_parse_ftie() 300 parse->ftie_len = ie_len; in wpa_ft_parse_ftie() 313 parse->r1kh_id = pos + 2; in wpa_ft_parse_ftie() 316 parse->gtk = pos + 2; in wpa_ft_parse_ftie() 317 parse->gtk_len = pos[1]; in wpa_ft_parse_ftie() 325 parse->r0kh_id = pos + 2; in wpa_ft_parse_ftie() 326 parse->r0kh_id_len = pos[1]; in wpa_ft_parse_ftie() 330 parse->igtk = pos + 2; in wpa_ft_parse_ftie() 331 parse->igtk_len = pos[1]; in wpa_ft_parse_ftie() [all …]
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa_ft.c | 50 struct wpa_ft_ies *parse); 351 struct wpa_ft_ies *parse) in wpa_ft_parse_ftie() argument 355 parse->ftie = ie; in wpa_ft_parse_ftie() 356 parse->ftie_len = ie_len; in wpa_ft_parse_ftie() 369 parse->r1kh_id = pos + 2; in wpa_ft_parse_ftie() 372 parse->gtk = pos + 2; in wpa_ft_parse_ftie() 373 parse->gtk_len = pos[1]; in wpa_ft_parse_ftie() 381 parse->r0kh_id = pos + 2; in wpa_ft_parse_ftie() 382 parse->r0kh_id_len = pos[1]; in wpa_ft_parse_ftie() 386 parse->igtk = pos + 2; in wpa_ft_parse_ftie() [all …]
|
/external/webkit/Tools/Scripts/webkitpy/style/ |
D | optparser_unittest.py | 77 return parser.parse(args) 100 parse = self._parse 106 self.assertRaises(SystemExit, parse, ['--help']) 108 self.assertRaises(SystemExit, parse, ['--filter=']) 111 parse = self._parse 114 self.assertRaises(SystemExit, parse, ['--bad']) 117 self.assertRaises(SystemExit, parse, ['--min-confidence=bad']) 120 self.assertRaises(SystemExit, parse, ['--min-confidence=0']) 123 self.assertRaises(SystemExit, parse, ['--min-confidence=6']) 126 parse(['--min-confidence=1']) # works [all …]
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | SimpleDateFormatTest.java | 81 public void parse(String pattern, String input, Date expected, in parse() method in SimpleDateFormatTest.TestFormat 85 Date result = pFormat.parse(input, position); in parse() 584 test.parse("h", " 12", time, 1, 3); in test_parseLjava_lang_StringLjava_text_ParsePosition() 585 test.parse("H", " 0", time, 1, 2); in test_parseLjava_lang_StringLjava_text_ParsePosition() 586 test.parse("k", " 24", time, 1, 3); in test_parseLjava_lang_StringLjava_text_ParsePosition() 587 test.parse("K", " 0", time, 1, 2); in test_parseLjava_lang_StringLjava_text_ParsePosition() 591 test.parse("h", "1", time, 0, 1); in test_parseLjava_lang_StringLjava_text_ParsePosition() 592 test.parse("H", "1 ", time, 0, 1); in test_parseLjava_lang_StringLjava_text_ParsePosition() 593 test.parse("k", "1", time, 0, 1); in test_parseLjava_lang_StringLjava_text_ParsePosition() 594 test.parse("K", "1", time, 0, 1); in test_parseLjava_lang_StringLjava_text_ParsePosition() [all …]
|
/external/v8/test/mjsunit/regress/ |
D | regress-944.js | 31 assertEquals(1290722550521, Date.parse("2010-11-25T22:02:30.521Z")); 35 assertEquals(1290722550500, Date.parse("2010-11-25T22:02:30.5Z")); 36 assertEquals(1290722550520, Date.parse("2010-11-25T22:02:30.52Z")); 37 assertFalse(Date.parse("2010-11-25T22:02:30.5Z") === Date.parse("2010-11-25T22:02:30.005Z")); 40 assertEquals(Date.parse("2010-11-25T22:02:30.1005Z"), Date.parse("2010-11-25T22:02:30.100Z")); 43 assertEquals(Date.parse("2010-11-25T22:02:30.999Z"), Date.parse("2010-11-25T22:02:30.99999999999999… 46 assertTrue(isNaN(Date.parse("2010-11-25T22:02:30.Z")));
|
D | regress-857.js | 30 assertEquals(1283326536000, Date.parse("2010-08-31T22:35:36-09:00")); 31 assertEquals(1283261736000, Date.parse("2010-08-31T22:35:36+09:00")); 32 assertEquals(1283326536000, Date.parse("2010-08-31T22:35:36.0-09:00")); 33 assertEquals(1283261736000, Date.parse("2010-08-31T22:35:36.0+09:00")); 36 assertEquals(1283326536000, Date.parse("2010-08-31T22:35:36-0900")); 37 assertEquals(1283261736000, Date.parse("2010-08-31T22:35:36+0900"));
|
D | regress-1015.js | 45 var ja = JSON.parse('[1,2,3,4]'); 46 var jo = JSON.parse('{"bar": 10, "foo": 20}') 47 var jop = JSON.parse('{"bar": 10, "__proto__": { }, "foo": 20}') 57 var ja = JSON.parse('[1,2,3,4]'); 58 var jo = JSON.parse('{"bar": 10, "foo": 20}') 59 var jop = JSON.parse('{"bar": 10, "__proto__": { }, "foo": 20}')
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | HttpCookieTest.java | 519 HttpCookie.parse(null); in test_Parse_exception() 589 .parse("Set-Cookie:name=test;expires=Thu, 30-Oct-2008 19:14:07 GMT;"); in test_Parse_locale() 596 .parse("Set-Cookie:name=test;expires=Sun, 30-Oct-2005 19:14:07 GMT;"); in test_Parse_locale() 603 .parse("Set-Cookie:name=test;max-age=1234;expires=Sun, 30-Oct-2005 19:14:07 GMT;"); in test_Parse_locale() 611 … .parse("Set-Cookie:name=test;expires=Sun, 30-Oct-2005 19:14:07 GMT;max-age=-12345;"); in test_Parse_locale() 618 list = HttpCookie.parse("Set-Cookie2:name=test;max-age=1000"); in test_Parse_locale() 630 List<HttpCookie> list = HttpCookie.parse("test=\"null\""); in test_Parse() 645 list = HttpCookie.parse("Set-cookie2:name=\"tes,t\""); in test_Parse() 652 ….parse("Set-cookie2:test=null\";;Port=abde,82;Path=/temp;;;Discard;commentURl=http://harmonytest.o… in test_Parse() 664 ….parse("Set-Cookie:name=tes,t;Comment=version1-cookie;Discard=false;commentURL=vers\nion1-cookie-u… in test_Parse() [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
D | 15.9.5.2.js | 60 Math.abs(Date.parse(now.toString()) - now.valueOf()) < 1000 ); 73 Date.parse( (new Date(0)).toString() ) ) 78 Date.parse( (new Date(TZ_ADJUST)).toString() ) ) 84 Date.parse( (new Date(TIME_1900)).toString() ) ) 89 Date.parse( (new Date(TIME_1900 -TZ_ADJUST)).toString() ) ) 95 Date.parse( (new Date(TIME_2000)).toString() ) ) 100 Date.parse( (new Date(TIME_2000 -TZ_ADJUST)).toString() ) ) 108 Date.parse( (new Date(UTC_29_FEB_2000)).toString() ) ) 113 Date.parse( (new Date(UTC_29_FEB_2000-1000)).toString() ) ) 119 Date.parse( (new Date(UTC_29_FEB_2000-TZ_ADJUST)).toString() ) ) [all …]
|
D | 15.9.5.2-1.js | 60 Math.abs(Date.parse(now.toString()) - now.valueOf()) < 1000 ); 73 Date.parse( (new Date(0)).toString() ) ) 78 Date.parse( (new Date(TZ_ADJUST)).toString() ) ) 84 Date.parse( (new Date(TIME_1900)).toString() ) ) 89 Date.parse( (new Date(TIME_1900 -TZ_ADJUST)).toString() ) ) 95 Date.parse( (new Date(TIME_2000)).toString() ) ) 100 Date.parse( (new Date(TIME_2000 -TZ_ADJUST)).toString() ) ) 108 Date.parse( (new Date(UTC_29_FEB_2000)).toString() ) ) 113 Date.parse( (new Date(UTC_29_FEB_2000-1000)).toString() ) ) 119 Date.parse( (new Date(UTC_29_FEB_2000-TZ_ADJUST)).toString() ) ) [all …]
|
/external/llvm/lib/Support/ |
D | regcomp.c | 56 struct parse { struct 70 static void p_ere(struct parse *, int); argument 71 static void p_ere_exp(struct parse *); 72 static void p_str(struct parse *); 73 static void p_bre(struct parse *, int, int); 74 static int p_simp_re(struct parse *, int); 75 static int p_count(struct parse *); 76 static void p_bracket(struct parse *); 77 static void p_b_term(struct parse *, cset *); 78 static void p_b_cclass(struct parse *, cset *); [all …]
|
/external/jsilver/src/com/google/streamhtmlparser/ |
D | HtmlParserFactory.java | 261 parserInDefaultAttr.parse("<xparsertag htmlparser="); in initializeParsers() 262 parserInDefaultAttrQ.parse("<xparsertag htmlparser=\""); in initializeParsers() 265 parserInUriAttrComplete.parse("<xparsertag src="); in initializeParsers() 266 parserInUriAttrQComplete.parse("<xparsertag src=\""); in initializeParsers() 273 parserInUriAttrPartial.parse("<xparsertag src=" + fakeUrlPrefix); in initializeParsers() 274 parserInUriAttrQPartial.parse("<xparsertag src=\"" + fakeUrlPrefix); in initializeParsers() 279 parserInJsAttr.parse("<xparsertag onmouse="); in initializeParsers() 280 parserInJsAttrQ.parse("<xparsertag onmouse=\""); in initializeParsers() 282 parserInQJsAttr.parse("<xparsertag onmouse=\"'"); in initializeParsers() 286 parserInJsQ.parse("var fakeparservar='"); in initializeParsers() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth_ft.c | 51 struct wpa_ft_ies *parse); 506 struct ieee802_11_elems parse; in wpa_ft_process_rdie() local 527 if (ieee802_11_parse_elems((u8 *) ies, ies_len, &parse, 1) == in wpa_ft_process_rdie() 536 if (parse.wmm_tspec) { in wpa_ft_process_rdie() 540 if (parse.wmm_tspec_len + 2 < (int) sizeof(*tspec)) { in wpa_ft_process_rdie() 542 "(%d)", (int) parse.wmm_tspec_len); in wpa_ft_process_rdie() 555 os_memcpy(tspec, parse.wmm_tspec - 2, sizeof(*tspec)); in wpa_ft_process_rdie() 619 struct wpa_ft_ies parse; in wpa_sm_write_assoc_resp_ies() local 709 if (wpa_ft_parse_ies(req_ies, req_ies_len, &parse) == 0 && parse.ric) { in wpa_sm_write_assoc_resp_ies() 710 pos = wpa_ft_process_ric(pos, end, parse.ric, parse.ric_len); in wpa_sm_write_assoc_resp_ies() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
D | eap_ttls.c | 166 static int eap_ttls_avp_parse(u8 *buf, size_t len, struct eap_ttls_avp *parse) in eap_ttls_avp_parse() argument 174 os_memset(parse, 0, sizeof(*parse)); in eap_ttls_avp_parse() 218 if (parse->eap == NULL) { in eap_ttls_avp_parse() 219 parse->eap = os_malloc(dlen); in eap_ttls_avp_parse() 220 if (parse->eap == NULL) { in eap_ttls_avp_parse() 226 os_memcpy(parse->eap, dpos, dlen); in eap_ttls_avp_parse() 227 parse->eap_len = dlen; in eap_ttls_avp_parse() 229 u8 *neweap = os_realloc(parse->eap, in eap_ttls_avp_parse() 230 parse->eap_len + dlen); in eap_ttls_avp_parse() 237 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_avp_parse() [all …]
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_ttls.c | 166 static int eap_ttls_avp_parse(struct wpabuf *buf, struct eap_ttls_avp *parse) in eap_ttls_avp_parse() argument 174 os_memset(parse, 0, sizeof(*parse)); in eap_ttls_avp_parse() 218 if (parse->eap == NULL) { in eap_ttls_avp_parse() 219 parse->eap = os_malloc(dlen); in eap_ttls_avp_parse() 220 if (parse->eap == NULL) { in eap_ttls_avp_parse() 226 os_memcpy(parse->eap, dpos, dlen); in eap_ttls_avp_parse() 227 parse->eap_len = dlen; in eap_ttls_avp_parse() 229 u8 *neweap = os_realloc(parse->eap, in eap_ttls_avp_parse() 230 parse->eap_len + dlen); in eap_ttls_avp_parse() 237 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_avp_parse() [all …]
|
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
D | PhoneNumberUtilTest.java | 717 PhoneNumber number5 = phoneUtil.parse("+442087654321", RegionCode.GB); in testFormatUsingOriginalNumberFormat() 1317 assertEquals(NZ_NUMBER, phoneUtil.parse("033316005", RegionCode.NZ)); in testParseNationalNumber() 1318 assertEquals(NZ_NUMBER, phoneUtil.parse("33316005", RegionCode.NZ)); in testParseNationalNumber() 1320 assertEquals(NZ_NUMBER, phoneUtil.parse("03-331 6005", RegionCode.NZ)); in testParseNationalNumber() 1321 assertEquals(NZ_NUMBER, phoneUtil.parse("03 331 6005", RegionCode.NZ)); in testParseNationalNumber() 1325 assertEquals(NZ_NUMBER, phoneUtil.parse("0064 3 331 6005", RegionCode.NZ)); in testParseNationalNumber() 1328 assertEquals(NZ_NUMBER, phoneUtil.parse("01164 3 331 6005", RegionCode.US)); in testParseNationalNumber() 1329 assertEquals(NZ_NUMBER, phoneUtil.parse("+64 3 331 6005", RegionCode.US)); in testParseNationalNumber() 1333 assertEquals(nzNumber, phoneUtil.parse("64(0)64123456", RegionCode.NZ)); in testParseNationalNumber() 1335 assertEquals(DE_NUMBER, phoneUtil.parse("301/23456", RegionCode.DE)); in testParseNationalNumber() [all …]
|
/external/llvm/utils/lit/lit/ |
D | ShUtil.py | 232 def parse(self): member in ShParser 285 def parse(self, str): member in TestShParse 286 return ShParser(str).parse() 289 self.assertEqual(self.parse('echo hello'), 291 self.assertEqual(self.parse('echo ""'), 293 self.assertEqual(self.parse("""echo -DFOO='a'"""), 295 self.assertEqual(self.parse('echo -DFOO="a"'), 299 self.assertEqual(self.parse('echo hello > c'), 302 self.assertEqual(self.parse('echo hello > c >> d'), 305 self.assertEqual(self.parse('a 2>&1'), [all …]
|
/external/webkit/Tools/android/flex-2.5.4a/ |
D | Makefile.in | 69 SOURCES = ccl.c dfa.c ecs.c gen.c main.c misc.c nfa.c parse.y \ 71 OBJECTS = ccl.o dfa.o ecs.o gen.o main.o misc.o nfa.o parse.o \ 77 LINTSRCS = ccl.c dfa.c ecs.c gen.c main.c misc.c nfa.c parse.c \ 104 parse.c: parse.y 105 $(YACC) -d $(srcdir)/parse.y 106 @sed '/extern char.*malloc/d' <y.tab.c >parse.tmp 107 @mv parse.tmp parse.c 108 @mv y.tab.h parse.h 111 parse.h: parse.c 212 rm -f flex parse.c parse.h *.o alloca.c *.lint lex.yy.c lex.yy.cc \ [all …]
|
/external/proguard/src/proguard/util/ |
D | ClassNameParser.java | 60 public StringMatcher parse(String regularExpression) in parse() method in ClassNameParser 76 new OrMatcher(parse(regularExpression.substring(index + 5)), in parse() 90 createAnyTypeMatcher(parse(regularExpression.substring(index + 5))); in parse() 104 parse(regularExpression.substring(index + 2))); in parse() 118 parse(regularExpression.substring(index + 1))); in parse() 132 parse(regularExpression.substring(index + 1))); in parse() 146 parse(regularExpression.substring(index + 1))); in parse() 203 StringMatcher matcher = parser.parse(args[0]); in main()
|
/external/webkit/Tools/android/flex-2.5.4a/MISC/Amiga/ |
D | SMakefile | 69 SOURCES = ccl.c dfa.c ecs.c gen.c main.c misc.c nfa.c parse.y \ 71 OBJECTS = ccl.o dfa.o ecs.o gen.o main.o misc.o nfa.o parse.o \ 78 LINTSRCS = ccl.c dfa.c ecs.c gen.c main.c misc.c nfa.c parse.c \ 104 parse.c: ansiparse.y 106 $(SED) "/extern char.*malloc/d" <y.tab.c >parse.tmp 107 copy parse.tmp parse.c 108 copy y.tab.h parse.h 109 @delete y.tab.c y.tab.h parse.tmp 110 ansiparse.y: $(srcdir)/parse.y parse.ych 111 $(WMERGE) $(srcdir)/parse.y parse.ych ansiparse.y [all …]
|
/external/webkit/Tools/android/flex-2.5.4a/MISC/MSDOS/ |
D | MSC70.make | 36 parse.obj 52 parse.c \ 87 parse.h parse.c : parse.y 88 $(YACC) -d parse.y 89 @mv y_tab.c parse.c 90 @mv y_tab.h parse.h 96 scan.obj : scan.c parse.h flexdef.h 107 parse.obj : parse.c flexdef.h
|