/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/ |
D | argument-types.js | 13 function test(expression, expressionShouldThrow, expectedException) { function 36 test('navigator.geolocation.getCurrentPosition()', true); 38 test('navigator.geolocation.getCurrentPosition(undefined)', true); 39 test('navigator.geolocation.getCurrentPosition(null)', true); 40 test('navigator.geolocation.getCurrentPosition({})', true); 41 test('navigator.geolocation.getCurrentPosition(objectThrowingException)', true); 42 test('navigator.geolocation.getCurrentPosition(emptyFunction)', false); 43 test('navigator.geolocation.getCurrentPosition(Math.abs)', false); 44 test('navigator.geolocation.getCurrentPosition(layoutTestController.setGeolocationPermission)', fal… 45 test('navigator.geolocation.getCurrentPosition(true)', true); [all …]
|
/external/v8/test/mjsunit/ |
D | regexp.js | 90 assertTrue(/\ca/.test( "\x01" )); 91 assertFalse(/\ca/.test( "\\ca" )); 92 assertFalse(/\ca/.test( "ca" )); 93 assertTrue(/\c[a/]/.test( "\\ca" )); 94 assertTrue(/\c[a/]/.test( "\\c/" )); 98 assertTrue(re.test("\r")); 99 assertFalse(re.test("M")); 100 assertFalse(re.test("c")); 101 assertFalse(re.test("\\")); 102 assertFalse(re.test("\x03")); // I.e., read as \cc [all …]
|
D | regexp-multiline.js | 33 assertTrue(/^bar/.test("bar")); 34 assertTrue(/^bar/.test("bar\nfoo")); 35 assertFalse(/^bar/.test("foo\nbar")); 36 assertTrue(/^bar/m.test("bar")); 37 assertTrue(/^bar/m.test("bar\nfoo")); 38 assertTrue(/^bar/m.test("foo\nbar")); 40 assertTrue(/bar$/.test("bar")); 41 assertFalse(/bar$/.test("bar\nfoo")); 42 assertTrue(/bar$/.test("foo\nbar")); 43 assertTrue(/bar$/m.test("bar")); [all …]
|
D | regexp-multiline-stack-trace.js | 37 assertTrue(/^bar/.test("bar")); 38 assertTrue(/^bar/.test("bar\nfoo")); 39 assertFalse(/^bar/.test("foo\nbar")); 40 assertTrue(/^bar/m.test("bar")); 41 assertTrue(/^bar/m.test("bar\nfoo")); 42 assertTrue(/^bar/m.test("foo\nbar")); 44 assertTrue(/bar$/.test("bar")); 45 assertFalse(/bar$/.test("bar\nfoo")); 46 assertTrue(/bar$/.test("foo\nbar")); 47 assertTrue(/bar$/m.test("bar")); [all …]
|
D | cyrillic.js | 76 assertTrue(Range(first, last).test(first), 1); 77 assertTrue(Range(first, last).test(middle), 2); 78 assertTrue(Range(first, last).test(last), 3); 80 assertFalse(Range(first, last).test(first_other_case), 4); 81 assertFalse(Range(first, last).test(middle_other_case), 5); 82 assertFalse(Range(first, last).test(last_other_case), 6); 84 assertTrue(Range(first, last, "i").test(first), 7); 85 assertTrue(Range(first, last, "i").test(middle), 8); 86 assertTrue(Range(first, last, "i").test(last), 9); 88 assertTrue(Range(first, last, "i").test(first_other_case), 10); [all …]
|
/external/dbus/cmake/test/ |
D | CMakeLists.txt | 1 project(test) project 6 ${CMAKE_SOURCE_DIR}/../test/test-utils.h 7 ${CMAKE_SOURCE_DIR}/../test/test-utils.c 11 add_subdirectory( name-test ) 13 set (test-service_SOURCES 14 ${CMAKE_SOURCE_DIR}/../test/test-service.c 15 ${CMAKE_SOURCE_DIR}/../test/test-utils.c 16 ${CMAKE_SOURCE_DIR}/../test/test-utils.h 19 set (test-names_SOURCES 20 ${CMAKE_SOURCE_DIR}/../test/test-names.c [all …]
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | SimpleDateFormatTest.java | 46 public void test(String pattern, Calendar cal, String expected, in test() method in SimpleDateFormatTest.TestFormat 338 TestFormat test = new TestFormat( in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() local 342 test.test(" G", cal, " AD", DateFormat.ERA_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 343 test.test(" GG", cal, " AD", DateFormat.ERA_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 344 test.test(" GGG", cal, " AD", DateFormat.ERA_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 345 test.test(" G", new GregorianCalendar(-1999, Calendar.JUNE, 2), " BC", in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 348 test.test(" y", cal, " 99", DateFormat.YEAR_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 349 test.test(" yy", cal, " 99", DateFormat.YEAR_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 350 test.test(" yy", new GregorianCalendar(2001, Calendar.JUNE, 2), " 01", in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 352 test.test(" yy", new GregorianCalendar(2000, Calendar.JUNE, 2), " 00", in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() [all …]
|
/external/clang/utils/ABITest/ |
D | Makefile.test.common | 3 # Usage: make test.N.report 30 .PHONY: test.%.report 31 test.%.report: temps/test.%.xx.diff temps/test.%.xy.diff temps/test.%.yx.diff temps/test.%.yy.diff 46 .PHONY: test.%.defs-report 47 test.%.defs-report: temps/test.%.defs.diff 55 .PHONY: test.%.build 56 test.%.build: temps/test.%.ref temps/test.%.xx temps/test.%.xy temps/test.%.yx temps/test.%.yy temp… 65 .PRECIOUS: temps/test.%.xx.diff 66 temps/test.%.xx.diff: temps/test.%.ref.out temps/test.%.xx.out 68 .PRECIOUS: temps/test.%.xy.diff [all …]
|
/external/srec/tools/grxmlcompile/ |
D | netw_arc.h | 172 int Compare (NUANArc *test) in Compare() argument 174 if (fromId > test->fromId) in Compare() 176 else if (fromId < test->fromId) in Compare() 178 else if (toId > test->toId) in Compare() 180 else if (toId < test->toId) in Compare() 182 else if (inputLabel > test->inputLabel) in Compare() 184 else if (inputLabel < test->inputLabel) in Compare() 186 else if (outputLabel > test->outputLabel) in Compare() 188 else if (outputLabel < test->outputLabel) in Compare() 194 int CompareSymbol (NUANArc *test) in CompareSymbol() argument [all …]
|
/external/srec/doc/logs/uapi/ |
D | run_robustness1.log | 5 android.speech.recognition.test.contacts.CLRecognizer:before EmbeddedRecognizer.getInstance() 6 android.speech.recognition.test.contacts.CLRecognizer:after EmbeddedRecognizer.getInstance(): andro… 7 android.speech.recognition.test.contacts.CLRecognizer:before EmbeddedRecognizer.configure(/system/u… 8 android.speech.recognition.test.contacts.CLRecognizer:after EmbeddedRecognizer.configure() 9 …d.speech.recognition.test.contacts.CLRecognizer:before recognizer.createGrammar(/system/usr/srec/c… 10 …id.speech.recognition.test.contacts.CLRecognizer:after recognizer.createGrammar(/system/usr/srec/c… 11 android.speech.recognition.test.contacts.CLRecognizer:before grammar.load() 12 android.speech.recognition.test.contacts.CLRecognizer:onLoaded 13 android.speech.recognition.test.contacts.CLRecognizer:Adding words to grammar slot 14 android.speech.recognition.test.contacts.CLRecognizer:item 0: Andy Wyatt [all …]
|
D | run_robustness2.log | 5 android.speech.recognition.test.contacts.CLRecognizer:before EmbeddedRecognizer.getInstance() 6 android.speech.recognition.test.contacts.CLRecognizer:after EmbeddedRecognizer.getInstance(): andro… 7 android.speech.recognition.test.contacts.CLRecognizer:before EmbeddedRecognizer.configure(/system/u… 8 android.speech.recognition.test.contacts.CLRecognizer:after EmbeddedRecognizer.configure() 9 …d.speech.recognition.test.contacts.CLRecognizer:before recognizer.createGrammar(/system/usr/srec/c… 10 …id.speech.recognition.test.contacts.CLRecognizer:after recognizer.createGrammar(/system/usr/srec/c… 11 android.speech.recognition.test.contacts.CLRecognizer:before grammar.load() 12 android.speech.recognition.test.contacts.CLRecognizer:onLoaded 13 android.speech.recognition.test.contacts.CLRecognizer:Adding words to grammar slot 14 android.speech.recognition.test.contacts.CLRecognizer:item 0: Andy Wyatt [all …]
|
/external/dbus/cmake/test/name-test/ |
D | CMakeLists.txt | 3 set (NAMEtest-DIR ../../../test/name-test) 7 add_executable(test-pending-call-dispatch ${NAMEtest-DIR}/test-pending-call-dispatch.c) 8 target_link_libraries(test-pending-call-dispatch ${DBUS_INTERNAL_LIBRARIES}) 9 ADD_TEST(test-pending-call-dispatch ${EXECUTABLE_OUTPUT_PATH}/test-pending-call-dispatch) 11 add_executable(test-pending-call-timeout ${NAMEtest-DIR}/test-pending-call-timeout.c) 12 target_link_libraries(test-pending-call-timeout ${DBUS_INTERNAL_LIBRARIES}) 13 ADD_TEST(test-pending-call-timeout ${EXECUTABLE_OUTPUT_PATH}/test-pending-call-timeout) 15 add_executable(test-thread-init ${NAMEtest-DIR}/test-threads-init.c) 16 target_link_libraries(test-thread-init ${DBUS_INTERNAL_LIBRARIES}) 17 ADD_TEST(test-thread-init ${EXECUTABLE_OUTPUT_PATH}/test-thread-init) [all …]
|
/external/clang/test/CXX/class.access/class.protected/ |
D | p1.cpp | 17 void test(A &a) { in test() function 21 void test(B &b) { in test() function 25 void test(C &c) { in test() function 29 void test(D &d) { in test() function 39 static void test(A&); 42 static void test(B&); 45 static void test(C&); 48 static void test(D&); 51 void A::test(A &a) { in test() function in test1::A 55 void B::test(B &b) { in test() function in test1::B [all …]
|
/external/icu4c/test/intltest/ |
D | itmajor.cpp | 45 suite test; \ 46 callTest(test, par); \ 56 IntlTestUtilities test; in runIndexedTest() local 57 callTest( test, par ); in runIndexedTest() 65 IntlTestNormalize test; in runIndexedTest() local 66 callTest( test, par ); in runIndexedTest() 75 IntlTestCollator test; in runIndexedTest() local 76 callTest( test, par ); in runIndexedTest() 85 RegexTest test; in runIndexedTest() local 86 callTest( test, par ); in runIndexedTest() [all …]
|
/external/mksh/src/ |
D | check.pl | 399 $ret = &read_test($file, IN, *test); 401 next if !$all_tests && !$do_test{$test{'name'}}; 402 next if !&category_check(*test); 403 $ret = &run_test(*test); 414 local(*test) = @_; 415 local($name) = $test{':full-name'}; 417 if (defined $test{'stdin'}) { 418 return undef if !&write_file($tempi, $test{'stdin'}); 424 if (defined $test{'script'}) { 425 return undef if !&write_file($temps, $test{'script'}); [all …]
|
/external/v8/test/cctest/ |
D | SConscript | 36 # Needed for test-log. Paths are relative to the cctest dir. 54 'test-accessors.cc', 55 'test-alloc.cc', 56 'test-api.cc', 57 'test-ast.cc', 58 'test-bignum-dtoa.cc', 59 'test-bignum.cc', 60 'test-circular-queue.cc', 61 'test-compiler.cc', 62 'test-conversions.cc', [all …]
|
D | cctest.gyp | 49 'test-accessors.cc', 50 'test-alloc.cc', 51 'test-api.cc', 52 'test-ast.cc', 53 'test-bignum.cc', 54 'test-bignum-dtoa.cc', 55 'test-circular-queue.cc', 56 'test-compiler.cc', 57 'test-conversions.cc', 58 'test-cpu-profiler.cc', [all …]
|
/external/clang/test/Lexer/ |
D | char-escapes.c | 3 int test['\\' == 92 ? 1 : -1]; variable 4 int test['\"' == 34 ? 1 : -1]; variable 5 int test['\'' == 39 ? 1 : -1]; variable 6 int test['\?' == 63 ? 1 : -1]; variable 7 int test['\a' == 7 ? 1 : -1]; variable 8 int test['\b' == 8 ? 1 : -1]; variable 9 int test['\e' == 27 ? 1 : -1]; // expected-warning {{non-standard escape}} variable 10 int test['\E' == 27 ? 1 : -1]; // expected-warning {{non-standard escape}} variable 11 int test['\f' == 12 ? 1 : -1]; variable 12 int test['\n' == 10 ? 1 : -1]; variable [all …]
|
/external/webkit/Source/WebKit/chromium/src/js/ |
D | Tests.js | 198 var test = this; 210 test.fail("Exception in overriden method '" + methodName + "': " + e); 238 var test = this; 253 test.releaseControl(); 257 test.fail(); 281 var test = this; 295 test.releaseControl(); 301 test.fail(); 324 var test = this; 328 test.releaseControl(); [all …]
|
/external/clang/test/CodeGen/ |
D | fp16-ops.c | 5 volatile cond_t test; variable 16 test = (h0); in foo() 19 test = (!h1); in foo() 125 test = (h2 < h0); in foo() 129 test = (h2 < (__fp16)42.0); in foo() 132 test = (h2 < f0); in foo() 135 test = (f2 < h0); in foo() 140 test = (h0 > h2); in foo() 144 test = ((__fp16)42.0 > h2); in foo() 147 test = (h0 > f2); in foo() [all …]
|
/external/clang/test/Analysis/ |
D | idempotent-operations.c | 5 extern void test(int i); 13 test(x - x); // expected-warning {{Both operands to '-' always have the same value}} in basic() 16 test(x / x); // expected-warning {{Both operands to '/' always have the same value}} in basic() 19 test(x & x); // expected-warning {{Both operands to '&' always have the same value}} in basic() 21 test(x | x); // expected-warning {{Both operands to '|' always have the same value}} in basic() 25 test(x * one); // expected-warning {{The right operand to '*' is always 1}} in basic() 27 test(x / one); // expected-warning {{The right operand to '/' is always 1}} in basic() 31 test(one * x); // expected-warning {{The left operand to '*' is always 1}} in basic() 34 test(x + zero); // expected-warning {{The right operand to '+' is always 0}} in basic() 35 test(x - zero); // expected-warning {{The right operand to '-' is always 0}} in basic() [all …]
|
/external/clang/test/Index/ |
D | c-index-api-loadTU-test.m | 2 // RUN: c-index-test -test-load-tu %t.ast all | FileCheck %s 78 // CHECK: c-index-api-loadTU-test.m:4:12: ObjCInterfaceDecl=Foo:4:12 Extent=[4:1 - 12:5] 79 // CHECK: c-index-api-loadTU-test.m:6:32: ObjCIvarDecl=myoutlet:6:32 (Definition) Extent=[6:3 - 6:4… 81 // CHECK: c-index-api-loadTU-test.m:6:29: TypeRef=id:0:0 Extent=[6:29 - 6:31] 82 // CHECK: c-index-api-loadTU-test.m:8:36: ObjCInstanceMethodDecl=myMessage::8:36 Extent=[8:1 - 8:54] 84 // CHECK: c-index-api-loadTU-test.m:8:50: ParmDecl=msg:8:50 (Definition) Extent=[8:47 - 8:53] 85 // CHECK: c-index-api-loadTU-test.m:8:47: TypeRef=id:0:0 Extent=[8:47 - 8:49] 86 // CHECK: c-index-api-loadTU-test.m:9:3: ObjCInstanceMethodDecl=foo:9:3 (deprecated) (always deprec… 87 // CHECK: c-index-api-loadTU-test.m:10:3: ObjCClassMethodDecl=fooC:10:3 Extent=[10:1 - 10:8] 88 // CHECK: c-index-api-loadTU-test.m:14:12: ObjCInterfaceDecl=Bar:14:12 Extent=[14:1 - 18:5] [all …]
|
/external/gtest/test/ |
D | gtest_shuffle_test.py | 122 for test in tests: 123 test_case = test.split('.')[0] 203 for test in SHUFFLED_ALL_TESTS: 204 self.assertEqual(1, SHUFFLED_ALL_TESTS.count(test), 205 '%s appears more than once' % (test,)) 206 for test in SHUFFLED_ACTIVE_TESTS: 207 self.assertEqual(1, SHUFFLED_ACTIVE_TESTS.count(test), 208 '%s appears more than once' % (test,)) 209 for test in SHUFFLED_FILTERED_TESTS: 210 self.assertEqual(1, SHUFFLED_FILTERED_TESTS.count(test), [all …]
|
/external/chromium/testing/gtest/test/ |
D | gtest_shuffle_test.py | 122 for test in tests: 123 test_case = test.split('.')[0] 203 for test in SHUFFLED_ALL_TESTS: 204 self.assertEqual(1, SHUFFLED_ALL_TESTS.count(test), 205 '%s appears more than once' % (test,)) 206 for test in SHUFFLED_ACTIVE_TESTS: 207 self.assertEqual(1, SHUFFLED_ACTIVE_TESTS.count(test), 208 '%s appears more than once' % (test,)) 209 for test in SHUFFLED_FILTERED_TESTS: 210 self.assertEqual(1, SHUFFLED_FILTERED_TESTS.count(test), [all …]
|
/external/junit/src/org/junit/internal/runners/ |
D | JUnit38ClassRunner.java | 30 public void endTest(Test test) { in endTest() argument 31 fNotifier.fireTestFinished(asDescription(test)); in endTest() 34 public void startTest(Test test) { in startTest() argument 35 fNotifier.fireTestStarted(asDescription(test)); in startTest() 39 public void addError(Test test, Throwable t) { in addError() argument 40 Failure failure= new Failure(asDescription(test), t); in addError() 44 private Description asDescription(Test test) { in asDescription() argument 45 if (test instanceof Describable) { in asDescription() 46 Describable facade= (Describable) test; in asDescription() 49 return Description.createTestDescription(getEffectiveClass(test), getName(test)); in asDescription() [all …]
|