/third_party/typescript/tests/baselines/reference/ |
D | emitCompoundExponentiationAssignmentWithIndexingOnLHS4.types | 32 var array1 = [1, 2, 3, 4, 5]; 33 >array1 : number[] 41 array1[incrementIdx(array1.length)] **= 3; 42 >array1[incrementIdx(array1.length)] **= 3 : number 43 >array1[incrementIdx(array1.length)] : number 44 >array1 : number[] 45 >incrementIdx(array1.length) : number 47 >array1.length : number 48 >array1 : number[] 52 array1[incrementIdx(array1.length)] **= array1[incrementIdx(array1.length)] **= 2; [all …]
|
D | emitCompoundExponentiationAssignmentWithIndexingOnLHS4.symbols | 26 var array1 = [1, 2, 3, 4, 5]; 27 >array1 : Symbol(array1, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS4.ts, 7, 3)) 29 array1[incrementIdx(array1.length)] **= 3; 30 >array1 : Symbol(array1, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS4.ts, 7, 3)) 32 >array1.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --)) 33 >array1 : Symbol(array1, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS4.ts, 7, 3)) 36 array1[incrementIdx(array1.length)] **= array1[incrementIdx(array1.length)] **= 2; 37 >array1 : Symbol(array1, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS4.ts, 7, 3)) 39 >array1.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --)) 40 >array1 : Symbol(array1, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS4.ts, 7, 3)) [all …]
|
D | emitCompoundExponentiationAssignmentWithIndexingOnLHS4.js | 9 var array1 = [1, 2, 3, 4, 5]; variable 11 array1[incrementIdx(array1.length)] **= 3; 13 array1[incrementIdx(array1.length)] **= array1[incrementIdx(array1.length)] **= 2; 15 array1[incrementIdx(array1.length)] **= array1[incrementIdx(array1.length)] ** 2; 25 var array1 = [1, 2, 3, 4, 5]; variable 26 (_a = array1)[_b = incrementIdx(array1.length)] = Math.pow(_a[_b], 3); 27 (_e = array1)[_f = incrementIdx(array1.length)] = Math.pow(_e[_f], (_c = array1)[_d = incrementIdx(… 28 (_g = array1)[_h = incrementIdx(array1.length)] = Math.pow(_g[_h], Math.pow(array1[incrementIdx(arr…
|
D | emitCompoundExponentiationAssignmentWithIndexingOnLHS1.types | 21 var array1 = [1, 2, 3] 22 >array1 : number[] 32 array1[++i1] **= array1[++i1] **= 2; 33 >array1[++i1] **= array1[++i1] **= 2 : number 34 >array1[++i1] : number 35 >array1 : number[] 38 >array1[++i1] **= 2 : number 39 >array1[++i1] : number 40 >array1 : number[]
|
D | typeInferenceWithTupleType.types | 32 function zip<T, U>(array1: T[], array2: U[]): [[T, U]] { 33 >zip : <T, U>(array1: T[], array2: U[]) => [[T, U]] 34 >array1 : T[] 37 if (array1.length != array2.length) { 38 >array1.length != array2.length : boolean 39 >array1.length : number 40 >array1 : T[] 52 var length = array1.length; 54 >array1.length : number 55 >array1 : T[] [all …]
|
D | emitCapturingThisInTupleDestructuring2.js | 2 var array1: [number, number] = [1, 2]; variable 9 …() => [this.test, this.test1, this.test2] = array1; // even though there is a compiler error, we s… 14 var array1 = [1, 2]; variable 20 …(function () { return _this.test = array1[0], _this.test1 = array1[1], _this.test2 = array1[2], ar…
|
D | emitCompoundExponentiationAssignmentWithIndexingOnLHS1.symbols | 12 var array1 = [1, 2, 3] 13 >array1 : Symbol(array1, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS1.ts, 4, 3)) 18 array1[++i1] **= array1[++i1] **= 2; 19 >array1 : Symbol(array1, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS1.ts, 4, 3)) 21 >array1 : Symbol(array1, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS1.ts, 4, 3))
|
D | typeInferenceWithTupleType.js | 10 function zip<T, U>(array1: T[], array2: U[]): [[T, U]] { 11 if (array1.length != array2.length) { 14 var length = array1.length; 17 zipResult.push([array1[i], array2[i]]); 43 function zip(array1, array2) { argument 44 if (array1.length != array2.length) { 47 var length = array1.length; 50 zipResult.push([array1[i], array2[i]]);
|
D | typeInferenceWithTupleType.symbols | 32 function zip<T, U>(array1: T[], array2: U[]): [[T, U]] { 36 >array1 : Symbol(array1, Decl(typeInferenceWithTupleType.ts, 8, 19)) 43 if (array1.length != array2.length) { 44 >array1.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --)) 45 >array1 : Symbol(array1, Decl(typeInferenceWithTupleType.ts, 8, 19)) 55 var length = array1.length; 57 >array1.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --)) 58 >array1 : Symbol(array1, Decl(typeInferenceWithTupleType.ts, 8, 19)) 72 zipResult.push([array1[i], array2[i]]); 76 >array1 : Symbol(array1, Decl(typeInferenceWithTupleType.ts, 8, 19))
|
D | emitCompoundExponentiationAssignmentWithIndexingOnLHS1.js | 6 var array1 = [1, 2, 3] variable 8 array1[++i1] **= array1[++i1] **= 2; 23 var array1 = [1, 2, 3]; variable 25 (_e = array1)[_f = ++i1] = Math.pow(_e[_f], (_c = array1)[_d = ++i1] = Math.pow(_c[_d], 2));
|
D | emitCapturingThisInTupleDestructuring2.types | 2 var array1: [number, number] = [1, 2]; 3 >array1 : [number, number] 23 …() => [this.test, this.test1, this.test2] = array1; // even though there is a compiler error, we s… 24 >() => [this.test, this.test1, this.test2] = array1 : () => [number, number] 25 >[this.test, this.test1, this.test2] = array1 : [number, number] 36 >array1 : [number, number]
|
D | emitCapturingThisInTupleDestructuring2.symbols | 2 var array1: [number, number] = [1, 2]; 3 >array1 : Symbol(array1, Decl(emitCapturingThisInTupleDestructuring2.ts, 0, 3)) 20 …() => [this.test, this.test1, this.test2] = array1; // even though there is a compiler error, we s… 30 >array1 : Symbol(array1, Decl(emitCapturingThisInTupleDestructuring2.ts, 0, 3))
|
/third_party/protobuf/js/experimental/runtime/kernel/ |
D | typed_arrays_test.js | 32 const array1 = new Uint8Array(4); constant 33 array1[0] = 1; 36 expect(arrayBufferEqual(array1.buffer, array2.buffer)).toBe(true); 40 const array1 = new Uint8Array(4); constant 41 array1[0] = 1; 44 expect(arrayBufferEqual(array1.buffer, array2.buffer)).toBe(false); 48 const array1 = new Uint8Array(4); constant 49 array1[0] = 1; 50 expect(arrayBufferEqual(array1.buffer, array1.buffer)).toBe(true); 56 const array1 = new Uint8Array(0); constant [all …]
|
D | typed_arrays.js | 18 const array1 = new Uint8Array(buffer1); 21 return uint8ArrayEqual(array1, array2); 29 function uint8ArrayEqual(array1, array2) { argument 30 if (array1 === array2) { 34 if (array1.byteLength !== array2.byteLength) { 38 for (let i = 0; i < array1.byteLength; i++) { 39 if (array1[i] !== array2[i]) {
|
/third_party/typescript/tests/cases/conformance/es7/exponentiationOperator/ |
D | emitCompoundExponentiationAssignmentWithIndexingOnLHS4.ts | 10 var array1 = [1, 2, 3, 4, 5]; variable 12 array1[incrementIdx(array1.length)] **= 3; 14 array1[incrementIdx(array1.length)] **= array1[incrementIdx(array1.length)] **= 2; 16 array1[incrementIdx(array1.length)] **= array1[incrementIdx(array1.length)] ** 2;
|
/third_party/jerryscript/tests/jerry/ |
D | string-prototype-localecompare.js | 33 var array1 = ["1", 2]; variable 35 assert (String.prototype.localeCompare.call(42, array1) === 1); 36 assert (String.prototype.localeCompare.call(array1, null) === -1); 37 assert (String.prototype.localeCompare.call(array1, array1) === 0); 38 assert (String.prototype.localeCompare.call(array1, array2) === -1); 39 assert (String.prototype.localeCompare.call(array2, array1) === 1);
|
D | array-prototype-slice.js | 19 var array1 = array.slice(); variable 28 assert (array1.length == 4); 29 assert (array1[0] == 54); 30 assert (array1[1] == undefined); 31 assert (array1[2] == "Lemon"); 32 assert (array1[3] == -127);
|
/third_party/typescript/src/harness/ |
D | harnessUtils.ts | 264 …export function assertDiagnosticsEquals(array1: readonly ts.Diagnostic[], array2: readonly ts.Diag… 265 if (array1 === array2) { 269 assert(array1, "array1"); 272 assert.equal(array1.length, array2.length, "array1.length !== array2.length"); 274 for (let i = 0; i < array1.length; i++) { 275 const d1 = array1[i]; 311 array1 => { 312 const childName = findChildName(node1, array1); 315 assertArrayStructuralEquals(array1, array2); 319 …function assertArrayStructuralEquals(array1: ts.NodeArray<ts.Node>, array2: ts.NodeArray<ts.Node>)… [all …]
|
/third_party/protobuf/objectivec/Tests/ |
D | GPBArrayTests.m | 194 //% GPB##NAME##Array *array1 = 197 //% XCTAssertNotNil(array1); 212 //% XCTAssertTrue([array1 isEqual:array1]); 214 //% XCTAssertFalse([array1 isEqual:@"bogus"]); 216 //% XCTAssertNotEqual(array1, array1prime); 217 //% XCTAssertEqualObjects(array1, array1prime); 219 //% XCTAssertEqual([array1 hash], [array1prime hash]); 222 //% XCTAssertNotEqualObjects(array1, array2); 223 //% XCTAssertNotEqualObjects(array1, array3); 226 //% [array1 release]; [all …]
|
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/cov-dead-code-unreachable-merge/ |
D | 0-opt.wgsl | 10 var<private> array1 : array<f32, 3>; 33 array1[x_16] = 0.0; 49 array1[0] = 1.0; 51 array1[x_21] = 1.0; 66 let x_79 : f32 = array1[x_24];
|
D | 0-opt.spvasm | 13 OpName %array1 "array1" 62 %array1 = OpVariable %_ptr_Private__arr_float_uint_3 Private 99 %63 = OpAccessChain %_ptr_Private_float %array1 %16 128 %76 = OpAccessChain %_ptr_Private_float %array1 %int_0 131 %77 = OpAccessChain %_ptr_Private_float %array1 %21 143 %78 = OpAccessChain %_ptr_Private_float %array1 %24
|
D | 0-opt.wgsl.expected.hlsl | 5 static float array1[3] = (float[3])0; 22 array1[c] = 0.0f; 35 array1[0] = 1.0f; 36 array1[c] = 1.0f; 41 array1[0] = 1.0f; 42 array1[c] = 1.0f; 55 const float x_79 = array1[i];
|
D | 0-opt.spvasm.expected.hlsl | 5 static float array1[3] = (float[3])0; 22 array1[c] = 0.0f; 35 array1[0] = 1.0f; 36 array1[c] = 1.0f; 41 array1[0] = 1.0f; 42 array1[c] = 1.0f; 55 const float x_79 = array1[i];
|
/third_party/typescript/tests/cases/conformance/types/tuple/ |
D | typeInferenceWithTupleType.ts | 9 function zip<T, U>(array1: T[], array2: U[]): [[T, U]] { 10 if (array1.length != array2.length) { 13 var length = array1.length; 16 zipResult.push([array1[i], array2[i]]);
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | array-of.js | 16 var array1 = Array.of(1, 2, 3, 4, 5); variable 17 assert(array1.length === 5); 18 assert(array1[2] === 3); 26 var array3 = Array.of(array1, 6, 7);
|