Searched refs:twoByteString (Results 1 – 3 of 3) sorted by relevance
/external/v8/test/mjsunit/ |
D | string-indexof-1.js | 58 var twoByteString = "\u039a\u0391\u03a3\u03a3\u0395"; variable 61 assertEquals(0, twoByteString.indexOf("\u039a"), "Lamda"); 62 assertEquals(1, twoByteString.indexOf("\u0391"), "Alpha"); 63 assertEquals(2, twoByteString.indexOf("\u03a3"), "First Sigma"); 64 assertEquals(3, twoByteString.indexOf("\u03a3",3), "Second Sigma"); 65 assertEquals(4, twoByteString.indexOf("\u0395"), "Epsilon"); 66 assertEquals(-1, twoByteString.indexOf("\u0392"), "Not beta"); 69 assertEquals(0, twoByteString.indexOf("\u039a\u0391"), "lambda Alpha"); 70 assertEquals(1, twoByteString.indexOf("\u0391\u03a3"), "Alpha Sigma"); 71 assertEquals(2, twoByteString.indexOf("\u03a3\u03a3"), "Sigma Sigma"); [all …]
|
/external/chromium_org/v8/test/mjsunit/ |
D | string-indexof-1.js | 58 var twoByteString = "\u039a\u0391\u03a3\u03a3\u0395"; variable 61 assertEquals(0, twoByteString.indexOf("\u039a"), "Lamda"); 62 assertEquals(1, twoByteString.indexOf("\u0391"), "Alpha"); 63 assertEquals(2, twoByteString.indexOf("\u03a3"), "First Sigma"); 64 assertEquals(3, twoByteString.indexOf("\u03a3",3), "Second Sigma"); 65 assertEquals(4, twoByteString.indexOf("\u0395"), "Epsilon"); 66 assertEquals(-1, twoByteString.indexOf("\u0392"), "Not beta"); 69 assertEquals(0, twoByteString.indexOf("\u039a\u0391"), "lambda Alpha"); 70 assertEquals(1, twoByteString.indexOf("\u0391\u03a3"), "Alpha Sigma"); 71 assertEquals(2, twoByteString.indexOf("\u03a3\u03a3"), "Sigma Sigma"); [all …]
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
D | string-contains.js | 37 var twoByteString = "\u039a\u0391\u03a3\u03a3\u0395"; variable 40 assertTrue(twoByteString.contains("\u039a"), "Lamda"); 41 assertTrue(twoByteString.contains("\u0391"), "Alpha"); 42 assertTrue(twoByteString.contains("\u03a3"), "First Sigma"); 43 assertTrue(twoByteString.contains("\u03a3",3), "Second Sigma"); 44 assertTrue(twoByteString.contains("\u0395"), "Epsilon"); 45 assertFalse(twoByteString.contains("\u0392"), "Not beta"); 48 assertTrue(twoByteString.contains("\u039a\u0391"), "lambda Alpha"); 49 assertTrue(twoByteString.contains("\u0391\u03a3"), "Alpha Sigma"); 50 assertTrue(twoByteString.contains("\u03a3\u03a3"), "Sigma Sigma"); [all …]
|