/external/webkit/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.8-1.js | 27 Returns an Array object into which substrings of the result of converting 30 occurrences are not part of any substring in the returned array, but serve 34 up into individual characters; the length of the result array equals the 37 If the separator is not supplied, then the result array contains just one 60 var array = new Array(); 63 array[item++] = new TestCase( SECTION, "String.prototype.split.length", 2, String.prototype.split.length ); 64 array[item++] = new TestCase( SECTION, "delete String.prototype.split.length", false, delete String.prototype.split.length ); 65 array[item++] = new TestCase( SECTION, "delete String.prototype.split.length; String.prototype.split.length", 2, eval("delete String.prototype.split.length; String.prototype.split.length") ); 71 array[item++] = new TestCase( SECTION [all...] |
15.5.4.4-2.js | 59 var array = new Array(); 61 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(0)", "t", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(0)") ); 62 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(1)", "r", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(1)") ); 63 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(2)", "u", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(2)") ); 64 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(3)", "e", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(3)") ); 65 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(4)", "", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(4)") ); 66 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(-1)", "", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(-1)") ); 68 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(true)", "r", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(true)") ); 69 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.ch (…) [all...] |
15.5.3.2-1.js | 52 var array = new Array(); 55 array[item++] = new TestCase( SECTION, "typeof String.fromCharCode", "function", typeof String.fromCharCode ); 56 array[item++] = new TestCase( SECTION, "typeof String.prototype.fromCharCode", "undefined", typeof String.prototype.fromCharCode ); 57 array[item++] = new TestCase( SECTION, "var x = new String(); typeof x.fromCharCode", "undefined", eval("var x = new String(); typeof x.fromCharCode") ); 58 array[item++] = new TestCase( SECTION, "String.fromCharCode.length", 1, String.fromCharCode.length ); 60 array[item++] = new TestCase( SECTION, "String.fromCharCode()", "", String.fromCharCode() ); 61 array[item++] = new TestCase( SECTION, "String.fromCharCode(0x0020)", " ", String.fromCharCode(0x0020) ); 62 array[item++] = new TestCase( SECTION, "String.fromCharCode(0x0021)", "!", String.fromCharCode(0x0021) ); 63 array[item++] = new TestCase( SECTION, "String.fromCharCode(0x0022)", "\"", String.fromCharCode( (…) [all...] |
15.5.4.4-4.js | 61 var array = new Array(); 64 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(0)", "n", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(0)") ); 65 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(1)", "u", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(1)") ); 66 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(2)", "l", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(2)") ); 67 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(3)", "l", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(3)") ); 69 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x.charAt(0)", "u", eval("x=undefined; x.__proto__.charAt = String.prototype.charAt; x.charAt(0)") ); 70 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x.charAt(1)", "n", eval("x=undefined; x.__proto__.charAt = String.prototype.charAt; x.charAt(1)") ); 71 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x.charAt(2)", "d", eval("x=undefined; x.__proto__.charAt = String.prototype.charAt; x.charAt(2)") ); 72 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x (…) [all...] |
/dalvik/libcore/json/src/test/java/org/json/ |
JSONArrayTest.java | 31 JSONArray array = new JSONArray(); local 32 assertEquals(0, array.length()); 33 assertEquals("", array.join(" AND ")); 35 array.get(0); 40 array.getBoolean(0); 45 assertEquals("[]", array.toString()); 46 assertEquals("[]", array.toString(4)); 49 assertTrue(array.isNull(0)); 50 assertNull(array.opt(0)); 51 assertFalse(array.optBoolean(0)) 77 JSONArray array = new JSONArray(); local 126 JSONArray array = new JSONArray(); local 168 JSONArray array = new JSONArray("[\\"null\\",null]"); local 187 JSONArray array = new JSONArray(); local 233 JSONArray array = new JSONArray(); local 286 JSONArray array = new JSONArray(); local 302 JSONArray array = new JSONArray(Arrays.asList(5, 6)); local 307 JSONArray array = new JSONArray(Arrays.asList(5, 6)); local 378 JSONArray array = new JSONArray(); local 398 JSONArray array = new JSONArray(); local 410 JSONArray array = new JSONArray(Arrays.asList(5.5, Double.NaN)); local 418 JSONArray array = new JSONArray(Arrays.asList(5.5, Double.NaN)); local 424 JSONArray array = new JSONArray(contents); local 494 JSONArray array = new JSONArray(Arrays.asList(5.5, true)); local 502 JSONArray array = new JSONArray(); local [all...] |
/external/icu4c/test/letest/ |
letest.h | 25 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 31 #define DELETE_ARRAY(array) free((void *) (array)) 33 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/ExecutionContexts/ |
10.1.3.js | 44 var array = new Array(); 48 array[item++] = 56 array[item++] = 64 array[item++] = 69 array[item++] = 74 array[item++] = 79 array[item++] = 85 array[item++] = 89 array[item++] = [all...] |
/external/stlport/test/unit/ |
binsert_test.cpp | 32 const char* array [] = { "laurie", "jennifer", "leisa" }; local 35 bit = copy(array, array + 3, bit); 37 CPPUNIT_ASSERT(!strcmp(names[0],array[0])); 38 CPPUNIT_ASSERT(!strcmp(names[1],array[1])); 39 CPPUNIT_ASSERT(!strcmp(names[2],array[2])); 41 copy(array, array + 3, bit); 42 CPPUNIT_ASSERT(!strcmp(names[3],array[0])); 43 CPPUNIT_ASSERT(!strcmp(names[4],array[1])) 48 const char* array [] = { "laurie", "jennifer", "leisa" }; local [all...] |
/external/webkit/WebCore/manual-tests/resources/ |
ArrayParameterTestApplet.java | 30 public void arrayFunction(String [] array) { 32 for (int i = 0; i < array.length; i++) 33 System.out.println(array[i]); 36 public void booleanFunction(boolean[] array) { 38 for (int i = 0; i < array.length; i++) 39 System.out.println(array[i]); 42 public void byteFunction(byte[] array) { 44 for (int i = 0; i < array.length; i++) 45 System.out.println(array[i]); 48 public void charFunction(char[] array) { [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Boolean/ |
15.6.1.js | 55 var array = new Array(); 58 array[item++] = new TestCase( SECTION, "Boolean(1)", true, Boolean(1) ); 59 array[item++] = new TestCase( SECTION, "Boolean(0)", false, Boolean(0) ); 60 array[item++] = new TestCase( SECTION, "Boolean(-1)", true, Boolean(-1) ); 61 array[item++] = new TestCase( SECTION, "Boolean('1')", true, Boolean("1") ); 62 array[item++] = new TestCase( SECTION, "Boolean('0')", true, Boolean("0") ); 63 array[item++] = new TestCase( SECTION, "Boolean('-1')", true, Boolean("-1") ); 64 array[item++] = new TestCase( SECTION, "Boolean(true)", true, Boolean(true) ); 65 array[item++] = new TestCase( SECTION, "Boolean(false)", false, Boolean(false) ) [all...] |
15.6.4.2-1.js | 48 var array = new Array(); 51 array[item++] = new TestCase( SECTION, "new Boolean(1)", "true", (new Boolean(1)).toString() ); 52 array[item++] = new TestCase( SECTION, "new Boolean(0)", "false", (new Boolean(0)).toString() ); 53 array[item++] = new TestCase( SECTION, "new Boolean(-1)", "true", (new Boolean(-1)).toString() ); 54 array[item++] = new TestCase( SECTION, "new Boolean('1')", "true", (new Boolean("1")).toString() ); 55 array[item++] = new TestCase( SECTION, "new Boolean('0')", "true", (new Boolean("0")).toString() ); 56 array[item++] = new TestCase( SECTION, "new Boolean(true)", "true", (new Boolean(true)).toString() ); 57 array[item++] = new TestCase( SECTION, "new Boolean(false)", "false", (new Boolean(false)).toString() ); 58 array[item++] = new TestCase( SECTION, "new Boolean('true')", "true", (new Boolean('true')).toStrin (…) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.2.3-1.js | 75 var array = new Array(); 78 array[item++] = new TestCase( SECTION, "parseFloat.length", 1, parseFloat.length ); 80 array[item++] = new TestCase( SECTION, "parseFloat.length = null; parseFloat.length", 1, eval("parseFloat.length = null; parseFloat.length") ); 81 array[item++] = new TestCase( SECTION, "delete parseFloat.length", false, delete parseFloat.length ); 82 array[item++] = new TestCase( SECTION, "delete parseFloat.length; parseFloat.length", 1, eval("delete parseFloat.length; parseFloat.length") ); 83 array[item++] = new TestCase( SECTION, "var MYPROPS=''; for ( var p in parseFloat ) { MYPROPS += p }; MYPROPS", "", eval("var MYPROPS=''; for ( var p in parseFloat ) { MYPROPS += p }; MYPROPS") ); 85 array[item++] = new TestCase( SECTION, "parseFloat()", Number.NaN, parseFloat() ); 86 array[item++] = new TestCase( SECTION, "parseFloat('')", Number.NaN, parseFloat('') ); 88 array[item++] = new TestCase( SECTION, "parseFloat(' ')", Number.NaN, parseFloat(' ') ) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.13.2-3.js | 55 var array = new Array(); 60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 %= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 %= VAR2") ); 61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 %= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 %= VAR2; VAR1") ); 62 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 %= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 %= VAR2") ); 63 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 %= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 %= VAR2; VAR1") ); 64 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=NaN; VAR1 %= VAR2", Number.NaN, eval("VAR1 = 0; VAR2=Number.NaN; VAR1 %= VAR2") ); 65 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=NaN; VAR1 %= VAR2; VAR1", Number.NaN, eval("VAR1 = 0; VAR2=Number.NaN; VAR1 %= VAR2; VAR1") ); 69 array[item++] = new TestCase( SECTION, "VAR1 = Infinity; VAR2= Infinity; VAR1 %= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.POSITIVE_INFINITY; VAR2 = Number.POSITIVE_INFINITY; VAR1 %= VAR2; VAR1") ); 70 array[item++] = new TestCase( SECTION, "VAR1 = Infinity; VAR2= -Infinity; VAR1 %= VAR2; VAR1", Numbe (…) [all...] |
11.8.1.js | 53 var array = new Array(); 56 array[item++] = new TestCase( SECTION, "true < false", false, true < false ); 57 array[item++] = new TestCase( SECTION, "false < true", true, false < true ); 58 array[item++] = new TestCase( SECTION, "false < false", false, false < false ); 59 array[item++] = new TestCase( SECTION, "true < true", false, true < true ); 61 array[item++] = new TestCase( SECTION, "new Boolean(true) < new Boolean(true)", false, new Boolean(true) < new Boolean(true) ); 62 array[item++] = new TestCase( SECTION, "new Boolean(true) < new Boolean(false)", false, new Boolean(true) < new Boolean(false) ); 63 array[item++] = new TestCase( SECTION, "new Boolean(false) < new Boolean(true)", true, new Boolean(false) < new Boolean(true) ); 64 array[item++] = new TestCase( SECTION, "new Boolean(false) < new Boolean(false)", false, new Boolean( (…) [all...] |
11.8.2.js | 53 var array = new Array(); 56 array[item++] = new TestCase( SECTION, "true > false", true, true > false ); 57 array[item++] = new TestCase( SECTION, "false > true", false, false > true ); 58 array[item++] = new TestCase( SECTION, "false > false", false, false > false ); 59 array[item++] = new TestCase( SECTION, "true > true", false, true > true ); 61 array[item++] = new TestCase( SECTION, "new Boolean(true) > new Boolean(true)", false, new Boolean(true) > new Boolean(true) ); 62 array[item++] = new TestCase( SECTION, "new Boolean(true) > new Boolean(false)", true, new Boolean(true) > new Boolean(false) ); 63 array[item++] = new TestCase( SECTION, "new Boolean(false) > new Boolean(true)", false, new Boolean(false) > new Boolean(true) ); 64 array[item++] = new TestCase( SECTION, "new Boolean(false) > new Boolean(false)", false, new Boolean( (…) [all...] |
11.8.3.js | 52 var array = new Array(); 55 array[item++] = new TestCase( SECTION, "true <= false", false, true <= false ); 56 array[item++] = new TestCase( SECTION, "false <= true", true, false <= true ); 57 array[item++] = new TestCase( SECTION, "false <= false", true, false <= false ); 58 array[item++] = new TestCase( SECTION, "true <= true", true, true <= true ); 60 array[item++] = new TestCase( SECTION, "new Boolean(true) <= new Boolean(true)", true, new Boolean(true) <= new Boolean(true) ); 61 array[item++] = new TestCase( SECTION, "new Boolean(true) <= new Boolean(false)", false, new Boolean(true) <= new Boolean(false) ); 62 array[item++] = new TestCase( SECTION, "new Boolean(false) <= new Boolean(true)", true, new Boolean(false) <= new Boolean(true) ); 63 array[item++] = new TestCase( SECTION, "new Boolean(false) <= new Boolean(false)", true, new Boolean( (…) [all...] |
11.8.4.js | 53 var array = new Array(); 56 array[item++] = new TestCase( SECTION, "true >= false", true, true >= false ); 57 array[item++] = new TestCase( SECTION, "false >= true", false, false >= true ); 58 array[item++] = new TestCase( SECTION, "false >= false", true, false >= false ); 59 array[item++] = new TestCase( SECTION, "true >= true", true, true >= true ); 61 array[item++] = new TestCase( SECTION, "new Boolean(true) >= new Boolean(true)", true, new Boolean(true) >= new Boolean(true) ); 62 array[item++] = new TestCase( SECTION, "new Boolean(true) >= new Boolean(false)", true, new Boolean(true) >= new Boolean(false) ); 63 array[item++] = new TestCase( SECTION, "new Boolean(false) >= new Boolean(true)", false, new Boolean(false) >= new Boolean(true) ); 64 array[item++] = new TestCase( SECTION, "new Boolean(false) >= new Boolean(false)", true, new Boolean( (…) [all...] |
11.13.2-4.js | 55 var array = new Array(); 60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 += VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 += VAR2") ); 61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 += VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 += VAR2; VAR1") ); 62 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 += VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 += VAR2") ); 63 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 += VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 += VAR2; VAR1") ); 64 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=NaN; VAR1 += VAR2", Number.NaN, eval("VAR1 = 0; VAR2=Number.NaN; VAR1 += VAR2") ); 65 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=NaN; VAR1 += VAR2; VAR1", Number.NaN, eval("VAR1 = 0; VAR2=Number.NaN; VAR1 += VAR2; VAR1") ); 70 array[item++] = new TestCase( SECTION, "VAR1 = Infinity; VAR2= Infinity; VAR1 += VAR2; VAR1", Number.POSITIVE_INFINITY, eval("VAR1 = Number.POSITIVE_INFINITY; VAR2 = Number.POSITIVE_INFINITY; VAR1 += VAR2; VAR1") ); 71 array[item++] = new TestCase( SECTION, "VAR1 = Infinity; VAR2= -Infinity; VAR1 += VAR2; VAR1", Numbe (…) [all...] |
11.13.2-5.js | 55 var array = new Array(); 60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 -= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 -= VAR2") ); 61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 -= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 -= VAR2; VAR1") ); 62 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 -= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 -= VAR2") ); 63 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 -= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 -= VAR2; VAR1") ); 64 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=NaN; VAR1 -= VAR2", Number.NaN, eval("VAR1 = 0; VAR2=Number.NaN; VAR1 -= VAR2") ); 65 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=NaN; VAR1 -= VAR2; VAR1", Number.NaN, eval("VAR1 = 0; VAR2=Number.NaN; VAR1 -= VAR2; VAR1") ); 70 array[item++] = new TestCase( SECTION, "VAR1 = Infinity; VAR2= Infinity; VAR1 -= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.POSITIVE_INFINITY; VAR2 = Number.POSITIVE_INFINITY; VAR1 -= VAR2; VAR1") ); 71 array[item++] = new TestCase( SECTION, "VAR1 = Infinity; VAR2= -Infinity; VAR1 -= VAR2; VAR1", Numb (…) [all...] |
11.4.2.js | 42 var array = new Array(); 45 array[item++] = new TestCase( SECTION, "void(new String('string object'))", void 0, void(new String( 'string object' )) ); 46 array[item++] = new TestCase( SECTION, "void('string primitive')", void 0, void("string primitive") ); 47 array[item++] = new TestCase( SECTION, "void(Number.NaN)", void 0, void(Number.NaN) ); 48 array[item++] = new TestCase( SECTION, "void(Number.POSITIVE_INFINITY)", void 0, void(Number.POSITIVE_INFINITY) ); 49 array[item++] = new TestCase( SECTION, "void(1)", void 0, void(1) ); 50 array[item++] = new TestCase( SECTION, "void(0)", void 0, void(0) ); 51 array[item++] = new TestCase( SECTION, "void(-1)", void 0, void(-1) ); 52 array[item++] = new TestCase( SECTION, "void(Number.NEGATIVE_INFINITY)", void 0, void(Number. (…) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
ColorMatrixColorFilter.java | 34 * @param array array of floats used to transform colors, treated as a 4x5 35 * matrix. The first 20 entries of the array are copied into 38 public ColorMatrixColorFilter(float[] array) { 39 if (array.length < 20) { 42 native_instance = nativeColorMatrixFilter(array); 45 private static native int nativeColorMatrixFilter(float[] array);
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4.4.5-3.js | 24 ECMA Section: Array.prototype.sort(comparefn) 41 var TITLE = "Array.prototype.sort(comparefn)"; 45 var testcases = new Array(); 64 var array = new Array(); 66 array[array.length] = new Date( TIME_2000 * Math.PI ); 67 array[array.length] = new Date( TIME_2000 * 10 ); 68 array[array.length] = new Date( TIME_1900 + TIME_1900 ) [all...] |
/external/skia/tests/ |
SortTest.cpp | 12 static void rand_array(SkRandom& rand, int array[], int n) { 14 array[j] = rand.nextS() & 0xFF; 19 const int array[], int n) { 21 if (array[j-1] > array[j]) { 24 array[j-1], array[j]); 31 int array[500]; local 35 int count = rand.nextRangeU(1, SK_ARRAY_COUNT(array)); 37 rand_array(rand, array, count) [all...] |
/external/v8/test/mjsunit/ |
array-splice.js | 28 // Check that splicing array of holes keeps it as array of holes 31 var array = new Array(10); 32 var spliced = array.splice(1, 1, 'one', 'two'); 36 assertEquals(11, array.length); 37 assertFalse(0 in array); 38 assertTrue(1 in array); 39 assertTrue(2 in array); 40 assertFalse(3 in array); [all...] |
/external/astl/tests/ |
test_algorithm.cpp | 75 int array[10]; local 77 std::fill(array, array + 10, 0xaa); 78 EXPECT_TRUE(array[0] == 0xaa); 79 EXPECT_TRUE(array[1] == 0xaa); 80 EXPECT_TRUE(array[2] == 0xaa); 81 EXPECT_TRUE(array[3] == 0xaa); 82 EXPECT_TRUE(array[4] == 0xaa); 83 EXPECT_TRUE(array[5] == 0xaa); 84 EXPECT_TRUE(array[6] == 0xaa) 93 int array[10]; local [all...] |