/third_party/jerryscript/tests/jerry/es2015/ |
D | array-isarray.js | 15 assert(Array.isArray([]) === true); 16 assert(Array.isArray([1]) === true); 17 assert(Array.isArray(new Array()) === true); 18 assert(Array.isArray(new Array('a', 'b', 'c', 'd')) === true); 19 assert(Array.isArray(new Array(3)) === true); 20 assert(Array.isArray(Array.prototype) === true); 21 assert(Array.isArray(new Proxy([], {})) === true); 23 assert(Array.isArray() === false); 24 assert(Array.isArray({}) === false); 25 assert(Array.isArray(null) === false); [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | isArray.symbols | 1 === tests/cases/compiler/isArray.ts === 3 >maybeArray : Symbol(maybeArray, Decl(isArray.ts, 0, 3)) 6 if (Array.isArray(maybeArray)) { 7 >Array.isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 9 >isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 10 >maybeArray : Symbol(maybeArray, Decl(isArray.ts, 0, 3)) 14 >maybeArray : Symbol(maybeArray, Decl(isArray.ts, 0, 3)) 20 >maybeArray : Symbol(maybeArray, Decl(isArray.ts, 0, 3))
|
D | malformedTags.symbols | 7 var isArray = Array.isArray; 8 >isArray : Symbol(isArray, Decl(myFile02.js, 5, 3)) 9 >Array.isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 11 >isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --))
|
D | spreadBooleanRespectsFreshness.types | 18 foo1 = [...Array.isArray(foo2) ? foo2 : [foo2]]; 19 >foo1 = [...Array.isArray(foo2) ? foo2 : [foo2]] : FooBase[] 21 >[...Array.isArray(foo2) ? foo2 : [foo2]] : FooBase[] 22 >...Array.isArray(foo2) ? foo2 : [foo2] : FooBase 23 >Array.isArray(foo2) ? foo2 : [foo2] : FooArray 24 >Array.isArray(foo2) : boolean 25 >Array.isArray : (arg: any) => arg is any[] 27 >isArray : (arg: any) => arg is any[]
|
D | malformedTags.types | 7 var isArray = Array.isArray; 8 >isArray : Function 9 >Array.isArray : (arg: any) => arg is any[] 11 >isArray : (arg: any) => arg is any[]
|
D | literalFreshnessPropagationOnNarrowing.types | 65 let a4: ElementOrArray = Array.isArray(elOrA) ? elOrA : [elOrA]; 67 >Array.isArray(elOrA) ? elOrA : [elOrA] : (string | false)[] 68 >Array.isArray(elOrA) : boolean 69 >Array.isArray : (arg: any) => arg is any[] 71 >isArray : (arg: any) => arg is any[] 80 let a5: ElementOrArray = [...Array.isArray(elOrA) ? elOrA : [elOrA]]; 82 >[...Array.isArray(elOrA) ? elOrA : [elOrA]] : (string | false)[] 83 >...Array.isArray(elOrA) ? elOrA : [elOrA] : string | false 84 >Array.isArray(elOrA) ? elOrA : [elOrA] : (string | false)[] 85 >Array.isArray(elOrA) : boolean [all …]
|
D | genericRecursiveImplicitConstructorErrors3.types | 62 if (this.isArray()) { 63 >this.isArray() : any 64 >this.isArray : any 66 >isArray : any 70 >this._elementType ? (this._elementType.isArray() || this._elementType.isNamedTypeSy… 75 (this._elementType.isArray() || this._elementType.isNamedTypeSymbol() ? 76 >(this._elementType.isArray() || this._elementType.isNamedTypeSymbol() ? this._eleme… 77 >this._elementType.isArray() || this._elementType.isNamedTypeSymbol() ? this._elemen… 78 >this._elementType.isArray() || this._elementType.isNamedTypeSymbol() : any 79 >this._elementType.isArray() : any [all …]
|
D | isArray.types | 1 === tests/cases/compiler/isArray.ts === 6 if (Array.isArray(maybeArray)) { 7 >Array.isArray(maybeArray) : boolean 8 >Array.isArray : (arg: any) => arg is any[] 10 >isArray : (arg: any) => arg is any[]
|
D | malformedTags.js | 7 var isArray = Array.isArray; variable 16 var isArray = Array.isArray;
|
D | noIterationTypeErrorsInCFA.types | 10 if (!Array.isArray(dds)) { 11 >!Array.isArray(dds) : boolean 12 >Array.isArray(dds) : boolean 13 >Array.isArray : (arg: any) => arg is any[] 15 >isArray : (arg: any) => arg is any[]
|
D | spreadBooleanRespectsFreshness.symbols | 22 foo1 = [...Array.isArray(foo2) ? foo2 : [foo2]]; 24 >Array.isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 26 >isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --))
|
D | literalFreshnessPropagationOnNarrowing.symbols | 61 let a4: ElementOrArray = Array.isArray(elOrA) ? elOrA : [elOrA]; 64 >Array.isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 66 >isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 74 let a5: ElementOrArray = [...Array.isArray(elOrA) ? elOrA : [elOrA]]; 77 >Array.isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 79 >isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --))
|
D | noIterationTypeErrorsInCFA.symbols | 14 if (!Array.isArray(dds)) { 15 >Array.isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 17 >isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --))
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockTests.cpp | 538 for (int isArray = 0; isArray < 2; isArray++) in init() local 543 if (bufferModes[modeNdx].mode == UniformBlockCase::BUFFERMODE_SINGLE && isArray == 0) in init() 546 if (isArray) in init() 549 …ertex"), "", baseFlags|DECLARE_VERTEX, bufferModes[modeNdx].mode, isArray ? 3 : 0, LOAD_FUL… in init() 550 …ent"), "", baseFlags|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0, LOAD_FUL… in init() 551 …", baseFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0, LOAD_FUL… in init() 552 …p_access"), "", baseFlags|DECLARE_VERTEX, bufferModes[modeNdx].mode, isArray ? 3 : 0, LOAD_MAT… in init() 553 …access"), "", baseFlags|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0, LOAD_MAT… in init() 554 …", baseFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0, LOAD_MAT… in init() 650 for (int isArray = 0; isArray < 2; isArray++) in init() local [all …]
|
/third_party/node/deps/npm/node_modules/isarray/ |
D | test.js | 1 var isArray = require('./'); variable 5 t.ok(isArray([])); 6 t.notOk(isArray({})); 7 t.notOk(isArray(null)); 8 t.notOk(isArray(false)); 12 t.notOk(isArray(obj)); 16 t.ok(isArray(arr));
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fUniformBlockTests.cpp | 530 for (int isArray = 0; isArray < 2; isArray++) in init() local 535 if (bufferModes[modeNdx].mode == UniformBlockCase::BUFFERMODE_SINGLE && isArray == 0) in init() 538 if (isArray) in init() 541 …"_vertex").c_str(), "", baseFlags|DECLARE_VERTEX, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init() 542 …agment").c_str(), "", baseFlags|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init() 545 …tr(), "", baseFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init() 563 for (int isArray = 0; isArray < 2; isArray++) in init() local 568 if (bufferModes[modeNdx].mode == UniformBlockCase::BUFFERMODE_SINGLE && isArray == 0) in init() 571 if (isArray) in init() 574 …"_vertex").c_str(), "", baseFlags|DECLARE_VERTEX, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutTests.cpp | 510 for (int isArray = 0; isArray < 2; isArray++) in init() local 512 const std::string baseName = isArray ? "instance_array" : "std"; in init() 513 const int numInstances = isArray ? 2 : 0; in init() 572 for (int isArray = 0; isArray < 2; isArray++) in init() local 574 const std::string baseName = isArray ? "instance_array" : "std"; in init() 575 const int numInstances = isArray ? 3 : 0; in init() 587 for (int isArray = 0; isArray < 2; isArray++) in init() local 589 const std::string baseName = isArray ? "instance_array" : "std"; in init() 590 const int numInstances = isArray ? 2 : 0; in init() 602 for (int isArray = 0; isArray < 2; isArray++) in init() local [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fSSBOLayoutTests.cpp | 1024 for (int isArray = 0; isArray < 2; isArray++) in init() local 1029 if (bufferModes[modeNdx].mode == SSBOLayoutCase::BUFFERMODE_SINGLE && isArray == 0) in init() 1032 if (isArray) in init() 1035 …tructCase(m_context, caseName.c_str(), "", caseFlags, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init() 1053 for (int isArray = 0; isArray < 2; isArray++) in init() local 1058 if (bufferModes[modeNdx].mode == SSBOLayoutCase::BUFFERMODE_SINGLE && isArray == 0) in init() 1061 if (isArray) in init() 1064 …ArrayCase(m_context, baseName.c_str(), "", baseFlags, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init() 1082 for (int isArray = 0; isArray < 2; isArray++) in init() local 1087 if (bufferModes[modeNdx].mode == SSBOLayoutCase::BUFFERMODE_SINGLE && isArray == 0) in init() [all …]
|
/third_party/node/test/parallel/ |
D | test-util.js | 31 assert.strictEqual(util.isArray([]), true); 32 assert.strictEqual(util.isArray(Array()), true); 33 assert.strictEqual(util.isArray(new Array()), true); 34 assert.strictEqual(util.isArray(new Array(5)), true); 35 assert.strictEqual(util.isArray(new Array('with', 'some', 'entries')), true); 36 assert.strictEqual(util.isArray(context('Array')()), true); 37 assert.strictEqual(util.isArray({}), false); 38 assert.strictEqual(util.isArray({ push: function() {} }), false); 39 assert.strictEqual(util.isArray(/regexp/), false); 40 assert.strictEqual(util.isArray(new Error()), false); [all …]
|
/third_party/node/deps/npm/node_modules/extend/ |
D | index.js | 8 var isArray = function isArray(arr) { function 9 if (typeof Array.isArray === 'function') { 10 return Array.isArray(arr); 95 if (deep && copy && (isPlainObject(copy) || (copyIsArray = isArray(copy)))) { 98 clone = src && isArray(src) ? src : [];
|
/third_party/node/deps/npm/node_modules/nopt/lib/ |
D | nopt.js | 61 , isArray = Array.isArray(val) 63 if (!isArray) val = [val] 66 if (!Array.isArray(type)) type = [type] 122 else if (isArray) { 123 debug(isArray, data[k], val) 189 if (Array.isArray(type)) { 292 var isTypeArray = Array.isArray(argType) 298 var isArray = argType === Array || 303 if (!Array.isArray(data[arg])) 305 isArray = true [all …]
|
/third_party/node/deps/npm/node_modules/core-util-is/lib/ |
D | util.js | 25 function isArray(arg) { function 26 if (Array.isArray) { 27 return Array.isArray(arg); 31 exports.isArray = isArray;
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutTests.cpp | 1418 for (int isArray = 0; isArray < 2; isArray++) in init() local 1423 if (bufferModes[modeNdx].mode == SSBOLayoutCase::BUFFERMODE_SINGLE && isArray == 0) in init() 1426 if (isArray) in init() 1431 …st + storeType.first).c_str(), "", caseFlags, bufferModes[modeNdx].mode, isArray ? 3 : 0, loadType… in init() 1450 for (int isArray = 0; isArray < 2; isArray++) in init() local 1455 if (bufferModes[modeNdx].mode == SSBOLayoutCase::BUFFERMODE_SINGLE && isArray == 0) in init() 1458 if (isArray) in init() 1463 …st + storeType.first).c_str(), "", baseFlags, bufferModes[modeNdx].mode, isArray ? 3 : 0, loadType… in init() 1482 for (int isArray = 0; isArray < 2; isArray++) in init() local 1487 if (bufferModes[modeNdx].mode == SSBOLayoutCase::BUFFERMODE_SINGLE && isArray == 0) in init() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcUniformBlockTests.cpp | 1015 for (int isArray = 0; isArray < 2; isArray++) in init() local 1021 if (bufferModes[modeNdx].mode == UniformBlockCase::BUFFERMODE_SINGLE && isArray == 0) in init() 1024 if (isArray) in init() 1028 … m_context, name.c_str(), "", m_glslVersion, flags, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init() 1044 for (int isArray = 0; isArray < 2; isArray++) in init() local 1050 if (bufferModes[modeNdx].mode == UniformBlockCase::BUFFERMODE_SINGLE && isArray == 0) in init() 1053 if (isArray) in init() 1057 … m_context, name.c_str(), "", m_glslVersion, flags, bufferModes[modeNdx].mode, isArray ? 3 : 0)); in init() 1073 for (int isArray = 0; isArray < 2; isArray++) in init() local 1079 if (bufferModes[modeNdx].mode == UniformBlockCase::BUFFERMODE_SINGLE && isArray == 0) in init() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Uniform.cpp | 65 ASSERT(!isArray() || !isStruct()); in LinkedUniform() 75 ASSERT(!isArray() || !isStruct()); in LinkedUniform() 129 InterfaceBlock::InterfaceBlock() : isArray(false), arrayElement(0) {} in InterfaceBlock() 136 : name(nameIn), mappedName(mappedNameIn), isArray(isArrayIn), arrayElement(arrayElementIn) in InterfaceBlock() 145 if (isArray) in nameWithArrayIndex() 157 if (isArray) in mappedNameWithArrayIndex()
|