/external/chromium_org/v8/test/mjsunit/ |
H A D | string-indexof-1.js | 30 assertEquals(0, s.indexOf("t")); 31 assertEquals(3, s.indexOf("t", 1)); 32 assertEquals(5, s.indexOf("t", 4)); 33 assertEquals(1, s.indexOf("e")); 34 assertEquals(2, s.indexOf("s")); 36 assertEquals(5, s.indexOf("test", 4)); 37 assertEquals(5, s.indexOf("test", 5)); 38 assertEquals(10, s.indexOf("test", 6)); 39 assertEquals(0, s.indexOf("test", 0)); 40 assertEquals(0, s.indexOf("tes [all...] |
H A D | for-in-special-cases.js | 77 assertTrue(-1 != elements.indexOf("0")); 78 assertTrue(-1 != elements.indexOf("1")); 79 assertTrue(-1 != elements.indexOf("2")); 80 assertTrue(-1 != elements.indexOf("3")); 103 assertTrue(-1 != elements.indexOf("0")); 104 assertTrue(-1 != elements.indexOf("1")); 105 assertTrue(-1 != elements.indexOf("2")); 106 assertTrue(-1 != elements.indexOf("7")); 107 assertTrue(-1 != elements.indexOf("foo")); 108 assertTrue(-1 != elements.indexOf("ba [all...] |
H A D | array-indexing.js | 49 // Array.prototype.indexOf. 53 assertEquals(-1, [].indexOf(1)); 54 assertEquals(-1, array.indexOf(4)); 55 assertEquals(-1, array.indexOf(3, array.length)); 57 assertEquals(2, array.indexOf(3)); 59 assertEquals(0, array.indexOf(1, -17)); 61 assertEquals(3, array.indexOf(1, -11)); 63 assertEquals(3, array.indexOf(1, 1)); 64 assertEquals(3, array.indexOf(1, 3)); 65 assertEquals(6, array.indexOf( [all...] |
H A D | debug-breakpoints.js | 70 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]a=1;") > 0); 76 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]") < 0); 84 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]b=2;") > 0); 90 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]a=1;") > 0); 91 assertTrue(Debug.showBreakPoints(g).indexOf("[B1]b=2;") > 0); 97 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]a=1;") > 0); 98 assertTrue(Debug.showBreakPoints(g).indexOf("[B1]b=2;") > 0); 99 assertTrue(Debug.showBreakPoints(g).indexOf("[B2]}") > 0); 105 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]a=1;") > 0); 106 assertTrue(Debug.showBreakPoints(g).indexOf("[B [all...] |
/external/v8/test/mjsunit/ |
H A D | string-indexof-1.js | 30 assertEquals(0, s.indexOf("t")); 31 assertEquals(3, s.indexOf("t", 1)); 32 assertEquals(5, s.indexOf("t", 4)); 33 assertEquals(1, s.indexOf("e")); 34 assertEquals(2, s.indexOf("s")); 36 assertEquals(5, s.indexOf("test", 4)); 37 assertEquals(5, s.indexOf("test", 5)); 38 assertEquals(10, s.indexOf("test", 6)); 39 assertEquals(0, s.indexOf("test", 0)); 40 assertEquals(0, s.indexOf("tes [all...] |
H A D | for-in-special-cases.js | 77 assertTrue(-1 != elements.indexOf("0")); 78 assertTrue(-1 != elements.indexOf("1")); 79 assertTrue(-1 != elements.indexOf("2")); 80 assertTrue(-1 != elements.indexOf("3")); 103 assertTrue(-1 != elements.indexOf("0")); 104 assertTrue(-1 != elements.indexOf("1")); 105 assertTrue(-1 != elements.indexOf("2")); 106 assertTrue(-1 != elements.indexOf("7")); 107 assertTrue(-1 != elements.indexOf("foo")); 108 assertTrue(-1 != elements.indexOf("ba [all...] |
H A D | array-indexing.js | 49 // Array.prototype.indexOf. 53 assertEquals(-1, [].indexOf(1)); 54 assertEquals(-1, array.indexOf(4)); 55 assertEquals(-1, array.indexOf(3, array.length)); 57 assertEquals(2, array.indexOf(3)); 59 assertEquals(0, array.indexOf(1, -17)); 61 assertEquals(3, array.indexOf(1, -11)); 63 assertEquals(3, array.indexOf(1, 1)); 64 assertEquals(3, array.indexOf(1, 3)); 65 assertEquals(6, array.indexOf( [all...] |
H A D | debug-breakpoints.js | 70 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]a=1;") > 0); 76 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]") < 0); 84 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]b=2;") > 0); 90 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]a=1;") > 0); 91 assertTrue(Debug.showBreakPoints(g).indexOf("[B1]b=2;") > 0); 97 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]a=1;") > 0); 98 assertTrue(Debug.showBreakPoints(g).indexOf("[B1]b=2;") > 0); 99 assertTrue(Debug.showBreakPoints(g).indexOf("[B2]}") > 0); 105 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]a=1;") > 0); 106 assertTrue(Debug.showBreakPoints(g).indexOf("[B [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-1150.js | 33 assertTrue(keys.indexOf("a") > 0);
|
H A D | regress-2686.js | 28 // Check Function doesn't use String.prototype.indexOf. 31 String.prototype.indexOf = function () { return -1; }
|
H A D | regress-237617.js | 41 assertTrue(error_stack.indexOf("test stack") > 0); 42 assertTrue(error_stack.indexOf("illegal") < 0);
|
H A D | regress-1439135.js | 35 var index = substring.indexOf('Y');
|
H A D | regress-1591.js | 46 assertTrue(stack.indexOf(expected_message) >= 0);
|
/external/v8/test/mjsunit/regress/ |
H A D | regress-1150.js | 33 assertTrue(keys.indexOf("a") > 0);
|
H A D | regress-1439135.js | 35 var index = substring.indexOf('Y');
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
H A D | XMLFormatterTest.java | 60 assertTrue(result.indexOf("<message>" + rb.getString("pattern") 62 assertTrue(result.indexOf("<key>pattern</key>") > 0); 66 assertTrue(result.indexOf("<message>" + rb.getString("msg") 68 assertTrue(result.indexOf("<key>msg</key>") > 0); 72 assertTrue(result.indexOf("<message>pattern {0, number}</message>") > 0); 73 assertTrue(result.indexOf("<key>") < 0); 78 assertTrue(result.indexOf("<message>bad key</message>") > 0); 79 assertTrue(result.indexOf("<key>") < 0); 96 assertTrue(output.indexOf("<record>") >= 0); 97 assertTrue(output.indexOf("<dat [all...] |
/external/chromium_org/v8/test/mjsunit/compiler/ |
H A D | regress-stacktrace.js | 43 var p3 = stack.indexOf("at three"); 44 var p2 = stack.indexOf("at two"); 45 var p1 = stack.indexOf("at one");
|
H A D | regress-stacktrace-methods.js | 57 var p3 = stack.indexOf("at Hest.three"); 58 var p2 = stack.indexOf("at Svin.two"); 59 var p1 = stack.indexOf("at Hest.one"); 65 assertTrue(stack.indexOf("38:56") != -1); 66 assertTrue(stack.indexOf("34:51") != -1); 67 assertTrue(stack.indexOf("36:38") != -1); 68 assertTrue(stack.indexOf("54:5") != -1);
|
/external/v8/test/mjsunit/compiler/ |
H A D | regress-stacktrace.js | 43 var p3 = stack.indexOf("at three"); 44 var p2 = stack.indexOf("at two"); 45 var p1 = stack.indexOf("at one");
|
H A D | regress-stacktrace-methods.js | 57 var p3 = stack.indexOf("at Hest.three"); 58 var p2 = stack.indexOf("at Svin.two"); 59 var p1 = stack.indexOf("at Hest.one"); 65 assertTrue(stack.indexOf("38:56") != -1); 66 assertTrue(stack.indexOf("34:51") != -1); 67 assertTrue(stack.indexOf("36:38") != -1); 68 assertTrue(stack.indexOf("54:5") != -1);
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_url/ |
H A D | background.js | 8 if (tab.url.indexOf('g') > -1) {
|
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ |
H A D | config.js | 59 return builderName.indexOf('GPU') == -1 && 60 builderName.indexOf('ASAN') == -1 && 61 builderName.indexOf('WebKit (Content Shell) Android') == -1 && 62 builderName.indexOf('WebKit Android') == -1;
|
/external/proguard/src/proguard/classfile/util/ |
H A D | ExternalTypeEnumeration.java | 64 index = descriptor.indexOf(ClassConstants.EXTERNAL_METHOD_ARGUMENTS_OPEN) + 1; 84 index = descriptor.indexOf(ClassConstants.EXTERNAL_METHOD_ARGUMENTS_SEPARATOR, 90 index = descriptor.indexOf(ClassConstants.EXTERNAL_METHOD_ARGUMENTS_CLOSE, 104 return descriptor.substring(0, descriptor.indexOf(ClassConstants.EXTERNAL_METHOD_ARGUMENTS_OPEN)).trim();
|
/external/ant-glob/src/org/apache/tools/ant/taskdefs/condition/ |
H A D | Os.java | 261 boolean isWindows = OS_NAME.indexOf(FAMILY_WINDOWS) > -1; 266 is9x = (OS_NAME.indexOf("95") >= 0 267 || OS_NAME.indexOf("98") >= 0 268 || OS_NAME.indexOf("me") >= 0 271 || OS_NAME.indexOf("ce") >= 0); 281 isFamily = OS_NAME.indexOf(FAMILY_OS2) > -1; 283 isFamily = OS_NAME.indexOf(FAMILY_NETWARE) > -1; 287 isFamily = OS_NAME.indexOf(FAMILY_MAC) > -1 288 || OS_NAME.indexOf(DARWIN) > -1; 290 isFamily = OS_NAME.indexOf("nonstop_kerne [all...] |
/external/doclava/src/com/google/doclava/ |
H A D | DocFile.java | 149 if (filename.indexOf("design") == 0) { 151 } else if (filename.indexOf("develop") == 0) { 153 } else if (filename.indexOf("guide") == 0) { 155 } else if (filename.indexOf("training") == 0) { 157 } else if (filename.indexOf("more") == 0) { 159 } else if (filename.indexOf("google") == 0) { 161 } else if (filename.indexOf("samples") == 0) { 163 } else if (filename.indexOf("distribute") == 0) { 165 } else if (filename.indexOf("about") == 0) { 167 } else if ((filename.indexOf("tool [all...] |