| /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/src/deprecatedCompat/4.8/ |
| D | mergeDecoratorsAndModifiers.ts | 276 (dotDotDotToken === undefined || !isArray(dotDotDotToken)) && 283 (modifiers === undefined || isArray(modifiers)) && 307 (dotDotDotToken === undefined || !isArray(dotDotDotToken)) && 314 (modifiers === undefined || isArray(modifiers)) && 339 (name === undefined || !isArray(name)) && 345 (modifiers === undefined || isArray(modifiers)) && 369 (name === undefined || !isArray(name)) && 375 (modifiers === undefined || isArray(modifiers)) && 399 (asteriskToken === undefined || !isArray(asteriskToken)) && 402 (typeParameters === undefined || isArray(typeParameters)) && [all …]
|
| /third_party/typescript/tests/baselines/reference/ |
| D | javascriptThisAssignmentInStaticBlock.symbols | 24 const superisArray = super.isArray; 26 >super.isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 28 >isArray : Symbol(ArrayConstructor.isArray, Decl(lib.es5.d.ts, --, --)) 36 this.isArray = customIsArray; 37 >this.isArray : Symbol(ElementsArray.isArray, Decl(a.js, 12, 56)) 39 >isArray : Symbol(ElementsArray.isArray, Decl(a.js, 12, 56)) 44 ElementsArray.isArray(new ElementsArray()); 45 >ElementsArray.isArray : Symbol(ElementsArray.isArray, Decl(a.js, 12, 56)) 47 >isArray : Symbol(ElementsArray.isArray, Decl(a.js, 12, 56))
|
| D | javascriptThisAssignmentInStaticBlock.types | 27 const superisArray = super.isArray; 29 >super.isArray : (arg: any) => arg is any[] 31 >isArray : (arg: any) => arg is any[] 41 this.isArray = customIsArray; 42 >this.isArray = customIsArray : (arg: any) => boolean 43 >this.isArray : (arg: any) => boolean 45 >isArray : (arg: any) => boolean 50 ElementsArray.isArray(new ElementsArray()); 51 >ElementsArray.isArray(new ElementsArray()) : boolean 52 >ElementsArray.isArray : (arg: any) => boolean [all …]
|
| 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 | 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 | 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 | javascriptThisAssignmentInStaticBlock.errors.txt | 1 …ide 'typeof ElementsArray' incorrectly extends base class static side '{ isArray(arg: any): arg is… 2 Types of property 'isArray' are incompatible. 19 …ide 'typeof ElementsArray' incorrectly extends base class static side '{ isArray(arg: any): arg is… 20 !!! error TS2417: Types of property 'isArray' are incompatible. 24 const superisArray = super.isArray; 26 this.isArray = customIsArray; 30 ElementsArray.isArray(new ElementsArray());
|
| 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 | javascriptThisAssignmentInStaticBlock.js | 13 const superisArray = super.isArray; 15 this.isArray = customIsArray; 19 ElementsArray.isArray(new ElementsArray()); 59 var superisArray = _super.isArray; 61 _b.isArray = customIsArray; 63 ElementsArray.isArray(new ElementsArray());
|
| 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[]
|
| /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/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/node/deps/npm/node_modules/events/tests/ |
| D | listeners.js | 45 assert.ok(Array.isArray(listeners)); 51 assert.ok(Array.isArray(listeners)); 54 assert.ok(Array.isArray(fooListeners)); 64 assert.ok(Array.isArray(eeListenersCopy)); 69 assert.ok(Array.isArray(listeners)); 76 assert.ok(Array.isArray(listeners)); 92 assert.ok(Array.isArray(listeners)); 97 assert.ok(Array.isArray(eeListenersCopy)); 106 assert.ok(Array.isArray(listeners)); 117 assert.ok(Array.isArray(listeners)); [all …]
|
| D | remove-listeners.js | 38 assert.ok(Array.isArray(listeners)); 49 assert.ok(Array.isArray(listeners)); 64 assert.ok(Array.isArray(listeners)); 70 assert.ok(Array.isArray(listeners)); 77 assert.ok(Array.isArray(listeners)); 82 assert.ok(Array.isArray(listeners)); 117 assert.ok(Array.isArray(listeners)); 124 assert.ok(Array.isArray(listeners)); 129 assert.ok(Array.isArray(listeners)); 134 assert.ok(Array.isArray(listeners)); [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/deps/npm/node_modules/ini/lib/ |
| D | ini.js | 35 .filter(k => obj[k] === null || Array.isArray(obj[k]) || typeof obj[k] !== 'object') 36 .map(k => Array.isArray(obj[k]) ? `${k}[]` : k) 48 if (val && Array.isArray(val)) { 136 let isArray variable 138 isArray = keyRaw.length > 2 && keyRaw.slice(-2) === '[]' 141 isArray = duplicates[keyRaw] > 1 143 const key = isArray ? keyRaw.slice(0, -2) : keyRaw 154 if (isArray) { 157 } else if (!Array.isArray(p[key])) { 164 if (Array.isArray(p[key])) { [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/node-gyp/node_modules/nopt/lib/ |
| D | nopt.js | 67 var isArray = Array.isArray(val) 69 if (!isArray) { 78 if (!Array.isArray(type)) { 137 } else if (isArray) { 138 debug(isArray, data[k], val) 227 if (Array.isArray(type)) { 348 var isTypeArray = Array.isArray(argType) 354 var isArray = argType === Array || 362 if (!Array.isArray(data[arg])) { 365 isArray = true [all …]
|
| /third_party/node/deps/npm/node_modules/nopt/lib/ |
| D | nopt-lib.js | 89 const isArray = Array.isArray(val) 92 if (!isArray) { 101 if (!Array.isArray(type)) { 165 } else if (isArray) { 166 debug(isArray, data[k], val) 179 if (Array.isArray(type)) { 306 let isTypeArray = Array.isArray(argType) 312 let isArray = isTypeDef(argType, ArrayType) || 317 if (!Array.isArray(data[arg])) { 320 isArray = true [all …]
|