Home
last modified time | relevance | path

Searched refs:isArray (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/external/v8/test/mjsunit/
Darray-isarray.js8 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/
DArray-isArray-expected.txt29 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 false
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockTests.cpp504 for (int isArray = 0; isArray < 2; isArray++) in init() local
509 if (bufferModes[modeNdx].mode == UniformBlockCase::BUFFERMODE_SINGLE && isArray == 0) in init()
512 if (isArray) in init()
515 …eName + "_vertex"), "", baseFlags|DECLARE_VERTEX, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init()
516 …e + "_fragment"), "", baseFlags|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init()
517 …th"), "", baseFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init()
603 for (int isArray = 0; isArray < 2; isArray++) in init() local
608 if (bufferModes[modeNdx].mode == UniformBlockCase::BUFFERMODE_SINGLE && isArray == 0) in init()
611 if (isArray) in init()
614 …eName + "_vertex", "", baseFlags|DECLARE_VERTEX, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init()
[all …]
/external/deqp/modules/gles3/functional/
Des3fUniformBlockTests.cpp486 for (int isArray = 0; isArray < 2; isArray++) in init() local
491 if (bufferModes[modeNdx].mode == UniformBlockCase::BUFFERMODE_SINGLE && isArray == 0) in init()
494 if (isArray) in init()
497 …"_vertex").c_str(), "", baseFlags|DECLARE_VERTEX, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init()
498 …agment").c_str(), "", baseFlags|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init()
501 …tr(), "", baseFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init()
519 for (int isArray = 0; isArray < 2; isArray++) in init() local
524 if (bufferModes[modeNdx].mode == UniformBlockCase::BUFFERMODE_SINGLE && isArray == 0) in init()
527 if (isArray) in init()
530 …"_vertex").c_str(), "", baseFlags|DECLARE_VERTEX, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init()
[all …]
/external/v8/test/mjsunit/es6/
Dclasses-subclass-arrays.js12 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));
Dclasses-maps.js23 assertFalse(Array.isArray(this));
29 assertTrue(Array.isArray(d1));
35 assertFalse(Array.isArray(d2));
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutTests.cpp1003 for (int isArray = 0; isArray < 2; isArray++) in init() local
1008 if (bufferModes[modeNdx].mode == SSBOLayoutCase::BUFFERMODE_SINGLE && isArray == 0) in init()
1011 if (isArray) in init()
1014 …tructCase(m_testCtx, caseName.c_str(), "", caseFlags, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init()
1032 for (int isArray = 0; isArray < 2; isArray++) in init() local
1037 if (bufferModes[modeNdx].mode == SSBOLayoutCase::BUFFERMODE_SINGLE && isArray == 0) in init()
1040 if (isArray) in init()
1043 …ArrayCase(m_testCtx, baseName.c_str(), "", baseFlags, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init()
1061 for (int isArray = 0; isArray < 2; isArray++) in init() local
1066 if (bufferModes[modeNdx].mode == SSBOLayoutCase::BUFFERMODE_SINGLE && isArray == 0) in init()
[all …]
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutTests.cpp1020 for (int isArray = 0; isArray < 2; isArray++) in init() local
1025 if (bufferModes[modeNdx].mode == SSBOLayoutCase::BUFFERMODE_SINGLE && isArray == 0) in init()
1028 if (isArray) in init()
1031 …tructCase(m_context, caseName.c_str(), "", caseFlags, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init()
1049 for (int isArray = 0; isArray < 2; isArray++) in init() local
1054 if (bufferModes[modeNdx].mode == SSBOLayoutCase::BUFFERMODE_SINGLE && isArray == 0) in init()
1057 if (isArray) in init()
1060 …ArrayCase(m_context, baseName.c_str(), "", baseFlags, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init()
1078 for (int isArray = 0; isArray < 2; isArray++) in init() local
1083 if (bufferModes[modeNdx].mode == SSBOLayoutCase::BUFFERMODE_SINGLE && isArray == 0) in init()
[all …]
Des31fUniformBlockTests.cpp270 for (int isArray = 0; isArray < 2; isArray++) in init() local
275 if (bufferModes[modeNdx].mode == UniformBlockCase::BUFFERMODE_SINGLE && isArray == 0) in init()
278 if (isArray) in init()
281 …"_vertex").c_str(), "", baseFlags|DECLARE_VERTEX, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init()
282 …agment").c_str(), "", baseFlags|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init()
285 …str(), "", baseFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init()
Des31fSSBOLayoutCase.cpp707 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeReferenceLayout()
723 if (block.isArray()) in computeReferenceLayout()
970 if (block.isArray()) in generateDeclaration()
974 DE_ASSERT(!block.isArray()); in generateDeclaration()
1083 if (block.isArray()) in getShaderName()
1178 const bool isArray = block.isArray(); in generateCompareSrc() local
1179 const int numInstances = isArray ? block.getArraySize() : 1; in generateCompareSrc()
1181 DE_ASSERT(!isArray || block.getInstanceName()); in generateCompareSrc()
1185 …const string instanceName = block.getBlockName() + (isArray ? "[" + de::toString(instanceNdx) + "… in generateCompareSrc()
1261 const bool isArray = block.isArray(); in generateWriteSrc() local
[all …]
/external/mockito/src/org/mockito/internal/matchers/
DEquality.java15 } else if (isArray(o1)) { in areEqual()
16 return isArray(o2) && areArraysEqual(o1, o2); in areEqual()
38 static boolean isArray(Object o) { in isArray() method in Equality
39 return o.getClass().isArray(); in isArray()
/external/skia/experimental/docs/
DinterpolatorFunctions.js18 assert(isArray(path));
59 assert(isArray(paths));
62 assert(isArray(curves0));
64 assert(isArray(curves1));
74 assert(isArray(curve0));
75 assert(isArray(curve1));
/external/junit/src/org/junit/internal/
DComparisonCriteria.java41 if (isArray(expected) && isArray(actual)) { in arrayEquals()
57 private boolean isArray(Object expected) { in isArray() method in ComparisonCriteria
58 return expected != null && expected.getClass().isArray(); in isArray()
/external/testng/src/main/java/org/testng/internal/junit/
DComparisonCriteria.java41 if (isArray(expected) && isArray(actual)) { in arrayEquals()
57 private boolean isArray(Object expected) { in isArray() method in ComparisonCriteria
58 return expected != null && expected.getClass().isArray(); in isArray()
/external/hamcrest/src/org/hamcrest/core/
DIsEqual.java35 } else if (isArray(o1)) { in areEqual()
36 return isArray(o2) && areArraysEqual(o1, o2); in areEqual()
58 private static boolean isArray(Object o) { in isArray() method in IsEqual
59 return o.getClass().isArray(); in isArray()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DICUTestCase.java189 if (!(lcls.isArray() && rcls.isArray())) { in assertArraysEqual()
207 if (!(lcls.isArray() && rcls.isArray())) { in assertArraysNotEqual()
223 boolean lhsaA = lhsa.getClass().getComponentType().isArray(); in arraysAreEqual()
224 boolean rhsaA = rhsa.getClass().getComponentType().isArray(); in arraysAreEqual()
261 if (cls.isArray()) { in cloneComplex()
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/static/
Djquery.url.js91 if (isArray(parent[key])) {
103 if (isArray(obj)) {
112 if (!isint.test(part) && isArray(obj)) obj = promote(parent, key);
116 if (!isint.test(part) && isArray(obj)) obj = promote(parent, key);
129 if (!isint.test(key) && isArray(parent.base)) {
162 } else if (isArray(v)) {
191 function isArray(vArg) { function
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/
DJavassistHelper.java117 boolean isArray = parameterType.isArray(); in getSignature()
119 if (isArray) { in getSignature()
120 while (arrayType.isArray()) { in getSignature()
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/blink/testharness/
Dtestharnessreport.js54 var values = Array.isArray(value) ? value : [value];
108 if (Array.isArray(cachedTestMetadata[meta])) {
109 if (! Array.isArray(testMetadata[meta])) {
128 if (Array.isArray(testMetadata[meta])) {
177 if (Array.isArray(objectValue[property]) ||
198 if (Array.isArray(value)) {
/external/v8/test/mjsunit/harmony/
Dproxies-json.js250 assertFalse(Array.isArray(proxy));
271 assertTrue(Array.isArray(proxy));
312 assertTrue(Array.isArray(proxy));
328 assertTrue(Array.isArray(proxy));
347 assertTrue(Array.isArray(proxy));
361 assertTrue(Array.isArray(proxy));
495 assertTrue(Array.isArray(proxy));
/external/javassist/src/main/javassist/bytecode/analysis/
DType.java195 public boolean isArray() { in isArray() method in Type
196 return clazz != null && clazz.isArray(); in isArray()
206 if (!isArray()) return 0; in getDimensions()
226 if (this.clazz == null || !this.clazz.isArray()) in getComponent()
302 if (type.isArray() && this.isArray()) in merge()
313 while (type.isArray()) in getRootComponent()
/external/autotest/frontend/client/src/autotest/afe/
DAfeUtils.java64 JSONArray labels = staticData.getData("labels").isArray(); in getFilteredLabelStrings()
136 extendJsonArray(asynchronousEntryIds, idListValue.isArray()); in abortHostQueueEntries()
269 JSONValue rebootBefore = staticData.getData("reboot_before_options").isArray().get(0); in scheduleReinstallHelper()
270 JSONValue rebootAfter = staticData.getData("reboot_after_options").isArray().get(0); in scheduleReinstallHelper()
301 JSONArray tests = staticData.getData("tests").isArray(); in scheduleReinstall()
381 JSONArray options = staticData.getData(name + "_options").isArray(); in populateRadioChooser()
388 JSONArray options = staticData.getData(staticDataKey).isArray(); in populateListBox()
395 JSONArray options = staticData.getData(staticDataKey).isArray(); in populateListBox()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/options/
DPropertyOptions.java197 public boolean isArray() in isArray() method in PropertyOptions
333 isArray() == options.isArray() && in equalArrayTypes()
/external/autotest/frontend/client/src/autotest/tko/
DTestGroupDataSource.java69 headerGroupValues = resultObject.get("header_values").isArray(); in handleJsonResult()
70 return new JSONArrayList<JSONObject>(resultObject.get("groups").isArray()); in handleJsonResult()
97 JSONArray headerList = headerGroupValues.get(groupIndex).isArray(); in getHeaderGroupValues()
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Dinterpolation.js26 Array.isArray(from) && Array.isArray(to),

12345678910>>...12