/external/v8/test/mjsunit/ |
array-isarray.js | 8 assertTrue(Array.isArray([])); 9 assertFalse(Array.isArray({})); 10 assertFalse(Array.isArray(null)); 12 assertTrue(Array.isArray(new Proxy([], {}))); 13 assertFalse(Array.isArray(new Proxy({}, {}))); 15 assertTrue(Array.isArray(new Proxy(new Proxy([], {}), {}))); 16 assertFalse(Array.isArray(new Proxy(new Proxy({}, {}), {})));
|
/external/v8/test/webkit/ |
Array-isArray.js | 26 shouldBeTrue("Array.isArray([])"); 27 shouldBeTrue("Array.isArray(new Array)"); 28 shouldBeTrue("Array.isArray(Array())"); 29 shouldBeTrue("Array.isArray('abc'.match(/(a)*/g))"); 30 shouldBeFalse("(function(){ return Array.isArray(arguments); })()"); 31 shouldBeFalse("Array.isArray()"); 32 shouldBeFalse("Array.isArray(null)"); 33 shouldBeFalse("Array.isArray(undefined)"); 34 shouldBeFalse("Array.isArray(true)"); 35 shouldBeFalse("Array.isArray(false)") [all...] |
Array-isArray-expected.txt | 29 PASS Array.isArray([]) is true 30 PASS Array.isArray(new Array) is true 31 PASS Array.isArray(Array()) is true 32 PASS Array.isArray('abc'.match(/(a)*/g)) is true 33 PASS (function(){ return Array.isArray(arguments); })() is false 34 PASS Array.isArray() is false 35 PASS Array.isArray(null) is false 36 PASS Array.isArray(undefined) is false 37 PASS Array.isArray(true) is false 38 PASS Array.isArray(false) is fals [all...] |
/external/hamcrest/library/src/org/hamcrest/collection/ |
IsArray.java | 9 public class IsArray<T> extends TypeSafeMatcher<T[]> { 12 public IsArray(Matcher<T>[] elementMatchers) { 61 public static <T> IsArray<T> array(Matcher<T>... elementMatchers) { 62 return new IsArray<T>(elementMatchers);
|
/external/mockito/src/org/mockito/internal/matchers/ |
Equality.java | 15 } else if (isArray(o1)) {
16 return isArray(o2) && areArraysEqual(o1, o2);
38 static boolean isArray(Object o) {
39 return o.getClass().isArray();
|
/external/v8/test/mjsunit/bugs/ |
bug-4577.js | 6 return Array.isArray(arguments);
|
/external/v8/test/mjsunit/es6/ |
classes-subclass-arrays.js | 12 assertTrue(Array.isArray(s1)); 26 assertTrue(Array.isArray(s2)); 35 assertTrue(Array.isArray(s3)); 43 assertTrue(Array.isArray(s4)); 53 assertTrue(Array.isArray(s5)); 68 assertTrue(Array.isArray(s1)); 90 assertTrue(Array.isArray(s2)); 99 assertTrue(Array.isArray(s3)); 115 assertTrue(Array.isArray(s4)); 125 assertTrue(Array.isArray(s5)) [all...] |
classes-maps.js | 23 assertFalse(Array.isArray(this)); 29 assertTrue(Array.isArray(d1)); 35 assertFalse(Array.isArray(d2));
|
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/ |
AnnotationSourcer.java | 34 this(output, false /*isArray*/); 37 public AnnotationSourcer(Output output, boolean isArray) { 40 mOpenChar = isArray ? "[" : "("; 41 mCloseChar = isArray ? "]" : ")"; 82 return new AnnotationSourcer(mOutput, true /*isArray*/);
|
/frameworks/compile/slang/tests/P_reduce_general_result/ |
gen-result.pl | 28 for (my $isArray = 0; $isArray <= 1; ++$isArray) { 36 my $resultName = ($isArray ? "array_${eltName}" : $eltName); 42 print "typedef ${eltName} ${resultName}[7];\n" if ($isArray);
|
/external/hamcrest/src/org/hamcrest/core/ |
IsEqual.java | 35 } else if (isArray(o1)) { 36 return isArray(o2) && areArraysEqual(o1, o2); 58 private static boolean isArray(Object o) { 59 return o.getClass().isArray();
|
/external/skia/experimental/docs/ |
utilities.js | 18 function isArray(a) {
|
interpolatorFunctions.js | 18 assert(isArray(path)); 59 assert(isArray(paths)); 62 assert(isArray(curves0)); 64 assert(isArray(curves1)); 74 assert(isArray(curve0)); 75 assert(isArray(curve1));
|
/external/deqp/modules/gles3/functional/ |
es3fUniformBlockTests.cpp | 486 for (int isArray = 0; isArray < 2; isArray++) 491 if (bufferModes[modeNdx].mode == UniformBlockCase::BUFFERMODE_SINGLE && isArray == 0) 494 if (isArray) 497 modeGroup->addChild(new BlockSingleStructCase(m_context, (baseName + "_vertex").c_str(), "", baseFlags|DECLARE_VERTEX, bufferModes[modeNdx].mode, isArray ? 3 : 0)); 498 modeGroup->addChild(new BlockSingleStructCase(m_context, (baseName + "_fragment").c_str(), "", baseFlags|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)); 501 modeGroup->addChild(new BlockSingleStructCase(m_context, (baseName + "_both").c_str(), "", baseFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)); 519 for (int isArray = 0; isArray < 2; isArray++ [all...] |
/frameworks/compile/slang/tests/P_reduce_general_accumulator/ |
gen-accumulator.pl | 46 for (my $isArray = 0; $isArray <= 1; ++$isArray) { 53 my $resultName = ($isArray ? "array_${eltName}" : $eltName); 60 print "typedef ${eltName} ${resultName}[7];\n" if ($isArray);
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
vktUniformBlockTests.cpp | 504 for (int isArray = 0; isArray < 2; isArray++) 509 if (bufferModes[modeNdx].mode == UniformBlockCase::BUFFERMODE_SINGLE && isArray == 0) 512 if (isArray) 515 modeGroup->addChild(new Block2LevelStructArrayCase(m_testCtx, (baseName + "_vertex"), "", baseFlags|DECLARE_VERTEX, bufferModes[modeNdx].mode, isArray ? 3 : 0)); 516 modeGroup->addChild(new Block2LevelStructArrayCase(m_testCtx, (baseName + "_fragment"), "", baseFlags|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)); 517 modeGroup->addChild(new Block2LevelStructArrayCase(m_testCtx, (baseName + "_both"), "", baseFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)); 603 for (int isArray = 0; isArray < 2; isArray++ [all...] |
/external/libchrome/base/ |
template_util_unittest.cc | 26 static_assert(!is_array<int>::value, "IsArray"); 27 static_assert(!is_array<int*>::value, "IsArray"); 28 static_assert(!is_array<int (*)[3]>::value, "IsArray"); 29 static_assert(is_array<int[]>::value, "IsArray"); 30 static_assert(is_array<const int[]>::value, "IsArray"); 31 static_assert(is_array<int[3]>::value, "IsArray");
|
/external/libweave/third_party/chromium/base/ |
template_util_unittest.cc | 34 static_assert(!is_array<int>::value, "IsArray"); 35 static_assert(!is_array<int*>::value, "IsArray"); 36 static_assert(!is_array<int (*)[3]>::value, "IsArray"); 37 static_assert(is_array<int[]>::value, "IsArray"); 38 static_assert(is_array<const int[]>::value, "IsArray"); 39 static_assert(is_array<int[3]>::value, "IsArray");
|
/external/hamcrest/src/org/hamcrest/internal/ |
ArrayIterator.java | 11 if (!array.getClass().isArray()) {
|
/external/junit/src/org/junit/internal/ |
ComparisonCriteria.java | 41 if (isArray(expected) && isArray(actual)) { 57 private boolean isArray(Object expected) { 58 return expected != null && expected.getClass().isArray();
|
/external/testng/src/main/java/org/testng/internal/junit/ |
ComparisonCriteria.java | 41 if (isArray(expected) && isArray(actual)) { 57 private boolean isArray(Object expected) { 58 return expected != null && expected.getClass().isArray();
|
/art/test/031-class-attributes/ |
expected.txt | 40 isArray: false 66 isArray: false 92 isArray: false 118 isArray: false 144 isArray: false 170 isArray: false 196 isArray: false 222 isArray: false
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
interpolation.js | 26 Array.isArray(from) && Array.isArray(to),
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
vktSSBOLayoutTests.cpp | [all...] |
/external/deqp/modules/gles31/functional/ |
es31fSSBOLayoutTests.cpp | [all...] |